mediawiki-extensions-Echo/includes
Matthias Mullie 9f203c560f Fix hasMessages result when inconsistently enabling cross-wiki
Current situation: cross-wiki can be enabled on certain wikis &
disabled on others.
Code used to check if cross-wiki was enabled before fetching the
status of unread messages on foreign wikis. However, it would then
write that result to a shared memcached key.

The cross-wiki check should not happen before data is stored to
cache: what is stored should always be for all wikis. Only when
we fetch it, should we check if cross-wiki is enabled. And if it's
not, we can't use the cross-wiki data - we have to hack around it
ourselves...

Bug: T124372
Change-Id: I3d3d54fc3cbfbf73b51e97acfd8d355dd0cea36d
2016-02-19 11:37:16 -08:00
..
api Deprecate ApiEchoNotifications.php format params flyout & html 2016-02-04 12:38:19 +00:00
cache Migrate LocalCache from MapCacheLRU to HashBagOStuff 2015-11-03 06:49:50 +00:00
controller Comparing User objects is unreliable 2016-02-11 14:48:29 +01:00
exception Hygiene: Update method documentation & split exception to a file 2014-08-04 17:43:57 -07:00
formatters Truncate secondary link labels 2016-02-18 06:55:36 -05:00
gateway Update formatting 2015-10-03 23:28:54 -04:00
iterator Get rid of pre-5.4 CallbackFilterIterator implementation 2016-02-12 14:20:16 -08:00
jobs Update formatting 2015-10-03 23:28:54 -04:00
mapper Add filter to ApiEchoNotifications 2015-12-14 17:29:52 +01:00
model Require a User object to be passed to EchoEvent::userCan() 2015-11-23 16:08:17 -08:00
special Redirect anonymous user to login page from Special:Notifications 2015-12-08 11:55:15 -08:00
AttributeManager.php Allow certain users to be excluded 2016-02-04 11:20:59 +01:00
ContainmentSet.php Fix broken and incomplete PHPDoc tags 2015-12-14 11:03:09 +01:00
DataOutputFormatter.php Use current HTML formatter (for special page) instead of previous 2016-02-04 20:03:19 +00:00
DeferredMarkAsReadUpdate.php Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
DiffParser.php build: Enable phpcs rule 'PSR2.Methods.MethodDeclaration.StaticBeforeVisibility' and make pass 2015-10-29 13:06:43 +01:00
DiscussionParser.php Unstub $wgLang before passing it to DiscussionParser::getTextSnippet() 2015-11-16 10:41:51 -08:00
EchoDbFactory.php Track what wikis a user has unread notifications on 2015-11-20 15:54:11 -08:00
EmailBatch.php Deprecated use of 5th parameter in UserMailer::send 2016-01-18 21:19:42 +00:00
EmailBundler.php Call UserMailer::send() with reply to address correctly 2016-01-21 01:02:05 +00: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
ForeignNotifications.php Work around $wgConf's uselessness 2016-01-14 21:28:02 -08:00
Notifier.php Move Notifier.php to includes/ 2016-01-13 09:25:22 -08:00
NotifUser.php Fix hasMessages result when inconsistently enabling cross-wiki 2016-02-19 11:37:16 -08:00
schemaUpdate.php Replace EchoBatchRowUpdate with BatchRowUpdate 2015-12-16 16:36:59 +00:00
SeenTime.php Update formatting 2015-10-03 23:28:54 -04:00
UnreadWikis.php Allow setting the unread counts to 0 in the echo_unread_wikis 2016-02-18 15:31:55 -05:00
UserLocator.php Replace EchoBatchRowUpdate with BatchRowUpdate 2015-12-16 16:36:59 +00:00