Go to file
Roan Kattouw 06f0a7a6d5 NotifUser: Remove basically-unused talk notification cache
This cache was only used so that, if we're told to clear the newtalk
flag and we already know there are no edit-user-talk notifications, we
won't try to delete them. But that's not a good justification for such a
confusingly-written cache that would have been hard to convert to
getWithSetCallback(), and I'm concerned that using cached data to make
this decision could lead to inconsistencies.

Also remove the notifCountHasReachedMax() check, which made no sense: if
the user has >99 notifications, that is no justification for not marking
their user talk notifications as read when they visit their user talk
page. Whether the displayed notification count will change has no
bearing on whether these notifications should be marked as read (and now
that bundled notifications are counted individually, the displayed count
actually could change).

Bug: T164860
Change-Id: I3ff5c9b31307839b9336bd8856015db9baa52fad
2018-08-09 16:34:04 -07:00
db_patches Merge "Add a primary key to the echo_notification table" 2016-11-23 18:35:53 +00:00
i18n Localisation updates from https://translatewiki.net. 2018-08-09 22:23:42 +02:00
images Unify BetaFeatures SVG screenshot markup 2017-12-19 09:01:12 -08:00
includes NotifUser: Remove basically-unused talk notification cache 2018-08-09 16:34:04 -07:00
maintenance Remove [] from optional param doc 2018-08-07 08:28:28 +02:00
modules Merge "Remove $wgEchoEventLoggingSchemas qunit hack" 2018-08-08 23:57:10 +00:00
scripts Use PHP's implode() with the suggested order of arguments 2018-04-16 20:21:44 +02:00
tests NotifUser: Remove basically-unused talk notification cache 2018-08-09 16:34:04 -07:00
.eslintrc.json build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
.gitignore Remove Ruby browser tests 2017-12-20 12:29:01 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:02:28 -07:00
.mailmap Add Kunal, Moriel, Jon to credits; add mailmap file 2015-12-15 16:30:19 -08:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 21.0.0 2018-07-27 05:31:24 +00:00
.stylelintrc.json build: Update linters 2018-02-04 21:23:28 +00:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 13:25:12 +04:30
composer.json build: Updating mediawiki/mediawiki-codesniffer to 21.0.0 2018-07-27 05:31:24 +00:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Setting aliases of some special page names for Urdu language 2017-10-13 07:04:57 +00:00
echo.sql Merge "Add a primary key to the echo_notification table" 2016-11-23 18:35:53 +00:00
extension.json Move ext.echo.logger module registration to extension.json 2018-07-26 19:34:42 -07:00
Gruntfile.js build: Extend 'svgmin' options and move to 'minify' task 2018-05-29 10:26:22 -07:00
jsduck.external.js jsduck: Remove custom @source tag 2016-09-21 00:51:46 +01:00
jsduck.json Add JSDuck support and fix errors 2016-05-11 14:07:12 -07:00
jsduck_custom_tags.rb jsduck: Remove custom @source tag 2016-09-21 00:51:46 +01:00
Makefile Remove legacy qunit handling from Echo 2016-03-31 19:09:48 +00:00
package.json Selenium: Create selenium-daily npm script 2018-07-06 14:45:09 +00:00
RELEASE_NOTES BREAKING CHANGE: Use ISO 8601 for 'ts' in cross-wiki summary. 2016-07-27 17:00:05 -04:00