7a16ae249e
The renames made in this patch mirror the upstream change in I3f7b2e5f07d03ac04ecdcba585194d619abe35e0 in preparation for adopting the SkinMustache class. Renames: * 'data-indicators => 'array-indicators' * 'html-bodycontent' => 'html-body-content' * 'html-undelete' => 'html-undelete-link' * 'html-sitenotice' => 'html-site-notice' * 'html-catlinks' => 'html-categories' * 'html-dataaftercontent' => 'html-after-content' * 'html-userlangattributes' => 'html-user-language-attributes' Adjustments * 'html-debuglog' is moved into html-printtail for consistency with SkinMustache in core * html-printfooter is now a part of html-bodycontent for consistency with SkinMustache in core Note: the activity of removing html-printtail and html-headelement from the templates will be done when we adopt SkinMustache. Bug: T257630 Depends-On: Ibac9729eaa96a38bc730a0132b102a894f6a172d Change-Id: Ie92bda7846767c3cc9a1937c96a7fc08415b1bae |
||
---|---|---|
.phan | ||
.storybook | ||
dev-scripts | ||
i18n | ||
includes | ||
resources | ||
screenshots | ||
skinStyles | ||
stories | ||
tests | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintignore | ||
.stylelintrc.json | ||
.svgo.yml | ||
bundlesize.config.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
Doxyfile | ||
hooks.txt | ||
jsdoc.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
skin.json | ||
tsconfig.json | ||
variables.less |
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
: Likeuseskin
but for overriding the Vector skin version user preference and configuration. E.g., http://localhost:8181?useskin=vector&useskinversion=2.
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.