Go to file
Roan Kattouw dc48dfa022 Follow-up 07c5850b: unbreak "mark as read" menu item
07c5850b changed the widget used for the "mark as read"
menu item from OO.ui.ButtonOptionWidget to mw.echo.ui.MenuItemWidget.
While this makes sense, it also broke its functionality, because
mw.echo.ui.MenuItemWidgets are unselectable so if you click them
the 'choose' event isn't emitted.

However, we also can't make these widgets selectable, because
that breaks the links inside these widgets (the containing MenuSelectWidget
intercepts mouse events and prevents default). So instead,
make mw.echo.ui.MenuItemWidgets only be unselectable if they are
links (have config.url set), so that both use cases work.

Bug: T128432
Change-Id: I8374e3ae61a005ec7d25c2eb95b1391cbb191d60
2016-02-29 18:34:02 -08: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-02-28 21:57:09 +01:00
images Crush all SVGs with svgo 2016-01-15 17:05:17 -08:00
includes Bidi-embed user names and page names in secondary links 2016-02-29 12:53:42 -08:00
maintenance Truncate secondary link labels 2016-02-18 06:55:36 -05:00
modules Follow-up 07c5850b: unbreak "mark as read" menu item 2016-02-29 18:34:02 -08:00
scripts build: Enable phpcs rule 'MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix' and make pass 2015-10-29 13:06:44 +01:00
tests Fix Cucumber tags for Selenium tests 2016-02-22 13:51:17 +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 'requireSpacesInsideBrackets' and make pass 2016-02-29 18:03:29 +01: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 Include cross-wiki notifications in unread count 2016-02-29 16:02:05 -05: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 Include cross-wiki notifications in unread count 2016-02-29 16:02:05 -05:00