Major changes to user groups:
[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 * @package MediaWiki
13 */
14
15 # This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
16 if( defined( 'MEDIAWIKI' ) ) {
17
18 /** MediaWiki version number */
19 $wgVersion = '1.5pre-alpha';
20
21 /** Name of the site. It must be changed in LocalSettings.php */
22 $wgSitename = 'MediaWiki';
23
24 /** Will be same as you set @see $wgSitename */
25 $wgMetaNamespace = FALSE;
26
27 /** URL of the server. It will be automaticly build including https mode */
28 $wgServer = '';
29
30 if( isset( $_SERVER['SERVER_NAME'] ) ) {
31 $wgServerName = $_SERVER['SERVER_NAME'];
32 } elseif( isset( $_SERVER['HOSTNAME'] ) ) {
33 $wgServerName = $_SERVER['HOSTNAME'];
34 } elseif( isset( $_SERVER['HTTP_HOST'] ) ) {
35 $wgServerName = $_SERVER['HTTP_HOST'];
36 } elseif( isset( $_SERVER['SERVER_ADDR'] ) ) {
37 $wgServerName = $_SERVER['SERVER_ADDR'];
38 } else {
39 $wgServerName = 'localhost';
40 }
41
42 # check if server use https:
43 $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';
44
45 $wgServer = $wgProto.'://' . $wgServerName;
46 # If the port is a non-standard one, add it to the URL
47 if( isset( $_SERVER['SERVER_PORT'] )
48 && ( ( $wgProto == 'http' && $_SERVER['SERVER_PORT'] != 80 )
49 || ( $wgProto == 'https' && $_SERVER['SERVER_PORT'] != 443 ) ) ) {
50
51 $wgServer .= ":" . $_SERVER['SERVER_PORT'];
52 }
53 unset($wgProto);
54
55
56 /**
57 * The path we should point to.
58 * It might be a virtual path in case with use apache mod_rewrite for example
59 */
60 $wgScriptPath = '/wiki';
61
62 /**
63 * Whether to support URLs like index.php/Page_title
64 * @global bool $wgUsePathInfo
65 */
66 $wgUsePathInfo = ( strpos( php_sapi_name(), 'cgi' ) === false );
67
68
69 /**#@+
70 * Script users will request to get articles
71 * ATTN: Old installations used wiki.phtml and redirect.phtml -
72 * make sure that LocalSettings.php is correctly set!
73 * @deprecated
74 */
75 /**
76 * @global string $wgScript
77 */
78 $wgScript = "{$wgScriptPath}/index.php";
79 /**
80 * @global string $wgRedirectScript
81 */
82 $wgRedirectScript = "{$wgScriptPath}/redirect.php";
83 /**#@-*/
84
85
86 /**#@+
87 * @global string
88 */
89 /**
90 * style path as seen by users
91 * @global string $wgStylePath
92 */
93 $wgStylePath = "{$wgScriptPath}/skins";
94 /**
95 * filesystem stylesheets directory
96 * @global string $wgStyleDirectory
97 */
98 $wgStyleDirectory = "{$IP}/skins";
99 $wgStyleSheetPath = &$wgStylePath;
100 $wgStyleSheetDirectory = &$wgStyleDirectory;
101 $wgArticlePath = "{$wgScript}?title=$1";
102 $wgUploadPath = "{$wgScriptPath}/upload";
103 $wgUploadDirectory = "{$IP}/upload";
104 $wgHashedUploadDirectory = true;
105 $wgLogo = "{$wgUploadPath}/wiki.png";
106 $wgMathPath = "{$wgUploadPath}/math";
107 $wgMathDirectory = "{$wgUploadDirectory}/math";
108 $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
109 $wgUploadBaseUrl = "";
110 /**#@-*/
111
112 /**
113 * Produce hashed HTML article paths. Used internally, do not set.
114 */
115 $wgMakeDumpLinks = false;
116
117 /**
118 * To set 'pretty' URL paths for actions other than
119 * plain page views, add to this array. For instance:
120 * 'edit' => "$wgScriptPath/edit/$1"
121 *
122 * There must be an appropriate script or rewrite rule
123 * in place to handle these URLs.
124 */
125 $wgActionPaths = array();
126
127 /**
128 * If you operate multiple wikis, you can define a shared upload path here.
129 * Uploads to this wiki will NOT be put there - they will be put into
130 * $wgUploadDirectory.
131 * If $wgUseSharedUploads is set, the wiki will look in the shared repository if
132 * no file of the given name is found in the local repository (for [[Image:..]],
133 * [[Media:..]] links). Thumbnails will also be looked for and generated in this
134 * directory.
135 */
136 $wgUseSharedUploads = false;
137 /** Full path on the web server where shared uploads can be found */
138 $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
139 /** Path on the file system where shared uploads can be found. */
140 $wgSharedUploadDirectory = "/var/www/wiki3/images";
141 /** DB name with metadata about shared directory. Set this to false if the uploads do not come from a wiki. */
142 $wgSharedUploadDBname = false;
143 /** Cache shared metadata in memcached. Don't do this if the commons wiki is in a different memcached domain */
144 $wgCacheSharedUploads = true;
145
146 /**
147 * Point the upload navigation link to an external URL
148 * Useful if you want to use a shared repository by default
149 * without disabling local uploads
150 * e.g. $wgUploadNavigationUrl = 'http://commons.wikimedia.org/wiki/Special:Upload';
151 */
152 $wgUploadNavigationUrl = false;
153
154 /**
155 * Give a path here to use thumb.php for thumbnail generation on client request, instead of
156 * generating them on render and outputting a static URL. This is necessary if some of your
157 * apache servers don't have read/write access to the thumbnail path.
158 *
159 * Example:
160 * $wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php";
161 */
162 $wgThumbnailScriptPath = false;
163 $wgSharedThumbnailScriptPath = false;
164
165 /**
166 * Set the following to false especially if you have a set of files that need to
167 * be accessible by all wikis, and you do not want to use the hash (path/a/aa/)
168 * directory layout.
169 */
170 $wgHashedSharedUploadDirectory = true;
171
172 /** set true if the repository uses latin1 filenames */
173 $wgSharedLatin1=false;
174
175 /**
176 * Base URL for a repository wiki. Leave this blank if uploads are just stored
177 * in a shared directory and not meant to be accessible through a separate wiki.
178 * Otherwise the image description pages on the local wiki will link to the
179 * image description page on this wiki.
180 *
181 * Please specify the namespace, as in the example below.
182 */
183 $wgRepositoryBaseUrl="http://commons.wikimedia.org/wiki/Image:";
184
185
186 #
187 # Email settings
188 #
189
190 /**
191 * Site admin email address
192 * Default to wikiadmin@SERVER_NAME
193 * @global string $wgEmergencyContact
194 */
195 $wgEmergencyContact = 'wikiadmin@' . $wgServerName;
196
197 /**
198 * Password reminder email address
199 * The address we should use as sender when a user is requesting his password
200 * Default to apache@SERVER_NAME
201 * @global string $wgPasswordSender
202 */
203 $wgPasswordSender = 'Wikipedia Mail <apache@' . $wgServerName . '>';
204
205 /**
206 * dummy address which should be accepted during mail send action
207 * It might be necessay to adapt the address or to set it equal
208 * to the $wgEmergencyContact address
209 */
210 #$wgNoReplyAddress = $wgEmergencyContact;
211 $wgNoReplyAddress = 'reply@not.possible';
212
213 /**
214 * Set to true to enable the e-mail basic features:
215 * Password reminders, etc. If sending e-mail on your
216 * server doesn't work, you might want to disable this.
217 * @global bool $wgEnableEmail
218 */
219 $wgEnableEmail = true;
220
221 /**
222 * Set to true to enable user-to-user e-mail.
223 * This can potentially be abused, as it's hard to track.
224 * @global bool $wgEnableUserEmail
225 */
226 $wgEnableUserEmail = true;
227
228 /**
229 * SMTP Mode
230 * For using a direct (authenticated) SMTP server connection.
231 * Default to false or fill an array :
232 * <code>
233 * "host" => 'SMTP domain',
234 * "IDHost" => 'domain for MessageID',
235 * "port" => "25",
236 * "auth" => true/false,
237 * "username" => user,
238 * "password" => password
239 * </code>
240 *
241 * @global mixed $wgSMTP
242 */
243 $wgSMTP = false;
244
245
246 /**#@+
247 * Database settings
248 */
249 /** database host name or ip address */
250 $wgDBserver = 'localhost';
251 /** name of the database */
252 $wgDBname = 'wikidb';
253 /** */
254 $wgDBconnection = '';
255 /** Database username */
256 $wgDBuser = 'wikiuser';
257 /** Database type
258 * "mysql" for working code and "PostgreSQL" for development/broken code
259 */
260 $wgDBtype = "mysql";
261 /** Search type
262 * "MyISAM" for MySQL native full text search, "Tsearch2" for PostgreSQL
263 * based search engine
264 */
265 $wgSearchType = "MyISAM";
266 /** Table name prefix */
267 $wgDBprefix = '';
268 /** Database schema
269 * on some databases this allows separate
270 * logical namespace for application data
271 */
272 $wgDBschema = 'mediawiki';
273 /**#@-*/
274
275
276
277 /**
278 * Shared database for multiple wikis. Presently used for storing a user table
279 * for single sign-on. The server for this database must be the same as for the
280 * main database.
281 * EXPERIMENTAL
282 */
283 $wgSharedDB = null;
284
285 # Database load balancer
286 # This is a two-dimensional array, an array of server info structures
287 # Fields are:
288 # host: Host name
289 # dbname: Default database name
290 # user: DB user
291 # password: DB password
292 # type: "mysql" or "pgsql"
293 # load: ratio of DB_SLAVE load, must be >=0, the sum of all loads must be >0
294 # groupLoads: array of load ratios, the key is the query group name. A query may belong
295 # to several groups, the most specific group defined here is used.
296 #
297 # flags: bit field
298 # DBO_DEFAULT -- turns on DBO_TRX only if !$wgCommandLineMode (recommended)
299 # DBO_DEBUG -- equivalent of $wgDebugDumpSql
300 # DBO_TRX -- wrap entire request in a transaction
301 # DBO_IGNORE -- ignore errors (not useful in LocalSettings.php)
302 # DBO_NOBUFFER -- turn off buffering (not useful in LocalSettings.php)
303 #
304 # Leave at false to use the single-server variables above
305 $wgDBservers = false;
306
307 /** How long to wait for a slave to catch up to the master */
308 $wgMasterWaitTimeout = 10;
309
310 /** File to log MySQL errors to */
311 $wgDBerrorLog = false;
312
313 /**
314 * wgDBminWordLen :
315 * MySQL 3.x : used to discard words that MySQL will not return any results for
316 * shorter values configure mysql directly.
317 * MySQL 4.x : ignore it and configure mySQL
318 * See: http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html
319 */
320 $wgDBminWordLen = 4;
321 /** Set to true if using InnoDB tables */
322 $wgDBtransactions = false;
323 /** Set to true to use enhanced fulltext search */
324 $wgDBmysql4 = false;
325 $wgSqlTimeout = 30;
326
327 /**
328 * Other wikis on this site, can be administered from a single developer
329 * account.
330 * Array, interwiki prefix => database name
331 */
332 $wgLocalDatabases = array();
333
334 /**
335 * Object cache settings
336 * See Defines.php for types
337 */
338 $wgMainCacheType = CACHE_NONE;
339 $wgMessageCacheType = CACHE_ANYTHING;
340 $wgParserCacheType = CACHE_ANYTHING;
341
342 $wgSessionsInMemcached = false;
343 $wgLinkCacheMemcached = false; # Not fully tested
344
345 /**
346 * Memcached-specific settings
347 * See docs/memcached.txt
348 */
349 $wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't working
350 $wgMemCachedServers = array( '127.0.0.1:11000' );
351 $wgMemCachedDebug = false;
352
353
354
355 # Language settings
356 #
357 /** Site language code, should be one of ./languages/Language(.*).php */
358 $wgLanguageCode = 'en';
359
360 /** Filename of a language file generated by dumpMessages.php */
361 $wgLanguageFile = false;
362
363 /** Treat language links as magic connectors, not inline links */
364 $wgInterwikiMagic = true;
365
366 /** We speak UTF-8 all the time now, unless some oddities happen */
367 $wgInputEncoding = 'UTF-8';
368 $wgOutputEncoding = 'UTF-8';
369 $wgEditEncoding = '';
370
371 # Set this to eg 'ISO-8859-1' to perform character set
372 # conversion when loading old revisions not marked with
373 # "utf-8" flag. Use this when converting wiki to UTF-8
374 # without the burdensome mass conversion of old text data.
375 #
376 # NOTE! This DOES NOT touch any fields other than old_text.
377 # Titles, comments, user names, etc still must be converted
378 # en masse in the database before continuing as a UTF-8 wiki.
379 $wgLegacyEncoding = false;
380
381 $wgMimeType = 'text/html';
382 $wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
383 $wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
384
385 /** Enable to allow rewriting dates in page text.
386 * DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES */
387 $wgUseDynamicDates = false;
388 /** Enable dates like 'May 12' instead of '12 May', this only takes effect if
389 * the interface is set to English
390 */
391 $wgAmericanDates = false;
392 /**
393 * For Hindi and Arabic use local numerals instead of Western style (0-9)
394 * numerals in interface.
395 */
396 $wgTranslateNumerals = true;
397
398
399 # Translation using MediaWiki: namespace
400 # This will increase load times by 25-60% unless memcached is installed
401 # Interface messages will be get from the database.
402 $wgUseDatabaseMessages = true;
403 $wgMsgCacheExpiry = 86400;
404 $wgPartialMessageCache = false;
405
406 # Whether to enable language variant conversion. Currently only zh
407 # supports this function, to convert between Traditional and Simplified
408 # Chinese. This flag is meant to isolate the (untested) conversion
409 # code, so that if it breaks, only zh will be affected
410 $wgDisableLangConversion = false;
411
412 # Use article validation feature; turned off by default
413 $wgUseValidation = false;
414
415 # Whether to use zhdaemon to perform Chinese text processing
416 # zhdaemon is under developement, so normally you don't want to
417 # use it unless for testing
418 $wgUseZhdaemon = false;
419 $wgZhdaemonHost="localhost";
420 $wgZhdaemonPort=2004;
421
422 # Miscellaneous configuration settings
423 #
424
425 $wgLocalInterwiki = 'w';
426 $wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
427
428 /**
429 * If local interwikis are set up which allow redirects,
430 * set this regexp to restrict URLs which will be displayed
431 * as 'redirected from' links.
432 *
433 * It might look something like this:
434 * $wgRedirectSources = '!^https?://[a-z-]+\.wikipedia\.org/!';
435 *
436 * Leave at false to avoid displaying any incoming redirect markers.
437 * This does not affect intra-wiki redirects, which don't change
438 * the URL.
439 */
440 $wgRedirectSources = false;
441
442
443 $wgShowIPinHeader = true; # For non-logged in users
444 $wgMaxNameChars = 32; # Maximum number of bytes in username
445
446 $wgExtraSubtitle = '';
447 $wgSiteSupportPage = ''; # A page where you users can receive donations
448
449 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
450
451 /**
452 * The debug log file should be not be publicly accessible if it is used, as it
453 * may contain private data. */
454 $wgDebugLogFile = '';
455
456 /**#@+
457 * @global bool
458 */
459 $wgDebugRedirects = false;
460 $wgDebugRawPage = false; # Avoid overlapping debug entries by leaving out CSS
461
462 $wgDebugComments = false;
463 $wgReadOnly = false;
464 $wgLogQueries = false;
465 $wgDebugDumpSql = false;
466
467 /**
468 * Whether to show "we're sorry, but there has been a database error" pages.
469 * Displaying errors aids in debugging, but may display information useful
470 * to an attacker.
471 */
472 $wgShowSQLErrors = false;
473
474 # Should [[Category:Dog]] on a page associate it with the
475 # category "Dog"? (a link to that category page will be
476 # added to the article, clicking it reveals a list of
477 # all articles in the category)
478 $wgUseCategoryMagic = true;
479
480 /**
481 * disable experimental dmoz-like category browsing. Output things like:
482 * Encyclopedia > Music > Style of Music > Jazz
483 */
484 $wgUseCategoryBrowser = false;
485
486 $wgEnablePersistentLC = false; # Obsolete, do not use
487 $wgCompressedPersistentLC = true; # use gzcompressed blobs
488 $wgUseOldExistenceCheck = false; # use old prefill link method, for debugging only
489
490 /**
491 * Keep parsed pages in a cache (objectcache table, turck, or memcached)
492 * to speed up output of the same page viewed by another user with the
493 * same options.
494 *
495 * This can provide a significant speedup for medium to large pages,
496 * so you probably want to keep it on.
497 */
498 $wgEnableParserCache = true;
499
500 /**
501 * Under which condition should a page in the main namespace be counted
502 * as a valid article? If $wgUseCommaCount is set to true, it will be
503 * counted if it contains at least one comma. If it is set to false
504 * (default), it will only be counted if it contains at least one [[wiki
505 * link]]. See http://meta.wikimedia.org/wiki/Help:Article_count
506 *
507 * Retroactively changing this variable will not affect
508 * the existing count (cf. maintenance/recount.sql).
509 */
510 $wgUseCommaCount = false;
511
512 /**#@-*/
513
514 /**
515 * wgHitcounterUpdateFreq sets how often page counters should be updated, higher
516 * values are easier on the database. A value of 1 causes the counters to be
517 * updated on every hit, any higher value n cause them to update *on average*
518 * every n hits. Should be set to either 1 or something largish, eg 1000, for
519 * maximum efficiency.
520 */
521 $wgHitcounterUpdateFreq = 1;
522
523 # User rights settings
524 #
525 # It's not 100% safe, there could be security hole using that one. Use at your
526 # own risks.
527
528 $wgWhitelistEdit = false; # true = user must login to edit.
529 $wgWhitelistRead = false; # Pages anonymous user may see, like: = array ( ":Main_Page", "Special:Userlogin", "Wikipedia:Help");
530 $wgWhitelistAccount = array ( 'user' => 1, 'sysop' => 1, 'developer' => 1 );
531
532 $wgAllowAnonymousMinor = false; # Allow anonymous users to mark changes as 'minor'
533
534 $wgSysopUserBans = true; # Allow sysops to ban logged-in users
535 $wgSysopRangeBans = true; # Allow sysops to ban IP ranges
536
537 /** Comma-separated list of options to show on the IP block form.
538 * Use strtotime() format, or "infinite" for an infinite block
539 */
540 $wgBlockExpiryOptions = "2 hours,1 day,3 days,1 week,2 weeks,1 month,3 months,6 months,1 year,infinite";
541
542 $wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
543
544 /**
545 * Static user groups serialized record
546 * To avoid database access, you can set this to a user groups record as returned
547 * by Special:Groups with the magic parameter showrecord=1. This will however mean
548 * that you won't be able to edit them at runtime.
549 */
550 $wgStaticGroups = false;
551
552 # Proxy scanner settings
553 #
554
555 /**
556 * If you enable this, every editor's IP address will be scanned for open HTTP
557 * proxies.
558 *
559 * Don't enable this. Many sysops will report "hostile TCP port scans" to your
560 * ISP and ask for your server to be shut down.
561 *
562 * You have been warned.
563 */
564 $wgBlockOpenProxies = false;
565 /** Port we want to scan for a proxy */
566 $wgProxyPorts = array( 80, 81, 1080, 3128, 6588, 8000, 8080, 8888, 65506 );
567 /** Script used to scan */
568 $wgProxyScriptPath = "$IP/proxy_check.php";
569 /** */
570 $wgProxyMemcExpiry = 86400;
571 /** This should always be customised in LocalSettings.php */
572 $wgSecretKey = false;
573 /** big list of banned IP addresses, in the keys not the values */
574 $wgProxyList = array();
575 /** deprecated */
576 $wgProxyKey = false;
577
578 /** Number of accounts each IP address may create, 0 to disable.
579 * Requires memcached */
580 $wgAccountCreationThrottle = 0;
581
582 # Client-side caching:
583
584 /** Allow client-side caching of pages */
585 $wgCachePages = true;
586
587 /**
588 * Set this to current time to invalidate all prior cached pages. Affects both
589 * client- and server-side caching.
590 */
591 $wgCacheEpoch = '20030516000000';
592
593
594 # Server-side caching:
595
596 /**
597 * This will cache static pages for non-logged-in users to reduce
598 * database traffic on public sites.
599 * Must set $wgShowIPinHeader = false
600 */
601 $wgUseFileCache = false;
602 /** Directory where the cached page will be saved */
603 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
604
605 /**
606 * When using the file cache, we can store the cached HTML gzipped to save disk
607 * space. Pages will then also be served compressed to clients that support it.
608 * THIS IS NOT COMPATIBLE with ob_gzhandler which is now enabled if supported in
609 * the default LocalSettings.php! If you enable this, remove that setting first.
610 *
611 * Requires zlib support enabled in PHP.
612 */
613 $wgUseGzip = false;
614
615 # Email notification settings
616 #
617
618 /**
619 * Program to run when the email is actually sent out. You might want to make
620 * your server beep for example. Usermailer.php will make a system() call with
621 * exactly that string as parameter.
622 */
623 # $wgEmailNotificationSystembeep = '/usr/bin/beep -f 4000 -l 20 &';
624 $wgEmailNotificationSystembeep = '';
625
626 /** For email notification on page changes */
627 $wgPasswordSender = $wgEmergencyContact;
628
629 # true: from PageEditor if s/he opted-in
630 # false: Enotif mails appear to come from $wgEmergencyContact
631 $wgEmailNotificationMailsSentFromPageEditor = false;
632
633 // TODO move UPO to preferences probably ?
634 # If set to true, users get a corresponding option in their preferences and can choose to enable or disable at their discretion
635 # If set to false, the corresponding input form on the user preference page is suppressed
636 # It call this to be a "user-preferences-option (UPO)"
637 $wgEmailAuthentication = true; # UPO (if this is set to false, texts referring to authentication are suppressed)
638 $wgEmailNotificationForWatchlistPages = false; # UPO
639 $wgEmailNotificationForUserTalkPages = false; # UPO
640 $wgEmailNotificationRevealPageEditorAddress = false; # UPO; reply-to address may be filled with page editor's address (if user allowed this in the preferences)
641 $wgEmailNotificationForMinorEdits = true; # UPO; false: "minor edits" on pages do not trigger notification mails.
642 # # Attention: _every_ change on a user_talk page trigger a notification mail (if the user is not yet notified)
643
644
645 /** Show watching users in recent changes, watchlist and page history views */
646 $wgRCShowWatchingUsers = false; # UPO
647 /** Show watching users in Page views */
648 $wgPageShowWatchingUsers = false;
649 /**
650 * Show "Updated (since my last visit)" marker in RC view, watchlist and history
651 * view for watched pages with new changes */
652 $wgShowUpdatedMarker = true; # UPO
653
654 $wgCookieExpiration = 2592000;
655
656 # Squid-related settings
657 #
658
659 /** Enable/disable Squid */
660 $wgUseSquid = false;
661
662 /** If you run Squid3 with ESI support, enable this (default:false): */
663 $wgUseESI = false;
664
665 /** Internal server name as known to Squid, if different */
666 # $wgInternalServer = 'http://yourinternal.tld:8000';
667 $wgInternalServer = $wgServer;
668
669 /**
670 * Cache timeout for the squid, will be sent as s-maxage (without ESI) or
671 * Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in
672 * the Squid config. 18000 seconds = 5 hours, more cache hits with 2678400 = 31
673 * days
674 */
675 $wgSquidMaxage = 18000;
676
677 /**
678 * A list of proxy servers (ips if possible) to purge on changes don't specify
679 * ports here (80 is default)
680 */
681 # $wgSquidServers = array('127.0.0.1');
682 $wgSquidServers = array();
683 $wgSquidServersNoPurge = array();
684
685 /** Maximum number of titles to purge in any one client operation */
686 $wgMaxSquidPurgeTitles = 400;
687
688 /** HTCP multicast purging */
689 $wgHTCPPort = 4827;
690 $wgHTCPMulticastTTL = 1;
691 # $wgHTCPMulticastAddress = "224.0.0.85";
692
693 # Cookie settings:
694 #
695 /**
696 * Set to set an explicit domain on the login cookies eg, "justthis.domain. org"
697 * or ".any.subdomain.net"
698 */
699 $wgCookieDomain = '';
700 $wgCookiePath = '/';
701 $wgDisableCookieCheck = false;
702
703 /** Whether to allow inline image pointing to other websites */
704 $wgAllowExternalImages = true;
705
706 /** Disable database-intensive features */
707 $wgMiserMode = false;
708 /** Disable all query pages if miser mode is on, not just some */
709 $wgDisableQueryPages = false;
710 /** Generate a watchlist once every hour or so */
711 $wgUseWatchlistCache = false;
712 /** The hour or so mentioned above */
713 $wgWLCacheTimeout = 3600;
714
715 /**
716 * To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of
717 * the MediaWiki package and have latex, dvips, gs (ghostscript), andconvert
718 * (ImageMagick) installed and available in the PATH.
719 * Please see math/README for more information.
720 */
721 $wgUseTeX = false;
722 /** Location of the texvc binary */
723 $wgTexvc = './math/texvc';
724
725 #
726 # Profiling / debugging
727 #
728
729 /** Enable for more detailed by-function times in debug log */
730 $wgProfiling = false;
731 /** Only record profiling info for pages that took longer than this */
732 $wgProfileLimit = 0.0;
733 /** Don't put non-profiling info into log file */
734 $wgProfileOnly = false;
735 /** Log sums from profiling into "profiling" table in db. */
736 $wgProfileToDatabase = false;
737 /** Only profile every n requests when profiling is turned on */
738 $wgProfileSampleRate = 1;
739 /** If true, print a raw call tree instead of per-function report */
740 $wgProfileCallTree = false;
741
742 /** Detects non-matching wfProfileIn/wfProfileOut calls */
743 $wgDebugProfiling = false;
744 /** Output debug message on every wfProfileIn/wfProfileOut */
745 $wgDebugFunctionEntry = 0;
746 /** Lots of debugging output from SquidUpdate.php */
747 $wgDebugSquid = false;
748
749 $wgDisableCounters = false;
750 $wgDisableTextSearch = false;
751 /**
752 * If you've disabled search semi-permanently, this also disables updates to the
753 * table. If you ever re-enable, be sure to rebuild the search table.
754 */
755 $wgDisableSearchUpdate = false;
756 /** Uploads have to be specially set up to be secure */
757 $wgEnableUploads = false;
758 /**
759 * Show EXIF data, on by default if available.
760 * Requires PHP's EXIF extension: http://www.php.net/manual/en/ref.exif.php
761 */
762 $wgShowEXIF = function_exists( 'exif_read_data' );
763
764 /**
765 * Set to true to enable the upload _link_ while local uploads are disabled.
766 * Assumes that the special page link will be bounced to another server where
767 * uploads do work.
768 */
769 $wgRemoteUploads = false;
770 $wgDisableAnonTalk = false;
771
772 /**
773 * Path to the GNU diff3 utility. If the file doesn't exist, edit conflicts will
774 * fall back to the old behaviour (no merging).
775 */
776 $wgDiff3 = '/usr/bin/diff3';
777
778 /**
779 * We can also compress text in the old revisions table. If this is set on, old
780 * revisions will be compressed on page save if zlib support is available. Any
781 * compressed revisions will be decompressed on load regardless of this setting
782 * *but will not be readable at all* if zlib support is not available.
783 */
784 $wgCompressRevisions = false;
785
786 /**
787 * This is the list of preferred extensions for uploading files. Uploading files
788 * with extensions not in this list will trigger a warning.
789 */
790 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
791
792 /** Files with these extensions will never be allowed as uploads. */
793 $wgFileBlacklist = array(
794 # HTML may contain cookie-stealing JavaScript and web bugs
795 'html', 'htm',
796 # PHP scripts may execute arbitrary code on the server
797 'php', 'phtml', 'php3', 'php4', 'phps',
798 # Other types that may be interpreted by some servers
799 'shtml', 'jhtml', 'pl', 'py', 'cgi',
800 # May contain harmful executables for Windows victims
801 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
802
803 /** This is a flag to determine whether or not to check file extensions on upload. */
804 $wgCheckFileExtensions = true;
805
806 /**
807 * If this is turned off, users may override the warning for files not covered
808 * by $wgFileExtensions.
809 */
810 $wgStrictFileExtensions = true;
811
812 /** Warn if uploaded files are larger than this */
813 $wgUploadSizeWarning = 150 * 1024;
814
815 /** For compatibility with old installations set to false */
816 $wgPasswordSalt = true;
817
818 /** Which namespaces should support subpages?
819 * See Language.php for a list of namespaces.
820 */
821 $wgNamespacesWithSubpages = array(
822 NS_SPECIAL => 0,
823 NS_MAIN => 0,
824 NS_TALK => 1,
825 NS_USER => 1,
826 NS_USER_TALK => 1,
827 NS_PROJECT => 0,
828 NS_PROJECT_TALK => 1,
829 NS_IMAGE => 0,
830 NS_IMAGE_TALK => 1,
831 NS_MEDIAWIKI => 0,
832 NS_MEDIAWIKI_TALK => 1,
833 NS_TEMPLATE => 0,
834 NS_TEMPLATE_TALK => 1,
835 NS_HELP => 0,
836 NS_HELP_TALK => 1,
837 NS_CATEGORY => 0,
838 NS_CATEGORY_TALK => 1
839 );
840
841 $wgNamespacesToBeSearchedDefault = array(
842 NS_SPECIAL => 0,
843 NS_MAIN => 1,
844 NS_TALK => 0,
845 NS_USER => 0,
846 NS_USER_TALK => 0,
847 NS_PROJECT => 0,
848 NS_PROJECT_TALK => 0,
849 NS_IMAGE => 0,
850 NS_IMAGE_TALK => 0,
851 NS_MEDIAWIKI => 0,
852 NS_MEDIAWIKI_TALK => 1,
853 NS_TEMPLATE => 1,
854 NS_TEMPLATE_TALK => 1,
855 NS_HELP => 0,
856 NS_HELP_TALK => 0,
857 NS_CATEGORY => 0,
858 NS_CATEGORY_TALK => 0
859 );
860
861 /** If set, a bold ugly notice will show up at the top of every page. */
862 $wgSiteNotice = '';
863
864
865 #
866 # Images settings
867 #
868
869 /** dynamic server side image resizing ("Thumbnails") */
870 $wgUseImageResize = false;
871
872 /**
873 * Resizing can be done using PHP's internal image libraries or using
874 * ImageMagick. The later supports more file formats than PHP, which only
875 * supports PNG, GIF, JPG, XBM and WBMP.
876 *
877 * Use Image Magick instead of PHP builtin functions.
878 */
879 $wgUseImageMagick = false;
880 /** The convert command shipped with ImageMagick */
881 $wgImageMagickConvertCommand = '/usr/bin/convert';
882
883 # Scalable Vector Graphics (SVG) may be uploaded as images.
884 # Since SVG support is not yet standard in browsers, it is
885 # necessary to rasterize SVGs to PNG as a fallback format.
886 #
887 # An external program is required to perform this conversion:
888 $wgSVGConverters = array(
889 'ImageMagick' => '$path/convert -background white -geometry $width $input $output',
890 'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
891 'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
892 'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
893 );
894 /** Pick one of the above */
895 $wgSVGConverter = 'ImageMagick';
896 /** If not in the executable PATH, specify */
897 $wgSVGConverterPath = '';
898
899 /** @todo FIXME what does it do here ?? [ashar] */
900 if( !isset( $wgCommandLineMode ) ) {
901 $wgCommandLineMode = false;
902 }
903
904
905 #
906 # Recent changes settings
907 #
908
909 /** Show seconds in Recent Changes */
910 $wgRCSeconds = false;
911
912 /** Log IP addresses in the recentchanges table */
913 $wgPutIPinRC = false;
914
915 /**
916 * Recentchanges items are periodically purged; entries older than this many
917 * seconds will go.
918 * For one week : 7 * 24 * 3600
919 */
920 $wgRCMaxAge = 7 * 24 * 3600;
921
922
923 #
924 # Copyright and credits settings
925 #
926
927 /** RDF metadata toggles */
928 $wgEnableDublinCoreRdf = false;
929 $wgEnableCreativeCommonsRdf = false;
930
931 /** Override for copyright metadata.
932 * TODO: these options need documentation
933 */
934 $wgRightsPage = NULL;
935 $wgRightsUrl = NULL;
936 $wgRightsText = NULL;
937 $wgRightsIcon = NULL;
938
939 /** Set this to some HTML to override the rights icon with an arbitrary logo */
940 $wgCopyrightIcon = NULL;
941
942 /** Set this to true if you want detailed copyright information forms on Upload. */
943 $wgUseCopyrightUpload = false;
944
945 /** Set this to false if you want to disable checking that detailed copyright
946 * information values are not empty. */
947 $wgCheckCopyrightUpload = true;
948
949 /**
950 * Set this to the number of authors that you want to be credited below an
951 * article text. Set it to zero to hide the attribution block, and a negative
952 * number (like -1) to show all authors. Note that this will# require 2-3 extra
953 * database hits, which can have a not insignificant impact on performance for
954 * large wikis.
955 */
956 $wgMaxCredits = 0;
957
958 /** If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
959 * Otherwise, link to a separate credits page. */
960 $wgShowCreditsIfMax = true;
961
962
963
964 /**
965 * Set this to false to avoid forcing the first letter of links to capitals.
966 * WARNING: may break links! This makes links COMPLETELY case-sensitive. Links
967 * appearing with a capital at the beginning of a sentence will *not* go to the
968 * same place as links in the middle of a sentence using a lowercase initial.
969 */
970 $wgCapitalLinks = true;
971
972 /**
973 * List of interwiki prefixes for wikis we'll accept as sources for
974 * Special:Import (for sysops). Since complete page history# can be imported,
975 * these should be 'trusted'.
976 */
977 $wgImportSources = array();
978
979
980
981 /** Text matching this regular expression will be recognised as spam
982 * See http://en.wikipedia.org/wiki/Regular_expression */
983 $wgSpamRegex = false;
984 /** Similarly if this function returns true */
985 $wgFilterCallback = false;
986
987 /** Go button goes straight to the edit screen if the article doesn't exist. */
988 $wgGoToEdit = false;
989
990 /** Allow limited user-specified HTML in wiki pages?
991 * It will be run through a whitelist for security. Set this to false if you
992 * want wiki pages to consist only of wiki markup. Note that replacements do not
993 * yet exist for all HTML constructs.*/
994 $wgUserHtml = true;
995
996 /** Allow raw, unchecked HTML in <html>...</html> sections.
997 * THIS IS VERY DANGEROUS on a publically editable site, so you can't enable it
998 * unless you've restricted editing to trusted users only with $wgWhitelistEdit.
999 */
1000 $wgRawHtml = false;
1001
1002 /**
1003 * $wgUseTidy: use tidy to make sure HTML output is sane.
1004 * This should only be enabled if $wgUserHtml is true.
1005 * tidy is a free tool that fixes broken HTML.
1006 * See http://www.w3.org/People/Raggett/tidy/
1007 * $wgTidyBin should be set to the path of the binary and
1008 * $wgTidyConf to the path of the configuration file.
1009 * $wgTidyOpts can include any number of parameters.
1010 *
1011 * $wgTidyInternal controls the use of the PECL extension to use an in-
1012 * process tidy library instead of spawning a separate program.
1013 * Normally you shouldn't need to override the setting except for
1014 * debugging. To install, use 'pear install tidy' and add a line
1015 * 'extension=tidy.so' to php.ini.
1016 */
1017 $wgUseTidy = false;
1018 $wgTidyBin = 'tidy';
1019 $wgTidyConf = $IP.'/extensions/tidy/tidy.conf';
1020 $wgTidyOpts = '';
1021 $wgTidyInternal = function_exists( 'tidy_load_config' );
1022
1023 /** See list of skins and their symbolic names in languages/Language.php */
1024 $wgDefaultSkin = 'monobook';
1025
1026 /**
1027 * Settings added to this array will override the language globals for the user
1028 * preferences used by anonymous visitors and newly created accounts. (See names
1029 * and sample values in languages/Language.php)
1030 * For instance, to disable section editing links:
1031 * $wgDefaultUserOptions ['editsection'] = 0;
1032 *
1033 */
1034 $wgDefaultUserOptions = array();
1035
1036 /** Whether or not to allow and use real name fields. Defaults to true. */
1037 $wgAllowRealName = true;
1038
1039 /** Use XML parser? */
1040 $wgUseXMLparser = false ;
1041
1042 /** Extensions */
1043 $wgSkinExtensionFunctions = array();
1044 $wgExtensionFunctions = array();
1045
1046 /**
1047 * Allow user Javascript page?
1048 * This enables a lot of neat customizations, but may
1049 * increase security risk to users and server load.
1050 */
1051 $wgAllowUserJs = false;
1052
1053 /**
1054 * Allow user Cascading Style Sheets (CSS)?
1055 * This enables a lot of neat customizations, but may
1056 * increase security risk to users and server load.
1057 */
1058 $wgAllowUserCss = false;
1059
1060 /** Use the site's Javascript page? */
1061 $wgUseSiteJs = true;
1062
1063 /** Use the site's Cascading Style Sheets (CSS)? */
1064 $wgUseSiteCss = true;
1065
1066 /** Filter for Special:Randompage. Part of a WHERE clause */
1067 $wgExtraRandompageSQL = false;
1068
1069 /** Allow the "info" action, very inefficient at the moment */
1070 $wgAllowPageInfo = false;
1071
1072 /** Maximum indent level of toc. */
1073 $wgMaxTocLevel = 999;
1074
1075 /** Use external C++ diff engine (module wikidiff from the extensions package) */
1076 $wgUseExternalDiffEngine = false;
1077
1078 /** Use RC Patrolling to check for vandalism */
1079 $wgUseRCPatrol = true;
1080
1081 /** Set maximum number of results to return in syndication feeds (RSS, Atom) for
1082 * eg Recentchanges, Newpages. */
1083 $wgFeedLimit = 50;
1084
1085 /** _Minimum_ timeout for cached Recentchanges feed, in seconds.
1086 * A cached version will continue to be served out even if changes
1087 * are made, until this many seconds runs out since the last render. */
1088 $wgFeedCacheTimeout = 60;
1089
1090 /** When generating Recentchanges RSS/Atom feed, diffs will not be generated for
1091 * pages larger than this size. */
1092 $wgFeedDiffCutoff = 32768;
1093
1094
1095 /**
1096 * Additional namespaces. If the namespaces defined in Language.php and
1097 * Namespace.php are insufficient,# you can create new ones here, for example,
1098 * to import Help files in other languages.
1099 * PLEASE NOTE: Once you delete a namespace, the pages in that namespace will
1100 * no longer be accessible. If you rename it, then you can access them through
1101 * the new namespace name.
1102 *
1103 * Custom namespaces should start at 100 and stop at 255 (hard limit set by
1104 * database).
1105 */
1106 #$wgExtraNamespaces =
1107 # array(100 => "Hilfe",
1108 # 101 => "Hilfe_Diskussion",
1109 # 102 => "Aide",
1110 # 103 => "Discussion_Aide"
1111 # );
1112 $wgExtraNamespaces = NULL;
1113
1114 /**
1115 * Enable SOAP interface. Off by default
1116 * SOAP is a protocoll for remote procedure calls (RPC) using http as
1117 * middleware. This interface can be used by bots or special clients to receive
1118 * articles from a wiki.
1119 * Most bots use the normal HTTP interface and don't use SOAP.
1120 * If unsure, set to false.
1121 */
1122 $wgEnableSOAP = false;
1123
1124 /**
1125 * Limit images on image description pages to a user-selectable limit. In order
1126 * to reduce disk usage, limits can only be selected from a list. This is the
1127 * list of settings the user can choose from:
1128 */
1129 $wgImageLimits = array (
1130 array(320,240),
1131 array(640,480),
1132 array(800,600),
1133 array(1024,768),
1134 array(1280,1024),
1135 array(10000,10000) );
1136
1137 /**
1138 * Adjust thumbnails on image pages according to a user setting. In order to
1139 * reduce disk usage, the values can only be selected from a list. This is the
1140 * list of settings the user can choose from:
1141 */
1142 $wgThumbLimits = array(
1143 120,
1144 150,
1145 180,
1146 200,
1147 250,
1148 300
1149 );
1150
1151 /** Navigation links for the user sidebar.
1152 * 'text' is the name of the MediaWiki message that contains the label of this link
1153 * 'href' is the name of the MediaWiki message that contains the link target of this link.
1154 * Link targets starting with http are considered remote links. Ones not starting with
1155 * http are considered as names of local wiki pages.
1156 */
1157 $wgNavigationLinks = array (
1158 array( 'text'=>'mainpage', 'href'=>'mainpage' ),
1159 array( 'text'=>'portal', 'href'=>'portal-url' ),
1160 array( 'text'=>'currentevents', 'href'=>'currentevents-url' ),
1161 array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ),
1162 array( 'text'=>'randompage', 'href'=>'randompage-url' ),
1163 array( 'text'=>'help', 'href'=>'helppage' ),
1164 array( 'text'=>'sitesupport', 'href'=>'sitesupport-url' ),
1165 );
1166
1167 /**
1168 * On category pages, show thumbnail gallery for images belonging to that
1169 * category instead of listing them as articles.
1170 */
1171 $wgCategoryMagicGallery = true;
1172
1173 /**
1174 * Browser Blacklist for unicode non compliant browsers
1175 * Contains a list of regexps : "/regexp/" matching problematic browsers
1176 */
1177 $wgBrowserBlackList = array(
1178 "/Mozilla\/4\.78 \[en\] \(X11; U; Linux/",
1179 /**
1180 * MSIE on Mac OS 9 is teh sux0r, converts þ to <thorn>, ð to <eth>, Þ to <THORN> and Ð to <ETH>
1181 *
1182 * Known useragents:
1183 * - Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)
1184 * - Mozilla/4.0 (compatible; MSIE 5.15; Mac_PowerPC)
1185 * - Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
1186 * - [...]
1187 *
1188 * @link http://en.wikipedia.org/w/index.php?title=User%3A%C6var_Arnfj%F6r%F0_Bjarmason%2Ftestme&diff=12356041&oldid=12355864
1189 * @link http://en.wikipedia.org/wiki/Template%3AOS9
1190 */
1191 "/Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/"
1192 );
1193
1194 /**
1195 * Fake out the timezone that the server thinks it's in. This will be used for
1196 * date display and not for what's stored in the DB. Leave to null to retain
1197 * your server's OS-based timezone value. This is the same as the timezone.
1198 */
1199 # $wgLocaltimezone = 'GMT';
1200 # $wgLocaltimezone = 'PST8PDT';
1201 # $wgLocaltimezone = 'Europe/Sweden';
1202 # $wgLocaltimezone = 'CET';
1203 $wgLocaltimezone = null;
1204
1205 /**
1206 * User level management
1207 * The number is the database id of a group you want users to be attached by
1208 * default. A better interface should be coded [av]
1209 */
1210 $wgAnonGroupId = 1;
1211 $wgLoggedInGroupId = 2;
1212 $wgSysopGroupId = 3;
1213 $wgBureaucratGroupId = 4;
1214 $wgStewardGroupId = 5;
1215
1216 /**
1217 * When translating messages with wfMsg(), it is not always clear what should be
1218 * considered UI messages and what shoud be content messages.
1219 *
1220 * For example, for regular wikipedia site like en, there should be only one
1221 * 'mainpage', therefore when getting the link of 'mainpage', we should treate
1222 * it as content of the site and call wfMsgForContent(), while for rendering the
1223 * text of the link, we call wfMsg(). The code in default behaves this way.
1224 * However, sites like common do offer different versions of 'mainpage' and the
1225 * like for different languages. This array provides a way to override the
1226 * default behavior. For example, to allow language specific mainpage and
1227 * community portal, set
1228 *
1229 * $wgForceUIMsgAsContentMsg = array( 'mainpage', 'portal-url' );
1230 */
1231 $wgForceUIMsgAsContentMsg = array();
1232
1233
1234 /**
1235 * Authentication plugin.
1236 */
1237 $wgAuth = null;
1238
1239 /**
1240 * Global list of hooks.
1241 * Add a hook by doing:
1242 * $wgHooks['event_name'][] = $function;
1243 * or:
1244 * $wgHooks['event_name'][] = array($function, $data);
1245 * or:
1246 * $wgHooks['event_name'][] = array($object, 'method');
1247 */
1248 $wgHooks = array();
1249
1250 /**
1251 * Experimental preview feature to fetch rendered text
1252 * over an XMLHttpRequest from JavaScript instead of
1253 * forcing a submit and reload of the whole page.
1254 * Leave disabled unless you're testing it.
1255 */
1256 $wgLivePreview = false;
1257
1258 /**
1259 * Disable the internal MySQL-based search, to allow it to be
1260 * implemented by an extension instead.
1261 */
1262 $wgDisableInternalSearch = false;
1263
1264 /**
1265 * Set this to a URL to forward search requests to some external location.
1266 * If the URL includes '$1', this will be replaced with the URL-encoded
1267 * search term.
1268 *
1269 * For example, to forward to Google you'd have something like:
1270 * $wgSearchForwardUrl = 'http://www.google.com/search?q=$1' .
1271 * '&domains=http://example.com' .
1272 * '&sitesearch=http://example.com' .
1273 * '&ie=utf-8&oe=utf-8';
1274 */
1275 $wgSearchForwardUrl = null;
1276
1277 /**
1278 * If true, external URL links in wiki text will be given the
1279 * rel="nofollow" attribute as a hint to search engines that
1280 * they should not be followed for ranking purposes as they
1281 * are user-supplied and thus subject to spamming.
1282 */
1283 $wgNoFollowLinks = true;
1284
1285 /**
1286 * Specifies the minimal length of a user password. If set to
1287 * 0, empty passwords are allowed.
1288 */
1289 $wgMinimalPasswordLength = 0;
1290
1291 /**
1292 * Activate external editor interface for files and pages
1293 * See http://meta.wikimedia.org/wiki/Help:External_editors
1294 */
1295 $wgUseExternalEditor = true;
1296
1297 /** Whether or not to sort special pages in Special:Specialpages */
1298
1299 $wgSortSpecialPages = true;
1300
1301 /**
1302 * Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
1303 */
1304 $wgDisabledActions = array();
1305
1306 /**
1307 * Use http.dnsbl.sorbs.net to check for open proxies
1308 */
1309 $wgEnableSorbs = false;
1310
1311 /**
1312 * On Special:Unusedimages, consider images "used", if they are put
1313 * into a category. Default (false) is not to count those as used.
1314 */
1315 $wgCountCategorizedImagesAsUsed = false;
1316
1317 /**
1318 * External stores allow including content
1319 * from non database sources following URL links
1320 *
1321 * Short names of ExternalStore classes may be specified in an array here:
1322 * $wgExternalStores = array("http","file","custom")...
1323 *
1324 * CAUTION: Access to database might lead to code execution
1325 */
1326 $wgExternalStores = false;
1327
1328 } else {
1329 die();
1330 }
1331 ?>