Fix bug 479 : parsing [[RFC 1234]] as internal link
[lhc/web/wiklou.git] / includes / DefaultSettings.php
1 <?php
2 /**
3 * DO NOT EDIT THIS FILE!
4 *
5 * To customize your installation, edit "LocalSettings.php".
6 *
7 * Note that since all these string interpolations are expanded
8 * before LocalSettings is included, if you localize something
9 * like $wgScriptPath, you must also localize everything that
10 * depends on it.
11 *
12 * @version $Id$
13 * @package MediaWiki
14 */
15
16 # This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
17 if( defined( 'MEDIAWIKI' ) ) {
18
19 /**
20 * MediaWiki version number
21 * @global string $wgVersion
22 */
23 $wgVersion = '1.4-prealpha';
24
25 /**
26 * Name of the site.
27 * It must be changed in LocalSettings.php
28 * @global string $wgSitename
29 */
30 $wgSitename = 'MediaWiki';
31
32 /**
33 * Will be same as you set @see $wgSitename
34 * @global mixed $wgMetaNamespace
35 */
36 $wgMetaNamespace = FALSE;
37
38
39 /**
40 * URL of the server
41 * It will be automaticly build including https mode
42 * @global string $wgServer
43 */
44 $wgServer = '';
45 # check if server use https:
46 $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';
47
48 if ( @$wgCommandLineMode ) {
49 $wgServer = $wgProto.'://localhost';
50 } else {
51 $wgServer = $wgProto.'://' . $_SERVER['SERVER_NAME'];
52 if( $_SERVER['SERVER_PORT'] != 80 ) $wgServer .= ":" . $_SERVER['SERVER_PORT'];
53 }
54 unset($wgProto);
55
56
57 /**
58 * The path we should point to.
59 * It might be a virtual path in case with use apache mod_rewrite for example
60 * @global string $wgScriptPath
61 */
62 $wgScriptPath = '/wiki';
63
64 /**
65 * Whether to support URLs like index.php/Page_title
66 * @global bool $wgUsePathInfo
67 */
68 $wgUsePathInfo = ( strpos( php_sapi_name(), 'cgi' ) === false );
69
70
71 /**#@+
72 * Script users will request to get articles
73 * ATTN: Old installations used wiki.phtml and redirect.phtml -
74 * make sure that LocalSettings.php is correctly set!
75 * @deprecated
76 */
77 /**
78 * @global string $wgScript
79 */
80 $wgScript = "{$wgScriptPath}/index.php";
81 /**
82 * @global string $wgRedirectScript
83 */
84 $wgRedirectScript = "{$wgScriptPath}/redirect.php";
85 /**#@-*/
86
87
88 /**#@+
89 * @global string
90 */
91 /**
92 * style path as seen by users
93 * @global string $wgStylePath
94 */
95 $wgStylePath = "{$wgScriptPath}/skins";
96 /**
97 * filesystem stylesheets directory
98 * @global string $wgStyleDirectory
99 */
100 $wgStyleDirectory = "{$IP}/skins";
101 $wgStyleSheetPath = &$wgStylePath;
102 $wgStyleSheetDirectory = &$wgStyleDirectory;
103 $wgArticlePath = "{$wgScript}?title=$1";
104 $wgUploadPath = "{$wgScriptPath}/upload";
105 $wgUploadDirectory = "{$IP}/upload";
106 $wgLogo = "{$wgUploadPath}/wiki.png";
107 $wgMathPath = "{$wgUploadPath}/math";
108 $wgMathDirectory = "{$wgUploadDirectory}/math";
109 $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
110 /**#@-*/
111
112
113 # Email settings
114 #
115 /**
116 * Site admin email address
117 * Default to wikiadmin@SERVER_NAME
118 * @global string $wgEmergencyContact
119 */
120 $wgEmergencyContact = 'wikiadmin@' . getenv( 'SERVER_NAME' );
121 /**
122 * Password reminder email address
123 * The address we should use as sender when a user is requesting his password
124 * Default to apache@SERVER_NAME
125 * @global string $wgPasswordSender
126 */
127 $wgPasswordSender = 'Wikipedia Mail <apache@' . getenv( 'SERVER_NAME' ) . '>';
128
129
130 /**
131 * SMTP Mode
132 * For using a direct (authenticated) SMTP server connection.
133 * Default to false or fill an array :
134 * <code>
135 * "host" => 'SMTP domain',
136 * "IDHost" => 'domain for MessageID',
137 * "port" => "25",
138 * "auth" => true/false,
139 * "username" => user,
140 * "password" => password
141 * </code>
142 *
143 * @global mixed $wgSMTP
144 */
145 $wgSMTP = false;
146
147
148 /**#@+
149 * Database settings
150 */
151 /** database host name or ip address */
152 $wgDBserver = 'localhost';
153 /** name of the database */
154 $wgDBname = 'wikidb';
155 /** */
156 $wgDBconnection = '';
157 /** Database username */
158 $wgDBuser = 'wikiuser';
159 /** Database type
160 * "mysql" for working code and "PostgreSQL" for development/broken code
161 */
162 $wgDBtype = "mysql";
163 /** Table name prefix */
164 $wgDBprefix = '';
165 /** Database schema
166 * on some databases this allows separate
167 * logical namespace for application data
168 */
169 $wgDBschema = 'mediawiki';
170 /**#@-*/
171
172
173
174 # Shared database for multiple wikis.
175 # Presently used for storing a user table for single sign-on
176 # The server for this database must be the same as for the main
177 # database.
178 # EXPERIMENTAL
179 # $wgSharedDB='';
180
181 # Database load balancer
182 # This is a two-dimensional array, an array of server info structures
183 # Fields are:
184 # host: Host name
185 # dbname: Default database name
186 # user: DB user
187 # password: DB password
188 # type: "mysql" or "pgsql"
189 # load: ratio of DB_SLAVE load, must be >=0, the sum of all loads must be >0
190 # flags: bit field
191 # DBO_DEFAULT -- turns on DBO_TRX only if !$wgCommandLineMode (recommended)
192 # DBO_DEBUG -- equivalent of $wgDebugDumpSql
193 # DBO_TRX -- wrap entire request in a transaction
194 # DBO_IGNORE -- ignore errors (not useful in LocalSettings.php)
195 # DBO_NOBUFFER -- turn off buffering (not useful in LocalSettings.php)
196 #
197 # Leave at false to use the single-server variables above
198 $wgDBservers = false;
199
200 # Sysop SQL queries
201 # The sql user shouldn't have too many rights other the database, restrict
202 # it to SELECT only on 'cur' table for example
203 #
204 $wgAllowSysopQueries = false; # Dangerous if not configured properly.
205 $wgDBsqluser = 'sqluser';
206 $wgDBsqlpassword = 'sqlpass';
207 $wgDBpassword = 'userpass';
208 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
209 $wgDBerrorLog = false; # File to log MySQL errors to
210
211 # wgDBminWordLen :
212 # MySQL 3.x : used to discard words that MySQL will not return any results for
213 # shorter values configure mysql directly
214 # MySQL 4.x : ignore it and configure mySQL
215 # See: http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html
216 $wgDBminWordLen = 4;
217 $wgDBtransactions = false; # Set to true if using InnoDB tables
218 $wgDBmysql4 = false; # Set to true to use enhanced fulltext search
219 $wgSqlTimeout = 30;
220
221 $wgBufferSQLResults = true; # use buffered queries by default
222
223 # Other wikis on this site, can be administered from a single developer account
224 # Array, interwiki prefix => database name
225 $wgLocalDatabases = array();
226
227
228 # Memcached settings
229 # See docs/memcached.doc
230 #
231 $wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't working
232 $wgUseMemCached = false;
233 $wgMemCachedServers = array( '127.0.0.1:11000' );
234 $wgMemCachedDebug = false;
235 $wgSessionsInMemcached = false;
236 $wgLinkCacheMemcached = false; # Not fully tested
237
238 /**
239 * Turck MMCache shared memory
240 * You can use this for persistent caching where your wiki runs on a small
241 * number of servers. Mutually exclusive with memcached. MMCache must be
242 * installed.
243 *
244 * @global bool $wgUseTurckShm Enable or disabled Turck MMCache
245 */
246 $wgUseTurckShm = false;
247
248
249 # Language settings
250 #
251 /**
252 * Site language code
253 * Default to 'en'. Should be one of ./language/Language(.*).php
254 * @global string $wgLanguageCode
255 */
256 $wgLanguageCode = 'en';
257
258 /**
259 * Languages which the user may select to display the user interface
260 * in instead of the default language. This option is currently
261 * experimental and WILL FAIL FOR MANY COMMON TASKS AND PERHAPS
262 * CORRUPT YOUR DATABASE WITH BOGUS DATA.
263 * Set to eg array( 'en', 'fr', 'zh' ) etc
264 */
265 $wgUserLanguages = array();
266
267 /**
268 * Filename of a language file generated by dumpMessages.php
269 * @global string|false $wgLanguageFile (default:false)
270 */
271 $wgLanguageFile = false;
272 /**
273 * Treat language links as magic connectors, not inline links
274 * @global bool $wgInterwikiMagic (default:true)
275 */
276 $wgInterwikiMagic = true;
277 $wgInputEncoding = 'ISO-8859-1'; # LanguageUtf8.php normally overrides this
278 $wgOutputEncoding = 'ISO-8859-1'; # unless you set the next option to true:
279 $wgUseLatin1 = false; # Enable ISO-8859-1 compatibility mode
280 $wgEditEncoding = '';
281 $wgMimeType = 'text/html';
282 $wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
283 $wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
284 $wgUseDynamicDates = false; # Enable to allow rewriting dates in page text
285 # DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES
286 $wgAmericanDates = false; # Enable for English module to print dates
287 # as eg 'May 12' instead of '12 May'
288 $wgTranslateNumerals = true; # For Hindi and Arabic use local numerals instead
289 # of Western style (0-9) numerals in interface.
290
291
292 # Translation using MediaWiki: namespace
293 # This will increase load times by 25-60% unless memcached is installed
294 # Interface messages will be get from the database.
295 $wgUseDatabaseMessages = true;
296 $wgMsgCacheExpiry = 86400;
297
298
299 # Miscellaneous configuration settings
300 #
301
302 $wgLocalInterwiki = 'w';
303 $wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
304
305 $wgShowIPinHeader = true; # For non-logged in users
306 $wgMaxNameChars = 32; # Maximum number of bytes in username
307
308 $wgExtraSubtitle = '';
309 $wgSiteSupportPage = ''; # A page where you users can receive donations
310
311 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
312
313 # The debug log file should be not be publicly accessible if it is
314 # used, as it may contain private data.
315 $wgDebugLogFile = '';
316
317 /**#@+
318 * @global bool
319 */
320 $wgDebugRedirects = false;
321 $wgDebugRawPage = false; # Avoid overlapping debug entries by leaving out CSS
322
323 $wgDebugComments = false;
324 $wgReadOnly = false;
325 $wgLogQueries = false;
326 $wgDebugDumpSql = false;
327
328 # Whether to disable automatic generation of "we're sorry,
329 # but there has been a database error" pages.
330 $wgIgnoreSQLErrors = false;
331
332 # Should [[Category:Dog]] on a page associate it with the
333 # category "Dog"? (a link to that category page will be
334 # added to the article, clicking it reveals a list of
335 # all articles in the category)
336 $wgUseCategoryMagic = true;
337
338 # disable experimental dmoz-like category browsing. Output things like:
339 # Encyclopedia > Music > Style of Music > Jazz
340 # FIXME: need fixing
341 $wgUseCategoryBrowser = false;
342
343 $wgEnablePersistentLC = false; # Obsolete, do not use
344 $wgCompressedPersistentLC = true; # use gzcompressed blobs
345 $wgUseOldExistenceCheck = false; # use old prefill link method, for debugging only
346
347 $wgEnableParserCache = false; # requires that php was compiled --with-zlib
348 /**#@-*/
349
350 # wgHitcounterUpdateFreq sets how often page counters should be
351 # updated, higher values are easier on the database. A value of 1
352 # causes the counters to be updated on every hit, any higher value n
353 # cause them to update *on average* every n hits. Should be set to
354 # either 1 or something largish, eg 1000, for maximum efficiency.
355
356 $wgHitcounterUpdateFreq = 1;
357
358 # User rights
359 # It's not 100% safe, there could be security hole using that one. Use at your
360 # own risks.
361
362 $wgWhitelistEdit = false; # true = user must login to edit.
363 $wgWhitelistRead = false; # Pages anonymous user may see, like: = array ( ":Main_Page", "Special:Userlogin", "Wikipedia:Help");
364 $wgWhitelistAccount = array ( 'user' => 1, 'sysop' => 1, 'developer' => 1 );
365
366 $wgAllowAnonymousMinor = false; # Allow anonymous users to mark changes as 'minor'
367
368 $wgSysopUserBans = false; # Allow sysops to ban logged-in users
369 $wgSysopRangeBans = false; # Allow sysops to ban IP ranges
370 $wgDefaultBlockExpiry = '24 hours'; # default expiry time
371 # strtotime format, or "infinite" for an infinite block
372 $wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
373
374 # Proxy scanner settings
375 #
376 $wgBlockOpenProxies = false; # Automatic open proxy test on edit
377 $wgProxyPorts = array( 80, 81, 1080, 3128, 6588, 8000, 8080, 8888, 65506 );
378 $wgProxyScriptPath = "$IP/proxy_check.php";
379 $wgProxyMemcExpiry = 86400;
380 $wgProxyKey = 'W1svekXc5u6lZllTZOwnzEk1nbs';
381 $wgProxyList = array(); # big list of banned IP addresses, in the keys not the values
382
383 # Number of accounts each IP address may create, 0 to disable.
384 # Requires memcached
385 $wgAccountCreationThrottle = 0;
386
387
388 # Client-side caching:
389 $wgCachePages = true; # Allow client-side caching of pages
390
391 # Set this to current time to invalidate all prior cached pages.
392 # Affects both client- and server-side caching.
393 $wgCacheEpoch = '20030516000000';
394
395
396 # Server-side caching:
397 # This will cache static pages for non-logged-in users
398 # to reduce database traffic on public sites.
399 # Must set $wgShowIPinHeader = false
400 $wgUseFileCache = false;
401 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
402
403 # When using the file cache, we can store the cached HTML gzipped to save disk
404 # space. Pages will then also be served compressed to clients that support it.
405 # THIS IS NOT COMPATIBLE with ob_gzhandler which is now enabled if supported in
406 # the default LocalSettings.php! If you enable this, remove that setting first.
407 #
408 # Requires zlib support enabled in PHP.
409 $wgUseGzip = false;
410
411
412 $wgCookieExpiration = 2592000;
413
414
415 # Squid-related settings
416 #
417
418 # Enable/disable Squid
419 $wgUseSquid = false;
420
421 # If you run Squid3 with ESI support, enable this (default:false):
422 $wgUseESI = false;
423
424 # Internal server name as known to Squid, if different
425 # $wgInternalServer = 'http://yourinternal.tld:8000';
426 $wgInternalServer = $wgServer;
427
428 # Cache timeout for the squid, will be sent as s-maxage (without ESI) or
429 # Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in the Squid config.
430 # 18000 seconds = 5 hours, more cache hits with 2678400 = 31 days
431 $wgSquidMaxage = 18000;
432
433 # A list of proxy servers (ips if possible) to purge on changes
434 # don't specify ports here (80 is default)
435 # $wgSquidServers = array('127.0.0.1');
436
437 # Maximum number of titles to purge in any one client operation
438 $wgMaxSquidPurgeTitles = 400;
439
440
441 # Cookie settings:
442 # Set to set an explicit domain on the login cookies
443 # eg, "justthis.domain.org" or ".any.subdomain.net"
444 $wgCookieDomain = '';
445 $wgCookiePath = '/';
446 $wgDisableCookieCheck = false;
447
448 # Whether to allow inline image pointing to other websites
449 $wgAllowExternalImages = true;
450
451 $wgMiserMode = false; # Disable database-intensive features
452 $wgDisableQueryPages = false; # Disable all query pages if miser mode is on, not just some
453 $wgUseWatchlistCache = false; # Generate a watchlist once every hour or so
454 $wgWLCacheTimeout = 3600; # The hour or so mentioned above
455
456 # To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory
457 # of the MediaWiki package and have latex, dvips, gs (ghostscript), and
458 # convert (ImageMagick) installed and available in the PATH.
459 # Please see math/README for more information.
460 $wgUseTeX = false;
461 $wgTexvc = './math/texvc'; # Location of the texvc binary
462
463 # Profiling / debugging
464 $wgProfiling = false; # Enable for more detailed by-function times in debug log
465 $wgProfileLimit = 0.0; # Only record profiling info for pages that took longer than this
466 $wgProfileOnly = false; # Don't put non-profiling info into log file
467 $wgProfileToDatabase = false; # Log sums from profiling into "profiling" table in db.
468 $wgProfileSampleRate = 1; # Only profile every n requests when profiling is turned on
469 $wgDebugProfiling = false; # Detects non-matching wfProfileIn/wfProfileOut calls
470 $wgDebugFunctionEntry = 0; # Output debug message on every wfProfileIn/wfProfileOut
471 $wgDebugSquid = false; # Lots of debugging output from SquidUpdate.php
472
473 $wgDisableCounters = false;
474 $wgDisableTextSearch = false;
475 $wgDisableFuzzySearch = false;
476 $wgDisableSearchUpdate = false; # If you've disabled search semi-permanently, this also disables updates to the table. If you ever re-enable, be sure to rebuild the search table.
477 $wgDisableUploads = true; # Uploads have to be specially set up to be secure
478 $wgRemoteUploads = false; # Set to true to enable the upload _link_ while local uploads are disabled. Assumes that the special page link will be bounced to another server where uploads do work.
479 $wgDisableAnonTalk = false;
480
481 # Path to the GNU diff3 utility. If the file doesn't exist,
482 # edit conflicts will fall back to the old behaviour (no merging).
483 $wgDiff3 = '/usr/bin/diff3';
484
485
486 # We can also compress text in the old revisions table. If this is set on,
487 # old revisions will be compressed on page save if zlib support is available.
488 # Any compressed revisions will be decompressed on load regardless of this
489 # setting *but will not be readable at all* if zlib support is not available.
490 $wgCompressRevisions = false;
491
492 # This is the list of preferred extensions for uploading files. Uploading
493 # files with extensions not in this list will trigger a warning.
494 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg' );
495
496 # Files with these extensions will never be allowed as uploads.
497 $wgFileBlacklist = array(
498 # HTML may contain cookie-stealing JavaScript and web bugs
499 'html', 'htm',
500 # PHP scripts may execute arbitrary code on the server
501 'php', 'phtml', 'php3', 'php4', 'phps',
502 # Other types that may be interpreted by some servers
503 'shtml', 'jhtml', 'pl', 'py',
504 # May contain harmful executables for Windows victims
505 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
506
507 # This is a flag to determine whether or not to check file extensions on
508 # upload.
509 $wgCheckFileExtensions = true;
510
511 # If this is turned off, users may override the warning for files not
512 # covered by $wgFileExtensions.
513 $wgStrictFileExtensions = true;
514
515 # Warn if uploaded files are larger than this
516 $wgUploadSizeWarning = 150000;
517
518 $wgPasswordSalt = true; # For compatibility with old installations set to false
519
520 # Which namespaces should support subpages?
521 # See Language.php for a list of namespaces.
522 #
523 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
524 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1, 8 => 0, 9 => 1, 10 => 0, 11 => 1);
525
526 $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
527 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0, 8 => 0, 9 => 1, 10 => 0, 11 => 1 );
528
529 # If set, a bold ugly notice will show up at the top of every page.
530 $wgSiteNotice = "";
531
532 ## Set $wgUseImageResize to true if you want to enable dynamic
533 ## server side image resizing ("Thumbnails")
534 #
535 $wgUseImageResize = false;
536
537 ## Resizing can be done using PHP's internal image libraries
538 ## or using ImageMagick. The later supports more file formats
539 ## than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
540 ##
541 ## Set $wgUseImageMagick to true to use Image Magick instead
542 ## of the builtin functions
543 #
544 $wgUseImageMagick = false;
545 $wgImageMagickConvertCommand = '/usr/bin/convert';
546
547 # PHPTal is a library for page templates. MediaWiki includes
548 # a recent PHPTal distribution. It is required to use the
549 # Monobook (default) skin.
550 #
551 # Currently it does not work on PHP5.
552 $wgUsePHPTal = version_compare( phpversion(), "5.0", "lt" );
553
554 if( !isset( $wgCommandLineMode ) ) {
555 $wgCommandLineMode = false;
556 }
557
558 # Show seconds in Recent Changes
559 $wgRCSeconds = false;
560
561 # Log IP addresses in the recentchanges table
562 $wgPutIPinRC = false;
563
564 # RDF metadata toggles
565 $wgEnableDublinCoreRdf = false;
566 $wgEnableCreativeCommonsRdf = false;
567
568 # Override for copyright metadata.
569 # TODO: these options need documentation
570 $wgRightsPage = NULL;
571 $wgRightsUrl = NULL;
572 $wgRightsText = NULL;
573 $wgRightsIcon = NULL;
574
575 # Set this to true if you want detailed copyright information forms on Upload.
576 $wgUseCopyrightUpload = false;
577
578 # Set this to false if you want to disable checking that detailed
579 # copyright information values are not empty.
580 $wgCheckCopyrightUpload = true;
581
582
583 # Set this to false to avoid forcing the first letter of links
584 # to capitals. WARNING: may break links! This makes links
585 # COMPLETELY case-sensitive. Links appearing with a capital at
586 # the beginning of a sentence will *not* go to the same place
587 # as links in the middle of a sentence using a lowercase initial.
588 $wgCapitalLinks = true;
589
590 # List of interwiki prefixes for wikis we'll accept as sources
591 # for Special:Import (for sysops). Since complete page history
592 # can be imported, these should be 'trusted'.
593 $wgImportSources = array();
594
595 # Set this to the number of authors that you want to be credited below an
596 # article text. Set it to zero to hide the attribution block, and a
597 # negative number (like -1) to show all authors. Note that this will
598 # require 2-3 extra database hits, which can have a not insignificant
599 # impact on performance for large wikis.
600 $wgMaxCredits = 0;
601
602 # If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
603 # Otherwise, link to a separate credits page.
604 $wgShowCreditsIfMax = true;
605
606 # Text matching this regular expression will be recognised as spam
607 # See http://en.wikipedia.org/wiki/Regular_expression
608 $wgSpamRegex = false;
609 # Similarly if this function returns true
610 $wgFilterCallback = false;
611
612 # Go button goes straight to the edit screen if the article doesn't exist
613 $wgGoToEdit = false;
614
615 # Allow limited user-specified HTML in wiki pages?
616 # It will be run through a whitelist for security.
617 # Set this to false if you want wiki pages to consist only of wiki
618 # markup. Note that replacements do not yet exist for all HTML
619 # constructs.
620 $wgUserHtml = true;
621
622 # Allow raw, unchecked HTML in <html>...</html> sections.
623 # THIS IS VERY DANGEROUS on a publically editable site, so
624 # you can't enable it unless you've restricted editing to
625 # trusted users only with $wgWhitelistEdit.
626 $wgRawHtml = false;
627
628 # $wgUseTidy: use tidy to make sure HTML output is sane.
629 # This should only be enabled if $wgUserHtml is true.
630 # tidy is a free tool that fixes broken HTML.
631 # See http://www.w3.org/People/Raggett/tidy/
632 # $wgTidyBin should be set to the path of the binary and
633 # $wgTidyConf to the path of the configuration file.
634 # $wgTidyOpts can include any number of parameters.
635 $wgUseTidy = false;
636 $wgTidyBin = 'tidy';
637 $wgTidyConf = $IP.'/extensions/tidy/tidy.conf';
638 $wgTidyOpts = '';
639
640 # See list of skins and their symbolic names in language/Language.php
641 $wgDefaultSkin = 'monobook';
642
643 # Whether or not to allow real name fields. Defaults to true.
644 $wgAllowRealName = true;
645
646 # Extensions
647 $wgSkinExtensionFunctions = array();
648 $wgExtensionFunctions = array();
649
650 # Allow user Javascript page?
651 $wgAllowUserJs = true;
652
653 # Allow user Cascading Style Sheets (CSS)?
654 $wgAllowUserCss = true;
655
656 # Filter for Special:Randompage. Part of a WHERE clause
657 $wgExtraRandompageSQL = false;
658
659 # Allow the "info" action, very inefficient at the moment
660 $wgAllowPageInfo = false;
661
662 # Maximum indent level of toc.
663 $wgMaxTocLevel = 999;
664
665 # Recognise longitude/latitude coordinates
666 $wgUseGeoMode = false;
667
668 # Validation for print or other production versions
669 $wgUseValidation = false;
670
671 # Use external C++ diff engine (module wikidiff from the
672 # extensions package)
673 $wgUseExternalDiffEngine = false;
674
675 # Use RC Patrolling to check for vandalism
676 $wgUseRCPatrol = true;
677
678 # Additional namespaces. If the namespaces defined in Language.php and Namespace.php are insufficient,
679 # you can create new ones here, for example, to import Help files in other languages.
680 # PLEASE NOTE: Once you delete a namespace, the pages in that namespace will no longer be accessible.
681 # If you rename it, then you can access them through the new namespace name.
682 #
683 # Custom namespaces should start at 100.
684 #$wgExtraNamespaces =
685 # array(100 => "Hilfe",
686 # 101 => "Hilfe_Diskussion",
687 # 102 => "Aide",
688 # 103 => "Discussion_Aide"
689 # );
690 $wgExtraNamespaces = NULL;
691
692 # Enable SOAP interface. Off by default
693 # SOAP is a protocoll for remote procedure calls (RPC) using http as middleware.
694 # This interface can be used by bots or special clients to receive articles from
695 # a wiki.
696 # Most bots use the normal HTTP interface and don't use SOAP.
697 # If unsure, set to false.
698 $wgEnableSOAP = false;
699
700 # Limit images on image description pages to a user-selectable limit. In order to
701 # reduce disk usage, limits can only be selected from a list. This is the list of
702 # settings the user can choose from:
703 $wgImageLimits = array (
704 array(320,240),
705 array(640,480),
706 array(800,600),
707 array(1024,768),
708 array(1280,1024),
709 array(10000,10000) );
710
711 } else {
712 die();
713 }
714 ?>