HomePhabricator

Moderate notifications

Authored by SBisson on Jul 27 2016, 2:52 PM.

Description

Moderate notifications

  • When a page is deleted, moderate associated notifications. When it is undeleted, unmoderate.
  • When a notification cannot be rendered (canRender() returns false), moderate it.

The biggest advantage of moderation over mark-read-and-ignore
is that those notifications are filtered out at the database
level from this point on. They are not re-processed every single
time and do not affect the number of notifications returned by
the API.

Bug: T140327
Bug: T140836
Bug: T141463
Change-Id: Idefe78408fd584c13aaa9174cee3055539d92848

Details

Committed
CatropeAug 19 2016, 10:20 PM
Parents
rECHO8eda2aa3fafc: Include the 'no notifications' message in nojs div
Branches
Unknown
Tags
Unknown
ChangeId
Idefe78408fd584c13aaa9174cee3055539d92848