3 # This file was automatically generated by the MediaWiki installer.
4 # If you make manual changes, please keep track in case you need to
8 ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" );
9 require_once( "includes/DefaultSettings.php" );
11 # If PHP's memory limit is very low, some operations may fail.
12 # ini_set( 'memory_limit', '20M' );
14 if ( $wgCommandLineMode ) {
15 if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
16 die( "This script must be run from the command line\n" );
18 } elseif ( empty( $wgNoOutputBuffer ) ) {
19 ## Compress output if the browser supports it
20 if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' );
23 $wgSitename = WIZARD_SITENAME;
25 $wgScriptPath = WIZARD_SCRIPTPATH;
26 $wgScript = "$wgScriptPath/index.php";
27 $wgRedirectScript = "$wgScriptPath/redirect.php";
29 ## If using PHP as a CGI module, use the ugly URLs
30 # $wgArticlePath = "$wgScript/$1";
31 $wgArticlePath = "$wgScript?title=$1";
33 $wgStylePath = "$wgScriptPath/skins";
34 $wgStyleDirectory = "$IP/skins";
35 $wgLogo = "$wgStylePath/common/images/wiki.png";
37 $wgUploadPath = "$wgScriptPath/images";
38 $wgUploadDirectory = "$IP/images";
40 $wgEnableEmail = true;
41 $wgEnableUserEmail = true;
43 $wgEmergencyContact = WIZARD_EMERGENCYCONTACT;
44 $wgPasswordSender = WIZARD_EMERGENCYCONTACT;
46 ## For a detailed description of the following switches see
47 ## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
48 ## There are many more options for fine tuning available see
49 ## /includes/DefaultSettings.php
50 ## UPO means: this is also a user preference option
51 $wgEnotifUserTalk = true; # UPO
52 $wgEnotifWatchlist = true; # UPO
53 $wgEmailAuthentication = true;
55 $wgDBserver = WIZARD_DBSERVER;
56 $wgDBname = WIZARD_DBNAME;
57 $wgDBuser = WIZARD_DBUSER;
58 $wgDBpassword = WIZARD_DBPASSWORD;
61 # If you're on MySQL 3.x, this next line must be FALSE:
64 # Experimental charset support for MySQL 4.1/5.0.
67 ## Shared memory settings
68 $wgMainCacheType = CACHE_NONE;
69 $wgMemCachedServers = array();
71 ## To enable image uploads, make sure the 'images' directory
72 ## is writable, then uncomment this:
73 # $wgEnableUploads = true;
74 $wgUseImageResize = true;
75 $wgUseImageMagick = true;
76 $wgImageMagickConvertCommand = "/usr/bin/convert";
78 ## If you want to use image uploads under safe mode,
79 ## create the directories images/archive, images/thumb and
80 ## images/temp, and make them all writable. Then uncomment
81 ## this, if it's not already uncommented:
82 # $wgHashedUploadDirectory = false;
84 ## If you have the appropriate support software installed
85 ## you can enable inline LaTeX equations:
87 $wgMathPath = "{$wgUploadPath}/math";
88 $wgMathDirectory = "{$wgUploadDirectory}/math";
89 $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
91 $wgLocalInterwiki = $wgSitename;
93 $wgLanguageCode = "en";
95 $wgProxyKey = WIZARD_SECRETKEY;
97 ## Default skin: you can change the default skin. Use the internal symbolic
98 ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
99 # $wgDefaultSkin = 'monobook';
101 ## For attaching licensing metadata to pages, and displaying an
102 ## appropriate copyright notice / icon. GNU Free Documentation
103 ## License and Creative Commons licenses are supported so far.
104 # $wgEnableCreativeCommonsRdf = true;
105 $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
109 # $wgRightsCode = ""; # Not yet used
111 $wgDiff3 = "/usr/bin/diff3";