]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - LocalSettings.php
MediaWiki 1.5.8-scripts
[autoinstalls/mediawiki.git] / LocalSettings.php
1 <?php
2
3 # This file was automatically generated by the MediaWiki installer.
4 # If you make manual changes, please keep track in case you need to
5 # recreate them later.
6
7 $IP = WIZARD_IP;
8 ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" );
9 require_once( "includes/DefaultSettings.php" );
10
11 # If PHP's memory limit is very low, some operations may fail.
12 # ini_set( 'memory_limit', '20M' );
13
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" );
17         }
18 } elseif ( empty( $wgNoOutputBuffer ) ) {
19         ## Compress output if the browser supports it
20         if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' );
21 }
22
23 $wgSitename         = WIZARD_SITENAME;
24
25 $wgScriptPath       = WIZARD_SCRIPTPATH;
26 $wgScript           = "$wgScriptPath/index.php";
27 $wgRedirectScript   = "$wgScriptPath/redirect.php";
28
29 ## If using PHP as a CGI module, use the ugly URLs
30 # $wgArticlePath      = "$wgScript/$1";
31 $wgArticlePath      = "$wgScript?title=$1";
32
33 $wgStylePath        = "$wgScriptPath/skins";
34 $wgStyleDirectory   = "$IP/skins";
35 $wgLogo             = "$wgStylePath/common/images/wiki.png";
36
37 $wgUploadPath       = "$wgScriptPath/images";
38 $wgUploadDirectory  = "$IP/images";
39
40 $wgEnableEmail = true;
41 $wgEnableUserEmail = true;
42
43 $wgEmergencyContact = WIZARD_EMERGENCYCONTACT;
44 $wgPasswordSender       = WIZARD_EMERGENCYCONTACT;
45
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;
54
55 $wgDBserver         = WIZARD_DBSERVER;
56 $wgDBname           = WIZARD_DBNAME;
57 $wgDBuser           = WIZARD_DBUSER;
58 $wgDBpassword       = WIZARD_DBPASSWORD;
59 $wgDBprefix         = "";
60
61 # If you're on MySQL 3.x, this next line must be FALSE:
62 $wgDBmysql4 = true;
63
64 # Experimental charset support for MySQL 4.1/5.0.
65 $wgDBmysql5 = false;
66
67 ## Shared memory settings
68 $wgMainCacheType = CACHE_NONE;
69 $wgMemCachedServers = array();
70
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";
77
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;
83
84 ## If you have the appropriate support software installed
85 ## you can enable inline LaTeX equations:
86 # $wgUseTeX                     = true;
87 $wgMathPath         = "{$wgUploadPath}/math";
88 $wgMathDirectory    = "{$wgUploadDirectory}/math";
89 $wgTmpDirectory     = "{$wgUploadDirectory}/tmp";
90
91 $wgLocalInterwiki   = $wgSitename;
92
93 $wgLanguageCode = "en";
94
95 $wgProxyKey = WIZARD_SECRETKEY;
96
97 ## Default skin: you can change the default skin. Use the internal symbolic
98 ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
99 # $wgDefaultSkin = 'monobook';
100
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
106 $wgRightsUrl = "";
107 $wgRightsText = "";
108 $wgRightsIcon = "";
109 # $wgRightsCode = ""; # Not yet used
110
111 $wgDiff3 = "/usr/bin/diff3";
112
113 ?>