By Aka [Public domain], via Wikimedia Commons

MediaWiki Hacks

… today some minor MediaWiki Hacks:

Change the default Start Page

… there are two ways, depending on your settings in LocalSettings.php:

$wgUseDatabaseMessages = true

Go to MediaWiki:Mainpage and enter your new start page.

$wgUseDatabaseMessages = false

Add the following code to your LocalSettings.php file:

if (empty($_GET['title'])) $_REQUEST['title'] = 'NewStartPage';

… where NewStartPage points to your new start page.

Multi-Language Extension for MediaWiki

Extension:Multilang

Change your Sidebar

… again there ae two ways, depending on your settings in LocalSettings.php:

$wgUseDatabaseMessages = true

Go to MediaWiki:Sidebar and enter your changes.

$wgUseDatabaseMessages = false

Add your changes in Messages.php and all translation files (MessagesXX.php) you use.

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Flattr this!

Leave a Reply

Your email address will not be published. Required fields are marked *