Difference between revisions of "Setup for tweeki.kollabor.at"

From Tweeki
Jump to: navigation, search
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

Installation,Configuration,*Configuration Options,*Messages,*Parser Functions,*Hooks, *Custom Styling,*Preferences,Components,*{{#ask:[[Category:Components]]}},How-Tos,Changelog
SEARCH,ICONWATCH,PERSONAL