- PHP 5.3.2 or later (*)
- MediaWiki 1.22 or later
- Composer
Further required software packages will be installed automatically. It is not necessary to install any dependencies anymore. Composer will take care of that.
(*) To use the Html component in custom layouts you need at least PHP 5.3.6.
If unsure try the detailed installation instructions for Windows or Linux.
Here is the short version:
- On a command line go to your MediaWiki installation directory
- Open the
composer.local.json
file in an editor and add the Chameleon skin to therequire
section:"require": { "mediawiki/chameleon-skin": "~1.0" }
-
Remark 1: If you do not have a
composer.local.json
file (MediaWiki <1.25), usecomposer.json
instead. -
Remark 2: If you do not have a
composer.json
file (MediaWiki <1.23.5), copycomposer.json.example
tocomposer.json
first.
-
- With Composer installed, run
composer update "mediawiki/chameleon-skin"
- To set Chameleon as the default skin, open
LocalSettings.php
in an editor, find$wgDefaultSkin
and amend it:$wgDefaultSkin='chameleon';
- Done: Navigate to Special:Version on your wiki to verify that the skin is successfully installed.
If you run into problems, try the troubleshooting.
From your MediaWiki installation directory run composer update "mediawiki/chameleon-skin"
Before de-installation make sure you secure (move, backup) any custom files you might want to retain.
Remove the Chameleon skin from the composer.local.json
file. Then run
composer update "mediawiki/chameleon-skin"
from the MediaWiki installation
directory.