Go to file
jdlrobson 87f08dcf5b [refactor] Drop form-id template property
In preparation for using the SkinMustache class and
core buildSearchProps method [1],
and to reduce the risk of that change,
move the ID from the template
data to the template itself:

[1] https://github.com/wikimedia/mediawiki/blob/master/includes/skins/SkinMustache.php#L93

Change-Id: I8d62ea6b1adf6ef0cbfa20e1876806eba70b169f
2020-06-25 18:21:38 +00:00
.phan
.storybook
dev-scripts [dev][Storybook] move to start script; report errors not status 2020-05-12 13:42:01 -07:00
i18n Localisation updates from https://translatewiki.net. 2020-06-24 08:31:03 +02:00
includes [refactor] Drop form-id template property 2020-06-25 18:21:38 +00:00
resources [modern] Move sidebar checkbox above content, sidebar button into header 2020-06-23 07:09:38 +02:00
screenshots
skinStyles Replace deprecated @colorFieldBorder variable and use others 2020-04-28 01:42:09 +00:00
stories [refactor] Drop form-id template property 2020-06-25 18:21:38 +00:00
tests Merge "Add bundlesize test for ResourceLoader modules." 2020-06-11 20:14:48 +00:00
.eslintignore
.eslintrc.json [dev] [JS] Move JavaScript to package modules 2020-04-10 09:39:25 -06:00
.gitignore
.gitreview
.phpcs.xml
.stylelintignore
.stylelintrc.json
.svgo.yml
bundlesize.config.json Pin bundlesizes to their exact values 2020-06-11 19:58:10 +00:00
CODE_OF_CONDUCT.md
composer.json build: Updating npm dependencies 2020-06-12 05:51:50 +00:00
COPYING
Doxyfile
hooks.txt
jsdoc.json [feature] add menu button to toggle panel visibility 2020-05-28 02:14:13 +00:00
package-lock.json build: Updating npm dependencies 2020-06-12 05:51:50 +00:00
package.json build: Updating npm dependencies 2020-06-12 05:51:50 +00:00
README.md [doc] Add link in readme to hooks.txt 2020-04-28 09:29:52 -06:00
skin.json [modern] Move sidebar checkbox above content, sidebar button into header 2020-06-23 07:09:38 +02:00
tsconfig.json
variables.less Merge "[less] Normalize focus styles in Blink based browsers" 2020-06-15 22:44:28 +00:00

Vector Skin

Installation

See https://www.mediawiki.org/wiki/Skin:Vector.

Configuration options

See skin.json.

Development

Coding conventions

We strive for compliance with MediaWiki conventions:

https://www.mediawiki.org/wiki/Manual:Coding_conventions

Additions and deviations from those conventions that are more tailored to this project are noted at:

https://www.mediawiki.org/wiki/Reading/Web/Coding_conventions

URL query parameters

Skin preferences

Vector defines skin-specific user preferences. These are exposed on Special:Preferences when the VectorShowSkinPreferences configuration is enabled. The user's preference state for skin preferences is used for skin previews and any other operation unless specified otherwise.

Version

Vector defines a "version" preference to enable users who prefer the December 2019 version of Vector to continue to do so without any visible changes. This version is called "Legacy Vector." The related preference defaults are configurable via the configurations prefixed with VectorDefaultSkinVersion. Version preference and configuration may be overridden by the useskinversion URL query parameter.

Hooks

See hooks.txt.