mediawiki-extensions-Echo/includes/api
Kunal Mehta ba957d399a Allow presentation models to indicate a notification can't be formatted
Adds EchoEventPresentationModel::canRender() for notification types to
indicate that something can't be rendered if for example, a page is
deleted.

In that case, the notification is marked as read in a deferred update.
All callers were also updated to check if the notification was formatted
properly.

Bug: T116888
Change-Id: Idb975feaec893ef86c41cc487102e3539c07e328
2015-10-28 18:28:08 -07:00
..
ApiEchoMarkRead.php API: Remove pre-1.25 compat code 2015-10-26 08:41:57 -07:00
ApiEchoMarkSeen.php API: Remove pre-1.25 compat code 2015-10-26 08:41:57 -07:00
ApiEchoNotifications.php Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00