Difference between revisions of "Setup for tweeki.kollabor.at"
From Tweeki
| Line 12: | Line 12: | ||
$wgGroupPermissions['sysop']['edit'] = true; | $wgGroupPermissions['sysop']['edit'] = true; | ||
| − | + | // make the sidebar hideable with the #tweekihide parser function | |
| − | $ | + | $wgTweekiSkinHideable[] = 'sidebar'; |
| − | $ | + | // hide the edit button as well as the subnavigation (containing the toolbox |
| + | // and personal links) for anonymous users | ||
| + | $wgTweekiSkinHideAnon = array( 'EDIT-EXT', 'subnav' ); | ||
| + | // hide the standard footer icons for everybody | ||
| + | $wgTweekiSkinHideAll = array( 'footer-icons' ); | ||
Revision as of 21:26, 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; // make the sidebar hideable with the #tweekihide parser function $wgTweekiSkinHideable[] = 'sidebar'; // hide the edit button as well as the subnavigation (containing the toolbox // and personal links) for anonymous users $wgTweekiSkinHideAnon = array( 'EDIT-EXT', 'subnav' ); // hide the standard footer icons for everybody $wgTweekiSkinHideAll = array( 'footer-icons' );