Difference between revisions of "Setup for tweeki.kollabor.at"
From Tweeki
(15 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 '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 [{{fullurl:Special:AllMessages|prefix=Tweeki&filter=modified&lang=en&limit=50}} see full list], or the [{{fullurl:Special:AllMessages|filter=modified&lang=en&limit=50}} complete list of all changed system messages] | ||
+ | |||
+ | * {{Setupmsg|Tweeki-login}} | ||
+ | * {{Setupmsg|Tweeki-navbar-left}} | ||
+ | * {{Setupmsg|Tweeki-navbar-right}} | ||
+ | * {{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