Immediate MediaWiki settings after installation

First things I do when install MediaWiki are:

a) Enable PrettyURLs

b) Install Maintenance Shell extension

c) Disable edits by anonymous users

d) Install extension to mass import images

e) Install MWAdvancedMeta (but this conflicts with image extension)

f) Robots for special pages

 

Add these lines to wiki configuration file after uploading the extension first:

 

=========

MWAdvancedMeta:

# require_once('extensions/MWAdvancedMeta/MWAdvancedMeta.php');

# $mwaMeta = MWAdvancedMeta::setup();

# $mwaMeta->setAllowedUsers(array('*'));

# $mwaMeta->setAllowedUsergroups(array());

# $mwaMeta->setIndexedPages(array(NS_MAIN, NS_PROJECT, NS_IMAGE, NS_TALK));

=========

=========

// No anonymous editing allowed -

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

=========

=========

$wgExternalLinkTarget = '_blank';

$wgEmailConfirmToEdit = true;

=========

=========

Maintenance Shell:

# Sysops will have access to the MaintenanceShell

$wgGroupPermissions['sysop']['maintenanceshell'] = true;

 

#Place this on the VERY LAST line of your Localsettings.php file:

require_once("$IP/extensions/MaintenanceShell/MaintenanceShell.php");

=========

=========

Robots for special pages:

User-agent: *
Disallow: /index.php
Disallow: /Special:SpecialPages
Disallow: /Special:AllPages
Disallow: /Unfinished_Pages_List

=========



˅˅˅ Additional valuable information is available at one of the links below: ˅˅˅

 

Did you like the article? Let Google Search know by clicking this button: . Please link to content that you find useful on this website on your own website, forum or blog! You can also comment on this page below, or contact me to ask a question or suggest a topic for me to research. There is a user-editable Wiki available on my website, as well as a Forum that you can contribute to. Site Map.

Page last modified 03-Sep-12 16:35:39 EDT
Comments on this page:


Add a comment to this page
Comment Title:
Your Name:
Your Email Address:
Notify me of new comments to this item:
Additional Comments:
This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)