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

From Tweeki
Jump to: navigation, search
 
(9 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 ===
  
Line 10: Line 12:
 
  $wgGroupPermissions['*']['edit'] = false;
 
  $wgGroupPermissions['*']['edit'] = false;
 
   
 
   
  // make the sidebar hideable with the #tweekihide parser function
+
  // 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 = array( 'EDIT-EXT', 'subnav' );  
+
  $wgTweekiSkinHideAnon['EDIT-EXT'] = true; 
 +
$wgTweekiSkinHideAnon['subnav'] = true;
 +
 
  // hide the standard footer icons for everybody
 
  // hide the standard footer icons for everybody
  $wgTweekiSkinHideAll = array( 'footer-icons' );
+
  $wgTweekiSkinHideAnon['subnav'] = true;
 +
 +
// use tooltip functionality
 +
$wgTweekiSkinUseTooltips = true;
  
 
=== Messages ===
 
=== Messages ===
Line 27: Line 36:
 
* {{Setupmsg|Tweeki-subnav}}
 
* {{Setupmsg|Tweeki-subnav}}
  
=== Semantic MediaWiki ===
+
=== Extensions ===
  
has been installed via composer:
+
''Semantic MediaWiki'' has been installed via composer:
  
  composer require mediawiki/semantic-media-wiki "~2.1" --update-no-dev
+
  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