Difference between revisions of "Setup for tweeki.thai-land.at"

From Tweeki
Jump to: navigation, search
(LocalSettings.php)
 
Line 12: Line 12:
 
  $wgGroupPermissions['*']['edit'] = false;
 
  $wgGroupPermissions['*']['edit'] = false;
 
   
 
   
  // make 'sidebar-right' hideable with the #tweekihide parser function (used on the main page)
+
  // make 'sidebar-right' hideable with the #tweekihide parser function
 +
// (used on the main page)
 
  $wgTweekiSkinHideable[] = 'sidebar-right';  
 
  $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 editors) 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
 
  // use tooltip functionality

Latest revision as of 13:31, 9 March 2017

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,About,*Caveats,*Changelog
SEARCH,ICONWATCH,PERSONAL
TOOLBOX

Extensions

Semantic MediaWiki has been installed via composer:

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