Difference between revisions of "Setup for tweeki.kollabor.at"
From Tweeki
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | The configuration for this website is pretty standard and only very few changes had to be made: | ||
+ | |||
=== LocalSettings.php === | === LocalSettings.php === | ||
+ | [...] | ||
+ | |||
require_once( "$IP/skins/Tweeki/Tweeki.php" ); // load skin | require_once( "$IP/skins/Tweeki/Tweeki.php" ); // load skin | ||
$wgDefaultSkin = "tweeki"; // make it the default | $wgDefaultSkin = "tweeki"; // make it the default | ||
Line 7: | Line 11: | ||
$wgGroupPermissions['*']['createaccount'] = false; | $wgGroupPermissions['*']['createaccount'] = false; | ||
$wgGroupPermissions['*']['edit'] = false; | $wgGroupPermissions['*']['edit'] = false; | ||
− | |||
− | |||
− | |||
− | |||
− | // make | + | // make 'sidebar-right' hideable with the #tweekihide parser function |
− | $wgTweekiSkinHideable[] = 'sidebar'; | + | // (used on the main page) |
+ | $wgTweekiSkinHideable[] = 'sidebar-right'; | ||
+ | |||
// hide the edit button as well as the subnavigation (containing the toolbox | // hide the edit button as well as the subnavigation (containing the toolbox | ||
− | // and personal links) for anonymous users | + | // and personal links for editors) for anonymous users |
− | $wgTweekiSkinHideAnon | + | $wgTweekiSkinHideAnon['EDIT-EXT'] = true; |
+ | $wgTweekiSkinHideAnon['subnav'] = true; | ||
+ | |||
// hide the standard footer icons for everybody | // hide the standard footer icons for everybody | ||
− | $ | + | $wgTweekiSkinHideAnon['subnav'] = true; |
+ | |||
+ | // use tooltip functionality | ||
+ | $wgTweekiSkinUseTooltips = true; | ||
=== Messages === | === Messages === | ||
Line 28: | Line 35: | ||
* {{Setupmsg|Tweeki-navbar-right}} | * {{Setupmsg|Tweeki-navbar-right}} | ||
* {{Setupmsg|Tweeki-subnav}} | * {{Setupmsg|Tweeki-subnav}} | ||
+ | |||
+ | === Extensions === | ||
+ | |||
+ | ''Semantic MediaWiki'' has been installed via composer: | ||
+ | |||
+ | composer require mediawiki/semantic-media-wiki "~3.1" --update-no-dev |
Latest revision as of 11:33, 30 December 2021
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['EDIT-EXT'] = true; $wgTweekiSkinHideAnon['subnav'] = true; // hide the standard footer icons for everybody $wgTweekiSkinHideAnon['subnav'] = true; // 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
- Login
- Installation,Configuration,*Configuration Options,*Messages,*Parser Functions,*Hooks, *Custom Styling,*Preferences,Components,*{{#ask:[[Category:Components]]}},How-Tos,Changelog
- SEARCH,ICONWATCH,PERSONAL
- TOOLBOX
Extensions
Semantic MediaWiki has been installed via composer:
composer require mediawiki/semantic-media-wiki "~3.1" --update-no-dev