Here is a step by step procedure for Windows:
- You first need to install Composer. On Windows just download the installer and run it.
- Open a Windows Explorer window and navigate to the root folder of
your MediaWiki installation. That's the one with the
LocalSettings.php
file in it. - For MediaWiki 1.22 and 1.23 you need to copy the file
composer.json.example
tocomposer.json
. For this, selectcomposer.json.example
, press Ctrl+C, then Ctrl+V and then rename the copy tocomposer.json
. - Right-click on the new file and select Use composer here. A command line window will open.
- On the command line run the command
composer require "mediawiki/chameleon-skin:~1.0"
- If there were no errors, close the command line window.
- Open
LocalSettings.php
in an editor capable to do UNIX style line endings (e.g. Notepad++ or Kate, but not the standard Notepad!) Include$wgDefaultSkin='chameleon';
as the last line. Save the file and close the editor. - Open your wiki in a browser. Chameleon should be installed.
- If not, force reload the page to refresh your browser cache. (Press Ctrl+F5 on Firefox, Ctrl+Shift+F5 on Internet Explorer.)