docs/Skin.md
MediaWiki bundles five skins:
It is possible to customise the site CSS and JavaScript without editing any server-side source files. This is done by editing some pages on the wiki:
MediaWiki:Common.css for skin-independent CSSMediaWiki:Common.js for skin-independent JavaScriptMediaWiki:Vector.css, MediaWiki:Minerva.css, etc. for skin-dependent CSSMediaWiki:Vector.js, MediaWiki:Minerva.js, etc. for skin-dependent
JavaScriptThese can also be customised on a per-user basis, by editing
User:<name>/vector.css, User:<name>/vector.js, etc.
Several custom skins are available as of 2019. List of all skins is available at MediaWiki.org.
Installing a skin requires adding its files in a subdirectory under skins/ and
adding an appropriate wfLoadSkin line to LocalSettings.php, similarly to
how extensions are installed.
You can then make that skin the default by adding:
$wgDefaultSkin = '<name>';
Or disable it entirely by removing the wfLoadSkin line. (User settings will
not be lost if it's reenabled later.)
See https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Skinning for more information on writing new skins.