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