mediawiki-extensions-Echo/includes
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
..
api Make seen/unseen badge more consistent across wikis 2016-09-08 12:40:15 -07:00
cache Migrate LocalCache from MapCacheLRU to HashBagOStuff 2015-11-03 06:49:50 +00:00
controller ModerationController: Update count from master, not slave 2016-09-08 15:26:07 -07:00
exception Hygiene: Update method documentation & split exception to a file 2014-08-04 17:43:57 -07:00
formatters Fix MentionStatusPresentationModel::getSecondaryLinks return value 2016-09-09 19:59:09 +00:00
gateway Dynamic bundles 2016-06-27 09:49:13 -04:00
iterator Get rid of pre-5.4 CallbackFilterIterator implementation 2016-02-12 14:20:16 -08:00
jobs Remove etp_user 2016-09-09 09:32:28 -04:00
mapper Remove etp_user 2016-09-09 09:32:28 -04:00
model Remove etp_user 2016-09-09 09:32:28 -04:00
ooui No-JS special page: One-click mark as read 2016-05-27 17:23:29 -07:00
special Clean up Special:Notifications output 2016-09-01 13:38:06 -07:00
AttributeManager.php Display special: Add which section (curr. Alert v. Msg.) each type's in 2016-04-28 20:33:52 +00:00
Bundleable.php Dynamic bundles 2016-06-27 09:49:13 -04:00
Bundler.php Dynamic bundles 2016-06-27 09:49:13 -04:00
ContainmentSet.php Switch $wgMemc usage to proper cache/stash usage 2016-04-22 11:58:03 -07:00
DataOutputFormatter.php Moderate notifications 2016-08-19 22:20:04 +00:00
DeferredMarkAsDeletedUpdate.php Moderate notifications 2016-08-19 22:20:04 +00:00
DiffParser.php build: Enable phpcs rule 'PSR2.Methods.MethodDeclaration.StaticBeforeVisibility' and make pass 2015-10-29 13:06:43 +01:00
DiscussionParser.php Provide title when parsing wikitext 2016-09-01 16:48:56 -04:00
EchoDbFactory.php Track what wikis a user has unread notifications on 2015-11-20 15:54:11 -08:00
EmailBatch.php Merge "Dynamic bundles" 2016-06-28 19:34:42 +00:00
EmailFormat.php HTML email formatter using presentation model 2016-05-12 09:29:24 -04:00
EmailFrequency.php HTML email formatter using presentation model 2016-05-12 09:29:24 -04:00
EventLogging.php Fix special page visit logging 2016-08-22 16:35:50 -04:00
ForeignNotifications.php Link project labels in xwiki bundle to their Special:Notifications page 2016-05-16 13:33:18 -07:00
ForeignWikiRequest.php Fix typo (canUseCentralAuthl -> canUseCentralAuth) 2016-07-19 10:16:57 -07:00
Notifier.php Don't send empty emails 2016-06-28 09:19:01 -04:00
NotifUser.php Make seen/unseen badge more consistent across wikis 2016-09-08 12:40:15 -07:00
ResourceLoaderEchoImageModule.php Add a rasterized email icons to Echo modules for email 2016-08-16 00:21:13 +00:00
schemaUpdate.php Clean up and fix updateEchoSchemaForSuppression.php 2016-06-06 23:56:28 +02:00
SeenTime.php Make seen/unseen badge more consistent across wikis 2016-09-08 12:40:15 -07:00
UnreadWikis.php backfillUnreadWikis: Skip updateCount if race condition detected 2016-07-18 20:58:48 -04:00
UserLocator.php Replace EchoBatchRowUpdate with BatchRowUpdate 2015-12-16 16:36:59 +00:00