Skin:Example

From mediawiki.org
Jump to navigation Jump to search
MediaWiki skins manual - category
OOjs UI icon layout-ltr.svg
Example
Release status: stable
20200907 Screenshot Example-skin.png
Description An example skin showcasing the best practices, a companion to the MediaWiki skinning guide.
Latest version Continuous updates (2020-09-07)
MediaWiki 1.35+
License Creative Commons Zero v1.0 Universal
Download
Example Example on Skins wiki
Translate the Example skin if it is available at translatewiki.net
Check usage and version matrix;
Issues : Open tasks · (skin) Report a bug

This is the Example skin showcasing as an example the best practices, a companion to Manual:How to make a MediaWiki skin and before 1.36, 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 phab: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:
wfLoadSkin( 'Example' );
  • Yes Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.