commit | 29498112edd52855a84edbae8b9ccceadf93d646 | [log] [tgz] |
---|---|---|
author | Jon Robson <[email protected]> | Mon Jan 31 13:47:35 2022 -0800 |
committer | Jdlrobson <[email protected]> | Mon Feb 07 22:20:16 2022 +0000 |
tree | 8ad8e08215fa6cd6ba1e7bb86875e00080275dac | |
parent | bcd4ee0ee18c343e8e64c0e0e05d97c5f86fb2e0 [diff] |
Migration mode is now the default - Reflect production. - Update SkinVector migration notes. Depends-On: Ia527e60901de59f9e094ca0f1ba62a67a2f808a2 Change-Id: I8efa56fa0644b2ceb33fdab16da5df1d44ee621f
See https://www.mediawiki.org/wiki/Skin:Vector.
See skin.json.
It is recommended to use nvm to use the version of node defined in .nvmrc
during local development. This ensures consistency amongst development environments.
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
useskinversion
: Like useskin
but for overriding the Vector skin version user preference and configuration. E.g., http://localhost:8181?useskin=vector&useskinversion=2.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.
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.
A pre-commit hook is installed when executing npm install
. By default, it runs npm test
which is useful for automatically validating everything that can be in a reasonable amount of time. If you wish to defer these tests to be executed by continuous integration only, set the PRE_COMMIT
environment variable to 0
:
$ export PRE_COMMIT=0 $ git commit
Or more succinctly:
$ PRE_COMMIT=0 git commit
Skipping the pre-commit tests has no impact on Gerrit change identifier hooks.
See hooks.txt.