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