Go to file
Aaron Schulz 93387806c2 Defer onPersonalUrls() DB writes to post-send
We calculate how many messages and alerts are being marked as read, and
subtract them from the count since the database and caches won't be
updated until the end of the request.

For performance, we also get the event_type while doing the
EchoTargetPage lookup query to avoid having to query it individually
later on.

Bug: T117531
Change-Id: I0d9302adf1b4b07a4ff26a04b00d4498aa3fe7ee
2016-03-08 01:41:52 +00:00
db_patches Track what wikis a user has unread notifications on 2015-11-20 15:54:11 -08:00
i18n Localisation updates from https://translatewiki.net. 2016-03-07 22:24:07 +01:00
images Crush all SVGs with svgo 2016-01-15 17:05:17 -08:00
includes Defer onPersonalUrls() DB writes to post-send 2016-03-08 01:41:52 +00:00
maintenance Support generating sample notifications by types 2016-03-02 15:04:56 -05:00
modules build: Enable jscs rule 'requireVarDeclFirst' and make pass 2016-03-07 11:57:31 +00:00
scripts build: Enable phpcs rule 'MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix' and make pass 2015-10-29 13:06:44 +01:00
tests build: Enable jscs rule 'requireVarDeclFirst' and make pass 2016-03-07 11:57:31 +00:00
.csslintrc Add Grunt infrastructure for CI 2015-05-01 20:35:23 -07:00
.gitignore Run phpcs through "composer test", disabling failing rules 2015-10-29 12:52:32 +01:00
.gitreview Add .gitreview file 2012-04-28 01:26:21 +10:00
.jscsrc build: Enable jscs rule 'requireVarDeclFirst' and make pass 2016-03-07 11:57:31 +00:00
.jshintignore Recurse into sub folders for jshint and jscs 2015-11-09 12:52:42 +00:00
.jshintrc Update formatting 2015-10-03 23:28:54 -04:00
.mailmap Add Kunal, Moriel, Jon to credits; add mailmap file 2015-12-15 16:30:19 -08:00
.rubocop.yml Fixed Metrics/LineLength RuboCop offense 2015-09-29 14:59:05 +02:00
autoload.php Merge "Run scripts/gen-autoload.php" 2016-02-13 07:25:53 +00:00
composer.json Wrap CallbackFilterIterator in a condition check 2016-01-26 14:57:18 -07:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Add Czech alias of Special:Notifications 2015-12-07 17:21:16 +01:00
Echo.php Include cross-wiki notifications in unread count 2016-02-29 16:02:05 -05:00
echo.sql Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
Gemfile Update mediawiki_selenium Ruby gem to version 1.6.5 2016-02-03 18:03:20 +01:00
Gemfile.lock Update mediawiki_selenium Ruby gem to version 1.6.5 2016-02-03 18:03:20 +01:00
Gruntfile.js build: Remove grunt-contrib-csslint 2016-01-18 19:51:04 -08:00
Hooks.php Defer onPersonalUrls() DB writes to post-send 2016-03-08 01:41:52 +00:00
Makefile Hygiene: Dont run jshint against .less files 2014-09-05 16:45:34 -07:00
package.json build: Update grunt-jscs to 2.7.0 and disable failing rules 2016-02-29 16:42:32 +01:00
phpcs.xml build: Enable phpcs rule 'MediaWiki.VariableAnalysis.UnusedGlobalVariables' and make pass 2015-10-29 17:25:51 +00:00
Rakefile Added Rakefile 2015-11-10 10:25:12 +00:00
RELEASE_NOTES Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
Resources.php Merge "Add a short abbreviation for timestamps in notifications" 2016-03-04 02:52:22 +00:00