Skin:Chameleon

The Chameleon skin uses Twitter Bootstrap 3. Its standard layout features a horizontal navigation menu with dropdowns at the top and a horizontal menu with dropups for the language links at the bottom. Ths layout can be adapted.

Installation
The latest development version of the Chameleon skin requires Composer for installation. (But why!?)


 * 1) If not already done, install Composer.
 * 2) If not already done, copy   to   in your MediaWiki installation directory
 * 3) If not already done, add the following keys to   to allow Composer installing development versions:
 * 4) If you are upgrading from a version installed without using Composer,
 * 5) * Remove the old skin from the  from LocalSettings.php
 * 6) Run   from the MediaWiki installation directory (or   if applicable)
 * 7) ✅ – Navigate to "Special:Version" on your wiki to verify that the skin is successfully installed.
 * 1) Run   from the MediaWiki installation directory (or   if applicable)
 * 2) ✅ – Navigate to "Special:Version" on your wiki to verify that the skin is successfully installed.

Remarks

 * It is not necessary to install any dependencies anymore. Composer will take care of that.
 * But: There is a little snag with composer. It is not able to install skins for very long yet and you may not have the latest version of the necessary installers. So, if the skin did not succesfully install on the first run, just
 * From the  directory in your MediaWiki installation directory remove the   subdirectory and all its contents
 * Run  from the MediaWiki installation directory (or   if applicable)

Fonts and Colors
You can customize the skin by loading additional LESS files and by setting LESS variables. To import additional files, add the following call to your :

To add or change LESS variables use the following call:

Regardless of the order of the calls, variables will always override imported files.

Example
To use the Amelia theme from Bootswatch you could download the  and the   file to your MediaWiki installation directory and rename them to   and. You then add the following code to your :

To make the navigation bar a bit narrower you could add

For further adjustable variables have a look at the  file. Starting from your MediaWiki installation directory it is located in the directory.

Layout of page elements
The layout of the page elements (nav bar, logo, search bar, etc.) is defined in an XML file. There are currently three pre-defined layouts available: standard, navhead and fixedhead. They can be activated by setting the variable  in LocalSettings.php. E.g. to activate the fixedhead layout you could add

You can of course also define and use your own layout. Have a look at the available XML files to see what is possible. (Better documentation to follow.)

Live examples

 * Chameleon's page on WikiApiary
 * Solutions-web.eu
 * add your wiki here

Contributing to the project
Bugs and feature requests should preferably be reported on the Wikimedia bug tracker.

Comments, questions and suggestions should be sent or posted to:
 * the Chameleon discussion page
 * the author

Roadmap (kind of)

 * Improve accessibility (see )
 * Make customizable (colors, fonts, sizes) via Special page
 * Compatibility with extensions
 * Extension:Semantic MediaWiki
 * Extension:SemanticForms
 * Extension:SemanticFormsInputs
 * (add yours)

Credits
The "Chameleon Skin Logo" was derived from an icon made by Freepik from www.flaticon.com, used under CC BY. The "Chameleon Skin Logo" itself is licensed under CC BY SA by Stephan Gambke.

Internationalization was achieved through the work of the translatewiki community. See.