Skin:MediaWikiBootstrap5
Not to be confused with Skin:MediaWikiBootstrap
MediaWikiBootStrap5 Release status: stable |
|
---|---|
Description | A MediaWiki skin using Bootstrap 5 |
Author(s) | JLTRY |
Latest version | 1.1.0 (2024-09-24) |
MediaWiki | 1.39+ |
License | Creative Commons Zero v1.0 Universal |
Download | github release V1.1.0 GitHub: Note: |
Translate the MediaWikiBootstrap5 skin if it is available at translatewiki.net |
The MediaWikiBootstrap5 skin provides a skin using Bootstrap 5.
Installation
edit- Download and place the file(s) in a directory called
MediaWikiBootstrap5
in yourskins/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadSkin( 'MediaWikiBootstrap5' ); define('NS_MEDIAWIKIBOOTSTRAP', 1001); $wgExtraNamespaces[NS_MEDIAWIKIBOOTSTRAP] = "MediaWikiBootstrap"; $wgDefaultSkin = 'mediawikibootstrap5'; // This line makes this skin the default skin.
- Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.
In the "composer.local.json" file set:
{
"require": {
"twbs/bootstrap": "5.1.3",
"components/jquery": "3.6.0"
}
}
Then run:
composer update no-dev
See also
editOther 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