mediawiki-extensions-Echo/includes/formatters
Sébastien Santoro ad0cf6cda0 Fix MentionStatusPresentationModel::getSecondaryLinks return value
Any class implementing EchoEventPresentationModel and overriding the
getSecondaryLinks method should return an array (while getPrimaryLink
could return a false boolean value).

This change fixes the following errors:

Warning: array_values() expects parameter 1 to be an array or collection
in …/extensions/Echo/includes/formatters/EventPresentationModel.php on line 494

Warning: array_filter() expects parameter 1 to be an array or collection
in …/extensions/Echo/includes/formatters/EventPresentationModel.php on line 494

This is a follow-up for commit b4b59ee4.

Bug: T145229
Change-Id: Ic66ca03b6979472495c9b748093d01f8f097d56a
2016-09-09 19:59:09 +00:00
..
EchoEventDigestFormatter.php Don't send empty emails 2016-06-28 09:19:01 -04:00
EchoEventFormatter.php Remove deprecated formatter 2016-07-20 11:00:34 -04:00
EchoFlyoutFormatter.php Remove deprecated formatter 2016-07-20 11:00:34 -04:00
EchoForeignPresentationModel.php Change 'messages' to 'notices' throughout the interface 2016-07-07 15:57:49 -07:00
EchoHtmlDigestEmailFormatter.php Add a rasterized email icons to Echo modules for email 2016-08-16 00:21:13 +00:00
EchoHtmlEmailFormatter.php Add a rasterized email icons to Echo modules for email 2016-08-16 00:21:13 +00:00
EchoIcon.php Add a rasterized email icons to Echo modules for email 2016-08-16 00:21:13 +00:00
EchoModelFormatter.php Remove deprecated formatter 2016-07-20 11:00:34 -04:00
EchoPlainTextDigestEmailFormatter.php Add plain text email formatter 2016-05-04 13:35:37 -04:00
EchoPlainTextEmailFormatter.php Add ?markasread=NNN to primary links in emails too 2016-06-10 00:15:22 +02:00
EditThresholdPresentationModel.php Make 'Edit threshhold' notif appear regardless of title existence 2016-09-08 23:01:47 +00:00
EditUserTalkPresentationModel.php Merge "HTML email formatter using presentation model" 2016-05-14 00:29:30 +00:00
EmailUserPresentationModel.php Add email body preview to emailuser notification 2016-02-12 14:50:17 -05:00
EventPresentationModel.php Provide title when parsing wikitext 2016-09-01 16:48:56 -04:00
MentionPresentationModel.php Provide title when parsing wikitext 2016-09-01 16:48:56 -04:00
MentionStatusPresentationModel.php Fix MentionStatusPresentationModel::getSecondaryLinks return value 2016-09-09 19:59:09 +00:00
PageLinkedPresentationModel.php Expandable bundle 2016-06-28 15:37:54 -04:00
PresentationModelSectionTrait.php Move section methods into a trait 2016-04-28 20:52:09 +00:00
RevertedPresentationModel.php HTML email formatter using presentation model 2016-05-12 09:29:24 -04:00
SpecialNotificationsFormatter.php Remove deprecated formatter 2016-07-20 11:00:34 -04:00
UserRightsPresentationModel.php HTML email formatter using presentation model 2016-05-12 09:29:24 -04:00
WelcomePresentationModel.php