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:
Page last modified 03-Sep-12 16:35:39 EDT
Previous page: MediaWiki editor improvements/suggestions
Next page: Remove MediaWiki footer