]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - LocalSettings.php
MediaWiki 1.11.0-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 # See includes/DefaultSettings.php for all configurable settings
8 # and their default values, but don't forget to make changes in _this_
9 # file, not there.
10
11 # If you customize your file layout, set $IP to the directory that contains
12 # the other MediaWiki files. It will be used as a base to locate files.
13 if( defined( 'MW_INSTALL_PATH' ) ) {
14         $IP = MW_INSTALL_PATH;
15 } else {
16         $IP = dirname( __FILE__ );
17 }
18
19 $path = array( $IP, "$IP/includes", "$IP/languages" );
20 set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );
21
22 require_once( "$IP/includes/DefaultSettings.php" );
23
24 # If PHP's memory limit is very low, some operations may fail.
25 # ini_set( 'memory_limit', '20M' );
26
27 if ( $wgCommandLineMode ) {
28         if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
29                 die( "This script must be run from the command line\n" );
30         }
31 }
32 ## Uncomment this to disable output compression
33 # $wgDisableOutputCompression = true;
34
35 $wgSitename         = WIZARD_SITENAME;
36
37 ## The URL base path to the directory containing the wiki;
38 ## defaults for all runtime URL paths are based off of this.
39 $wgScriptPath       = WIZARD_SCRIPTPATH;
40 $wgScriptExtension  = ".php";
41
42 ## For more information on customizing the URLs please see:
43 ## http://www.mediawiki.org/wiki/Manual:Short_URL
44
45 $wgEnableEmail      = true;
46 $wgEnableUserEmail  = true;
47
48 $wgEmergencyContact = WIZARD_EMERGENCYCONTACT;
49 $wgPasswordSender = WIZARD_EMERGENCYCONTACT;
50
51 ## For a detailed description of the following switches see
52 ## http://www.mediawiki.org/wiki/Extension:Email_notification 
53 ## and http://www.mediawiki.org/wiki/Extension:Email_notification
54 ## There are many more options for fine tuning available see
55 ## /includes/DefaultSettings.php
56 ## UPO means: this is also a user preference option
57 $wgEnotifUserTalk = true; # UPO
58 $wgEnotifWatchlist = true; # UPO
59 $wgEmailAuthentication = true;
60
61 $wgDBtype           = "mysql";
62 $wgDBserver         = WIZARD_DBSERVER;
63 $wgDBname           = WIZARD_DBNAME;
64 $wgDBuser           = WIZARD_DBUSER;
65 $wgDBpassword       = WIZARD_DBPASSWORD;
66
67 # MySQL specific settings
68 $wgDBprefix         = "";
69
70 # MySQL table options to use during installation or update
71 $wgDBTableOptions   = "TYPE=InnoDB";
72
73 # Experimental charset support for MySQL 4.1/5.0.
74 $wgDBmysql5 = false;
75
76 # Postgres specific settings
77 $wgDBport           = "5432";
78 $wgDBmwschema       = "mediawiki";
79 $wgDBts2schema      = "public";
80
81 ## Shared memory settings
82 $wgMainCacheType = CACHE_NONE;
83 $wgMemCachedServers = array();
84
85 ## To enable image uploads, make sure the 'images' directory
86 ## is writable, then set this to true:
87 $wgEnableUploads       = false;
88 $wgUseImageMagick = true;
89 $wgImageMagickConvertCommand = "/usr/bin/convert";
90
91 ## If you want to use image uploads under safe mode,
92 ## create the directories images/archive, images/thumb and
93 ## images/temp, and make them all writable. Then uncomment
94 ## this, if it's not already uncommented:
95 # $wgHashedUploadDirectory = false;
96
97 ## If you have the appropriate support software installed
98 ## you can enable inline LaTeX equations:
99 $wgUseTeX           = false;
100
101 $wgLocalInterwiki   = $wgSitename;
102
103 $wgLanguageCode = "en";
104
105 $wgProxyKey = WIZARD_SECRETKEY;
106
107 ## Default skin: you can change the default skin. Use the internal symbolic
108 ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
109 $wgDefaultSkin = 'monobook';
110
111 ## For attaching licensing metadata to pages, and displaying an
112 ## appropriate copyright notice / icon. GNU Free Documentation
113 ## License and Creative Commons licenses are supported so far.
114 # $wgEnableCreativeCommonsRdf = true;
115 $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
116 $wgRightsUrl = "";
117 $wgRightsText = "";
118 $wgRightsIcon = "";
119 # $wgRightsCode = ""; # Not yet used
120
121 $wgDiff3 = "/usr/bin/diff3";
122
123 # When you make changes to this configuration file, this will make
124 # sure that cached pages are cleared.
125 $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
126 $wgCacheEpoch = max( $wgCacheEpoch, $configdate );
127