werdnum / mediawiki-lightncandy-skin
Simple library for creating LightnCandy based skins for MediaWiki.
dev-master
2015-06-05 06:57 UTC
This package is not auto-updated.
Last update: 2024-12-21 18:21:47 UTC
README
This is a simple toolkit for creating LightNCandy-based skins for MediaWiki.
To create a LightNCandy-based skin, you do the following:
- Create your template class, just make a class that derives from LightNCandyTemplate, and override the getTemplate() method to return a LightNCandy template method. The easiest way to implement this is to use my simple-lightncandy class and call its getTemplate() method.
- Create your skin class. Derive from SkinTemplate and set its $template member variable to the class name of your template class.
- Register your skin with the factory.
For a full example, see the Blueprint skin.