Technical Notes

My online notepad

  • Social


  • Support

    Donate towards my web hosting bill!

Initial Tuning of MediaWiki Installation

Posted by Anton Khitrenovich on February 4, 2012

Just found another old notes on the initial tuning of MediaWiki installation. Note sure if they are outdated or not, but maybe somebody will find them useful. The notes are not really detailed, so some minimal technical understanding of MediaWiki software is required.

Permissions

Disable self-registration and anonymous editing:

$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;

Appearance

Change the name of the site (shown in browser window title):

$wgSitename = "My private Wiki";

Change the main page:

  1. Go to “MediaWiki:Mainpage” page
  2. Click on “Create” or “Edit” tab
  3. Enter the name of new main page
  4. Save changes

Files Upload

Change allowed upload types:

$wgFileExtensions[] = 'zip';

Icons for file types are located under skins/common/images/icons directory.

Site Name in OpenSearch Box

To edit site name that is displayed in search boxes of popular browsers:

  1. Go to “Special:Allmessages” page
  2. Find opensearch-desc message
  3. Click on the message name
  4. On the edit page, set the new message text
  5. Save the page

 

Leave a Comment

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