![]() ![]() If you need to modify the HEAD this is considered outside the scope of the skin, please use Hooks, extensions or configuration to do that see the FAQ for best practices on how to do that. It is restricted from editing anything inside the HEAD.Ĭode will be automatically generated for the skin, so that the skin can focus on presentation. Skin development will be a lot easier with a familiarity with Mustache templates.Īt minimum, you should be familiar with the following Mustache basics described in the example below:Ī skin is responsible for the rendering of user-visible content - the HTML inside the BODY tag. Please see Manual:How to make a MediaWiki skin/Migrating SkinTemplate based skins to SkinMustache instead. If you having an existing skin using the PHP BaseTemplate, this guide is not for you. This tutorial assumes that you have installed a working version of MediaWiki, and are running the current development release, if not, it is recommended you do that first. While not essential, it will help if you are familiar with LESS CSS. ![]() If you are familiar with the front end technologies of CSS, JavaScript and JSON you can make a MediaWiki skin! There is no need to know PHP, but it may help if you want to do anything advanced. Making a skin is a great way to get familiar with the inner workings of MediaWiki and to kick off your contributions to the Wikimedia movement!
0 Comments
Leave a Reply. |