Difference between revisions of "Installation"
Line 3: | Line 3: | ||
{| class="table table-bordered table-sm | {| class="table table-bordered table-sm | ||
− | ! Tweeki !! Bootstrap !! MediaWiki !! Latest Release !! Branches !! Note | + | ! Tweeki Release !! Bootstrap !! MediaWiki !! Latest Release !! Branches !! Note |
|- | |- | ||
! 5.43.x | ! 5.43.x |
Revision as of 14:45, 2 July 2024
Compatibility
Since version 4.39.x a release's major version corresponds to the version of Bootstrap in use, the minor version to the supported MediaWiki LTS release.
So release 4.39.0 uses the latest version of Bootstrap 4 and works with MediaWiki 1.39+. It's patches have the goal to support MediaWiki releases at least up to and including the next LTS version.
Installation
You can Download Tweeki from GitHub or get it directly with git:
Change to the "skins" subdirectory of your MediaWiki installation:
cd skins
Clone the repository:
git clone https://github.com/thaider/Tweeki
To checkout a specific (tagged) version:
git checkout v1.2.7
Add the following to LocalSettings.php:
require_once( "$IP/skins/Tweeki/Tweeki.php" ); $wgDefaultSkin = "tweeki";
(You may safely remove or comment out other mentions of $wgDefaultSkin.)
For 1.2.x versions add the following to LocalSettings.php if you want to use Bootstrap 4:
$wgTweekiSkinUseBootstrap4 = true;
Example configurations
Have a look at the setup for tweeki.kollabor.at (this page) to get an idea of how to achieve similar results.
Basic Configuration
- Change the navigation according to your needs, e.g. change the content of
MediaWiki:Tweeki-navbar-left
toProducts
to link to a page of that name.