Skin:MediaWikiBootstrap/zh
![]() 發行狀態: 穩定版 |
|
---|---|
![]() |
|
描述 | 基于Bootstrap3的可自定义的响应式MediaWiki外观。 |
作者 | Nasir Khan Saikat |
MediaWiki | 1.22+ |
PHP | 5.3+ |
許可協議 | GNU通用公眾授權條款2.0 |
下載 | |
範例 | Banglapedia, Wikimedia Skins Lab |
Public wikis using | 2 (Ranked 375th) |
Public wikis using as default skin | 2 |
翻譯MediaWikiBootstrap外觀(如在translatewiki.net可用) |
基于Bootstrap3的可自定义的响应式MediaWiki外观。 基于Bootstrap3的可自定义的响应式MediaWiki外观。
入门
更改至您MediaWiki安装位置的“skins”子目录:
cd skins
2. Clone the repository form the git repo:
git clone https://github.com/nasirkhan/mediawiki-bootstrap MediaWikiBootstrap
3. Update the LocalSettings.php to install and enable the skin:
$wgDefaultSkin = "mediawikibootstrap";
wfLoadSkin( 'MediaWikiBootstrap' );
(Please remove or comment out other mentions of $wgDefaultSkin
.)
4. Edit the wiki page MediaWiki:Sidebar
of your MediaWiki installation to change the navigation links.
5. Customize the other settings and modify the style based on your need.
参见
Other skins and extensions related to the Bootstrap framework:
- 分类:基于Bootstrap的皮肤 - Overview of skins based on the Bootstrap framework
- Extension:Bootstrap - Provides the Bootstrap framework to MediaWiki
- Extension:BootstrapComponents - Provides further components to the Bootstrap framework for MediaWiki