Version of vector used on wiki.jon-e.net
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
jonny 6e20463fbb Update 'skin.json' 12 months ago
.phan Upgrade to newer phan 5 years ago
.storybook Storybook: Update Legacy/codex comparison table 1 year ago
dev-scripts [Storybook] Add Header component 2 years ago
i18n Localisation updates from https://translatewiki.net. 12 months ago
includes Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl 12 months ago
resources Merge "link.prepend is not a function in older browsers" 12 months ago
screenshots Add skin screenshot for the installer 6 years ago
skinStyles [Visual enhancements next] Make the Echo buttons functional 1 year ago
stories Storybook: Update Legacy/codex comparison table 1 year ago
tests Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl 12 months ago
.eslintignore a11y: create report in LOG_DIR or 'a11y/' 1 year ago
.eslintrc.json [eslint] Disable mediawiki/class-doc 2 years ago
.eslintrcEs6.json Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 1 year ago
.gitignore build: Updating dependencies 1 year ago
.gitreview Use track=1 instead of defaultbranch=master in .gitreview 7 years ago
.nvmrc Update Node version 2 years ago
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 33.0.0 3 years ago
.stylelintignore Setup jest unit tests and add basic test cases for AB.js and App.vue 2 years ago
.stylelintrc.json build: Update stylelint-config-wikimedia to 0.13.0 1 year ago
.svgo.config.js build: Update 'svgo' to latest v2.8.0 & re-crush images 2 years ago
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 5 years ago
COPYING Use the plain-text GPL and fix 'license-name' to match SPDX conventions 9 years ago
Doxyfile docs: Generate documentation with Doxygen 4 years ago
README.md End migration mode 2 years ago
bundlesize.config.json [Grid] Vector 2022 layout uses CSS grid 1 year ago
composer.json Allow composer/installers plugin 1 year ago
jest.config.js Style active top level section differently than ordinary active TOC sections 1 year ago
jest.setup.js Add tests for dropdownMenu.js 1 year ago
jsdoc.json Move REST search client out of WVUI into Vector 2 years ago
package-lock.json Storybook: Update Legacy/codex comparison table 1 year ago
package.json Storybook: Update Legacy/codex comparison table 1 year ago
skin.json Update 'skin.json' 12 months ago
tsconfig.json Setup jest unit tests and add basic test cases for AB.js and App.vue 2 years ago

README.md

Vector Skin

Installation

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

Configuration options

See skin.json.

Development

Node version

It is recommended to use nvm to use the version of node defined in .nvmrc during local development. This ensures consistency amongst development environments.

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

Pre-commit tests

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.

Hooks

See hooks.txt.