Skin:Example

From MediaWiki.org
Jump to: navigation, search
MediaWiki skins manual - category
Crystal Clear device blockdevice.png
Example

Release status: beta

Description An example skin showcasing the best practices, a companion to the MediaWiki skinning guide.
Latest version 1.0 (2014-07-21)
MediaWiki 1.23+
License CC0 (public domain)
Download
Check usage and version matrix; code metrics

This is an example skin showcasing the best practices, a companion to the MediaWiki skinning guide.

The code is released into public domain, which means you can freely copy it, modify and release as your own skin without providing attribution and with absolutely no restrictions. Remember to change the license information if you do not intend to provide your changes on the same terms.

You can browse the source code at https://git.wikimedia.org/tree/mediawiki%2Fskins%2FExample.git.

See Manual:Skinning for information on creating skins.

Installation[edit | edit source]

  • Download and extract the skin in a directory called "Example" in your skins/ folder.
  • Add the following code to your LocalSettings.php (at the bottom)
require_once "$IP/skins/Example/Example.php";
  • YesY Done – Navigate to Special:Version on your wiki to verify that the skin is successfully installed.