MediaWiki-Docker/Skin/Vector

This page is applying instructions from Skin:Vector to MediaWiki-Docker.

Follow Quickstart instructions at MediaWiki-Docker page. Once MediaWiki is running and available at http://localhost:8080, then continue with instructions on this page.

All commands should run in the directory where you installed MediaWiki. All mentioned files are also located there.

Clone the repository and it's dependencies

edit
git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/Vector" skins/Vector

Modify LocalSettings.php

edit

If not already there, add this to the end of LocalSettings.php.

wfLoadSkin( 'Vector' );
$wgDefaultSkin = 'vector';

Run maintenance scripts

edit
docker compose exec mediawiki php maintenance/run.php update.php