Difference between revisions of "Installation"

From Tweeki
Jump to: navigation, search
Line 25: Line 25:
 
Clone the repository:
 
Clone the repository:
  
  git clone https://github.com/thaider/Tweeki
+
git clone https://github.com/thaider/Tweeki
  
 
To checkout a specific version:
 
To checkout a specific version:
Line 33: Line 33:
 
Add the following to LocalSettings.php:
 
Add the following to LocalSettings.php:
  
  require_once( "$IP/skins/Tweeki/Tweeki.php" );
+
require_once( "$IP/skins/Tweeki/Tweeki.php" );
  $wgDefaultSkin = "tweeki";
+
$wgDefaultSkin = "tweeki";
  
 
(You may safely remove or comment out other mentions of $wgDefaultSkin.)
 
(You may safely remove or comment out other mentions of $wgDefaultSkin.)

Revision as of 19:38, 22 November 2020

Compatibility

Tweeki Bootstrap MediaWiki Latest Release Note
2.0.x 4.4.1 1.35+ in development
1.2.0 3.4.1/4.4.1 1.31-1.35 2020-11-15 major code refactoring, introducing Bootstrap 4 via opt-in
1.1.3 3.4.1 1.31-1.35 2020-11-15

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 version:

git checkout v1.2.0

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.)

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.thai-land.at (this page) to get an idea of how to achieve similar results or look at setup for skriptenforum.net for a more elaborate example.

Basic Configuration

  • Change the navigation according to your needs, e.g. change the content of MediaWiki:Tweeki-navbar-left to Products to link to a page of that name.