Page MenuHomePhabricator

LocalSettings.php

Authored By
bzimport
Nov 21 2014, 9:11 PM
Size
6 KB
Referenced Files
None
Subscribers
None

LocalSettings.php

<?php
# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.
$IP = "D:\\mediawiki";
ini_set( "include_path", ".;$IP;$IP/includes;$IP/languages:C:/php:C:/php/pear" );
require_once( "includes/DefaultSettings.php" );
# If PHP's memory limit is very low, some operations may fail.
# ini_set( 'memory_limit', '20M' );
if ( $wgCommandLineMode ) {
if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
die( "This script must be run from the command line\n" );
}
} elseif ( empty( $wgNoOutputBuffer ) ) {
## Compress output if the browser supports it
if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' );
}
$wgSitename = "WikiLiaison";
$wgScriptPath = "";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
## If using PHP as a CGI module, use the ugly URLs
# $wgArticlePath = "$wgScript/$1";
$wgArticlePath = "$wgScript?title=$1";
$wgStylePath = "$wgScriptPath/skins";
$wgStyleDirectory = "$IP/skins";
$wgLogo = "$wgStylePath/common/images/wiki.png";
$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";
$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgEmergencyContact = "techsupport@sqliaison.com";
$wgPasswordSender = "techsupport@sqliaison.com";
## For a detailed description of the following switches see
## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
## There are many more options for fine tuning available see
## /includes/DefaultSettings.php
## UPO means: this is also a user preference option
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
#$wgEmailAuthentication = true;
$wgEmailAuthentication = false;
$wgDBserver = "localhost";
$wgDBname = "wikidb";
$wgDBuser = "wikiuser";
$wgDBpassword = "password";
$wgDBprefix = "";
# If you're on MySQL 3.x, this next line must be FALSE:
$wgDBmysql4 = true;
# Experimental charset support for MySQL 4.1/5.0.
$wgDBmysql5 = false;
## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();
## To enable image uploads, make sure the 'images' directory
## is writable, then uncomment this:
# $wgEnableUploads = true;
$wgUseImageResize = true;
# $wgUseImageMagick = true;
# $wgImageMagickConvertCommand = "/usr/bin/convert";
## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
# $wgHashedUploadDirectory = false;
## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
# $wgUseTeX = true;
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
$wgLocalInterwiki = $wgSitename;
$wgLanguageCode = "en";
$wgProxyKey = "251b965c6a77fdd37b3203f427b7573141673a135030e3f51f9cdfb179fe70aa";
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
$wgDefaultSkin = 'monobook';
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgEnableCreativeCommonsRdf = true;
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "http://www.gnu.org/copyleft/fdl.html";
$wgRightsText = "GNU Free Documentation License 1.2";
$wgRightsIcon = "${wgStylePath}/common/images/gnu-fdl.png";
# $wgRightsCode = "gfdl"; # Not yet used
$wgDiff3 = "";
##
## Permission keys given to users in each group.
## All users are implicitly in the '*' group including anonymous visitors;
## logged-in users are all implicitly in the 'user' group. These will be
## combined with the permissions of all groups that a given user is listed
## in in the user_groups table.
##
## This replaces wgWhitelistAccount and wgWhitelistEdit
##
## The following line should be commented, otherwise these settings will
## throw away the settings on DefaultSettings.php (you probably don't want this).
## With this line commented you will only overwrite the settings you explicitly
## define here (that's what you probably want).
# $wgGroupPermissions = array();
# $wgGroupPermissions['*' ]['createaccount'] = true;
# $wgGroupPermissions['*' ]['read'] = true;
# $wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['*' ]['createaccount'] = true;
$wgGroupPermissions['*' ]['read'] = true;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['user' ]['move'] = true;
$wgGroupPermissions['user' ]['read'] = true;
$wgGroupPermissions['user' ]['edit'] = true;
$wgGroupPermissions['user' ]['upload'] = true;
$wgGroupPermissions['bot' ]['bot'] = true;
$wgGroupPermissions['sysop']['block'] = true;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgGroupPermissions['sysop']['delete'] = true;
$wgGroupPermissions['sysop']['editinterface'] = true;
$wgGroupPermissions['sysop']['import'] = true;
$wgGroupPermissions['sysop']['importupload'] = true;
$wgGroupPermissions['sysop']['move'] = true;
$wgGroupPermissions['sysop']['patrol'] = true;
$wgGroupPermissions['sysop']['protect'] = true;
$wgGroupPermissions['sysop']['rollback'] = true;
$wgGroupPermissions['sysop']['upload'] = true;
$wgGroupPermissions['bureaucrat']['userrights'] = true;
$wgShowIPinHeader = false; # For non-logged in users
#$wgSMTP = array(
# "host" => 'email-srv.sqliaison.com',
#"IDHost" => 'sqliaison.com',
# "port" => "25",
# "auth" => false,
#"username" => 'romainp',
#"password" => 'pelissier'
#);
?>

File Metadata

Mime Type
text/x-php
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2300
Default Alt Text
LocalSettings.php (6 KB)

Event Timeline