Skin:Example
Example リリースの状態: ベータ |
|
---|---|
![]() |
|
説明 | An example skin showcasing the best practices, a companion to the MediaWiki skinning guide. |
最新バージョン | 1.0 (2014-07-21) |
MediaWiki | 1.23+ |
ライセンス | クリエイティブ・コモンズ CC0 1.0 全世界 |
ダウンロード | |
例 | Example on Skins wiki |
translatewiki.net で翻訳を利用できる場合は、Example 外装の翻訳にご協力ください | |
使用状況とバージョン マトリクスを確認してください。 | |
問題点 : | 未解決のタスク · (skin) バグを報告 |
This is an example skin showcasing the best practices, a companion to 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.
You can browse the source code at https://phabricator.wikimedia.org/diffusion/SEXA/browse/.
外装の作成の情報は Manual:Skinning を参照してください。
インストール
- ダウンロードして、ファイルを
skins/
フォルダー内のExample
という名前のディレクトリ内に配置します。 - LocalSettings.php の末尾に以下のコードを追加してください:
wfLoadSkin( 'Example' );
完了 - 自分のウィキの Special:Version に移動して、外装が正しくインストールされたことを確認してください。
MediaWiki 1.24 以前を稼働させている利用者へ:
上記の手順では、wfLoadSkin()
を使用して外装をインストールする MediaWiki 1.25 以降の新しい方法を記載しています。 この外装を過去のバージョンにインストールする必要がある場合は、wfLoadSkin( 'Example' );
の代わりに以下を使用する必要があります:
require_once "$IP/skins/Example/Example.php";
(過去のリリースで外装を動作させるには、Special:SkinDistributor より、そのリリース向けのタグが付けられたバージョンをダウンロードする必要があるかもしれません。)