Setup for tweeki.kollabor.at

From Tweeki
Revision as of 21:25, 30 June 2016 by Thai (talk | contribs)
Jump to: navigation, search

LocalSettings.php

require_once( "$IP/skins/Tweeki/Tweeki.php" ); // load skin
$wgDefaultSkin = "tweeki"; // make it the default

// set permissions: this is read-only for the general public
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['createaccount'] = false;
$wgGroupPermissions['user']['edit'] = false;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgGroupPermissions['sysop']['edit'] = true;

$wgTweekiSkinHideable[] = 'sidebar'; // make the sidebar hideable with the #tweekihide parser function
$wgTweekiSkinHideAnon = array( 'EDIT-EXT', 'subnav' ); // hide the edit button as well as the subnavigation (containing the toolbox and personal links) for anonymous users
$wgTweekiSkinHideAll = array( 'footer-icons' ); // hide the standard footer icons for everybody