Merge "Add script 'npm run lint:fix:js' and 'lint:fix:styles', remove 'lint:fix'"
tree: 3494ba45e305556085669c9691d1acf1561d272e
  1. .phan/
  2. .storybook/
  3. dev-scripts/
  4. i18n/
  5. includes/
  6. resources/
  7. screenshots/
  8. skinStyles/
  9. stories/
  10. tests/
  11. .eslintignore
  12. .eslintrc.json
  13. .gitignore
  14. .gitreview
  15. .phpcs.xml
  16. .stylelintignore
  17. .stylelintrc.json
  18. .svgo.yml
  19. CODE_OF_CONDUCT.md
  20. composer.json
  21. COPYING
  22. Doxyfile
  23. hooks.txt
  24. jsdoc.json
  25. package-lock.json
  26. package.json
  27. README.md
  28. skin.json
  29. tsconfig.json
  30. variables.less
README.md

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.