MediaWiki:Vector

Revision as of 05:03, 27 December 2025 by Iritscen (talk | contribs) (added documentation of TOC markup)

The purpose of MediaWiki:Vector.css and MediaWiki:Vector.js is to augment the MediaWiki CSS and JS code in ways that are tailored to, or necessary to improve, the Vector skin. Vector used to be the default skin but was superseded by Vector 2022, which OniGalore switched to in 2025. Although wiki-wide changes are typically made to MediaWiki:Common.css and MediaWiki:Common.js, customizations on these Vector pages will override customizations on the Common pages for anyone still using Vector. On top of any changes to Vector or Common pages come any changes made to users' local vector.css and vector.js pages.

Vector.css

  • Vector.css starts off by anchoring the sidebar in place so that scrolling down an article does not affect the sidebar's position.
  • The background of the code style (the style applied to any line of text that begins with at least one space character) is darkened, for better contrast against the standard page background.
  • The text in the wiki's diff view is made normal size, for better readability.

Vector.js

There are currently no modifications to Vector's JavaScript.