mediawiki-extensions-Echo/includes/model
Stephane Bisson 6e2236db81 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
2016-08-19 22:20:04 +00:00
..
AbstractEntity.php Move all PHP code into includes/ 2015-06-07 18:54:14 -07:00
Event.php Moderate notifications 2016-08-19 22:20:04 +00:00
Notification.php Sort bundled notifications by read status AND timestamp 2016-07-06 16:02:04 -04:00
TargetPage.php Defer onPersonalUrls() DB writes to post-send (try #2) 2016-03-09 11:07:50 -08:00