Extension:BootStrap
From MediaWiki.org
BootStrap Release status: stable |
|
---|---|
Implementation | Skin |
Description | BootStrap Typography in Mediawiki Articles |
Author(s) | Lee Miller (SwiftSystalk) |
Latest version | 0.0.16 Stable (2014-06-3) |
MediaWiki | 1.22+ |
PHP | 5.4+ |
Database changes | No |
License | GPL |
Download | Download |
Example | Demo |
Translate the BootStrap extension if it is available at translatewiki.net |
|
Check usage and version matrix; code metrics |
The BootStrap extension is not a skinning extension! Rather it allows for the addition of Bootstrap styling within Mediawiki articles. If you intend to download this extension, please keep track of the version number as additional scripts are added on update.
Features[edit | edit source]
- Dismissable Portlet
- Carousel
- In Content Navigation
- Hover Affect Navigation
- Tool Tips
- Pop Overs
- Modal
- Hover Effect Tables
- Font Awesome and Glyphicons
- 23 Typography Colours
Compatibility[edit | edit source]
Designed and tested using the Vector Skin only.
Currently working with Mediawiki version 1.22.6
Only tested on Chrome and Firefox!
Installation[edit | edit source]
- Download and extract the file(s) in a directory called
BootStrap
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/BootStrap/BootStrap.php";
- Open the "Vector.php" file and find the following (around line 60);
$out->addModules( array( 'skins.vector.js', 'skins.vector.collapsibleNav' ) );
- And directly above paste;
$out->addModuleScripts( 'ext.BootStrap' );
- Find the following (around line 73);
$out->addModuleStyles( $styles );
- And directly below paste;
$out->addModuleStyles( 'ext.BootStrap' );
- Return to MediaWiki refresh the browser (Shift + Ctrl + R for Chrome and Firefox)
- Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Application[edit | edit source]
A complete listing of the Mediawiki syntax can be found on the project demo page.
Version History[edit | edit source]
- 0.0.15 - Added Javascript popup and modal functionality.
- 0.0.16 - Added Font Awesome and Glyphicons.