Setup for tweeki.kollabor.at: Difference between revisions
From Tweeki
No edit summary |
|||
| Line 21: | Line 21: | ||
// hide the standard footer icons for everybody | // hide the standard footer icons for everybody | ||
$wgTweekiSkinHideAll = array( 'footer-icons' ); | $wgTweekiSkinHideAll = array( 'footer-icons' ); | ||
// use tooltip functionality | |||
$wgTweekiSkinUseTooltips = true; | |||
=== Messages === | === Messages === | ||
Revision as of 14:55, 8 November 2016
The configuration for this website is pretty standard and only very few changes had to be made:
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; // make 'sidebar-right' hideable with the #tweekihide parser function (used on the main page) $wgTweekiSkinHideable[] = 'sidebar-right'; // hide the edit button as well as the subnavigation (containing the toolbox // and personal links for editors) for anonymous users $wgTweekiSkinHideAnon = array( 'EDIT-EXT', 'subnav' ); // hide the standard footer icons for everybody $wgTweekiSkinHideAll = array( 'footer-icons' ); // use tooltip functionality $wgTweekiSkinUseTooltips = true;
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}}
Extensions
Semantic MediaWiki has been installed via composer:
composer require mediawiki/semantic-media-wiki "~2.1" --update-no-dev