fix invalid HTML entities
[lhc/web/wiklou.git] / LocalSettings.sample
1 <?php
2 # Local settings work like this: the file LocalSettings.sample
3 # should be copied to LocalSettings.php in the source directory
4 # and edited for your local file system settings and software
5 # configuration preferences. The install script will copy it to
6 # the installation path, but a copy should also remain in the
7 # source tree so that maintenance scripts can refer to it (you
8 # may want to make it a symbolic link after installation).
9
10 # Developers: Do not check LocalSettings.php into CVS! Make
11 # changes to LocalSettings.sample instead.
12
13 # Note that you will find many more settings in
14 # includes/DefaultSettings.php - if you want to change any of
15 # them, copy the variables into LocalSettings.php, and change them
16 # here, otherwise your settings will be overwritten with your
17 # next update.
18
19 # You can get some useful informations online at:
20 # http://meta.wikipedia.org/wiki/LocalSettings.php
21
22 # The most important setting is here: $IP is the installation
23 # path for the software. In the example below, the htdocs
24 # dir should be set as the DocumentRoot in the httpd.conf
25 # configuration file of Apache. To put it more simply:
26 # The directory below needs to be accessible in some way
27 # through your web browser.
28 #
29 $IP = "/usr/local/apache/htdocs/wiki";
30
31 ## Don't change this bit; install.php needs it.
32 #
33 if ( ! isset( $DP ) ) { $DP = $IP; }
34 include_once( "$DP/DefaultSettings.php" );
35
36 # If you wish to enable third-party extensions, you do that
37 # using an include_once statement here. Make sure, however,
38 # that DefaultSettings.php (above) is included first.
39
40 ## Please customize!
41 #
42 $wgSitename = "MediaWiki";
43
44 # You can customize a lot of URLs and paths, but you will
45 # almost certainly want to customize the following. The
46
47 # Normally the server will be auto-detected, but you can
48 # force the base URL. Don't forget http:// (or https://)!
49 # If you are running php as CGI, the $_SERVER variable might
50 # not be set, you will then need to manually set $wgServer
51 #
52 #$wgServer = "http://www.myhost.com";
53
54 ## The location of the main script, you need this to be correct!
55 #
56 $wgScriptPath = "/wiki";
57 $wgScript = "{$wgScriptPath}/index.php";
58 $wgRedirectScript = "{$wgScriptPath}/redirect.php";
59
60 # ArticlePath one is especially useful if you want to use
61 # mod_redirect to make page-viewing URLs look static.
62 #
63 $wgArticlePath = "{$wgScript}/$1";
64 # $wgArticlePath = "/wiki/$1"; # Prettier if you're setup for it
65
66 ## Normally you don't need to change these once the above are set...
67 #
68 $wgStylePath = "{$wgScriptPath}/style";
69 $wgStyleSheetDirectory = "{$IP}/style";
70
71 $wgUploadPath = "{$wgScriptPath}/upload";
72 $wgUploadDirectory = "{$IP}/upload";
73 $wgLogo = "{$wgStylePath}/images/wiki.png";
74
75 ## Preferably these addresses should be able to receive mail asking for help
76 #
77 $wgEmergencyContact = "wikiadmin@" . getenv( "SERVER_NAME" );
78 $wgPasswordSender = "Wikipedia Mail <apache@" . getenv( "SERVER_NAME" ) . ">";
79
80 # MySQL settings
81 #
82 # The user you specify here DOES NOT NEED TO EXIST.
83 # It is created by the installation script, if
84 # you have root privileges on your database.
85 #
86 # IF on the other hand you have only limited privs
87 # on your DB and have to do a manual install, use
88 # your existing username and password. Be sure this
89 # file doesn't get left around on the web legible...
90 #
91 # $wgDBsqluser is used for queries through the
92 # web interface. It is also created by the script.
93 # Unlike the regular user, it has no write
94 # permissions and can not access passwords.
95 #
96 $wgDBserver = "localhost";
97 $wgDBname = "wikidb";
98 $wgDBuser = "wikiuser";
99 $wgDBpassword = "userpass"; # Use a better password! ;)
100 $wgDBsqluser = "sqluser";
101 $wgDBsqlpassword = "sqlpass";
102
103 ## Minimum word length for the full-text search.
104 ## NOTICE: Changing this value does not suffice. You must
105 ## also change the corresponding setting in MySQL itself.
106 ## See the MySQL manual for information on how to do so.
107 #
108 $wgDBminWordLen = 3;
109
110 ## Set these to true to turn on some optimizations when using
111 ## MySQL 4.x:
112 #
113 # $wgDBmysql4 = true;
114 # $wgEnablePersistentLC = true;
115
116 ## You can customize the interface messages through the wiki;
117 ## see [[MediaWiki:All pages]]. (This requires a sysop account.)
118 ## This causes a performance hit, though; if you don't need it,
119 ## feel free to turn it off:
120 #
121 # $wgUseDatabaseMessages = false;
122
123 ## Set $wgUseImageResize to true if you want to enable dynamic
124 ## server side image resizing ("Thumbnails")
125 #
126 # $wgUseImageResize = true;
127
128 ## Resizing can be done using PHP's internal image libraries
129 ## or using ImageMagick. The later supports more file formats
130 ## than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
131 ##
132 ## Set $wgUseImageMagick to true to use Image Magick instead
133 ## of the builtin functions
134 #
135 # $wgUseImageMagick = true;
136 # $wgImageMagickConvertCommand = "/usr/bin/convert";
137
138 ## If you have the appropriate support software installed
139 ## you can enable inline LaTeX equations:
140 # $wgUseTeX = true;
141 # $wgMathPath = "{$wgUploadPath}/math";
142 # $wgMathDirectory = "{$wgUploadDirectory}/math";
143 # $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
144
145 $wgLocalInterwiki = $wgSitename;
146
147 ## If you want a non-English wiki, add a line like this
148 # $wgLanguageCode = "de";
149
150 ## Character encoding: normally auto-selected by the language.
151 ## English, German, Danish, Dutch, French, Spanish, and Swedish
152 ## will be in ISO-8859-1 by default, all other languages in
153 ## UTF-8 encoding. UTF-8 is more flexible, but some older browsers
154 ## have trouble with it. You can force an English-language wiki
155 ## to UTF-8 by uncommenting the lines below. The other languages
156 ## mentioned above might not work properly this way without
157 ## additional tweaking.
158 #
159 # $wgInputEncoding = "UTF-8";
160 # $wgOutputEncoding = "UTF-8";
161
162 ## Default skin: you can change the default skin. Use the internal symbolic
163 ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
164 # $wgDefaultSkin = 'monobook';
165
166 ## Extremely high-traffic wikis may want to disable
167 ## some database-intensive features here:
168 #
169 # $wgDisableTextSearch = true;
170 # $wgDisableCounters = true;
171 # $wgMiserMode = true;
172
173 ## The following three config variables are used to define
174 ## the rights of users in your system.
175 #
176 # If wgWhitelistEdit is set to true, only logged in users
177 # are allowed to edit articles.
178 # If wgWhitelistRead is set to an array of page names, only logged in users
179 # are allowed to read pages *not in the list*.
180 #
181 # wgWhitelistAccount lists user types that can add user accounts:
182 # "key" => 1 defines permission if user has right "key".
183 #
184 # Typical setups are:
185 #
186 # Everything goes (this is the default behaviour):
187 # $wgWhitelistEdit = false;
188 # $wgWhitelistRead = false;
189 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
190 #
191 # Invitation-only closed shop type of system
192 # $wgWhitelistEdit = true;
193 # $wgWhitelistRead = array ( ":Main_Page" );
194 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
195 #
196 # Public website, closed editorial team
197 # $wgWhitelistEdit = true;
198 # $wgWhitelistRead = false;
199 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
200
201
202 # Squid-related settings
203 #
204 # Enable/disable Squid
205 # $wgUseSquid = true;
206 # If you run Squid3 with ESI support, enable this (default:false):
207 # $wgUseESI = true;
208 # Internal server name as known to Squid, if different
209 # $wgInternalServer = 'http://yourinternal.tld:8000';
210 # Cache timeout for the squid, will be sent as s-maxage (without ESI) or
211 # Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in the Squid config.
212 # 18000 seconds = 5 hours, more cache hits with 2678400 = 31 days
213 # $wgSquidMaxage = 18000;
214 # A list of proxy servers (ips if possible) to purge on changes
215 # don't specify ports here (80 is default)
216 # $wgSquidServers = array('127.0.0.1');
217 ?>