mediawiki-extensions-Echo/includes
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
..
api Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
cache Update formatting 2015-10-03 23:28:54 -04:00
controller Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
exception Hygiene: Update method documentation & split exception to a file 2014-08-04 17:43:57 -07:00
formatters Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
gateway Update formatting 2015-10-03 23:28:54 -04:00
iterator Update formatting 2015-10-03 23:28:54 -04:00
jobs Update formatting 2015-10-03 23:28:54 -04:00
mapper Update formatting 2015-10-03 23:28:54 -04:00
model SECURITY: Handle suppressed usernames in non-revision based events 2015-10-16 14:56:43 -07:00
special Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
AttributeManager.php Update formatting 2015-10-03 23:28:54 -04:00
BatchRowUpdate.php Update formatting 2015-10-03 23:28:54 -04:00
ContainmentSet.php Remove unused code and fix missing/broken documentation 2014-06-04 04:54:00 +00:00
DataOutputFormatter.php Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
DeferredMarkAsReadUpdate.php Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
DiffParser.php Update formatting 2015-10-03 23:28:54 -04:00
DiscussionParser.php Update formatting 2015-10-03 23:28:54 -04:00
EchoDbFactory.php Update formatting 2015-10-03 23:28:54 -04:00
EmailBatch.php Update formatting 2015-10-03 23:28:54 -04:00
EmailBundler.php Update formatting 2015-10-03 23:28:54 -04:00
EmailFormatter.php Update formatting 2015-10-03 23:28:54 -04:00
EventLogging.php EventLogging: Make sure eventId is an integer 2015-10-21 11:08:50 -07:00
NotifUser.php Update formatting 2015-10-03 23:28:54 -04:00
schemaUpdate.php Update formatting 2015-10-03 23:28:54 -04:00
SeenTime.php Update formatting 2015-10-03 23:28:54 -04:00
UserLocator.php Update formatting 2015-10-03 23:28:54 -04:00