Setup for tweeki.kollabor.at: Difference between revisions
From Tweeki
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
// hide the standard footer icons for everybody | // hide the standard footer icons for everybody | ||
$wgTweekiSkinHideAll = array( 'footer-icons' ); | $wgTweekiSkinHideAll = array( 'footer-icons' ); | ||
=== Messages === | |||
* {{Setupmsg|Tweeki-navbar-left}} | |||
* {{Setupmsg|Tweeki-navbar-right}} | |||
Revision as of 21:28, 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' );
Messages
- {{#messenger:Tweeki-navbar-left|en|nowiki}}
- {{#messenger:Tweeki-navbar-right|en|nowiki}}