Go to file
Matthias Mullie 2a1abc0281 Share code between EchoNotificationMapper::fetchByUser & fetchUnreadByUser
The only difference at this point is that fetchByUser initializes
the EchoNotification object with $targetPages. It doesn't really
matter that it doesn't have the target pages, since fetchUnreadByUser
is currently only used in the flyout, where those target pages aren't
used. But regardless of what method was used to fetch the data, I
think the data should be the same.

And now, there's less code duplication...

Change-Id: I04c7b98794af5427a2217dd337108e7eea1e65c5
2015-12-10 17:19:46 +01: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. 2015-12-08 22:22:27 +01:00
includes Share code between EchoNotificationMapper::fetchByUser & fetchUnreadByUser 2015-12-10 17:19:46 +01:00
maintenance build: Enable phpcs rule 'MediaWiki.VariableAnalysis.UnusedGlobalVariables' and make pass 2015-10-29 17:25:51 +00:00
modules Special:Notifications formatter 2015-11-25 10:22:04 -08:00
scripts build: Enable phpcs rule 'MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix' and make pass 2015-10-29 13:06:44 +01:00
tests Merge "Change the naming of 'notification option' to 'notification item' widgets" 2015-11-20 00:58:16 +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 Actually pass jscs 2015-05-04 19:28:01 +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
.rubocop.yml Fixed Metrics/LineLength RuboCop offense 2015-09-29 14:59:05 +02:00
autoload.php Normalize links in Special:Notifications formatter 2015-12-03 11:11:15 -05:00
composer.json Run phpcs through "composer test", disabling failing rules 2015-10-29 12:52:32 +01: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 Redirect anonymous user to login page from Special:Notifications 2015-12-08 11:55:15 -08:00
echo.sql Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
Gemfile Browser tests: using mw_selenium 1.5 because 1.6 is broken 2015-10-23 11:53:34 -04:00
Gemfile.lock Added Rakefile 2015-11-10 10:25:12 +00:00
Gruntfile.js Recurse into sub folders for jshint and jscs 2015-11-09 12:52:42 +00:00
Hooks.php Redirect anonymous user to login page from Special:Notifications 2015-12-08 11:55:15 -08:00
Makefile Hygiene: Dont run jshint against .less files 2014-09-05 16:45:34 -07:00
Notifier.php Update formatting 2015-10-03 23:28:54 -04:00
package.json build: Updating development dependencies 2015-10-11 11:43:43 -04: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 Add a global overlay to Echo 2015-11-23 18:47:57 +00:00