Skin:MediaWikiBootstrap/zh
Appearance
MediaWikiBootstrap 发行状态: 稳定版 |
|
---|---|
描述 | 基于Bootstrap3的可自定义的响应式MediaWiki外观。 |
作者 | Nasir Khan Saikat |
MediaWiki | >= 1.39.0 |
许可协议 | GNU通用公共协议2.0 |
下载 | |
示例 | Banglapedia, Wikimedia Skins Lab |
翻译MediaWikiBootstrap皮肤(如在translatewiki.net可用) |
基于Bootstrap3的可自定义的响应式MediaWiki外观。 基于Bootstrap3的可自定义的响应式MediaWiki外观。
入门
更改至您MediaWiki安装位置的“skins”子目录:
cd skins
2. Clone the repository from 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 needs.
Example site
参见
Other skins and extensions related to the Bootstrap framework:
- Skins based on 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