]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - LocalSettings.php
MediaWiki 1.16.1-scripts
[autoinstallsdev/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 ( $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 ## For more information on customizing the URLs please see:
40 ## http://www.mediawiki.org/wiki/Manual:Short_URL
41 $wgScriptPath       = WIZARD_SCRIPTPATH;
42 $wgScriptExtension  = ".php";
43
44 ## The relative URL path to the skins directory
45 $wgStylePath        = "$wgScriptPath/skins";
46
47 ## The relative URL path to the logo.  Make sure you change this from the default,
48 ## or else you'll overwrite your logo when you upgrade!
49 $wgLogo             = "$wgStylePath/common/images/wiki.png";
50
51 ## UPO means: this is also a user preference option
52
53 $wgEnableEmail      = true;
54 $wgEnableUserEmail  = true; # UPO
55
56 $wgEmergencyContact = WIZARD_EMERGENCYCONTACT;
57 $wgPasswordSender = WIZARD_EMERGENCYCONTACT;
58
59 $wgEnotifUserTalk = true; # UPO
60 $wgEnotifWatchlist = true; # UPO
61 $wgEmailAuthentication = true;
62
63 ## Database settings
64 $wgDBtype           = "mysql";
65 $wgDBserver         = WIZARD_DBSERVER;
66 $wgDBname           = WIZARD_DBNAME;
67 $wgDBuser           = WIZARD_DBUSER;
68 $wgDBpassword       = WIZARD_DBPASSWORD;
69
70 # MySQL specific settings
71 $wgDBprefix         = "";
72
73 # MySQL table options to use during installation or update
74 $wgDBTableOptions   = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
75
76 # Experimental charset support for MySQL 4.1/5.0.
77 $wgDBmysql5 = true;
78
79 ## Shared memory settings
80 $wgMainCacheType = CACHE_NONE;
81 $wgMemCachedServers = array();
82
83 ## To enable image uploads, make sure the 'images' directory
84 ## is writable, then set this to true:
85 $wgEnableUploads       = false;
86 $wgUseImageMagick = true;
87 $wgImageMagickConvertCommand = "/usr/bin/convert";
88
89 ## If you use ImageMagick (or any other shell command) on a
90 ## Linux server, this will need to be set to the name of an
91 ## available UTF-8 locale
92 $wgShellLocale = "en_US.utf8";
93
94 ## If you want to use image uploads under safe mode,
95 ## create the directories images/archive, images/thumb and
96 ## images/temp, and make them all writable. Then uncomment
97 ## this, if it's not already uncommented:
98 # $wgHashedUploadDirectory = false;
99
100 ## If you have the appropriate support software installed
101 ## you can enable inline LaTeX equations:
102 $wgUseTeX           = false;
103
104 ## Set $wgCacheDirectory to a writable directory on the web server
105 ## to make your wiki go slightly faster. The directory should not
106 ## be publically accessible from the web.
107 #$wgCacheDirectory = "$IP/cache";
108
109 $wgLocalInterwiki   = strtolower( $wgSitename );
110
111 $wgLanguageCode = "en";
112
113 $wgSecretKey = WIZARD_SECRETKEY;
114
115 ## Default skin: you can change the default skin. Use the internal symbolic
116 ## names, ie 'vector', 'monobook':
117 $wgDefaultSkin = 'monobook';
118
119 ## For attaching licensing metadata to pages, and displaying an
120 ## appropriate copyright notice / icon. GNU Free Documentation
121 ## License and Creative Commons licenses are supported so far.
122 # $wgEnableCreativeCommonsRdf = true;
123 $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
124 $wgRightsUrl = "";
125 $wgRightsText = "";
126 $wgRightsIcon = "";
127 # $wgRightsCode = ""; # Not yet used
128
129 $wgDiff3 = "/usr/bin/diff3";
130
131 # When you make changes to this configuration file, this will make
132 # sure that cached pages are cleared.
133 $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );