Setup for tweeki.kollabor.at: Difference between revisions

From Tweeki
Jump to: navigation, search
No edit summary
Line 28: Line 28:
* {{Setupmsg|Tweeki-navbar-right}}
* {{Setupmsg|Tweeki-navbar-right}}
* {{Setupmsg|Tweeki-subnav}}
* {{Setupmsg|Tweeki-subnav}}
=== Semantic MediaWiki ===
has been installed via composer:
composer require mediawiki/semantic-media-wiki "~2.1" --update-no-dev

Revision as of 21:41, 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

for all changed Tweeki messages and their defaults see full list, or the complete list of all changed system messages

{{#messenger:Tweeki-login|en|nowiki}}
{{#messenger:Tweeki-navbar-left|en|nowiki}}
{{#messenger:Tweeki-navbar-right|en|nowiki}}
{{#messenger:Tweeki-subnav|en|nowiki}}

Semantic MediaWiki

has been installed via composer:

composer require mediawiki/semantic-media-wiki "~2.1" --update-no-dev