Skin:Example

From mediawiki.org
This page is a translated version of the page Skin:Example and the translation is 56% complete.
MediaWiki皮肤手冊 - 分类
Example
发行状态: 稳定版
描述 An example skin showcasing the best practices, a companion to the MediaWiki skinning guide.
最新版本 持續更新 (2020-09-07)
MediaWiki 1.35+
许可协议 Creative Commons Zero v1.0 Universal
下载
示例 Example on Skins wiki
Quarterly downloads 10 (Ranked 34th)
正在使用的公开wiki数 7 (Ranked 94th)
作为默认皮肤使用的公开wiki数 0
翻译Example皮肤(如在translatewiki.net可用)
问题 : 开启的任务 · (skin) 报告错误

This is the Example skin showcasing as an example the best practices, a companion to 手册:如何制作MediaWiki皮肤 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.

您可以在phab:diffusion/SEXA/browse/瀏覽原始碼。

Manual:Skinning取得更多建立外觀的資訊。

安裝

  • 下载文件,并将其放置在您skins/文件夹中的Example目录内。
  • 将下列代码放置在您的LocalSettings.php 文件的底部:
    wfLoadSkin( 'Example' );
    
  • Yes 完成 - 在您的wiki上打开Special:Version,以确认皮肤已成功安装。