Difference between revisions of "Installation"

From Tweeki
Jump to: navigation, search
Line 18: Line 18:
  
 
(You may safely remove or comment out other mentions of $wgDefaultSkin.)
 
(You may safely remove or comment out other mentions of $wgDefaultSkin.)
 +
 +
=== Example configurations ===
 +
 +
Have a look at the [[setup for tweeki.thai-land.at]] to get an idea of how to achieve similar results or look at [[setup for skriptenforum.net]] for a more elaborate example.
  
 
=== Basic Configuration ===
 
=== Basic Configuration ===
 
Have a look at the [[setup for tweeki.thai-land.at]] to get an idea of how to achieve similar results.
 
  
 
* Change the navigation according to your needs, e.g. change the content of <code>MediaWiki:Tweeki-navbar-left</code> to <code>Products</code> to link to a page of that name.
 
* Change the navigation according to your needs, e.g. change the content of <code>MediaWiki:Tweeki-navbar-left</code> to <code>Products</code> to link to a page of that name.

Revision as of 16:54, 8 November 2016

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

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

Example configurations

Have a look at the setup for tweeki.thai-land.at 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.