Go to file
Bartosz Dziewoński 8c9c30781e Use makeListItem() for menu items rather than building HTML by hand
This affects the four tabs menus (namespaces, variants, views, actions).
Other menus (personal menu and sidebar) have already been using it.

We need some minor overrides to get the same results as the hand-built
HTML, but I think this still makes the code a lot nicer.

The output is the same as before, except for unimportant whitespace
differences and the order of some tag attributes.

I tested this with several extensions and configuration options that
mess with the tabs:
* $wgUsePigLatinVariant = true
* VisualEditor extension
* FileAnnotations extension
* FileExporter extension
* Viewing the page as administrator

Change-Id: I2d1255442abf5fa4bac2de1b084d0bcacbba7d0f
2017-07-29 04:02:36 +00:00
components Remove irritating transition on menu tabs 2017-07-20 21:20:59 +00:00
i18n Localisation updates from https://translatewiki.net. 2017-07-27 22:32:56 +02:00
images Use tabs instead of spaces for indenting 2017-03-25 14:56:54 +01:00
skinStyles Optimization: move styles specific to redirect pages out of common.less 2017-06-15 16:13:42 +03:00
.eslintrc.json build: Replace jshint and jscs with eslint 2016-11-29 08:39:55 -08:00
.gitignore collapsibleTabs: Clean up and simplify code 2016-11-29 02:25:00 +00:00
.gitreview Use track=1 instead of defaultbranch=master in .gitreview 2016-10-24 17:30:32 -07:00
.stylelintrc build: Introduce stylelint and make pass 2016-11-29 08:40:03 -08:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 13:51:49 +04:30
collapsibleTabs.js collapsibleTabs: Stop the tabs from collapsing back and forth forever 2017-01-13 00:16:45 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-24 19:08:55 +02:00
COPYING Use the plain-text GPL and fix 'license-name' to match SPDX conventions 2015-01-29 17:04:29 +01:00
Gruntfile.js build: Make glob pattern readable 2017-04-10 13:24:09 +01:00
Hooks.php Vector should operate in responsive mode when the mobile skin 2017-07-03 15:57:49 -07:00
hooks.txt Move hooks.txt docs from mediawiki/core 2014-08-09 17:09:24 +02:00
jsduck.json collapsibleTabs: Clean up and simplify code 2016-11-29 02:25:00 +00:00
package.json build: Update eslint to 0.4.0 2017-05-04 17:01:53 +01:00
phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-24 19:08:55 +02:00
print.less Print styles: Border bottom of headings should not overlap infoboxes 2017-07-28 11:58:04 +00:00
responsive.less Use global variable for tablet media query in responsive.less 2016-12-13 15:27:38 -08:00
screen-hd.less Remove position: absolute from #p-logo element 2017-07-13 16:28:08 +08:00
screen.less build: Introduce stylelint and make pass 2016-11-29 08:40:03 -08:00
skin.json Feature flagged print styles 2017-07-20 11:54:55 -07:00
SkinVector.php Hygiene: Do not use ConfigFactory::getDefaultInstance() 2017-07-28 17:59:03 +02:00
variables.less Print styles: footer 2017-07-28 11:22:07 +02:00
vector.js Remove <div> inside of the <h3> 2017-07-12 06:21:51 +02:00
Vector.php Run phplint and phpcs through "composer test" entry point 2015-06-09 16:37:14 +03:00
VectorTemplate.php Use makeListItem() for menu items rather than building HTML by hand 2017-07-29 04:02:36 +00:00