werdnum/mediawiki-lightncandy-skin
Composer 安装命令:
composer require werdnum/mediawiki-lightncandy-skin
包简介
Simple library for creating LightnCandy based skins for MediaWiki.
README 文档
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.
统计信息
- 总下载量: 169
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL
- 更新时间: 2015-01-14