Go to file
jdlrobson 698752e38a [Dev] processTemplate used in one place
Moving all the templateParser calls to one function
so its easier to see how the template is composed.

The diff of changes to the stories folder highlight
the internal changes which are:

* html-portals replaced with html-sidebar in main template
* new Sidebar template added which outputs to html-sidebar
* Mention of "MainMenu" replaced with better understood "Sidebar"

This is precursory work to adopt templatePartials

Change-Id: I6b2196e39087f818e774d04b2d1b9ab8cb8816a1
2020-02-26 12:28:40 -08:00
.phan Upgrade to newer phan 2019-03-20 19:37:59 -07:00
.storybook Add storybook to Vector 2020-01-31 16:59:15 +08:00
dev-scripts Add storybook to Vector 2020-01-31 16:59:15 +08:00
i18n [Special:Preferences] [PHP] Add skin version user preference and configs 2020-02-26 12:56:10 -07:00
includes [Dev] processTemplate used in one place 2020-02-26 12:28:40 -08:00
resources Remove Webkit search cancel button for cross-browser consistency 2020-02-18 22:30:19 -08:00
screenshots
skinStyles hygiene: Make LESS imports non-ambigious 2019-10-25 20:54:49 +00:00
stories [Dev] processTemplate used in one place 2020-02-26 12:28:40 -08:00
tests/phpunit [Dev] processTemplate used in one place 2020-02-26 12:28:40 -08:00
.eslintrc.json build: Update linters 2019-10-31 21:43:20 +00:00
.gitignore Add storybook to Vector 2020-01-31 16:59:15 +08:00
.gitreview
.phpcs.xml Add method scope visibility 2018-11-01 21:01:32 +01:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-26 10:29:23 -08:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-04 01:45:34 +00:00
composer.json build: Updating composer dependencies 2020-01-30 20:11:34 +00:00
COPYING
Doxyfile docs: Generate documentation with Doxygen 2020-02-24 16:49:38 +00:00
Gruntfile.js build: Replace JSDuck with JSDoc 2020-02-14 10:29:00 -07:00
hooks.txt Remove 'SkinVectorStyleModules' hook 2018-01-26 10:33:47 -08:00
jsdoc.json build: Replace JSDuck with JSDoc 2020-02-14 10:29:00 -07:00
package-lock.json build: Replace JSDuck with JSDoc 2020-02-14 10:29:00 -07:00
package.json build: Replace JSDuck with JSDoc 2020-02-14 10:29:00 -07:00
README.md [Special:Preferences] [PHP] Add skin version user preference and configs 2020-02-26 12:56:10 -07:00
skin.json [Special:Preferences] [PHP] Add skin version user preference and configs 2020-02-26 12:56:10 -07:00
variables.less hygiene: Make LESS imports non-ambigious 2019-10-25 20:54:49 +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

  • useskinversion: Like useskin but for overriding the Vector skin version user preference and configuration.

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.