Difference between revisions of "Setup for tweeki.kollabor.at"
From Tweeki
(Created page with "=== LocalSettings.php === require_once( "$IP/skins/Tweeki/Tweeki.php" ); $wgDefaultSkin = "tweeki"; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissio...") |
|||
Line 1: | Line 1: | ||
=== LocalSettings.php === | === LocalSettings.php === | ||
− | require_once( "$IP/skins/Tweeki/Tweeki.php" ); | + | require_once( "$IP/skins/Tweeki/Tweeki.php" ); // load skin |
− | $wgDefaultSkin = "tweeki"; | + | $wgDefaultSkin = "tweeki"; // make it the default |
+ | // set permissions: this is read-only for the general public | ||
$wgGroupPermissions['*']['createaccount'] = false; | $wgGroupPermissions['*']['createaccount'] = false; | ||
$wgGroupPermissions['*']['edit'] = false; | $wgGroupPermissions['*']['edit'] = false; | ||
Line 11: | Line 12: | ||
$wgGroupPermissions['sysop']['edit'] = true; | $wgGroupPermissions['sysop']['edit'] = true; | ||
− | $wgTweekiSkinHideable[] = 'sidebar'; | + | $wgTweekiSkinHideable[] = 'sidebar'; // make the sidebar hideable with the #tweekihide parser function |
− | $wgTweekiSkinHideAnon = array( 'EDIT-EXT', 'subnav' ); | + | $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' ); | + | $wgTweekiSkinHideAll = array( 'footer-icons' ); // hide the standard footer icons for everybody |
Revision as of 21:25, 30 June 2016
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