Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.81 KB

File metadata and controls

64 lines (41 loc) · 1.81 KB

Installation, Update, De-Installation

Requirements

  • PHP 8.0.0 or later (tested up to PHP 8.3)
  • MediaWiki 1.39 or later (tested up to MediaWiki 1.43)
  • Composer

Installation

Further required software packages will be installed automatically. It is not necessary to install any dependencies. Composer will take care of that.

If unsure try the detailed installation instructions for Windows or Linux.

Here is the short version:

Installation

On a command line go to your MediaWiki installation directory and run these two commands

COMPOSER=composer.local.json composer require --no-update mediawiki/chameleon-skin:~5.0
composer update mediawiki/chameleon-skin --no-dev -o

Then, open LocalSettings.php in an editor, and add the following lines:

wfLoadExtension( 'Bootstrap' );
wfLoadSkin( 'chameleon' );

Optional: to set Chameleon as the default skin, find $wgDefaultSkin and amend it:

$wgDefaultSkin='chameleon';

Save the file. To verifying Chameleon was installed correctly, navigate to Special:Version on your wiki.

If you run into problems, try the troubleshooting.

Update

From your MediaWiki installation directory run composer update "mediawiki/chameleon-skin" --no-dev -o

If you want to upgrade from Chameleon 4.x to 5.x, first edit composer.local.json. Change "mediawiki/chameleon-skin": "~4.0" to "mediawiki/chameleon-skin": "~5.0".

De-installation

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.