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