Skin:Example

From MediaWiki.org
Jump to: navigation, search

Other languages:
български • ‎Deutsch • ‎English • ‎español • ‎हिन्दी • ‎日本語 • ‎한국어 • ‎polski • ‎русский
MediaWiki skins manual - category
Crystal Clear device blockdevice.png
Example

Release status: beta

ExampleSkin.jpg
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

Translate the Example skin if it is available at translatewiki.net

Check usage and version matrix;

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://phabricator.wikimedia.org/diffusion/SEXA/browse/.

See Manual:Skinning for information on creating skins.

Installation[edit]

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