LocalSettings.php modifications

From OpenOffice.org Wiki

Jump to: navigation, search
PAGE_TITLE: TG9jYWxTZXR0aW5ncy5waHAgbW9kaWZpY2F0aW9ucw==

Contents

Set the valid filetypes

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ppt', 'xls', 'doc', 'mpg', 'mpeg', 'rar', 'zip', 'tgz', 'tar', 'gz', 'bz2', 'odt', 'ods', 'odp', 'odg', 'oxt', 'xpi');

Email confirmation to edit Wiki

$wgEmailConfirmToEdit=true;

Users must login to the Wiki to be able to edit

##################
# To require that users log in to edit
$wgGroupPermissions['*']['edit']            = false;
#
$wgShowIPinHeader = false; # For non-logged in users

Enable SubPages

$wgNamespaceWithSubpages[NS_MAIN] = true

Uploads and Imagemagick

$wgEnableUploads       = true;
$wgUseImageMagick      = true;
$wgImageMagickConvertCommand = "/usr/local/bin/convert";

Default skin

$wgDefaultSkin = 'oooskin';

Alow DisplayTitle

$wgAllowDisplayTitle = false;

Must be set to false so that we can use the DisplayTitle extension

OpenOffice.org logo

$wgLogo = "/w/OOoWiki_Logo_07.png";

Allow external image linking

$wgAllowExternalImages = true;

Remove restrictions on DPL extension

$wgDPL2AllowUnlimitedResults = true
Personal tools
Create a book