Jump to content

Skin:Example

From mediawiki.org
MediaWiki skins manual - category
Example
Release status: stable
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
Quarterly downloads 10 (Ranked 26th)
Public wikis using 7 (Ranked 94th)
Public wikis using as default skin 0
Translate the Example skin if it is available at translatewiki.net
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 file:
    wfLoadSkin( 'Example' );
    
  • Yes Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.