3 * DO NOT EDIT THIS FILE!
5 * To customize your installation, edit "LocalSettings.php".
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
15 # This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
16 if( !defined( 'MEDIAWIKI' ) ) {
17 die( "This file is part of MediaWiki and is not a valid entry point\n" );
20 /** MediaWiki version number */
21 $wgVersion = '1.5alpha2';
23 /** Name of the site. It must be changed in LocalSettings.php */
24 $wgSitename = 'MediaWiki';
26 /** Will be same as you set @see $wgSitename */
27 $wgMetaNamespace = FALSE;
30 /** URL of the server. It will be automaticly build including https mode */
33 if( isset( $_SERVER['SERVER_NAME'] ) ) {
34 $wgServerName = $_SERVER['SERVER_NAME'];
35 } elseif( isset( $_SERVER['HOSTNAME'] ) ) {
36 $wgServerName = $_SERVER['HOSTNAME'];
37 } elseif( isset( $_SERVER['HTTP_HOST'] ) ) {
38 $wgServerName = $_SERVER['HTTP_HOST'];
39 } elseif( isset( $_SERVER['SERVER_ADDR'] ) ) {
40 $wgServerName = $_SERVER['SERVER_ADDR'];
42 $wgServerName = 'localhost';
45 # check if server use https:
46 $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ?
'https' : 'http';
48 $wgServer = $wgProto.'://' . $wgServerName;
49 # If the port is a non-standard one, add it to the URL
50 if( isset( $_SERVER['SERVER_PORT'] )
51 && ( ( $wgProto == 'http' && $_SERVER['SERVER_PORT'] != 80 )
52 ||
( $wgProto == 'https' && $_SERVER['SERVER_PORT'] != 443 ) ) ) {
54 $wgServer .= ":" . $_SERVER['SERVER_PORT'];
60 * The path we should point to.
61 * It might be a virtual path in case with use apache mod_rewrite for example
63 $wgScriptPath = '/wiki';
66 * Whether to support URLs like index.php/Page_title
67 * @global bool $wgUsePathInfo
69 $wgUsePathInfo = ( strpos( php_sapi_name(), 'cgi' ) === false );
73 * Script users will request to get articles
74 * ATTN: Old installations used wiki.phtml and redirect.phtml -
75 * make sure that LocalSettings.php is correctly set!
79 * @global string $wgScript
81 $wgScript = "{$wgScriptPath}/index.php";
83 * @global string $wgRedirectScript
85 $wgRedirectScript = "{$wgScriptPath}/redirect.php";
93 * style path as seen by users
94 * @global string $wgStylePath
96 $wgStylePath = "{$wgScriptPath}/skins";
98 * filesystem stylesheets directory
99 * @global string $wgStyleDirectory
101 $wgStyleDirectory = "{$IP}/skins";
102 $wgStyleSheetPath = &$wgStylePath;
103 $wgArticlePath = "{$wgScript}?title=$1";
104 $wgUploadPath = "{$wgScriptPath}/upload";
105 $wgUploadDirectory = "{$IP}/upload";
106 $wgHashedUploadDirectory = true;
107 $wgLogo = "{$wgUploadPath}/wiki.png";
108 $wgMathPath = "{$wgUploadPath}/math";
109 $wgMathDirectory = "{$wgUploadDirectory}/math";
110 $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
111 $wgUploadBaseUrl = "";
114 /** internal name of virus scanner. This servers as a key to the $wgAntivirusSetup array.
115 * Set this to NULL to disable virus scanning. If not null, every file uploaded will be scanned for viruses.
116 * @global string $wgAntivirus
120 /** Configuration for different virus scanners. This an associative array of associative arrays:
121 * it contains on setup array per known scanner type. The entry is selected by $wgAntivirus, i.e.
122 * valid values for $wgAntivirus are the keys defined in this array.
124 * The configuration array for each scanner contains the following keys: "command", "codemap", "messagepattern";
126 * "command" is the full command to call the virus scanner - %f will be replaced with the name of the
127 * file to scan. If not present, the filename will be appended to the command. Note that this must be
128 * overwritten if the scanner is not in the system path; in that case, plase set
129 * $wgAntivirusSetup[$wgAntivirus]['command'] to the desired command with full path.
131 * "codemap" is a mapping of exit code to return codes of the detectVirus function in SpecialUpload.
132 * An exit code mapped to AV_SCAN_FAILED causes the function to consider the scan to be failed. This will pass
133 * the file if $wgAntivirusRequired is not set.
134 * An exit code mapped to AV_SCAN_ABORTED causes the function to consider the file to have an usupported format,
135 * which is probably imune to virusses. This causes the file to pass.
136 * An exit code mapped to AV_NO_VIRUS will cause the file to pass, meaning no virus was found.
137 * All other codes (like AV_VIRUS_FOUND) will cause the function to report a virus.
138 * You may use "*" as a key in the array to catch all exit codes not mapped otherwise.
140 * "messagepattern" is a perl regular expression to extract the meaningful part of the scanners
141 * output. The relevant part should be matched as group one (\1).
142 * If not defined or the pattern does not match, the full message is shown to the user.
144 * @global array $wgAntivirusSetup
146 $wgAntivirusSetup= array(
150 'command' => "clamscan --no-summary ",
153 "0"=> AV_NO_VIRUS
, #no virus
154 "1"=> AV_VIRUS_FOUND
, #virus found
155 "52"=> AV_SCAN_ABORTED
, #unsupported file format (probably imune)
156 "*"=> AV_SCAN_FAILED
, #else scan failed
159 'messagepattern'=> '/.*?:(.*)/sim',
164 'command' => "f-prot ",
167 "0"=> AV_NO_VIRUS
, #no virus
168 "3"=> AV_VIRUS_FOUND
, #virus found
169 "6"=> AV_VIRUS_FOUND
, #virus found
170 "*"=> AV_SCAN_FAILED
, #else scan failed
173 'messagepattern'=> '/.*?Infection:(.*)$/m',
178 /** Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
179 * @global boolean $wgAntivirusRequired
181 $wgAntivirusRequired= true;
183 /** Determines if the mime type of uploaded files should be checked
184 * @global boolean $wgVerifyMimeType
186 $wgVerifyMimeType= true;
188 /** Sets the mime type definition file to use by MimeMagic.php.
189 * @global string $wgMimeTypeFile
191 #$wgMimeTypeFile= "/etc/mime.types";
192 $wgMimeTypeFile= "includes/mime.types";
193 #$wgMimeTypeFile= NULL; #use build in defaults only.
195 /** Sets the mime type info file to use by MimeMagic.php.
196 * @global string $wgMimeInfoFile
198 $wgMimeInfoFile= "includes/mime.info";
199 #$wgMimeInfoFile= NULL; #use build in defaults only.
201 /** Switch for loading the FileInfo extension by PECL at runtime.
202 * This should be used only if fileinfo is installed as a shared object / dynamic libary
203 * @global string $wgLoadFileinfoExtension
205 $wgLoadFileinfoExtension= false;
207 /** Sets an external mime detector program. The command must print only the mime type to standard output.
208 * the name of the file to process will be appended to the command given here.
209 * If not set or NULL, mime_content_type will be used if available.
210 * @global string $wgMimeTypeFile
212 $wgMimeDetectorCommand= NULL; # use internal mime_content_type function, available since php 4.3.0
213 #$wgMimeDetectorCommand= "file -bi" #use external mime detector (linux)
215 /** Switch for trivial mime detection. Used by thumb.php to disable all fance things,
216 * because only a few types of images are needed and file extensions can be trusted.
218 $wgTrivialMimeDetection= false;
221 * Produce hashed HTML article paths. Used internally, do not set.
223 $wgMakeDumpLinks = false;
226 * To set 'pretty' URL paths for actions other than
227 * plain page views, add to this array. For instance:
228 * 'edit' => "$wgScriptPath/edit/$1"
230 * There must be an appropriate script or rewrite rule
231 * in place to handle these URLs.
233 $wgActionPaths = array();
236 * If you operate multiple wikis, you can define a shared upload path here.
237 * Uploads to this wiki will NOT be put there - they will be put into
238 * $wgUploadDirectory.
239 * If $wgUseSharedUploads is set, the wiki will look in the shared repository if
240 * no file of the given name is found in the local repository (for [[Image:..]],
241 * [[Media:..]] links). Thumbnails will also be looked for and generated in this
244 $wgUseSharedUploads = false;
245 /** Full path on the web server where shared uploads can be found */
246 $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
247 /** Path on the file system where shared uploads can be found. */
248 $wgSharedUploadDirectory = "/var/www/wiki3/images";
249 /** DB name with metadata about shared directory. Set this to false if the uploads do not come from a wiki. */
250 $wgSharedUploadDBname = false;
251 /** Cache shared metadata in memcached. Don't do this if the commons wiki is in a different memcached domain */
252 $wgCacheSharedUploads = true;
255 * Point the upload navigation link to an external URL
256 * Useful if you want to use a shared repository by default
257 * without disabling local uploads
258 * e.g. $wgUploadNavigationUrl = 'http://commons.wikimedia.org/wiki/Special:Upload';
260 $wgUploadNavigationUrl = false;
263 * Give a path here to use thumb.php for thumbnail generation on client request, instead of
264 * generating them on render and outputting a static URL. This is necessary if some of your
265 * apache servers don't have read/write access to the thumbnail path.
268 * $wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php";
270 $wgThumbnailScriptPath = false;
271 $wgSharedThumbnailScriptPath = false;
274 * Set the following to false especially if you have a set of files that need to
275 * be accessible by all wikis, and you do not want to use the hash (path/a/aa/)
278 $wgHashedSharedUploadDirectory = true;
281 * Base URL for a repository wiki. Leave this blank if uploads are just stored
282 * in a shared directory and not meant to be accessible through a separate wiki.
283 * Otherwise the image description pages on the local wiki will link to the
284 * image description page on this wiki.
286 * Please specify the namespace, as in the example below.
288 $wgRepositoryBaseUrl="http://commons.wikimedia.org/wiki/Image:";
296 * Site admin email address
297 * Default to wikiadmin@SERVER_NAME
298 * @global string $wgEmergencyContact
300 $wgEmergencyContact = 'wikiadmin@' . $wgServerName;
303 * Password reminder email address
304 * The address we should use as sender when a user is requesting his password
305 * Default to apache@SERVER_NAME
306 * @global string $wgPasswordSender
308 $wgPasswordSender = 'Wikipedia Mail <apache@' . $wgServerName . '>';
311 * dummy address which should be accepted during mail send action
312 * It might be necessay to adapt the address or to set it equal
313 * to the $wgEmergencyContact address
315 #$wgNoReplyAddress = $wgEmergencyContact;
316 $wgNoReplyAddress = 'reply@not.possible';
319 * Set to true to enable the e-mail basic features:
320 * Password reminders, etc. If sending e-mail on your
321 * server doesn't work, you might want to disable this.
322 * @global bool $wgEnableEmail
324 $wgEnableEmail = true;
327 * Set to true to enable user-to-user e-mail.
328 * This can potentially be abused, as it's hard to track.
329 * @global bool $wgEnableUserEmail
331 $wgEnableUserEmail = true;
335 * For using a direct (authenticated) SMTP server connection.
336 * Default to false or fill an array :
338 * "host" => 'SMTP domain',
339 * "IDHost" => 'domain for MessageID',
341 * "auth" => true/false,
342 * "username" => user,
343 * "password" => password
346 * @global mixed $wgSMTP
354 /** database host name or ip address */
355 $wgDBserver = 'localhost';
356 /** name of the database */
357 $wgDBname = 'wikidb';
359 $wgDBconnection = '';
360 /** Database username */
361 $wgDBuser = 'wikiuser';
363 * "mysql" for working code and "PostgreSQL" for development/broken code
367 * Leave as null to select the default search engine for the
368 * selected database type (eg SearchMySQL4), or set to a class
369 * name to override to a custom search engine.
371 $wgSearchType = null;
372 /** Table name prefix */
375 * on some databases this allows separate
376 * logical namespace for application data
378 $wgDBschema = 'mediawiki';
384 * Shared database for multiple wikis. Presently used for storing a user table
385 * for single sign-on. The server for this database must be the same as for the
391 # Database load balancer
392 # This is a two-dimensional array, an array of server info structures
395 # dbname: Default database name
397 # password: DB password
398 # type: "mysql" or "pgsql"
399 # load: ratio of DB_SLAVE load, must be >=0, the sum of all loads must be >0
400 # groupLoads: array of load ratios, the key is the query group name. A query may belong
401 # to several groups, the most specific group defined here is used.
404 # DBO_DEFAULT -- turns on DBO_TRX only if !$wgCommandLineMode (recommended)
405 # DBO_DEBUG -- equivalent of $wgDebugDumpSql
406 # DBO_TRX -- wrap entire request in a transaction
407 # DBO_IGNORE -- ignore errors (not useful in LocalSettings.php)
408 # DBO_NOBUFFER -- turn off buffering (not useful in LocalSettings.php)
410 # Leave at false to use the single-server variables above
411 $wgDBservers = false;
413 /** How long to wait for a slave to catch up to the master */
414 $wgMasterWaitTimeout = 10;
416 /** File to log MySQL errors to */
417 $wgDBerrorLog = false;
419 /** When to give an error message */
420 $wgDBClusterTimeout = 10;
424 * MySQL 3.x : used to discard words that MySQL will not return any results for
425 * shorter values configure mysql directly.
426 * MySQL 4.x : ignore it and configure mySQL
427 * See: http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html
430 /** Set to true if using InnoDB tables */
431 $wgDBtransactions = false;
432 /** Set to true to use enhanced fulltext search */
436 * Other wikis on this site, can be administered from a single developer
438 * Array, interwiki prefix => database name
440 $wgLocalDatabases = array();
443 * Object cache settings
444 * See Defines.php for types
446 $wgMainCacheType = CACHE_NONE
;
447 $wgMessageCacheType = CACHE_ANYTHING
;
448 $wgParserCacheType = CACHE_ANYTHING
;
450 $wgSessionsInMemcached = false;
451 $wgLinkCacheMemcached = false; # Not fully tested
454 * Memcached-specific settings
455 * See docs/memcached.txt
457 $wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't working
458 $wgMemCachedServers = array( '127.0.0.1:11000' );
459 $wgMemCachedDebug = false;
465 /** Site language code, should be one of ./languages/Language(.*).php */
466 $wgLanguageCode = 'en';
468 /** Treat language links as magic connectors, not inline links */
469 $wgInterwikiMagic = true;
471 /** Hide interlanguage links from the sidebar */
472 $wgHideInterlanguageLinks = false;
475 /** We speak UTF-8 all the time now, unless some oddities happen */
476 $wgInputEncoding = 'UTF-8';
477 $wgOutputEncoding = 'UTF-8';
478 $wgEditEncoding = '';
480 # Set this to eg 'ISO-8859-1' to perform character set
481 # conversion when loading old revisions not marked with
482 # "utf-8" flag. Use this when converting wiki to UTF-8
483 # without the burdensome mass conversion of old text data.
485 # NOTE! This DOES NOT touch any fields other than old_text.
486 # Titles, comments, user names, etc still must be converted
487 # en masse in the database before continuing as a UTF-8 wiki.
488 $wgLegacyEncoding = false;
491 * If set to true, the MediaWiki 1.4 to 1.5 schema conversion will
492 * create stub reference rows in the text table instead of copying
493 * the full text of all current entries from 'cur' to 'text'.
495 * This will speed up the conversion step for large sites, but
496 * requires that the cur table be kept around for those revisions
497 * to remain viewable.
499 * maintenance/migrateCurStubs.php can be used to complete the
500 * migration in the background once the wiki is back online.
502 * This option affects the updaters *only*. Any present cur stub
503 * revisions will be readable at runtime regardless of this setting.
505 $wgLegacySchemaConversion = false;
507 $wgMimeType = 'text/html';
508 $wgJsMimeType = 'text/javascript';
509 $wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
510 $wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
512 /** Enable to allow rewriting dates in page text.
513 * DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES */
514 $wgUseDynamicDates = false;
515 /** Enable dates like 'May 12' instead of '12 May', this only takes effect if
516 * the interface is set to English
518 $wgAmericanDates = false;
520 * For Hindi and Arabic use local numerals instead of Western style (0-9)
521 * numerals in interface.
523 $wgTranslateNumerals = true;
526 # Translation using MediaWiki: namespace
527 # This will increase load times by 25-60% unless memcached is installed
528 # Interface messages will be loaded from the database.
529 $wgUseDatabaseMessages = true;
530 $wgMsgCacheExpiry = 86400;
532 # Whether to enable language variant conversion.
533 $wgDisableLangConversion = false;
535 # Use article validation feature; turned off by default
536 $wgUseValidation = false;
537 $wgValidationForAnons = true ;
539 # Whether to use zhdaemon to perform Chinese text processing
540 # zhdaemon is under developement, so normally you don't want to
541 # use it unless for testing
542 $wgUseZhdaemon = false;
543 $wgZhdaemonHost="localhost";
544 $wgZhdaemonPort=2004;
546 /** Normally you can ignore this and it will be something
547 like $wgMetaNamespace . "_talk". In some languages, you
548 may want to set this manually for grammatical reasons.
549 It is currently only respected by those languages
550 where it might be relevant and where no automatic
551 grammar converter exists.
553 $wgMetaNamespaceTalk = false;
555 # Miscellaneous configuration settings
558 $wgLocalInterwiki = 'w';
559 $wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
562 * If local interwikis are set up which allow redirects,
563 * set this regexp to restrict URLs which will be displayed
564 * as 'redirected from' links.
566 * It might look something like this:
567 * $wgRedirectSources = '!^https?://[a-z-]+\.wikipedia\.org/!';
569 * Leave at false to avoid displaying any incoming redirect markers.
570 * This does not affect intra-wiki redirects, which don't change
573 $wgRedirectSources = false;
576 $wgShowIPinHeader = true; # For non-logged in users
577 $wgMaxNameChars = 32; # Maximum number of bytes in username
579 $wgExtraSubtitle = '';
580 $wgSiteSupportPage = ''; # A page where you users can receive donations
582 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
585 * The debug log file should be not be publicly accessible if it is used, as it
586 * may contain private data. */
587 $wgDebugLogFile = '';
592 $wgDebugRedirects = false;
593 $wgDebugRawPage = false; # Avoid overlapping debug entries by leaving out CSS
595 $wgDebugComments = false;
597 $wgLogQueries = false;
598 $wgDebugDumpSql = false;
601 * Whether to show "we're sorry, but there has been a database error" pages.
602 * Displaying errors aids in debugging, but may display information useful
605 $wgShowSQLErrors = false;
607 # Should [[Category:Dog]] on a page associate it with the
608 # category "Dog"? (a link to that category page will be
609 # added to the article, clicking it reveals a list of
610 # all articles in the category)
611 $wgUseCategoryMagic = true;
614 * disable experimental dmoz-like category browsing. Output things like:
615 * Encyclopedia > Music > Style of Music > Jazz
617 $wgUseCategoryBrowser = false;
620 * Keep parsed pages in a cache (objectcache table, turck, or memcached)
621 * to speed up output of the same page viewed by another user with the
624 * This can provide a significant speedup for medium to large pages,
625 * so you probably want to keep it on.
627 $wgEnableParserCache = true;
630 * Under which condition should a page in the main namespace be counted
631 * as a valid article? If $wgUseCommaCount is set to true, it will be
632 * counted if it contains at least one comma. If it is set to false
633 * (default), it will only be counted if it contains at least one [[wiki
634 * link]]. See http://meta.wikimedia.org/wiki/Help:Article_count
636 * Retroactively changing this variable will not affect
637 * the existing count (cf. maintenance/recount.sql).
639 $wgUseCommaCount = false;
644 * wgHitcounterUpdateFreq sets how often page counters should be updated, higher
645 * values are easier on the database. A value of 1 causes the counters to be
646 * updated on every hit, any higher value n cause them to update *on average*
647 * every n hits. Should be set to either 1 or something largish, eg 1000, for
648 * maximum efficiency.
650 $wgHitcounterUpdateFreq = 1;
652 # User rights settings
654 # It's not 100% safe, there could be security hole using that one. Use at your
657 $wgWhitelistEdit = false; # true = user must login to edit.
658 $wgWhitelistRead = false; # Pages anonymous user may see, like: = array ( "Main Page", "Special:Userlogin", "Wikipedia:Help");
660 $wgAllowAnonymousMinor = false; # Allow anonymous users to mark changes as 'minor'
662 $wgSysopUserBans = true; # Allow sysops to ban logged-in users
663 $wgSysopRangeBans = true; # Allow sysops to ban IP ranges
665 /** Comma-separated list of options to show on the IP block form.
666 * Use strtotime() format, or "infinite" for an infinite block
668 $wgBlockExpiryOptions = "2 hours,1 day,3 days,1 week,2 weeks,1 month,3 months,6 months,1 year,infinite";
670 $wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
673 * Permission keys given to users in each group.
674 * All users are implicitly in the '*' group including anonymous visitors;
675 * logged-in users are all implicitly in the 'user' group. These will be
676 * combined with the permissions of all groups that a given user is listed
677 * in in the user_groups table.
679 $wgGroupPermissions = array();
681 $wgGroupPermissions['*' ]['createaccount'] = true;
682 $wgGroupPermissions['*' ]['read'] = true;
684 $wgGroupPermissions['user' ]['move'] = true;
685 $wgGroupPermissions['user' ]['read'] = true;
686 $wgGroupPermissions['user' ]['upload'] = true;
688 $wgGroupPermissions['bot' ]['bot'] = true;
690 $wgGroupPermissions['sysop']['block'] = true;
691 $wgGroupPermissions['sysop']['createaccount'] = true;
692 $wgGroupPermissions['sysop']['delete'] = true;
693 $wgGroupPermissions['sysop']['editinterface'] = true;
694 $wgGroupPermissions['sysop']['import'] = true;
695 $wgGroupPermissions['sysop']['importupload'] = true;
696 $wgGroupPermissions['sysop']['move'] = true;
697 $wgGroupPermissions['sysop']['patrol'] = true;
698 $wgGroupPermissions['sysop']['protect'] = true;
699 $wgGroupPermissions['sysop']['rollback'] = true;
700 $wgGroupPermissions['sysop']['upload'] = true;
702 $wgGroupPermissions['bureaucrat']['userrights'] = true;
705 * The developer group is deprecated, but can be activated if need be
706 * to use the 'lockdb' and 'unlockdb' special pages. Those require
707 * that a lock file be defined and creatable/removable by the web
710 # $wgGroupPermissions['developer']['siteadmin'] = true;
714 # Proxy scanner settings
718 * If you enable this, every editor's IP address will be scanned for open HTTP
721 * Don't enable this. Many sysops will report "hostile TCP port scans" to your
722 * ISP and ask for your server to be shut down.
724 * You have been warned.
726 $wgBlockOpenProxies = false;
727 /** Port we want to scan for a proxy */
728 $wgProxyPorts = array( 80, 81, 1080, 3128, 6588, 8000, 8080, 8888, 65506 );
729 /** Script used to scan */
730 $wgProxyScriptPath = "$IP/proxy_check.php";
732 $wgProxyMemcExpiry = 86400;
733 /** This should always be customised in LocalSettings.php */
734 $wgSecretKey = false;
735 /** big list of banned IP addresses, in the keys not the values */
736 $wgProxyList = array();
740 /** Number of accounts each IP address may create, 0 to disable.
741 * Requires memcached */
742 $wgAccountCreationThrottle = 0;
744 # Client-side caching:
746 /** Allow client-side caching of pages */
747 $wgCachePages = true;
750 * Set this to current time to invalidate all prior cached pages. Affects both
751 * client- and server-side caching.
753 $wgCacheEpoch = '20030516000000';
756 # Server-side caching:
759 * This will cache static pages for non-logged-in users to reduce
760 * database traffic on public sites.
761 * Must set $wgShowIPinHeader = false
763 $wgUseFileCache = false;
764 /** Directory where the cached page will be saved */
765 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
768 * When using the file cache, we can store the cached HTML gzipped to save disk
769 * space. Pages will then also be served compressed to clients that support it.
770 * THIS IS NOT COMPATIBLE with ob_gzhandler which is now enabled if supported in
771 * the default LocalSettings.php! If you enable this, remove that setting first.
773 * Requires zlib support enabled in PHP.
777 # Email notification settings
780 /** For email notification on page changes */
781 $wgPasswordSender = $wgEmergencyContact;
783 # true: from page editor if s/he opted-in
784 # false: Enotif mails appear to come from $wgEmergencyContact
785 $wgEnotifFromEditor = false;
787 // TODO move UPO to preferences probably ?
788 # If set to true, users get a corresponding option in their preferences and can choose to enable or disable at their discretion
789 # If set to false, the corresponding input form on the user preference page is suppressed
790 # It call this to be a "user-preferences-option (UPO)"
791 $wgEmailAuthentication = true; # UPO (if this is set to false, texts referring to authentication are suppressed)
792 $wgEnotifWatchlist = false; # UPO
793 $wgEnotifUserTalk = false; # UPO
794 $wgEnotifRevealEditorAddress = false; # UPO; reply-to address may be filled with page editor's address (if user allowed this in the preferences)
795 $wgEnotifMinorEdits = true; # UPO; false: "minor edits" on pages do not trigger notification mails.
796 # # Attention: _every_ change on a user_talk page trigger a notification mail (if the user is not yet notified)
799 /** Show watching users in recent changes, watchlist and page history views */
800 $wgRCShowWatchingUsers = false; # UPO
801 /** Show watching users in Page views */
802 $wgPageShowWatchingUsers = false;
804 * Show "Updated (since my last visit)" marker in RC view, watchlist and history
805 * view for watched pages with new changes */
806 $wgShowUpdatedMarker = true;
808 $wgCookieExpiration = 2592000;
810 /** Clock skew or the one-second resolution of time() can occasionally cause cache
811 * problems when the user requests two pages within a short period of time. This
812 * variable adds a given number of seconds to vulnerable timestamps, thereby giving
815 $wgClockSkewFudge = 5;
817 # Squid-related settings
820 /** Enable/disable Squid */
823 /** If you run Squid3 with ESI support, enable this (default:false): */
826 /** Internal server name as known to Squid, if different */
827 # $wgInternalServer = 'http://yourinternal.tld:8000';
828 $wgInternalServer = $wgServer;
831 * Cache timeout for the squid, will be sent as s-maxage (without ESI) or
832 * Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in
833 * the Squid config. 18000 seconds = 5 hours, more cache hits with 2678400 = 31
836 $wgSquidMaxage = 18000;
839 * A list of proxy servers (ips if possible) to purge on changes don't specify
840 * ports here (80 is default)
842 # $wgSquidServers = array('127.0.0.1');
843 $wgSquidServers = array();
844 $wgSquidServersNoPurge = array();
846 /** Maximum number of titles to purge in any one client operation */
847 $wgMaxSquidPurgeTitles = 400;
849 /** HTCP multicast purging */
851 $wgHTCPMulticastTTL = 1;
852 # $wgHTCPMulticastAddress = "224.0.0.85";
857 * Set to set an explicit domain on the login cookies eg, "justthis.domain. org"
858 * or ".any.subdomain.net"
860 $wgCookieDomain = '';
862 $wgDisableCookieCheck = false;
864 /** Whether to allow inline image pointing to other websites */
865 $wgAllowExternalImages = true;
867 /** Disable database-intensive features */
868 $wgMiserMode = false;
869 /** Disable all query pages if miser mode is on, not just some */
870 $wgDisableQueryPages = false;
871 /** Generate a watchlist once every hour or so */
872 $wgUseWatchlistCache = false;
873 /** The hour or so mentioned above */
874 $wgWLCacheTimeout = 3600;
877 * To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of
878 * the MediaWiki package and have latex, dvips, gs (ghostscript), andconvert
879 * (ImageMagick) installed and available in the PATH.
880 * Please see math/README for more information.
883 /** Location of the texvc binary */
884 $wgTexvc = './math/texvc';
887 # Profiling / debugging
890 /** Enable for more detailed by-function times in debug log */
891 $wgProfiling = false;
892 /** Only record profiling info for pages that took longer than this */
893 $wgProfileLimit = 0.0;
894 /** Don't put non-profiling info into log file */
895 $wgProfileOnly = false;
896 /** Log sums from profiling into "profiling" table in db. */
897 $wgProfileToDatabase = false;
898 /** Only profile every n requests when profiling is turned on */
899 $wgProfileSampleRate = 1;
900 /** If true, print a raw call tree instead of per-function report */
901 $wgProfileCallTree = false;
903 /** Detects non-matching wfProfileIn/wfProfileOut calls */
904 $wgDebugProfiling = false;
905 /** Output debug message on every wfProfileIn/wfProfileOut */
906 $wgDebugFunctionEntry = 0;
907 /** Lots of debugging output from SquidUpdate.php */
908 $wgDebugSquid = false;
910 $wgDisableCounters = false;
911 $wgDisableTextSearch = false;
913 * If you've disabled search semi-permanently, this also disables updates to the
914 * table. If you ever re-enable, be sure to rebuild the search table.
916 $wgDisableSearchUpdate = false;
917 /** Uploads have to be specially set up to be secure */
918 $wgEnableUploads = false;
920 * Show EXIF data, on by default if available.
921 * Requires PHP's EXIF extension: http://www.php.net/manual/en/ref.exif.php
923 $wgShowEXIF = function_exists( 'exif_read_data' );
926 * Set to true to enable the upload _link_ while local uploads are disabled.
927 * Assumes that the special page link will be bounced to another server where
930 $wgRemoteUploads = false;
931 $wgDisableAnonTalk = false;
933 * Do DELETE/INSERT for link updates instead of incremental
935 $wgUseDumbLinkUpdate = false;
938 * Anti-lock flags - bitfield
940 * Preload links during link update for save
941 * ALF_PRELOAD_EXISTENCE
942 * Preload cur_id during replaceLinkHolders
944 $wgAntiLockFlags = 0;
947 * Path to the GNU diff3 utility. If the file doesn't exist, edit conflicts will
948 * fall back to the old behaviour (no merging).
950 $wgDiff3 = '/usr/bin/diff3';
953 * We can also compress text in the old revisions table. If this is set on, old
954 * revisions will be compressed on page save if zlib support is available. Any
955 * compressed revisions will be decompressed on load regardless of this setting
956 * *but will not be readable at all* if zlib support is not available.
958 $wgCompressRevisions = false;
961 * This is the list of preferred extensions for uploading files. Uploading files
962 * with extensions not in this list will trigger a warning.
964 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
966 /** Files with these extensions will never be allowed as uploads. */
967 $wgFileBlacklist = array(
968 # HTML may contain cookie-stealing JavaScript and web bugs
969 'html', 'htm', 'js', 'jsb',
970 # PHP scripts may execute arbitrary code on the server
971 'php', 'phtml', 'php3', 'php4', 'phps',
972 # Other types that may be interpreted by some servers
973 'shtml', 'jhtml', 'pl', 'py', 'cgi',
974 # May contain harmful executables for Windows victims
975 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
977 /** Files with these mime types will never be allowed as uploads
978 * if $wgVerifyMimeType is enabled.
980 $wgMimeTypeBlacklist= array(
981 # HTML may contain cookie-stealing JavaScript and web bugs
982 'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
983 # PHP scripts may execute arbitrary code on the server
984 'application/x-php', 'text/x-php',
985 # Other types that may be interpreted by some servers
986 'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh'
989 /** This is a flag to determine whether or not to check file extensions on upload. */
990 $wgCheckFileExtensions = true;
993 * If this is turned off, users may override the warning for files not covered
994 * by $wgFileExtensions.
996 $wgStrictFileExtensions = true;
998 /** Warn if uploaded files are larger than this */
999 $wgUploadSizeWarning = 150 * 1024;
1001 /** For compatibility with old installations set to false */
1002 $wgPasswordSalt = true;
1004 /** Which namespaces should support subpages?
1005 * See Language.php for a list of namespaces.
1007 $wgNamespacesWithSubpages = array(
1010 NS_USER_TALK
=> true,
1011 NS_PROJECT_TALK
=> true,
1012 NS_IMAGE_TALK
=> true,
1013 NS_MEDIAWIKI_TALK
=> true,
1014 NS_TEMPLATE_TALK
=> true,
1015 NS_HELP_TALK
=> true,
1016 NS_CATEGORY_TALK
=> true
1019 $wgNamespacesToBeSearchedDefault = array(
1023 /** If set, a bold ugly notice will show up at the top of every page. */
1031 /** dynamic server side image resizing ("Thumbnails") */
1032 $wgUseImageResize = false;
1035 * Resizing can be done using PHP's internal image libraries or using
1036 * ImageMagick. The later supports more file formats than PHP, which only
1037 * supports PNG, GIF, JPG, XBM and WBMP.
1039 * Use Image Magick instead of PHP builtin functions.
1041 $wgUseImageMagick = false;
1042 /** The convert command shipped with ImageMagick */
1043 $wgImageMagickConvertCommand = '/usr/bin/convert';
1045 # Scalable Vector Graphics (SVG) may be uploaded as images.
1046 # Since SVG support is not yet standard in browsers, it is
1047 # necessary to rasterize SVGs to PNG as a fallback format.
1049 # An external program is required to perform this conversion:
1050 $wgSVGConverters = array(
1051 'ImageMagick' => '$path/convert -background white -geometry $width $input $output',
1052 'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1053 'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1054 'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
1056 /** Pick one of the above */
1057 $wgSVGConverter = 'ImageMagick';
1058 /** If not in the executable PATH, specify */
1059 $wgSVGConverterPath = '';
1061 /** Set $wgCommandLineMode if it's not set already, to avoid notices */
1062 if( !isset( $wgCommandLineMode ) ) {
1063 $wgCommandLineMode = false;
1068 # Recent changes settings
1071 /** Log IP addresses in the recentchanges table */
1072 $wgPutIPinRC = false;
1075 * Recentchanges items are periodically purged; entries older than this many
1077 * For one week : 7 * 24 * 3600
1079 $wgRCMaxAge = 7 * 24 * 3600;
1083 # Copyright and credits settings
1086 /** RDF metadata toggles */
1087 $wgEnableDublinCoreRdf = false;
1088 $wgEnableCreativeCommonsRdf = false;
1090 /** Override for copyright metadata.
1091 * TODO: these options need documentation
1093 $wgRightsPage = NULL;
1094 $wgRightsUrl = NULL;
1095 $wgRightsText = NULL;
1096 $wgRightsIcon = NULL;
1098 /** Set this to some HTML to override the rights icon with an arbitrary logo */
1099 $wgCopyrightIcon = NULL;
1101 /* Set this to true if you want the annoying copyright confirmation
1102 * checkbox at Special:Upload */
1103 $wgCopyrightAffirmation = false;
1105 /** Set this to true if you want detailed copyright information forms on Upload. */
1106 $wgUseCopyrightUpload = false;
1108 /** Set this to false if you want to disable checking that detailed copyright
1109 * information values are not empty. */
1110 $wgCheckCopyrightUpload = true;
1113 * Set this to the number of authors that you want to be credited below an
1114 * article text. Set it to zero to hide the attribution block, and a negative
1115 * number (like -1) to show all authors. Note that this will# require 2-3 extra
1116 * database hits, which can have a not insignificant impact on performance for
1121 /** If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
1122 * Otherwise, link to a separate credits page. */
1123 $wgShowCreditsIfMax = true;
1128 * Set this to false to avoid forcing the first letter of links to capitals.
1129 * WARNING: may break links! This makes links COMPLETELY case-sensitive. Links
1130 * appearing with a capital at the beginning of a sentence will *not* go to the
1131 * same place as links in the middle of a sentence using a lowercase initial.
1133 $wgCapitalLinks = true;
1136 * List of interwiki prefixes for wikis we'll accept as sources for
1137 * Special:Import (for sysops). Since complete page history can be imported,
1138 * these should be 'trusted'.
1140 * If a user has the 'import' permission but not the 'importupload' permission,
1141 * they will only be able to run imports through this transwiki interface.
1143 $wgImportSources = array();
1147 /** Text matching this regular expression will be recognised as spam
1148 * See http://en.wikipedia.org/wiki/Regular_expression */
1149 $wgSpamRegex = false;
1150 /** Similarly if this function returns true */
1151 $wgFilterCallback = false;
1153 /** Go button goes straight to the edit screen if the article doesn't exist. */
1154 $wgGoToEdit = false;
1156 /** Allow limited user-specified HTML in wiki pages?
1157 * It will be run through a whitelist for security. Set this to false if you
1158 * want wiki pages to consist only of wiki markup. Note that replacements do not
1159 * yet exist for all HTML constructs.*/
1162 /** Allow raw, unchecked HTML in <html>...</html> sections.
1163 * THIS IS VERY DANGEROUS on a publically editable site, so you can't enable it
1164 * unless you've restricted editing to trusted users only with $wgWhitelistEdit.
1169 * $wgUseTidy: use tidy to make sure HTML output is sane.
1170 * This should only be enabled if $wgUserHtml is true.
1171 * tidy is a free tool that fixes broken HTML.
1172 * See http://www.w3.org/People/Raggett/tidy/
1173 * $wgTidyBin should be set to the path of the binary and
1174 * $wgTidyConf to the path of the configuration file.
1175 * $wgTidyOpts can include any number of parameters.
1177 * $wgTidyInternal controls the use of the PECL extension to use an in-
1178 * process tidy library instead of spawning a separate program.
1179 * Normally you shouldn't need to override the setting except for
1180 * debugging. To install, use 'pear install tidy' and add a line
1181 * 'extension=tidy.so' to php.ini.
1184 $wgTidyBin = 'tidy';
1185 $wgTidyConf = $IP.'/extensions/tidy/tidy.conf';
1187 $wgTidyInternal = function_exists( 'tidy_load_config' );
1189 /** See list of skins and their symbolic names in languages/Language.php */
1190 $wgDefaultSkin = 'monobook';
1193 * Settings added to this array will override the language globals for the user
1194 * preferences used by anonymous visitors and newly created accounts. (See names
1195 * and sample values in languages/Language.php)
1196 * For instance, to disable section editing links:
1197 * $wgDefaultUserOptions ['editsection'] = 0;
1200 $wgDefaultUserOptions = array();
1202 /** Whether or not to allow and use real name fields. Defaults to true. */
1203 $wgAllowRealName = true;
1205 /** Use XML parser? */
1206 $wgUseXMLparser = false ;
1209 $wgSkinExtensionFunctions = array();
1210 $wgExtensionFunctions = array();
1213 * Allow user Javascript page?
1214 * This enables a lot of neat customizations, but may
1215 * increase security risk to users and server load.
1217 $wgAllowUserJs = false;
1220 * Allow user Cascading Style Sheets (CSS)?
1221 * This enables a lot of neat customizations, but may
1222 * increase security risk to users and server load.
1224 $wgAllowUserCss = false;
1226 /** Use the site's Javascript page? */
1227 $wgUseSiteJs = true;
1229 /** Use the site's Cascading Style Sheets (CSS)? */
1230 $wgUseSiteCss = true;
1232 /** Filter for Special:Randompage. Part of a WHERE clause */
1233 $wgExtraRandompageSQL = false;
1235 /** Allow the "info" action, very inefficient at the moment */
1236 $wgAllowPageInfo = false;
1238 /** Maximum indent level of toc. */
1239 $wgMaxTocLevel = 999;
1241 /** Use external C++ diff engine (module wikidiff from the extensions package) */
1242 $wgUseExternalDiffEngine = false;
1244 /** Use RC Patrolling to check for vandalism */
1245 $wgUseRCPatrol = true;
1247 /** Set maximum number of results to return in syndication feeds (RSS, Atom) for
1248 * eg Recentchanges, Newpages. */
1251 /** _Minimum_ timeout for cached Recentchanges feed, in seconds.
1252 * A cached version will continue to be served out even if changes
1253 * are made, until this many seconds runs out since the last render. */
1254 $wgFeedCacheTimeout = 60;
1256 /** When generating Recentchanges RSS/Atom feed, diffs will not be generated for
1257 * pages larger than this size. */
1258 $wgFeedDiffCutoff = 32768;
1262 * Additional namespaces. If the namespaces defined in Language.php and
1263 * Namespace.php are insufficient,# you can create new ones here, for example,
1264 * to import Help files in other languages.
1265 * PLEASE NOTE: Once you delete a namespace, the pages in that namespace will
1266 * no longer be accessible. If you rename it, then you can access them through
1267 * the new namespace name.
1269 * Custom namespaces should start at 100 to avoid conflicting with standard
1270 * namespaces, and should always follow the even/odd main/talk pattern.
1272 #$wgExtraNamespaces =
1273 # array(100 => "Hilfe",
1274 # 101 => "Hilfe_Diskussion",
1276 # 103 => "Discussion_Aide"
1278 $wgExtraNamespaces = NULL;
1281 * Limit images on image description pages to a user-selectable limit. In order
1282 * to reduce disk usage, limits can only be selected from a list. This is the
1283 * list of settings the user can choose from:
1285 $wgImageLimits = array (
1291 array(10000,10000) );
1294 * Adjust thumbnails on image pages according to a user setting. In order to
1295 * reduce disk usage, the values can only be selected from a list. This is the
1296 * list of settings the user can choose from:
1298 $wgThumbLimits = array(
1308 * On category pages, show thumbnail gallery for images belonging to that
1309 * category instead of listing them as articles.
1311 $wgCategoryMagicGallery = true;
1314 * Browser Blacklist for unicode non compliant browsers
1315 * Contains a list of regexps : "/regexp/" matching problematic browsers
1317 $wgBrowserBlackList = array(
1318 "/Mozilla\/4\.78 \[en\] \(X11; U; Linux/",
1320 * MSIE on Mac OS 9 is teh sux0r, converts þ to <thorn>, ð to <eth>, Þ to <THORN> and Ð to <ETH>
1323 * - Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)
1324 * - Mozilla/4.0 (compatible; MSIE 5.15; Mac_PowerPC)
1325 * - Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
1328 * @link http://en.wikipedia.org/w/index.php?title=User%3A%C6var_Arnfj%F6r%F0_Bjarmason%2Ftestme&diff=12356041&oldid=12355864
1329 * @link http://en.wikipedia.org/wiki/Template%3AOS9
1331 "/Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/"
1335 * Fake out the timezone that the server thinks it's in. This will be used for
1336 * date display and not for what's stored in the DB. Leave to null to retain
1337 * your server's OS-based timezone value. This is the same as the timezone.
1339 # $wgLocaltimezone = 'GMT';
1340 # $wgLocaltimezone = 'PST8PDT';
1341 # $wgLocaltimezone = 'Europe/Sweden';
1342 # $wgLocaltimezone = 'CET';
1343 $wgLocaltimezone = null;
1347 * When translating messages with wfMsg(), it is not always clear what should be
1348 * considered UI messages and what shoud be content messages.
1350 * For example, for regular wikipedia site like en, there should be only one
1351 * 'mainpage', therefore when getting the link of 'mainpage', we should treate
1352 * it as content of the site and call wfMsgForContent(), while for rendering the
1353 * text of the link, we call wfMsg(). The code in default behaves this way.
1354 * However, sites like common do offer different versions of 'mainpage' and the
1355 * like for different languages. This array provides a way to override the
1356 * default behavior. For example, to allow language specific mainpage and
1357 * community portal, set
1359 * $wgForceUIMsgAsContentMsg = array( 'mainpage', 'portal-url' );
1361 $wgForceUIMsgAsContentMsg = array();
1365 * Authentication plugin.
1370 * Global list of hooks.
1371 * Add a hook by doing:
1372 * $wgHooks['event_name'][] = $function;
1374 * $wgHooks['event_name'][] = array($function, $data);
1376 * $wgHooks['event_name'][] = array($object, 'method');
1381 * Experimental preview feature to fetch rendered text
1382 * over an XMLHttpRequest from JavaScript instead of
1383 * forcing a submit and reload of the whole page.
1384 * Leave disabled unless you're testing it.
1386 $wgLivePreview = false;
1389 * Disable the internal MySQL-based search, to allow it to be
1390 * implemented by an extension instead.
1392 $wgDisableInternalSearch = false;
1395 * Set this to a URL to forward search requests to some external location.
1396 * If the URL includes '$1', this will be replaced with the URL-encoded
1399 * For example, to forward to Google you'd have something like:
1400 * $wgSearchForwardUrl = 'http://www.google.com/search?q=$1' .
1401 * '&domains=http://example.com' .
1402 * '&sitesearch=http://example.com' .
1403 * '&ie=utf-8&oe=utf-8';
1405 $wgSearchForwardUrl = null;
1408 * If true, external URL links in wiki text will be given the
1409 * rel="nofollow" attribute as a hint to search engines that
1410 * they should not be followed for ranking purposes as they
1411 * are user-supplied and thus subject to spamming.
1413 $wgNoFollowLinks = true;
1416 * Specifies the minimal length of a user password. If set to
1417 * 0, empty passwords are allowed.
1419 $wgMinimalPasswordLength = 0;
1422 * Activate external editor interface for files and pages
1423 * See http://meta.wikimedia.org/wiki/Help:External_editors
1425 $wgUseExternalEditor = true;
1427 /** Whether or not to sort special pages in Special:Specialpages */
1429 $wgSortSpecialPages = true;
1432 * Specify the name of a skin that should not be presented in the
1433 * list of available skins.
1434 * Use for blacklisting a skin which you do not want to remove
1435 * from the .../skins/ directory
1438 $wgSkipSkins = array(); # More of the same
1441 * Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
1443 $wgDisabledActions = array();
1446 * Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected from" link
1448 $wgDisableHardRedirects = false;
1451 * Use http.dnsbl.sorbs.net to check for open proxies
1453 $wgEnableSorbs = false;
1456 * Use opm.blitzed.org to check for open proxies.
1457 * Not yet actually used.
1459 $wgEnableOpm = false;
1462 * Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other
1465 $wgProxyWhitelist = array();
1468 * Simple rate limiter options to brake edit floods.
1469 * Maximum number actions allowed in the given number of seconds;
1470 * after that the violating client receives HTTP 500 error pages
1471 * until the period elapses.
1473 * array( 4, 60 ) for a maximum of 4 hits in 60 seconds.
1475 * This option set is experimental and likely to change.
1476 * Requires memcached.
1478 $wgRateLimits = array(
1480 'anon' => null, // for any and all anonymous edits (aggregate)
1481 'user' => null, // for each logged-in user
1482 'newbie' => null, // for each recent account; overrides 'user'
1483 'ip' => null, // for each anon and recent account
1484 'subnet' => null, // ... with final octet removed
1495 * Set to a filename to log rate limiter hits.
1497 $wgRateLimitLog = null;
1500 * On Special:Unusedimages, consider images "used", if they are put
1501 * into a category. Default (false) is not to count those as used.
1503 $wgCountCategorizedImagesAsUsed = false;
1506 * External stores allow including content
1507 * from non database sources following URL links
1509 * Short names of ExternalStore classes may be specified in an array here:
1510 * $wgExternalStores = array("http","file","custom")...
1512 * CAUTION: Access to database might lead to code execution
1514 $wgExternalStores = false;
1517 * list of trusted media-types and mime types.
1518 * Use the MEDIATYPE_xxx constants to represent media types.
1519 * This list is used by Image::isSafeFile
1521 * Types not listed here will have a warning about unsafe content
1522 * displayed on the images description page. It would also be possible
1523 * to use this for further restrictions, like disabling direct
1524 * [[media:...]] links for non-trusted formats.
1526 $wgTrustedMediaFormats= array(
1527 MEDIATYPE_BITMAP
, //all bitmap formats
1528 MEDIATYPE_AUDIO
, //all audio formats
1529 MEDIATYPE_VIDEO
, //all plain video formats
1530 "image/svg", //svg (only needed if inline rendering of svg is not supported)
1531 "application/pdf", //PDF files
1532 #"application/x-shockwafe-flash", //flash/shockwave movie
1536 * Allow special page inclusions such as {{Special:Allpages}}
1538 $wgAllowSpecialInclusion = true;