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