Release status: stable
|Description||A raft of tools to make skinning MediaWiki easier and advanced layouts possible!|
|Author(s)||Andru Vallance (Andrujhontalk)|
|Latest version||0.0.6 (2015-03-24)|
|License||GNU General Public License 2.0 or later|
Skinny is a raft of tools I've built to help in my work as a MediaWiki consultant specializing in skinning. I don't like to say no when a client asks me for some feature that usually wouldn't be possible with MediaWiki, and this toolbox is the result!
The usual monolithic MediaWiki skin file is broken into discrete PHP template files which can be easily edited. These templates contain named zones into which you can prepend or append content, allowing easy dynamic skin compostion.
Per-page Themes and SkinsEdit
Themes allow for variations of the main skin by overriding specific templates. Themes can then be set on a per-page basis using the layout parser function.
If that's not enough, you can use the setskin parser function to change the entire skin on a page-by-page basis.
Move content Article <> SkinEdit
Conversely, sometimes you want a section of the skin to be easily editable on a page-by-page basis. The movetoskin parser function lets you move content from the wiki article to a named zone in the skin. For example: insert content into a full-width Main Page hero unit above the article content, or insert content into a footer for pages defined by a certain template.
Automated Installation with ComposerEdit
This is possible starting with MediaWiki 1.22 and later. Follow the instructions at the Composer help page to add the package
tinymighty/skinny to your
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.