mediawiki-extensions-Echo/includes/formatters
Stephane Bisson 10a99b016b Handle missing presentation model
When a presentation model is specified for an event type,
check if the class actually exist before trying to use it.
Logs to debug when the class is not specified or doesn't exist.

This is useful for extensions that get undeployed
(looking at you, OpenStackManager). Their notifications
cannot really render since the code to render them
is not available anymore. This make them simply go away and
the notification counts get updated shortly after because
unrenderable notifications are marked as deleted.

Bug: T195253
Change-Id: I6335204942002bba3e73887ab81e55a27b4e181a
2018-07-03 12:49:20 -04:00
..
ArticleReminderPresentationModel.php Adding the first step in order to enable the visualization of the Article Reminder feature. 2017-06-30 19:45:24 +03:00
EchoEventDigestFormatter.php Get rid of call_user_func_array() 2018-06-08 01:03:46 -07:00
EchoEventFormatter.php Handle missing presentation model 2018-07-03 12:49:20 -04:00
EchoFlyoutFormatter.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
EchoForeignPresentationModel.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
EchoHtmlDigestEmailFormatter.php Use getHtmlCode() instead of getCode() for HTML attribute lang 2017-11-09 11:45:22 +01:00
EchoHtmlEmailFormatter.php Use getHtmlCode() instead of getCode() for HTML attribute lang 2017-11-09 11:45:22 +01:00
EchoIcon.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
EchoModelFormatter.php Remove deprecated formatter 2016-07-20 11:00:34 -04:00
EchoPlainTextDigestEmailFormatter.php Replace EchoDiscussionParser::htmlToText with Sanitizer::stripAllTags() 2017-07-07 16:55:51 -07:00
EchoPlainTextEmailFormatter.php Replace EchoDiscussionParser::htmlToText with Sanitizer::stripAllTags() 2017-07-07 16:55:51 -07:00
EditThresholdPresentationModel.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
EditUserTalkPresentationModel.php Make edit-user-talk notifications expandable 2017-10-20 11:27:47 +02:00
EmailUserPresentationModel.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
EventPresentationModel.php Handle missing presentation model 2018-07-03 12:49:20 -04:00
MentionInSummaryPresentationModel.php Ping users mentioned in edit summaries 2018-02-22 12:37:35 -08:00
MentionPresentationModel.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
MentionStatusPresentationModel.php Correct license to MIT 2017-06-20 20:32:39 -04:00
PageLinkedPresentationModel.php Fix typo in word compatibility 2018-03-09 22:22:55 +01:00
PresentationModelSectionTrait.php Replace uses of deprecated Language::truncate() 2018-06-16 09:30:06 -04:00
RevertedPresentationModel.php Revert my fix for summary pings in reverts 2018-03-26 15:37:10 -07:00
SpecialNotificationsFormatter.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
UserRightsPresentationModel.php Avoid counting where not necessary 2018-06-26 07:10:38 +00:00
WelcomePresentationModel.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00