mediawiki-extensions-Echo/includes
Roan Kattouw d2d420a3c4 Don't cache pages with outdated global notification counts
When updating notification counts, we already called User::invalidateCache(),
which bumps the local user's touched timestamp, which is taken into
account by OutputPage when computing the last-modified timestamp of the response.

However, this only works for one wiki, while the changed global count
needs to be displayed on every wiki. To accomplish this, track the
timestamp of the last update in NotifUser, and hook it into
OutputPageCheckLastModified.

Change-Id: I22c88a017f18a28179906049ee423c2d7e81c939
2016-05-11 10:53:13 -07:00
..
api Follow-up 73ec3a331: fix fatal when no cross-wiki results are found 2016-05-05 12:58:28 -07:00
cache Migrate LocalCache from MapCacheLRU to HashBagOStuff 2015-11-03 06:49:50 +00:00
controller Merge "BREAKING CHANGE: Change $wgEchoDefaultNotificationTypes to be logical" 2016-04-23 02:27:40 +00:00
exception Hygiene: Update method documentation & split exception to a file 2014-08-04 17:43:57 -07:00
formatters Add plain text email formatter 2016-05-04 13:35:37 -04:00
gateway Let EchoUserNotificationGateway return a different notification count 2016-03-22 14:22:15 +01: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 plain text email formatter 2016-05-04 13:35:37 -04:00
model Defer onPersonalUrls() DB writes to post-send (try #2) 2016-03-09 11:07:50 -08:00
special Display special: Add which section (curr. Alert v. Msg.) each type's in 2016-04-28 20:33:52 +00:00
AttributeManager.php Display special: Add which section (curr. Alert v. Msg.) each type's in 2016-04-28 20:33:52 +00:00
ContainmentSet.php Switch $wgMemc usage to proper cache/stash usage 2016-04-22 11:58:03 -07:00
DataOutputFormatter.php Server-side crosswiki requests 2016-05-03 17:45:45 -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 build: Enable phpcs rule 'PSR2.Methods.MethodDeclaration.StaticBeforeVisibility' and make pass 2015-10-29 13:06:43 +01:00
DiscussionParser.php Add plain text email formatter 2016-05-04 13:35:37 -04:00
EchoDbFactory.php Track what wikis a user has unread notifications on 2015-11-20 15:54:11 -08:00
EmailBatch.php Add plain text email formatter 2016-05-04 13:35:37 -04:00
EmailBundler.php Switch $wgMemc usage to proper cache/stash usage 2016-04-22 11:58:03 -07: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 Server-side crosswiki requests 2016-05-03 17:45:45 -07:00
Notifier.php Add plain text email formatter 2016-05-04 13:35:37 -04:00
NotifUser.php Don't cache pages with outdated global notification counts 2016-05-11 10:53:13 -07: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 Delete rows in echo_unread_wikis if there are no unread notifs 2016-02-23 16:21:28 +01:00
UserLocator.php Replace EchoBatchRowUpdate with BatchRowUpdate 2015-12-16 16:36:59 +00:00