MediaWiki  master
DefaultSettings.php
Go to the documentation of this file.
1 <?php
46 if ( !defined( 'MEDIAWIKI' ) ) {
47  echo "This file is part of MediaWiki and is not a valid entry point\n";
48  die( 1 );
49 }
50 
59 
67  'main' => 'GlobalVarConfig::newInstance'
68 ];
69 
76 
80 $wgSitename = 'MediaWiki';
81 
82 /************************************************************************/
109 $wgServer = false;
110 
119 
126 
134 
147 
167 
177 $wgScriptPath = '/wiki';
178 
196 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
197  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
198  ( strpos( PHP_SAPI, 'isapi' ) === false );
199 
207 $wgScript = false;
208 
216 
222 $wgRestPath = false;
223 
229 $wgStylePath = false;
231 
238 
245 
251 $wgExtensionDirectory = "{$IP}/extensions";
252 
258 $wgStyleDirectory = "{$IP}/skins";
259 
268 
274 
288 
293 
299 
307 $wgLogo = false;
308 
326 $wgLogos = false;
327 
358 $wgLogoHD = false;
359 
364 $wgFavicon = '/favicon.ico';
365 
372 
392 
415 
422 
431 
447 
450 /************************************************************************/
465 
469 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
470 
479 
489 
497 $wgIllegalFileChars = ":\\/\\\\";
498 
504 
509 
525 
620 
635 
646 
676 
685 
694 
703 
710 $wgRepositoryBaseUrl = 'https://commons.wikimedia.org/wiki/File:';
711 
720 
730 
739 
748 
759 
770  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
771  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
772  // matching replacement to the 'filepage' format key below to make use of these.
773  'fields' => [
774  'description' => true,
775  'date' => false,
776  'categories' => false,
777  ],
778  // Suffix of localisation messages used to describe the license under which the uploaded file will
779  // be released. The same value may be set for both 'local' and 'foreign' uploads.
780  'licensemessages' => [
781  // The 'local' messages are used for local uploads on this wiki:
782  // * upload-form-label-own-work-message-generic-local
783  // * upload-form-label-not-own-work-message-generic-local
784  // * upload-form-label-not-own-work-local-generic-local
785  'local' => 'generic-local',
786  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
787  // * upload-form-label-own-work-message-generic-foreign
788  // * upload-form-label-not-own-work-message-generic-foreign
789  // * upload-form-label-not-own-work-local-generic-foreign
790  'foreign' => 'generic-foreign',
791  ],
792  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
793  // string value, in which case it is used for both kinds of uploads. Available replacements:
794  // * $HOST - domain name from which a cross-wiki upload originates
795  // * $PAGENAME - wiki page name from which an upload originates
796  'comment' => [
797  'local' => '',
798  'foreign' => '',
799  ],
800  // Format of the file page wikitext to be generated from the fields input by the user.
801  'format' => [
802  // Wrapper for the whole page. Available replacements:
803  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
804  // enabled), wrapped as defined below in the 'description' key
805  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
806  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
807  // * $AUTHOR - linked user name, may be extended in the future
808  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
809  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
810  // field is enabled), or if no input, as defined below in the 'uncategorized' key
811  'filepage' => '$DESCRIPTION',
812  // Wrapped for file description. Available replacements:
813  // * $LANGUAGE - source wiki's content language
814  // * $TEXT - input by the user
815  'description' => '$TEXT',
816  'ownwork' => '',
817  'license' => '',
818  'uncategorized' => '',
819  ],
820 ];
821 
860 
872 
884 $wgShowEXIF = function_exists( 'exif_read_data' );
885 
892 
899 
906 
913 
919 
931 
952 $wgMaxUploadSize = 1024 * 1024 * 100;
953 
969 
981 
988 
1001 
1010 
1018 
1027 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
1028 
1035  # HTML may contain cookie-stealing JavaScript and web bugs
1036  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
1037  # PHP scripts may execute arbitrary code on the server
1038  'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'phar',
1039  # Other types that may be interpreted by some servers
1040  'shtml', 'jhtml', 'pl', 'py', 'cgi',
1041  # May contain harmful executables for Windows victims
1042  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ];
1043 
1049  # HTML may contain cookie-stealing JavaScript and web bugs
1050  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
1051  # PHP scripts may execute arbitrary code on the server
1052  'application/x-php', 'text/x-php',
1053  # Other types that may be interpreted by some servers
1054  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
1055  # Client-side hazards on Internet Explorer
1056  'text/scriptlet', 'application/x-msdownload',
1057  # Windows metafile, client-side vulnerability on some systems
1058  'application/x-msmetafile',
1059 ];
1060 
1067 
1074 
1082 
1090 
1095 
1107  MEDIATYPE_BITMAP, // all bitmap formats
1108  MEDIATYPE_AUDIO, // all audio formats
1109  MEDIATYPE_VIDEO, // all plain video formats
1110  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
1111  "application/pdf", // PDF files
1112  # "application/x-shockwave-flash", //flash/shockwave movie
1113 ];
1114 
1123 
1129  'image/jpeg' => 'MockBitmapHandler',
1130  'image/png' => 'MockBitmapHandler',
1131  'image/gif' => 'MockBitmapHandler',
1132  'image/tiff' => 'MockBitmapHandler',
1133  'image/webp' => 'MockBitmapHandler',
1134  'image/x-ms-bmp' => 'MockBitmapHandler',
1135  'image/x-bmp' => 'MockBitmapHandler',
1136  'image/x-xcf' => 'MockBitmapHandler',
1137  'image/svg+xml' => 'MockSvgHandler',
1138  'image/vnd.djvu' => 'MockDjVuHandler',
1139 ];
1140 
1149  // the usual case
1150  CONTENT_MODEL_WIKITEXT => WikitextContentHandler::class,
1151  // dumb version, no syntax highlighting
1152  CONTENT_MODEL_JAVASCRIPT => JavaScriptContentHandler::class,
1153  // simple implementation, for use by extensions, etc.
1154  CONTENT_MODEL_JSON => JsonContentHandler::class,
1155  // dumb version, no syntax highlighting
1156  CONTENT_MODEL_CSS => CssContentHandler::class,
1157  // plain text, for use by extensions, etc.
1158  CONTENT_MODEL_TEXT => TextContentHandler::class,
1159 ];
1160 
1167 
1177 
1181 $wgImageMagickConvertCommand = '/usr/bin/convert';
1182 
1188 
1193 
1198 
1204 
1218 
1224 $wgJpegTran = '/usr/bin/jpegtran';
1225 
1246 
1255 
1260 $wgExiv2Command = '/usr/bin/exiv2';
1261 
1267 $wgExiftool = '/usr/bin/exiftool';
1268 
1279  'ImageMagick' =>
1280  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1281  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1282  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1283  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1284  . '$output $input',
1285  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1286  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1287  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1288 ];
1289 
1293 $wgSVGConverter = 'ImageMagick';
1294 
1299 
1304 
1310 
1320 
1335 
1343 
1358 
1365 $wgThumbnailEpoch = '20030516000000';
1366 
1374 
1387 
1409 
1414 
1421 
1428 
1464 
1465  # setup for clamav
1466  'clamav' => [
1467  'command' => 'clamscan --no-summary ',
1468  'codemap' => [
1469  "0" => AV_NO_VIRUS, # no virus
1470  "1" => AV_VIRUS_FOUND, # virus found
1471  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1472  "*" => AV_SCAN_FAILED, # else scan failed
1473  ],
1474  'messagepattern' => '/.*?:(.*)/sim',
1475  ],
1476 ];
1477 
1482 
1487 
1497 
1507 $wgMimeTypeFile = 'internal';
1508 
1513 $wgMimeInfoFile = 'internal';
1514 
1527 
1534 
1540  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1541  'svg' => 'image/svg+xml',
1542  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1543  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1544  'html' => 'text/html', // application/xhtml+xml?
1545 ];
1546 
1556  [ 320, 240 ],
1557  [ 640, 480 ],
1558  [ 800, 600 ],
1559  [ 1024, 768 ],
1560  [ 1280, 1024 ]
1561 ];
1562 
1569  120,
1570  150,
1571  180,
1572  200,
1573  250,
1574  300
1575 ];
1576 
1587 
1604 
1616 
1629 
1636 
1644 
1652 
1668 
1675 
1680 
1688 
1697 
1709 
1716 
1722 $wgDjvuTxt = null;
1723 
1739 
1745 $wgDjvuPostProcessor = 'pnmtojpeg';
1746 
1751  # end of DJvu }
1753  # end of file uploads }
1755 
1756 /************************************************************************/
1767 
1777 
1784 
1791 
1797 
1807 
1814 
1825 
1831 
1835 $wgNewPasswordExpiry = 3600 * 24 * 7;
1836 
1841 
1847 
1852 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1853 
1871 $wgSMTP = false;
1872 
1877 
1883 
1896 
1897 // TODO move UPO to preferences probably ?
1898 # If set to true, users get a corresponding option in their preferences and can choose to
1899 # enable or disable at their discretion
1900 # If set to false, the corresponding input form on the user preference page is suppressed
1901 # It call this to be a "user-preferences-option (UPO)"
1902 
1909 
1914 
1923 
1939 
1954 
1963 
1969 
1974 
1980  # end of email settings
1982 
1983 /************************************************************************/
1996 $wgDBname = 'my_wiki';
1997 
2007 
2017 
2021 $wgDBserver = 'localhost';
2022 
2026 $wgDBport = 5432;
2027 
2031 $wgDBuser = 'wikiuser';
2032 
2037 
2041 $wgDBtype = 'mysql';
2042 
2051 $wgDBssl = false;
2052 
2062 
2067 
2072 
2085 
2099 
2103 $wgDBTableOptions = 'ENGINE=InnoDB, DEFAULT CHARSET=binary';
2104 
2112 
2119 
2124 
2151 
2156 
2160 $wgSharedTables = [ 'user', 'user_properties' ];
2161 
2167 
2222 
2233 $wgLBFactoryConf = [ 'class' => \Wikimedia\Rdbms\LBFactorySimple::class ];
2234 
2242 
2247 
2267 
2282 
2289 
2294  # End of DB settings }
2296 
2297 /************************************************************************/
2309 
2322 
2338 
2354 
2362  # end text storage }
2364 
2365 /************************************************************************/
2374 
2379 
2384 
2389 
2394 
2399 
2404 
2410 
2418  # end performance hacks }
2420 
2421 /************************************************************************/
2435 
2454 
2462 
2470 
2477 
2487 
2502  CACHE_NONE => [ 'class' => EmptyBagOStuff::class, 'reportDupes' => false ],
2503  CACHE_DB => [ 'class' => SqlBagOStuff::class, 'loggroup' => 'SQLBagOStuff' ],
2504 
2505  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2506  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2507  CACHE_MEMCACHED => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2508 
2509  'db-replicated' => [
2510  'class' => ReplicatedBagOStuff::class,
2511  'readFactory' => [
2512  'factory' => 'ObjectCache::newFromParams',
2513  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => true ] ]
2514  ],
2515  'writeFactory' => [
2516  'factory' => 'ObjectCache::newFromParams',
2517  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => false ] ]
2518  ],
2519  'loggroup' => 'SQLBagOStuff',
2520  'reportDupes' => false
2521  ],
2522  'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2523  'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ],
2524  'hash' => [ 'class' => HashBagOStuff::class, 'reportDupes' => false ],
2525 
2526  // Deprecated since 1.35.
2527  // - To configure a wg*CacheType variable to use the local server cache,
2528  // use CACHE_ACCEL instead, which will select these automatically.
2529  // - To access the object for the local server cache at run-time,
2530  // use MediaWikiServices::getLocalServerObjectCache()
2531  // instead of e.g. ObjectCache::getInstance( 'apcu' ).
2532  // - To instantiate a new one of these explicitly, do so directly
2533  // by using `new APCUBagOStuff( [ … ] )`
2534  // - To instantiate a new one of these including auto-detection and fallback,
2535  // use ObjectCache::makeLocalServerCache().
2536  'apc' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2537  'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2538  'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ],
2539 ];
2540 
2563 
2590  CACHE_NONE => [
2591  'class' => WANObjectCache::class,
2592  'cacheId' => CACHE_NONE,
2593  ]
2594 ];
2595 
2608 
2644 $wgMainStash = 'db-replicated';
2645 
2651 
2656 
2674 
2681 
2685 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2686 
2692 
2697 
2710 
2718 
2751  'class' => LocalisationCache::class,
2752  'store' => 'detect',
2753  'storeClass' => false,
2754  'storeDirectory' => false,
2755  'storeServer' => [],
2756  'forceRecache' => false,
2757  'manualRecache' => false,
2758 ];
2759 
2764 
2773 $wgCacheEpoch = '20030516000000';
2774 
2780 
2787 
2795 
2801 
2812 
2817 
2824 
2831 $wgUseGzip = false;
2832 
2843 
2860  # end of cache settings
2862 
2863 /************************************************************************/
2884 $wgUseCdn = false;
2885 
2895 
2905 
2916 
2924 
2932 
2941 
2957 
2964 
2971 
2983 
2993 
3015 
3063 
3069 
3074  # end of HTTP proxy settings
3076 
3077 /************************************************************************/
3099 
3105 
3116 
3121 
3126 
3141 
3150 
3155 
3170  // Language codes of macro languages, which get mapped to the main language
3171  'bh' => 'bho', // Bihari language family
3172  'no' => 'nb', // Norwegian language family
3173 
3174  // Language variants which get mapped to the main language
3175  'simple' => 'en', // Simple English
3176 ];
3177 
3185 
3194 
3206 
3220 
3226 
3232 
3238 
3243 
3248 
3253 
3258 
3264 
3275 
3294 
3301 
3322 
3347 
3358 
3371  # End of language/charset settings
3373 
3374 /*************************************************************************/
3382 $wgMimeType = 'text/html';
3383 
3393 
3402 
3410 
3419 
3435 
3444 
3449 $wgDefaultSkin = 'vector';
3450 
3456 $wgFallbackSkin = 'fallback';
3457 
3469 
3476 
3483 
3491 
3496 
3501 
3507 
3528 
3540 
3545 
3574 $wgFragmentMode = [ 'legacy', 'html5' ];
3575 
3585 
3617  "copyright" => [
3618  "copyright" => [], // placeholder for the built in copyright icon
3619  ],
3620  "poweredby" => [
3621  "mediawiki" => [
3622  // Defaults to point at
3623  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3624  // plus srcset for 1.5x, 2x resolution variants.
3625  "src" => null,
3626  "url" => "https://www.mediawiki.org/",
3627  "alt" => "Powered by MediaWiki",
3628  ]
3629  ],
3630 ];
3631 
3639 
3643 $wgEdititis = false;
3644 
3657 
3668 
3676 
3686  # End of output format settings }
3688 
3689 /*************************************************************************/
3982 
4073 
4085 
4091 
4109  'versioned' => 30 * 24 * 60 * 60, // 30 days
4110  'unversioned' => 5 * 60, // 5 minutes
4111 ];
4112 
4120 
4127 
4134 
4161 
4176 
4185 
4195 
4201 
4209 
4222 
4233  # End of ResourceLoader settings }
4235 
4236 /*************************************************************************/
4246 
4255 
4283 
4291 
4314 
4339 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
4340 
4348 
4353 
4378 
4386 
4391  # end of Interwiki caching settings.
4393 
4409 $wgRedirectSources = false;
4410 
4419 
4434 
4440  NS_TALK => true,
4441  NS_USER => true,
4442  NS_USER_TALK => true,
4443  NS_PROJECT => true,
4444  NS_PROJECT_TALK => true,
4445  NS_FILE_TALK => true,
4446  NS_MEDIAWIKI => true,
4447  NS_MEDIAWIKI_TALK => true,
4448  NS_TEMPLATE => true,
4449  NS_TEMPLATE_TALK => true,
4450  NS_HELP => true,
4451  NS_HELP_TALK => true,
4453 ];
4454 
4471 
4479 
4487 
4496 
4503 
4514 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4515  # End of title and interwiki settings }
4517 
4518 /************************************************************************/
4540  'class' => Parser::class,
4541 ];
4542 
4547 
4553 
4561 
4566 
4578  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4579  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4580  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4581  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4582 ];
4583 
4588 
4593 
4607 
4620 
4631 
4651 $wgTidyConfig = [ 'driver' => 'RemexHtml' ];
4652 
4658 $wgRawHtml = false;
4659 
4670 
4678 
4684 
4698 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4699 
4704 
4711 
4717 
4723 
4728 
4734 
4742  'ISBN' => false,
4743  'PMID' => false,
4744  'RFC' => false
4745 ];
4746  # end of parser settings }
4748 
4749 /************************************************************************/
4771 
4780  # End of statistics }
4782 
4783 /************************************************************************/
4794  'local' => [ 'class' => LocalIdLookup::class ],
4795 ];
4796 
4802 
4874  'policies' => [
4875  'bureaucrat' => [
4876  'MinimalPasswordLength' => 10,
4877  'MinimumPasswordLengthToLogin' => 1,
4878  ],
4879  'sysop' => [
4880  'MinimalPasswordLength' => 10,
4881  'MinimumPasswordLengthToLogin' => 1,
4882  ],
4883  'interface-admin' => [
4884  'MinimalPasswordLength' => 10,
4885  'MinimumPasswordLengthToLogin' => 1,
4886  ],
4887  'bot' => [
4888  'MinimalPasswordLength' => 10,
4889  'MinimumPasswordLengthToLogin' => 1,
4890  ],
4891  'default' => [
4892  'MinimalPasswordLength' => [ 'value' => 1, 'suggestChangeOnLogin' => true ],
4893  'PasswordCannotMatchUsername' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4894  'PasswordCannotBeSubstringInUsername' => [
4895  'value' => true,
4896  'suggestChangeOnLogin' => true
4897  ],
4898  'PasswordCannotMatchDefaults' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4899  'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true ],
4900  'PasswordNotInCommonList' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4901  ],
4902  ],
4903  'checks' => [
4904  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4905  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4906  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4907  'PasswordCannotBeSubstringInUsername' =>
4908  'PasswordPolicyChecks::checkPasswordCannotBeSubstringInUsername',
4909  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchDefaults',
4910  'PasswordCannotMatchDefaults' => 'PasswordPolicyChecks::checkPasswordCannotMatchDefaults',
4911  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4912  'PasswordNotInLargeBlacklist' => 'PasswordPolicyChecks::checkPasswordNotInCommonList',
4913  'PasswordNotInCommonList' => 'PasswordPolicyChecks::checkPasswordNotInCommonList',
4914  ],
4915 ];
4916 
4937 
4943  'preauth' => [
4944  MediaWiki\Auth\ThrottlePreAuthenticationProvider::class => [
4945  'class' => MediaWiki\Auth\ThrottlePreAuthenticationProvider::class,
4946  'sort' => 0,
4947  ],
4948  ],
4949  'primaryauth' => [
4950  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4951  // any other PasswordAuthenticationRequest-based
4952  // PrimaryAuthenticationProvider (or at least any that might return
4953  // FAIL rather than ABSTAIN for a wrong password), or password reset
4954  // won't work right. Do not remove this (or change the key) or
4955  // auto-configuration of other such providers in extensions will
4956  // probably auto-insert themselves in the wrong place.
4957  MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class => [
4958  'class' => MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class,
4959  'args' => [ [
4960  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4961  'authoritative' => false,
4962  ] ],
4963  'sort' => 0,
4964  ],
4965  MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class => [
4966  'class' => MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class,
4967  'args' => [ [
4968  // Last one should be authoritative, or else the user will get
4969  // a less-than-helpful error message (something like "supplied
4970  // authentication info not supported" rather than "wrong
4971  // password") if it too fails.
4972  'authoritative' => true,
4973  ] ],
4974  'sort' => 100,
4975  ],
4976  ],
4977  'secondaryauth' => [
4978  MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class => [
4979  'class' => MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class,
4980  'sort' => 0,
4981  ],
4982  MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class => [
4983  'class' => MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class,
4984  'sort' => 100,
4985  ],
4986  // Linking during login is experimental, enable at your own risk - T134952
4987  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4988  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4989  // 'sort' => 100,
4990  // ],
4991  MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class => [
4992  'class' => MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class,
4993  'sort' => 200,
4994  ],
4995  ],
4996 ];
4997 
5037  'default' => 300,
5038 ];
5039 
5056  'default' => true,
5057 ];
5058 
5069  \MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::class
5070 ];
5071 
5082  \MediaWiki\Auth\PasswordAuthenticationRequest::class,
5083 ];
5084 
5091 
5104 
5111 
5121 
5142  'A' => [
5143  'class' => MWOldPassword::class,
5144  ],
5145  'B' => [
5146  'class' => MWSaltedPassword::class,
5147  ],
5148  'pbkdf2-legacyA' => [
5149  'class' => LayeredParameterizedPassword::class,
5150  'types' => [
5151  'A',
5152  'pbkdf2',
5153  ],
5154  ],
5155  'pbkdf2-legacyB' => [
5156  'class' => LayeredParameterizedPassword::class,
5157  'types' => [
5158  'B',
5159  'pbkdf2',
5160  ],
5161  ],
5162  'bcrypt' => [
5163  'class' => BcryptPassword::class,
5164  'cost' => 9,
5165  ],
5166  'pbkdf2' => [
5167  'class' => Pbkdf2Password::class,
5168  'algo' => 'sha512',
5169  'cost' => '30000',
5170  'length' => '64',
5171  ],
5172  'argon2' => [
5173  'class' => Argon2Password::class,
5174 
5175  // Algorithm used:
5176  // * 'argon2i' is optimized against side-channel attacks (PHP 7.2+)
5177  // * 'argon2id' is optimized against both side-channel and GPU cracking (PHP 7.3+)
5178  // * 'auto' to use best available algorithm. If you're using more than one server, be
5179  // careful when you're mixing PHP versions because newer PHP might generate hashes that
5180  // older versions might would not understand.
5181  'algo' => 'auto',
5182 
5183  // The parameters below are the same as options accepted by password_hash().
5184  // Set them to override that function's defaults.
5185  //
5186  // 'memory_cost' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
5187  // 'time_cost' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
5188  // 'threads' => PASSWORD_ARGON2_DEFAULT_THREADS,
5189  ],
5190 ];
5191 
5199  'username' => true,
5200  'email' => true,
5201 ];
5202 
5207 
5219 
5226 $wgSignatureAllowedLintErrors = [ 'obsolete-tag' ];
5227 
5233 
5239  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
5240  'Conversion script', // Used for the old Wikipedia software upgrade
5241  'Maintenance script', // Maintenance scripts which perform editing, image import script
5242  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
5243  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
5244  'Unknown user', // Used in WikiImporter and RevisionStore for revisions with no author
5245  'msg:double-redirect-fixer', // Automatic double redirect fix
5246  'msg:usermessage-editor', // Default user for leaving user messages
5247  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
5248  'msg:sorbs', // For $wgEnableDnsBlacklist etc.
5249  'msg:spambot_username', // Used by cleanupSpam.php
5250  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
5251 ];
5252 
5260  'ccmeonemails' => 0,
5261  'date' => 'default',
5262  'diffonly' => 0,
5263  'disablemail' => 0,
5264  'editfont' => 'monospace',
5265  'editondblclick' => 0,
5266  'editsectiononrightclick' => 0,
5267  'email-allow-new-users' => 1,
5268  'enotifminoredits' => 0,
5269  'enotifrevealaddr' => 0,
5270  'enotifusertalkpages' => 1,
5271  'enotifwatchlistpages' => 1,
5272  'extendwatchlist' => 1,
5273  'fancysig' => 0,
5274  'forceeditsummary' => 0,
5275  'gender' => 'unknown',
5276  'hideminor' => 0,
5277  'hidepatrolled' => 0,
5278  'hidecategorization' => 1,
5279  'imagesize' => 2,
5280  'minordefault' => 0,
5281  'newpageshidepatrolled' => 0,
5282  'nickname' => '',
5283  'norollbackdiff' => 0,
5284  'numberheadings' => 0,
5285  'previewonfirst' => 0,
5286  'previewontop' => 1,
5287  'rcdays' => 7,
5288  'rcenhancedfilters-disable' => 0,
5289  'rclimit' => 50,
5290  'search-match-redirect' => true,
5291  'showhiddencats' => 0,
5292  'shownumberswatching' => 1,
5293  'showrollbackconfirmation' => 0,
5294  'skin' => false,
5295  'stubthreshold' => 0,
5296  'thumbsize' => 5,
5297  'underline' => 2,
5298  'uselivepreview' => 0,
5299  'usenewrc' => 1,
5300  'watchcreations' => 1,
5301  'watchdefault' => 1,
5302  'watchdeletion' => 0,
5303  'watchuploads' => 1,
5304  'watchlistdays' => 7.0,
5305  'watchlisthideanons' => 0,
5306  'watchlisthidebots' => 0,
5307  'watchlisthideliu' => 0,
5308  'watchlisthideminor' => 0,
5309  'watchlisthideown' => 0,
5310  'watchlisthidepatrolled' => 0,
5311  'watchlisthidecategorization' => 1,
5312  'watchlistreloadautomatically' => 0,
5313  'watchlistunwatchlinks' => 0,
5314  'watchmoves' => 0,
5315  'watchrollback' => 0,
5316  'wlenhancedfilters-disable' => 0,
5317  'wllimit' => 250,
5318  'useeditwarning' => 1,
5319  'prefershttps' => 1,
5320  'requireemail' => 0,
5321 ];
5322 
5327 
5334 
5345 
5353 
5365 
5375  MediaWiki\Session\CookieSessionProvider::class => [
5376  'class' => MediaWiki\Session\CookieSessionProvider::class,
5377  'args' => [ [
5378  'priority' => 30,
5379  'callUserSetCookiesHook' => true,
5380  ] ],
5381  ],
5382  MediaWiki\Session\BotPasswordSessionProvider::class => [
5383  'class' => MediaWiki\Session\BotPasswordSessionProvider::class,
5384  'args' => [ [
5385  'priority' => 75,
5386  ] ],
5387  ],
5388 ];
5389 
5398  # end user accounts }
5400 
5401 /************************************************************************/
5410 
5419 
5435  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5436  'IPv6' => 19,
5437 ];
5438 
5447 
5469 
5497 
5503 
5509 
5535 
5537 // Implicit group for all visitors
5538 $wgGroupPermissions['*']['createaccount'] = true;
5539 $wgGroupPermissions['*']['read'] = true;
5540 $wgGroupPermissions['*']['edit'] = true;
5541 $wgGroupPermissions['*']['createpage'] = true;
5542 $wgGroupPermissions['*']['createtalk'] = true;
5543 $wgGroupPermissions['*']['writeapi'] = true;
5544 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5545 $wgGroupPermissions['*']['editmywatchlist'] = true;
5546 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5547 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5548 $wgGroupPermissions['*']['editmyoptions'] = true;
5549 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5550 
5551 // Implicit group for all logged-in accounts
5552 $wgGroupPermissions['user']['move'] = true;
5553 $wgGroupPermissions['user']['move-subpages'] = true;
5554 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5555 $wgGroupPermissions['user']['move-categorypages'] = true;
5556 $wgGroupPermissions['user']['movefile'] = true;
5557 $wgGroupPermissions['user']['read'] = true;
5558 $wgGroupPermissions['user']['edit'] = true;
5559 $wgGroupPermissions['user']['createpage'] = true;
5560 $wgGroupPermissions['user']['createtalk'] = true;
5561 $wgGroupPermissions['user']['writeapi'] = true;
5562 $wgGroupPermissions['user']['upload'] = true;
5563 $wgGroupPermissions['user']['reupload'] = true;
5564 $wgGroupPermissions['user']['reupload-shared'] = true;
5565 $wgGroupPermissions['user']['minoredit'] = true;
5566 $wgGroupPermissions['user']['editmyusercss'] = true;
5567 $wgGroupPermissions['user']['editmyuserjson'] = true;
5568 $wgGroupPermissions['user']['editmyuserjs'] = true;
5569 $wgGroupPermissions['user']['editmyuserjsredirect'] = true;
5570 $wgGroupPermissions['user']['purge'] = true;
5571 $wgGroupPermissions['user']['sendemail'] = true;
5572 $wgGroupPermissions['user']['applychangetags'] = true;
5573 $wgGroupPermissions['user']['changetags'] = true;
5574 $wgGroupPermissions['user']['editcontentmodel'] = true;
5575 
5576 // Implicit group for accounts that pass $wgAutoConfirmAge
5577 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5578 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5579 
5580 // Users with bot privilege can have their edits hidden
5581 // from various log pages by default
5582 $wgGroupPermissions['bot']['bot'] = true;
5583 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5584 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5585 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5586 $wgGroupPermissions['bot']['autopatrol'] = true;
5587 $wgGroupPermissions['bot']['suppressredirect'] = true;
5588 $wgGroupPermissions['bot']['apihighlimits'] = true;
5589 $wgGroupPermissions['bot']['writeapi'] = true;
5590 
5591 // Most extra permission abilities go to this group
5592 $wgGroupPermissions['sysop']['block'] = true;
5593 $wgGroupPermissions['sysop']['createaccount'] = true;
5594 $wgGroupPermissions['sysop']['delete'] = true;
5595 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5596 $wgGroupPermissions['sysop']['bigdelete'] = true;
5597 // can view deleted history entries, but not see or restore the text
5598 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5599 // can view deleted revision text
5600 $wgGroupPermissions['sysop']['deletedtext'] = true;
5601 $wgGroupPermissions['sysop']['undelete'] = true;
5602 $wgGroupPermissions['sysop']['editinterface'] = true;
5603 $wgGroupPermissions['sysop']['editsitejson'] = true;
5604 $wgGroupPermissions['sysop']['edituserjson'] = true;
5605 $wgGroupPermissions['sysop']['import'] = true;
5606 $wgGroupPermissions['sysop']['importupload'] = true;
5607 $wgGroupPermissions['sysop']['move'] = true;
5608 $wgGroupPermissions['sysop']['move-subpages'] = true;
5609 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5610 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5611 $wgGroupPermissions['sysop']['patrol'] = true;
5612 $wgGroupPermissions['sysop']['autopatrol'] = true;
5613 $wgGroupPermissions['sysop']['protect'] = true;
5614 $wgGroupPermissions['sysop']['editprotected'] = true;
5615 $wgGroupPermissions['sysop']['rollback'] = true;
5616 $wgGroupPermissions['sysop']['upload'] = true;
5617 $wgGroupPermissions['sysop']['reupload'] = true;
5618 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5619 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5620 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5621 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5622 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5623 $wgGroupPermissions['sysop']['blockemail'] = true;
5624 $wgGroupPermissions['sysop']['markbotedits'] = true;
5625 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5626 $wgGroupPermissions['sysop']['browsearchive'] = true;
5627 $wgGroupPermissions['sysop']['noratelimit'] = true;
5628 $wgGroupPermissions['sysop']['movefile'] = true;
5629 $wgGroupPermissions['sysop']['unblockself'] = true;
5630 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5631 # $wgGroupPermissions['sysop']['pagelang'] = true;
5632 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5633 $wgGroupPermissions['sysop']['mergehistory'] = true;
5634 $wgGroupPermissions['sysop']['managechangetags'] = true;
5635 $wgGroupPermissions['sysop']['deletechangetags'] = true;
5636 
5637 $wgGroupPermissions['interface-admin']['editinterface'] = true;
5638 $wgGroupPermissions['interface-admin']['editsitecss'] = true;
5639 $wgGroupPermissions['interface-admin']['editsitejson'] = true;
5640 $wgGroupPermissions['interface-admin']['editsitejs'] = true;
5641 $wgGroupPermissions['interface-admin']['editusercss'] = true;
5642 $wgGroupPermissions['interface-admin']['edituserjson'] = true;
5643 $wgGroupPermissions['interface-admin']['edituserjs'] = true;
5644 
5645 // Permission to change users' group assignments
5646 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5647 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5648 // Permission to change users' groups assignments across wikis
5649 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5650 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5651 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5652 
5653 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5654 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5655 // To hide usernames from users and Sysops
5656 $wgGroupPermissions['suppress']['hideuser'] = true;
5657 // To hide revisions/log items from users and Sysops
5658 $wgGroupPermissions['suppress']['suppressrevision'] = true;
5659 // To view revisions/log items hidden from users and Sysops
5660 $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5661 // For private suppression log access
5662 $wgGroupPermissions['suppress']['suppressionlog'] = true;
5663 // Basic rights for revision delete
5664 $wgGroupPermissions['suppress']['deleterevision'] = true;
5665 $wgGroupPermissions['suppress']['deletelogentry'] = true;
5666 
5673 # $wgGroupPermissions['developer']['siteadmin'] = true;
5674 
5687 
5691 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5692 
5715 
5720 
5728 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5729 
5741 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5742 
5753 
5767 
5776 
5787 
5809 
5820 
5879  'autoconfirmed' => [ '&',
5882  ],
5883 ];
5884 
5904  'onEdit' => [],
5905 ];
5906 
5912 
5936 
5941 
5947 
5953 
5959 
5968 
5991  'count' => 0,
5992  'seconds' => 86400,
5993 ] ];
5994 
6007 
6012 
6019 
6043 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
6044 
6050 
6059 
6066 
6103  // Page edits
6104  'edit' => [
6105  'ip' => [ 8, 60 ],
6106  'newbie' => [ 8, 60 ],
6107  'user' => [ 90, 60 ],
6108  ],
6109  // Page moves
6110  'move' => [
6111  'newbie' => [ 2, 120 ],
6112  'user' => [ 8, 60 ],
6113  ],
6114  // File uploads
6115  'upload' => [
6116  'ip' => [ 8, 60 ],
6117  'newbie' => [ 8, 60 ],
6118  ],
6119  // Page rollbacks
6120  'rollback' => [
6121  'user' => [ 10, 60 ],
6122  'newbie' => [ 5, 120 ]
6123  ],
6124  // Triggering password resets emails
6125  'mailpassword' => [
6126  'ip' => [ 5, 3600 ],
6127  ],
6128  // Emailing other users using MediaWiki
6129  'emailuser' => [
6130  'ip' => [ 5, 86400 ],
6131  'newbie' => [ 5, 86400 ],
6132  'user' => [ 20, 86400 ],
6133  ],
6134  'changeemail' => [
6135  'ip-all' => [ 10, 3600 ],
6136  'user' => [ 4, 86400 ]
6137  ],
6138  // since 1.33 - rate limit email confirmations
6139  'confirmemail' => [
6140  'ip-all' => [ 10, 3600 ],
6141  'user' => [ 4, 86400 ]
6142  ],
6143  // Purging pages
6144  'purge' => [
6145  'ip' => [ 30, 60 ],
6146  'user' => [ 30, 60 ],
6147  ],
6148  // Purges of link tables
6149  'linkpurge' => [
6150  'ip' => [ 30, 60 ],
6151  'user' => [ 30, 60 ],
6152  ],
6153  // Files rendered via thumb.php or thumb_handler.php
6154  'renderfile' => [
6155  'ip' => [ 700, 30 ],
6156  'user' => [ 700, 30 ],
6157  ],
6158  // Same as above but for non-standard thumbnails
6159  'renderfile-nonstandard' => [
6160  'ip' => [ 70, 30 ],
6161  'user' => [ 70, 30 ],
6162  ],
6163  // Stashing edits into cache before save
6164  'stashedit' => [
6165  'ip' => [ 30, 60 ],
6166  'newbie' => [ 30, 60 ],
6167  ],
6168  // Adding or removing change tags
6169  'changetag' => [
6170  'ip' => [ 8, 60 ],
6171  'newbie' => [ 8, 60 ],
6172  ],
6173  // Changing the content model of a page
6174  'editcontentmodel' => [
6175  'newbie' => [ 2, 120 ],
6176  'user' => [ 8, 60 ],
6177  ],
6178 ];
6179 
6185 
6192 
6198 
6212  // Short term limit
6213  [ 'count' => 5, 'seconds' => 300 ],
6214  // Long term limit. We need to balance the risk
6215  // of somebody using this as a DoS attack to lock someone
6216  // out of their account, and someone doing a brute force attack.
6217  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
6218 ];
6219 
6231 
6232 // @TODO: clean up grants
6233 // @TODO: auto-include read/editsemiprotected rights?
6234 
6235 $wgGrantPermissions['basic']['autocreateaccount'] = true;
6236 $wgGrantPermissions['basic']['autoconfirmed'] = true;
6237 $wgGrantPermissions['basic']['autopatrol'] = true;
6238 $wgGrantPermissions['basic']['editsemiprotected'] = true;
6239 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
6240 $wgGrantPermissions['basic']['nominornewtalk'] = true;
6241 $wgGrantPermissions['basic']['patrolmarks'] = true;
6242 $wgGrantPermissions['basic']['purge'] = true;
6243 $wgGrantPermissions['basic']['read'] = true;
6244 $wgGrantPermissions['basic']['writeapi'] = true;
6245 
6246 $wgGrantPermissions['highvolume']['bot'] = true;
6247 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
6248 $wgGrantPermissions['highvolume']['noratelimit'] = true;
6249 $wgGrantPermissions['highvolume']['markbotedits'] = true;
6250 
6251 $wgGrantPermissions['editpage']['edit'] = true;
6252 $wgGrantPermissions['editpage']['minoredit'] = true;
6253 $wgGrantPermissions['editpage']['applychangetags'] = true;
6254 $wgGrantPermissions['editpage']['changetags'] = true;
6255 
6256 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
6257 $wgGrantPermissions['editprotected']['editprotected'] = true;
6258 
6259 // FIXME: Rename editmycssjs to editmyconfig
6260 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
6261 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
6262 $wgGrantPermissions['editmycssjs']['editmyuserjson'] = true;
6263 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
6264 
6265 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
6266 $wgGrantPermissions['editmyoptions']['editmyuserjson'] = true;
6267 
6268 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
6269 $wgGrantPermissions['editinterface']['editinterface'] = true;
6270 $wgGrantPermissions['editinterface']['edituserjson'] = true;
6271 $wgGrantPermissions['editinterface']['editsitejson'] = true;
6272 
6273 $wgGrantPermissions['editsiteconfig'] = $wgGrantPermissions['editinterface'];
6274 $wgGrantPermissions['editsiteconfig']['editusercss'] = true;
6275 $wgGrantPermissions['editsiteconfig']['edituserjs'] = true;
6276 $wgGrantPermissions['editsiteconfig']['editsitecss'] = true;
6277 $wgGrantPermissions['editsiteconfig']['editsitejs'] = true;
6278 
6279 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
6280 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
6281 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
6282 $wgGrantPermissions['createeditmovepage']['move'] = true;
6283 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
6284 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
6285 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
6286 $wgGrantPermissions['createeditmovepage']['suppressredirect'] = true;
6287 
6288 $wgGrantPermissions['uploadfile']['upload'] = true;
6289 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
6290 
6291 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
6292 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
6293 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
6294 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
6295 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
6296 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
6297 
6298 $wgGrantPermissions['patrol']['patrol'] = true;
6299 
6300 $wgGrantPermissions['rollback']['rollback'] = true;
6301 
6302 $wgGrantPermissions['blockusers']['block'] = true;
6303 $wgGrantPermissions['blockusers']['blockemail'] = true;
6304 
6305 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
6306 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
6307 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
6308 
6309 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
6310 
6311 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
6312  $wgGrantPermissions['viewdeleted'];
6313 $wgGrantPermissions['delete']['delete'] = true;
6314 $wgGrantPermissions['delete']['bigdelete'] = true;
6315 $wgGrantPermissions['delete']['deletelogentry'] = true;
6316 $wgGrantPermissions['delete']['deleterevision'] = true;
6317 $wgGrantPermissions['delete']['undelete'] = true;
6318 
6319 $wgGrantPermissions['oversight']['suppressrevision'] = true;
6320 
6321 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
6322 $wgGrantPermissions['protect']['protect'] = true;
6323 
6324 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
6325 
6326 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
6327 
6328 $wgGrantPermissions['sendemail']['sendemail'] = true;
6329 
6330 $wgGrantPermissions['createaccount']['createaccount'] = true;
6331 
6332 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
6333 
6339  // Hidden grants are implicitly present
6340  'basic' => 'hidden',
6341 
6342  'editpage' => 'page-interaction',
6343  'createeditmovepage' => 'page-interaction',
6344  'editprotected' => 'page-interaction',
6345  'patrol' => 'page-interaction',
6346 
6347  'uploadfile' => 'file-interaction',
6348  'uploadeditmovefile' => 'file-interaction',
6349 
6350  'sendemail' => 'email',
6351 
6352  'viewmywatchlist' => 'watchlist-interaction',
6353  'editviewmywatchlist' => 'watchlist-interaction',
6354 
6355  'editmycssjs' => 'customization',
6356  'editmyoptions' => 'customization',
6357 
6358  'editinterface' => 'administration',
6359  'editsiteconfig' => 'administration',
6360  'rollback' => 'administration',
6361  'blockusers' => 'administration',
6362  'delete' => 'administration',
6363  'viewdeleted' => 'administration',
6364  'viewrestrictedlogs' => 'administration',
6365  'protect' => 'administration',
6366  'oversight' => 'administration',
6367  'createaccount' => 'administration',
6368 
6369  'highvolume' => 'high-volume',
6370 
6371  'privateinfo' => 'private-information',
6372 ];
6373 
6379 
6386 
6396  # end of user rights settings
6398 
6399 /************************************************************************/
6408 
6418  # end of proxy scanner settings
6420 
6421 /************************************************************************/
6429 $wgCookieExpiration = 30 * 86400;
6430 
6438 
6444 
6450 
6461 $wgCookieSecure = 'detect';
6462 
6470 
6477 
6484 
6489 
6494 
6503 
6512  # end of cookie settings }
6514 
6515 /************************************************************************/
6526 $wgUseTeX = false;
6527  # end LaTeX }
6529 
6530 /************************************************************************/
6544 
6549 
6556 
6563 
6573 
6582 
6589  // HTTP GET/HEAD requests.
6590  // Master queries should not happen on GET requests
6591  'GET' => [
6592  'masterConns' => 0,
6593  'writes' => 0,
6594  'readQueryTime' => 5,
6595  'readQueryRows' => 10000
6596  ],
6597  // HTTP POST requests.
6598  // Master reads and writes will happen for a subset of these.
6599  'POST' => [
6600  'readQueryTime' => 5,
6601  'writeQueryTime' => 1,
6602  'readQueryRows' => 100000,
6603  'maxAffected' => 1000
6604  ],
6605  'POST-nonwrite' => [
6606  'writes' => 0,
6607  'readQueryTime' => 5,
6608  'readQueryRows' => 10000
6609  ],
6610  // Deferred updates that run after HTTP response is sent for GET requests
6611  'PostSend-GET' => [
6612  'readQueryTime' => 5,
6613  'writeQueryTime' => 1,
6614  'readQueryRows' => 10000,
6615  'maxAffected' => 1000,
6616  // Log master queries under the post-send entry point as they are discouraged
6617  'masterConns' => 0,
6618  'writes' => 0,
6619  ],
6620  // Deferred updates that run after HTTP response is sent for POST requests
6621  'PostSend-POST' => [
6622  'readQueryTime' => 5,
6623  'writeQueryTime' => 1,
6624  'readQueryRows' => 100000,
6625  'maxAffected' => 1000
6626  ],
6627  // Background job runner
6628  'JobRunner' => [
6629  'readQueryTime' => 30,
6630  'writeQueryTime' => 5,
6631  'readQueryRows' => 100000,
6632  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
6633  ],
6634  // Command-line scripts
6635  'Maintenance' => [
6636  'writeQueryTime' => 5,
6637  'maxAffected' => 1000
6638  ]
6639 ];
6640 
6672 
6695  'class' => \MediaWiki\Logger\LegacySpi::class,
6696 ];
6697 
6704 
6709 
6719 
6727 
6739 
6744 
6750 
6755 
6762 
6768 
6775 
6830 
6842 
6851 
6859  'wanobjectcache:*' => 0.001
6860 ];
6861 
6868 
6883 
6888 
6894 
6903  # end of profiling, testing and debugging }
6905 
6906 /************************************************************************/
6915 
6921 
6926 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6927 
6939 
6949  'application/x-suggestions+json' => false,
6950  'application/x-suggestions+xml' => false,
6951 ];
6952 
6960 
6966 
6971 
6976 
6982 
6993  NS_MAIN => true,
6994 ];
6995 
7001 
7018 
7028 
7035 
7051 
7058  # end of search settings
7060 
7061 /************************************************************************/
7070 $wgDiff3 = '/usr/bin/diff3';
7071 
7075 $wgDiff = '/usr/bin/diff';
7076 
7083  NS_CATEGORY => true
7084 ];
7085 
7092 
7099  # end edit UI }
7101 
7102 /************************************************************************/
7112 if ( !isset( $wgCommandLineMode ) ) {
7113  $wgCommandLineMode = false;
7114 }
7121 
7131 
7138 
7147 
7158 
7162 $wgGitBin = '/usr/bin/git';
7163 
7178  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
7179  'https://gerrit.wikimedia.org/g/%R/+/%H',
7180  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
7181  'https://gerrit.wikimedia.org/g/%R/+/%H',
7182 ];
7183  # End of maintenance }
7185 
7186 /************************************************************************/
7196 $wgRCMaxAge = 90 * 24 * 3600;
7197 
7203 $wgWatchersMaxAge = 180 * 24 * 3600;
7204 
7212 
7221 
7226 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
7227 
7234 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
7235 
7297 
7304  'redis' => RedisPubSubFeedEngine::class,
7305  'udp' => UDPRCFeedEngine::class,
7306 ];
7307 
7320 
7330 
7337 
7346 
7357 
7361 $wgFeed = true;
7362 
7368 
7378 
7384 
7398 
7405  'rss' => RSSFeed::class,
7406  'atom' => AtomFeed::class,
7407 ];
7408 
7414 
7419 
7424 
7431 
7437 
7443 
7449 
7465  'mw-contentmodelchange' => true,
7466  'mw-new-redirect' => true,
7467  'mw-removed-redirect' => true,
7468  'mw-changed-redirect-target' => true,
7469  'mw-blank' => true,
7470  'mw-replace' => true,
7471  'mw-rollback' => true,
7472  'mw-undo' => true,
7473 ];
7474 
7483 
7509  'newpage' => [
7510  'letter' => 'newpageletter',
7511  'title' => 'recentchanges-label-newpage',
7512  'legend' => 'recentchanges-legend-newpage',
7513  'grouping' => 'any',
7514  ],
7515  'minor' => [
7516  'letter' => 'minoreditletter',
7517  'title' => 'recentchanges-label-minor',
7518  'legend' => 'recentchanges-legend-minor',
7519  'class' => 'minoredit',
7520  'grouping' => 'all',
7521  ],
7522  'bot' => [
7523  'letter' => 'boteditletter',
7524  'title' => 'recentchanges-label-bot',
7525  'legend' => 'recentchanges-legend-bot',
7526  'class' => 'botedit',
7527  'grouping' => 'all',
7528  ],
7529  'unpatrolled' => [
7530  'letter' => 'unpatrolledletter',
7531  'title' => 'recentchanges-label-unpatrolled',
7532  'legend' => 'recentchanges-legend-unpatrolled',
7533  'grouping' => 'any',
7534  ],
7535 ];
7536  # end RC/watchlist }
7538 
7539 /************************************************************************/
7552 
7559 
7567 
7572 
7577 
7586 
7592  # end of copyright and credits settings }
7594 
7595 /************************************************************************/
7623 
7632 
7639 
7646 
7651 
7664 
7669 
7674 
7682  # end of import/export }
7684 
7685 /*************************************************************************/
7695 
7723 
7750 
7757 
7773 
7778 
7804 
7812 
7817 
7826 
7886 
7922 
7935  __DIR__ . '/ServiceWiring.php'
7936 ];
7937 
7946  'deletePage' => DeletePageJob::class,
7947  'refreshLinks' => RefreshLinksJob::class,
7948  'deleteLinks' => DeleteLinksJob::class,
7949  'htmlCacheUpdate' => HTMLCacheUpdateJob::class,
7950  'sendMail' => EmaillingJob::class,
7951  'enotifNotify' => EnotifNotifyJob::class,
7952  'fixDoubleRedirect' => DoubleRedirectJob::class,
7953  'AssembleUploadChunks' => AssembleUploadChunksJob::class,
7954  'PublishStashedFile' => PublishStashedFileJob::class,
7955  'ThumbnailRender' => ThumbnailRenderJob::class,
7956  'recentChangesUpdate' => RecentChangesUpdateJob::class,
7957  'refreshLinksPrioritized' => RefreshLinksJob::class,
7958  'refreshLinksDynamic' => RefreshLinksJob::class,
7959  'activityUpdateJob' => ActivityUpdateJob::class,
7960  'categoryMembershipChange' => CategoryMembershipChangeJob::class,
7961  'clearUserWatchlist' => ClearUserWatchlistJob::class,
7962  'watchlistExpiry' => WatchlistExpiryJob::class,
7963  'cdnPurge' => CdnPurgeJob::class,
7964  'userGroupExpiry' => UserGroupExpiryJob::class,
7965  'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class,
7966  'userOptionsUpdate' => UserOptionsUpdateJob::class,
7967  'enqueue' => EnqueueJob::class, // local queue for multi-DC setups
7968  'null' => NullJob::class,
7969 ];
7970 
7982 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7983 
7994 
8009 
8017  'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
8018 ];
8019 
8032 
8038  'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
8039 ];
8040 
8049  'hiddencat' => 'categorylinks',
8050 ];
8051  # End extensions }
8053 
8054 /*************************************************************************/
8063 
8069 
8074 
8100 $wgCategoryCollation = 'uppercase';
8101  # End categories }
8103 
8104 /*************************************************************************/
8119  '',
8120  'block',
8121  'protect',
8122  'rights',
8123  'delete',
8124  'upload',
8125  'move',
8126  'import',
8127  'patrol',
8128  'merge',
8129  'suppress',
8130  'tag',
8131  'managetags',
8132  'contentmodel',
8133 ];
8134 
8143  'suppress' => 'suppressionlog'
8144 ];
8145 
8166  'patrol' => true,
8167  'tag' => true,
8168  'newusers' => false,
8169 ];
8170 
8181  '' => 'all-logs-page',
8182  'block' => 'blocklogpage',
8183  'protect' => 'protectlogpage',
8184  'rights' => 'rightslog',
8185  'delete' => 'dellogpage',
8186  'upload' => 'uploadlogpage',
8187  'move' => 'movelogpage',
8188  'import' => 'importlogpage',
8189  'patrol' => 'patrol-log-page',
8190  'merge' => 'mergelog',
8191  'suppress' => 'suppressionlog',
8192 ];
8193 
8204  '' => 'alllogstext',
8205  'block' => 'blocklogtext',
8206  'delete' => 'dellogpagetext',
8207  'import' => 'importlogpagetext',
8208  'merge' => 'mergelogpagetext',
8209  'move' => 'movelogpagetext',
8210  'patrol' => 'patrol-log-header',
8211  'protect' => 'protectlogtext',
8212  'rights' => 'rightslogtext',
8213  'suppress' => 'suppressionlogtext',
8214  'upload' => 'uploadlogpagetext',
8215 ];
8216 
8224 
8232  'block/block' => BlockLogFormatter::class,
8233  'block/reblock' => BlockLogFormatter::class,
8234  'block/unblock' => BlockLogFormatter::class,
8235  'contentmodel/change' => ContentModelLogFormatter::class,
8236  'contentmodel/new' => ContentModelLogFormatter::class,
8237  'delete/delete' => DeleteLogFormatter::class,
8238  'delete/delete_redir' => DeleteLogFormatter::class,
8239  'delete/event' => DeleteLogFormatter::class,
8240  'delete/restore' => DeleteLogFormatter::class,
8241  'delete/revision' => DeleteLogFormatter::class,
8242  'import/interwiki' => ImportLogFormatter::class,
8243  'import/upload' => ImportLogFormatter::class,
8244  'managetags/activate' => LogFormatter::class,
8245  'managetags/create' => LogFormatter::class,
8246  'managetags/deactivate' => LogFormatter::class,
8247  'managetags/delete' => LogFormatter::class,
8248  'merge/merge' => MergeLogFormatter::class,
8249  'move/move' => MoveLogFormatter::class,
8250  'move/move_redir' => MoveLogFormatter::class,
8251  'patrol/patrol' => PatrolLogFormatter::class,
8252  'patrol/autopatrol' => PatrolLogFormatter::class,
8253  'protect/modify' => ProtectLogFormatter::class,
8254  'protect/move_prot' => ProtectLogFormatter::class,
8255  'protect/protect' => ProtectLogFormatter::class,
8256  'protect/unprotect' => ProtectLogFormatter::class,
8257  'rights/autopromote' => RightsLogFormatter::class,
8258  'rights/rights' => RightsLogFormatter::class,
8259  'suppress/block' => BlockLogFormatter::class,
8260  'suppress/delete' => DeleteLogFormatter::class,
8261  'suppress/event' => DeleteLogFormatter::class,
8262  'suppress/reblock' => BlockLogFormatter::class,
8263  'suppress/revision' => DeleteLogFormatter::class,
8264  'tag/update' => TagLogFormatter::class,
8265  'upload/overwrite' => UploadLogFormatter::class,
8266  'upload/revert' => UploadLogFormatter::class,
8267  'upload/upload' => UploadLogFormatter::class,
8268 ];
8269 
8279  'block' => [
8280  'block' => [ 'block' ],
8281  'reblock' => [ 'reblock' ],
8282  'unblock' => [ 'unblock' ],
8283  ],
8284  'contentmodel' => [
8285  'change' => [ 'change' ],
8286  'new' => [ 'new' ],
8287  ],
8288  'delete' => [
8289  'delete' => [ 'delete' ],
8290  'delete_redir' => [ 'delete_redir' ],
8291  'restore' => [ 'restore' ],
8292  'event' => [ 'event' ],
8293  'revision' => [ 'revision' ],
8294  ],
8295  'import' => [
8296  'interwiki' => [ 'interwiki' ],
8297  'upload' => [ 'upload' ],
8298  ],
8299  'managetags' => [
8300  'create' => [ 'create' ],
8301  'delete' => [ 'delete' ],
8302  'activate' => [ 'activate' ],
8303  'deactivate' => [ 'deactivate' ],
8304  ],
8305  'move' => [
8306  'move' => [ 'move' ],
8307  'move_redir' => [ 'move_redir' ],
8308  ],
8309  'newusers' => [
8310  'create' => [ 'create', 'newusers' ],
8311  'create2' => [ 'create2' ],
8312  'autocreate' => [ 'autocreate' ],
8313  'byemail' => [ 'byemail' ],
8314  ],
8315  'protect' => [
8316  'protect' => [ 'protect' ],
8317  'modify' => [ 'modify' ],
8318  'unprotect' => [ 'unprotect' ],
8319  'move_prot' => [ 'move_prot' ],
8320  ],
8321  'rights' => [
8322  'rights' => [ 'rights' ],
8323  'autopromote' => [ 'autopromote' ],
8324  ],
8325  'suppress' => [
8326  'event' => [ 'event' ],
8327  'revision' => [ 'revision' ],
8328  'delete' => [ 'delete' ],
8329  'block' => [ 'block' ],
8330  'reblock' => [ 'reblock' ],
8331  ],
8332  'upload' => [
8333  'upload' => [ 'upload' ],
8334  'overwrite' => [ 'overwrite' ],
8335  'revert' => [ 'revert' ],
8336  ],
8337 ];
8338 
8343 
8349  # end logging }
8351 
8352 /*************************************************************************/
8361 
8368 
8374 
8380  # end special pages }
8382 
8383 /*************************************************************************/
8399  'credits' => true,
8400  'delete' => true,
8401  'edit' => true,
8402  'editchangetags' => SpecialPageAction::class,
8403  'history' => true,
8404  'info' => true,
8405  'markpatrolled' => true,
8406  'mcrundo' => McrUndoAction::class,
8407  'mcrrestore' => McrRestoreAction::class,
8408  'protect' => true,
8409  'purge' => true,
8410  'raw' => true,
8411  'render' => true,
8412  'revert' => true,
8413  'revisiondelete' => SpecialPageAction::class,
8414  'rollback' => true,
8415  'submit' => true,
8416  'unprotect' => true,
8417  'unwatch' => true,
8418  'view' => true,
8419  'watch' => true,
8420 ];
8421  # end actions }
8423 
8424 /*************************************************************************/
8435 $wgDefaultRobotPolicy = 'index,follow';
8436 
8452 
8480 
8492  # End robot policy }
8494 
8495 /************************************************************************/
8516 $wgDebugAPI = false;
8517 
8555 
8564 
8573 
8582 
8591 
8597 
8603 
8609 
8616 
8622 
8627 
8633  'MIMEsearch', // aiprop=mime
8634  'LinkSearch', // list=exturlusage
8635  'FileDuplicateSearch', // prop=duplicatefiles
8636 ];
8637 
8643 $wgUseAjax = true;
8644 
8651 
8656 
8661 
8667 
8689 
8696 
8701  /* simple headers (see spec) */
8702  'Accept',
8703  'Accept-Language',
8704  'Content-Language',
8705  'Content-Type',
8706  /* non-authorable headers in XHR, which are however requested by some UAs */
8707  'Accept-Encoding',
8708  'DNT',
8709  'Origin',
8710  /* MediaWiki whitelist */
8711  'User-Agent',
8712  'Api-User-Agent',
8713 ];
8714 
8721 
8728  # End AJAX and API }
8730 
8731 /************************************************************************/
8740 
8746 
8751 
8757 
8782 
8786 $wgPhpCli = '/usr/bin/php';
8787 
8822 $wgShellLocale = 'C.UTF-8';
8823 
8839  # End shell }
8841 
8842 /************************************************************************/
8854 
8864 
8873 
8882 
8888 
8893 
8898 
8913 
8920  # End HTTP client }
8922 
8923 /************************************************************************/
8935 
8944 
8949 
8954  # End job queue }
8956 
8957 /************************************************************************/
8976 
8982 
8992 
8998 
9004 
9009 
9015 
9021 
9055 
9060 
9073 
9085 
9097  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
9098  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
9099  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
9100 ];
9101 
9108  'mediawiki' => MediaWikiSite::class,
9109 ];
9110 
9117 
9125 
9134 
9144 
9151 $wgHKDFAlgorithm = 'sha256';
9152 
9160 
9199  'paths' => [],
9200  'modules' => [],
9201  'global' => [
9202  # Timeout in seconds
9203  'timeout' => 360,
9204  # 'domain' is set to $wgCanonicalServer in Setup.php
9205  'forwardCookies' => false,
9206  'HTTPProxy' => null
9207  ]
9208 ];
9209 
9218 
9219 /*
9220  * Max time (in seconds) a user-generated transaction can spend in writes.
9221  * If exceeded, the transaction is rolled back with an error instead of being committed.
9222  *
9223  * @var int|bool Disabled if false
9224  * @since 1.27
9225  */
9227 
9228 /*
9229  * Max time (in seconds) a job-generated transaction can spend in writes.
9230  * If exceeded, the transaction is rolled back with an error instead of being committed.
9231  *
9232  * @var int|bool Disabled if false
9233  * @since 1.30
9234  */
9236 
9260 
9268 
9281  'copyright',
9282  'history_copyright',
9283  'googlesearch',
9284  'feedback-terms',
9285  'feedback-termsofuse',
9286 ];
9287 
9308  'default' => [
9309  'class' => EventRelayerNull::class,
9310  ]
9311 ];
9312 
9326 $wgPingback = false;
9327 
9337  'https://3hub.co' => true,
9338  'https://morepro.info' => true,
9339  'https://p.ato.mx' => true,
9340  'https://s.ato.mx' => true,
9341  'https://adserver.adtech.de' => true,
9342  'https://ums.adtechus.com' => true,
9343  'https://cas.criteo.com' => true,
9344  'https://cat.nl.eu.criteo.com' => true,
9345  'https://atpixel.alephd.com' => true,
9346  'https://rtb.metrigo.com' => true,
9347  'https://d5p.de17a.com' => true,
9348  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
9349  'https://ad.lkqd.net/vpaid/vpaid.js?fusion=1.0' => true,
9350  'https://t.lkqd.net/t' => true,
9351  'chrome-extension' => true,
9352 ];
9353 
9362  'IPv4' => 16,
9363  'IPv6' => 32,
9364 ];
9365 
9382 
9401 
9424 
9430 
9438 
9448 
9458 
9468 
9478 
9488 
9499 
9510 
9521 
9531 
9541 
9549 
9562 
9578 
$wgSend404Code
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
Definition: DefaultSettings.php:3656
$wgConf
$wgConf
$wgConf hold the site configuration.
Definition: DefaultSettings.php:58
$wgNonincludableNamespaces
$wgNonincludableNamespaces
Pages in namespaces in this array can not be used as templates.
Definition: DefaultSettings.php:5786
$wgEventRelayerConfig
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
Definition: DefaultSettings.php:9307
$wgInterwikiScopes
$wgInterwikiScopes
Specify number of domains to check for messages.
Definition: DefaultSettings.php:4385
$wgActionFilteredLogs
$wgActionFilteredLogs
List of log types that can be filtered by action types.
Definition: DefaultSettings.php:8278
$wgHiddenPrefs
$wgHiddenPrefs
An array of preferences to not show for the user.
Definition: DefaultSettings.php:5326
$wgMemCachedServers
$wgMemCachedServers
The list of MemCached servers and port numbers.
Definition: DefaultSettings.php:2685
$wgAppleTouchIcon
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
Definition: DefaultSettings.php:371
AV_NO_VIRUS
const AV_NO_VIRUS
Definition: Defines.php:100
$wgDjvuTxt
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
Definition: DefaultSettings.php:1722
$wgSharedUploadDirectory
string $wgSharedUploadDirectory
Shortcut for the 'directory' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:684
$wgCdnMaxageStale
$wgCdnMaxageStale
Cache timeout when delivering a stale ParserCache response due to PoolCounter contention.
Definition: DefaultSettings.php:2931
$wgAdditionalMailParams
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
Definition: DefaultSettings.php:1876
$wgFeedLimit
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
Definition: DefaultSettings.php:7367
$wgDebugRedirects
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
Definition: DefaultSettings.php:6555
$wgRCLinkLimits
$wgRCLinkLimits
List of Limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7226
$wgAllowJavaUploads
$wgAllowJavaUploads
Allow Java archive uploads.
Definition: DefaultSettings.php:1066
$wgPhpCli
$wgPhpCli
Executable path of the PHP cli binary.
Definition: DefaultSettings.php:8786
CONTENT_MODEL_JSON
const CONTENT_MODEL_JSON
Definition: Defines.php:228
$wgActions
$wgActions
Array of allowed values for the "title=foo&action=<action>" parameter.
Definition: DefaultSettings.php:8398
$wgUpdateCompatibleMetadata
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
Definition: DefaultSettings.php:891
$wgUseAutomaticEditSummaries
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
Definition: DefaultSettings.php:7098
$wgAuthManagerConfig
$wgAuthManagerConfig
Configure AuthManager.
Definition: DefaultSettings.php:4936
$wgPingback
bool $wgPingback
Share data about this installation with MediaWiki developers.
Definition: DefaultSettings.php:9326
$wgElementTiming
bool $wgElementTiming
Enable Element Timing.
Definition: DefaultSettings.php:9467
$wgAPIListModules
$wgAPIListModules
API Query list module extensions.
Definition: DefaultSettings.php:8590
$wgUseTagFilter
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined in ...
Definition: DefaultSettings.php:7448
$wgProxyWhitelist
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
Definition: DefaultSettings.php:6049
$wgLocalVirtualHosts
$wgLocalVirtualHosts
Local virtual hosts.
Definition: DefaultSettings.php:8912
$wgSitemapNamespacesPriorities
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Definition: DefaultSettings.php:7050
$wgNamespaceContentModels
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
Definition: DefaultSettings.php:9072
$wgMaxCredits
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
Definition: DefaultSettings.php:7585
$wgUseCdn
$wgUseCdn
Enable/disable CDN.
Definition: DefaultSettings.php:2884
$wgAPIMaxUncachedDiffs
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
Definition: DefaultSettings.php:8608
$wgChangeCredentialsBlacklist
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
Definition: DefaultSettings.php:5068
$wgProxyList
$wgProxyList
Big list of banned IP addresses.
Definition: DefaultSettings.php:6417
$wgThumbLimits
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
Definition: DefaultSettings.php:1568
$wgLocalDatabases
string[] $wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Definition: DefaultSettings.php:2281
$wgCSPFalsePositiveUrls
$wgCSPFalsePositiveUrls
List of urls which appear often to be triggering CSP reports but do not appear to be caused by actual...
Definition: DefaultSettings.php:9336
$wgRestAPIAdditionalRouteFiles
$wgRestAPIAdditionalRouteFiles
Additional REST API Route files.
Definition: DefaultSettings.php:8727
$wgMaximalPasswordLength
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
Definition: DefaultSettings.php:5103
$wgIncludeLegacyJavaScript
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
Definition: DefaultSettings.php:4133
$wgShowSQLErrors
$wgShowSQLErrors
Whether to show "we're sorry, but there has been a database error" pages.
Definition: DefaultSettings.php:6718
$wgDBserver
$wgDBserver
Database host name or IP address.
Definition: DefaultSettings.php:2021
$wgFileBlacklist
$wgFileBlacklist
Files with these extensions will never be allowed as uploads.
Definition: DefaultSettings.php:1034
$wgDisableHardRedirects
$wgDisableHardRedirects
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected f...
Definition: DefaultSettings.php:8991
NS_HELP
const NS_HELP
Definition: Defines.php:81
MEDIATYPE_AUDIO
const MEDIATYPE_AUDIO
Definition: defines.php:32
$wgBotPasswordsDatabase
string bool $wgBotPasswordsDatabase
Database name for the bot_passwords table.
Definition: DefaultSettings.php:6395
$wgRCLinkDays
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7234
$wgMangleFlashPolicy
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
Definition: DefaultSettings.php:3685
$wgMimeType
$wgMimeType
The default Content-Type header.
Definition: DefaultSettings.php:3382
$wgCdnServers
$wgCdnServers
List of proxy servers to purge on changes; default port is 80.
Definition: DefaultSettings.php:2982
$wgMaxArticleSize
$wgMaxArticleSize
Maximum article size in kilobytes.
Definition: DefaultSettings.php:2403
$wgAPIModules
$wgAPIModules
API module extensions.
Definition: DefaultSettings.php:8554
$wgDisabledVariants
$wgDisabledVariants
Disabled variants array of language variant conversion.
Definition: DefaultSettings.php:3274
$wgFixDoubleRedirects
$wgFixDoubleRedirects
Fix double redirects after a page move.
Definition: DefaultSettings.php:9014
$wgNewPasswordExpiry
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
Definition: DefaultSettings.php:1835
$wgJobTypeConf
$wgJobTypeConf
Map of job types to configuration arrays.
Definition: DefaultSettings.php:8016
$wgPageCreationLog
$wgPageCreationLog
Maintain a log of page creations at Special:Log/create?
Definition: DefaultSettings.php:8348
$wgExemptFromUserRobotsControl
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
Definition: DefaultSettings.php:8491
$wgHKDFAlgorithm
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:9151
$wgStyleSheetPath
$wgStyleSheetPath
Definition: DefaultSettings.php:230
$wgResourceLoaderEnableJSProfiler
$wgResourceLoaderEnableJSProfiler
When enabled, execution of JavaScript modules is profiled client-side.
Definition: DefaultSettings.php:4194
$wgExternalStores
$wgExternalStores
External stores allow including content from non database sources following URL links.
Definition: DefaultSettings.php:2321
$wgResponsiveImages
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
Definition: DefaultSettings.php:1687
$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
Definition: DefaultSettings.php:2842
$wgRestPath
$wgRestPath
The URL path to the REST API Defaults to "{$wgScriptPath}/rest.php".
Definition: DefaultSettings.php:222
$wgAuthManagerAutoConfig
$wgAuthManagerAutoConfig
Definition: DefaultSettings.php:4942
$wgAjaxLicensePreview
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
Definition: DefaultSettings.php:8660
SiteConfiguration
This is a class for holding configuration settings, particularly for multi-wiki sites.
Definition: SiteConfiguration.php:121
$wgDebugRawPage
$wgDebugRawPage
If true, log debugging data from action=raw and load.php.
Definition: DefaultSettings.php:6562
$wgTmpDirectory
$wgTmpDirectory
The local filesystem path to a temporary directory.
Definition: DefaultSettings.php:414
$wgRightsText
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
Definition: DefaultSettings.php:7566
$wgEnotifMinorEdits
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
Definition: DefaultSettings.php:1953
$wgDBname
$wgDBname
Current wiki database name.
Definition: DefaultSettings.php:1996
$wgRevokePermissions
$wgRevokePermissions
Permission keys revoked from users in each group.
Definition: DefaultSettings.php:5686
$wgMaximumMovedPages
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
Definition: DefaultSettings.php:9008
AV_SCAN_FAILED
const AV_SCAN_FAILED
Definition: Defines.php:103
$wgHTMLFormAllowTableFormat
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
Definition: DefaultSettings.php:3401
$wgCopyUploadsDomains
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
Definition: DefaultSettings.php:905
$wgBlockAllowsUTEdit
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
Definition: DefaultSettings.php:5418
$wgEdititis
$wgEdititis
Display user edit counts in various prominent places.
Definition: DefaultSettings.php:3643
$wgSharedTables
$wgSharedTables
Definition: DefaultSettings.php:2160
$wgSharedSchema
$wgSharedSchema
Definition: DefaultSettings.php:2166
$wgExternalInterwikiFragmentMode
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
Definition: DefaultSettings.php:3584
$wgLegacyEncoding
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
Definition: DefaultSettings.php:3205
$wgFeedCacheTimeout
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
Definition: DefaultSettings.php:7377
$wgJpegPixelFormat
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
Definition: DefaultSettings.php:1245
$wgShowUpdatedMarker
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
Definition: DefaultSettings.php:7436
$wgRedirectOnLogin
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
Definition: DefaultSettings.php:9020
NS_TEMPLATE_TALK
const NS_TEMPLATE_TALK
Definition: Defines.php:80
$wgMimeInfoFile
$wgMimeInfoFile
Sets the MIME type info file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1513
$wgLogHeaders
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Definition: DefaultSettings.php:8203
$wgStatsdSamplingRates
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Definition: DefaultSettings.php:6858
$wgExiftool
$wgExiftool
Path to exiftool binary.
Definition: DefaultSettings.php:1267
$wgLegalTitleChars
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
Definition: DefaultSettings.php:4339
$wgJobBackoffThrottling
float[] $wgJobBackoffThrottling
Map of job types to how many job "work items" should be run per second on each job runner process.
Definition: DefaultSettings.php:7993
$wgDiff3
$wgDiff3
Path to the GNU diff3 utility.
Definition: DefaultSettings.php:7070
$wgExperiencedUserMemberSince
$wgExperiencedUserMemberSince
Specify the difference engine to use.
Definition: DefaultSettings.php:9381
$wgPasswordDefault
$wgPasswordDefault
Default password type to use when hashing user passwords.
Definition: DefaultSettings.php:5120
$wgSearchTypeAlternatives
$wgSearchTypeAlternatives
Alternative search types.
Definition: DefaultSettings.php:2098
$wgParserConf
$wgParserConf
Parser configuration.
Definition: DefaultSettings.php:4539
$wgUsersNotifiedOnAllChanges
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
Definition: DefaultSettings.php:1979
$wgWhitelistReadRegexp
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
Definition: DefaultSettings.php:5496
$wgMaxTemplateDepth
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Definition: DefaultSettings.php:4560
$wgSharpenParameter
$wgSharpenParameter
Sharpening parameter to ImageMagick.
Definition: DefaultSettings.php:1192
$wgEnotifFromEditor
bool $wgEnotifFromEditor
Allow sending of e-mail notifications with the editor's address as sender.
Definition: DefaultSettings.php:1895
$wgScript
$wgScript
The URL path to index.php.
Definition: DefaultSettings.php:207
CACHE_NONE
const CACHE_NONE
Definition: Defines.php:91
$wgDBport
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
Definition: DefaultSettings.php:2026
$wgCookiePath
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
Definition: DefaultSettings.php:6449
$wgHTCPMulticastTTL
$wgHTCPMulticastTTL
HTCP multicast TTL.
Definition: DefaultSettings.php:3068
$wgDBtype
$wgDBtype
Database type.
Definition: DefaultSettings.php:2041
$wgDisableQueryPages
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
Definition: DefaultSettings.php:2378
true
return true
Definition: router.php:90
$wgWatchlistExpiryMaxDuration
string null $wgWatchlistExpiryMaxDuration
Relative maximum duration for watchlist expiries, as accepted by strtotime().
Definition: DefaultSettings.php:9577
$wgTranscludeCacheExpiry
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in object cache.
Definition: DefaultSettings.php:4733
$wgSharedDB
$wgSharedDB
Shared database for multiple wikis.
Definition: DefaultSettings.php:2150
$wgPasswordResetRoutes
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
Definition: DefaultSettings.php:5198
$wgSVGMaxSize
$wgSVGMaxSize
Don't scale a SVG larger than this.
Definition: DefaultSettings.php:1303
$wgHideInterlanguageLinks
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
Definition: DefaultSettings.php:3125
$wgRemoveCredentialsBlacklist
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
Definition: DefaultSettings.php:5081
$wgLocalFileRepo
$wgLocalFileRepo
File repository structures.
Definition: DefaultSettings.php:619
CONTENT_MODEL_CSS
const CONTENT_MODEL_CSS
Definition: Defines.php:226
$wgWANObjectCaches
$wgWANObjectCaches
Advanced WAN object cache configuration.
Definition: DefaultSettings.php:2589
$wgSharedUploadDBname
bool string $wgSharedUploadDBname
Shortcut for the ForeignDBRepo 'dbName' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:729
$wgDjvuPostProcessor
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
Definition: DefaultSettings.php:1745
$wgVersion
$wgVersion
MediaWiki version number.
Definition: DefaultSettings.php:75
$wgAmericanDates
$wgAmericanDates
Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'.
Definition: DefaultSettings.php:3225
CACHE_MEMCACHED
const CACHE_MEMCACHED
Definition: Defines.php:93
$wgAutoblockExpiry
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
Definition: DefaultSettings.php:5409
$wgUploadMaintenance
$wgUploadMaintenance
To disable file delete/restore temporarily.
Definition: DefaultSettings.php:9059
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles
Extension messages files.
Definition: DefaultSettings.php:7722
$wgSessionInsecureSecrets
$wgSessionInsecureSecrets
If for some reason you can't install the PHP OpenSSL extension, you can set this to true to make Medi...
Definition: DefaultSettings.php:9133
$wgShowCreditsIfMax
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
Definition: DefaultSettings.php:7591
$wgSoftBlockRanges
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
Definition: DefaultSettings.php:6058
$wgBotPasswordsCluster
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
Definition: DefaultSettings.php:6385
$wgNoFollowDomainExceptions
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
Definition: DefaultSettings.php:4698
$wgUseTwoButtonsSearchForm
$wgUseTwoButtonsSearchForm
Search form behavior.
Definition: DefaultSettings.php:7027
$wgCategoryMagicGallery
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
Definition: DefaultSettings.php:8068
$wgSpecialPageCacheUpdates
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
Definition: DefaultSettings.php:8037
MW_VERSION
const MW_VERSION
The running version of MediaWiki.
Definition: Defines.php:39
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition: DefaultSettings.php:7749
$wgShowHostnames
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
Definition: DefaultSettings.php:6754
$wgEmailAuthentication
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
Definition: DefaultSettings.php:1908
$wgParserOutputHooks
$wgParserOutputHooks
Parser output hooks.
Definition: DefaultSettings.php:7772
$wgDeprecationReleaseLimit
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
Definition: DefaultSettings.php:6774
$wgMaxUploadSize
$wgMaxUploadSize
Max size for uploads, in bytes.
Definition: DefaultSettings.php:952
$wgDebugAPI
$wgDebugAPI
Definition: DefaultSettings.php:8516
$wgUseMediaWikiUIEverywhere
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
Definition: DefaultSettings.php:3409
$wgDBmwschema
$wgDBmwschema
Current wiki database schema name.
Definition: DefaultSettings.php:2006
$wgUseTeX
$wgUseTeX
To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package a...
Definition: DefaultSettings.php:6526
$wgDefaultUserOptions
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
Definition: DefaultSettings.php:5259
$wgExternalServers
$wgExternalServers
An array of external MySQL servers.
Definition: DefaultSettings.php:2337
$wgMessageCacheType
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
Definition: DefaultSettings.php:2461
$wgServiceWiringFiles
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Definition: DefaultSettings.php:7934
$wgMaxMsgCacheEntrySize
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
Definition: DefaultSettings.php:3242
CACHE_ACCEL
const CACHE_ACCEL
Definition: Defines.php:94
$wgAllowSecuritySensitiveOperationIfCannotReauthenticate
bool[] $wgAllowSecuritySensitiveOperationIfCannotReauthenticate
Whether to allow security-sensitive operations when re-authentication is not possible.
Definition: DefaultSettings.php:5055
$wgLegacySchemaConversion
$wgLegacySchemaConversion
If set to true, the MediaWiki 1.4 to 1.5 schema conversion will create stub reference rows in the tex...
Definition: DefaultSettings.php:3219
$wgReferrerPolicy
array string bool $wgReferrerPolicy
Value for the referrer policy meta tag.
Definition: DefaultSettings.php:391
$wgDiff
$wgDiff
Path to the GNU diff utility.
Definition: DefaultSettings.php:7075
$wgFileExtensions
$wgFileExtensions
This is the list of preferred extensions for uploading files.
Definition: DefaultSettings.php:1027
APCOND_EDITCOUNT
const APCOND_EDITCOUNT
Definition: Defines.php:194
$wgEnableUserEmail
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
Definition: DefaultSettings.php:1796
$wgWantedPagesThreshold
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
Definition: DefaultSettings.php:2388
$wgDisableTitleConversion
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
Definition: DefaultSettings.php:3252
$wgUnwatchedPageSecret
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
Definition: DefaultSettings.php:7211
$wgHideIdentifiableRedirects
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
Definition: DefaultSettings.php:5508
$wgCopyUploadTimeout
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
Definition: DefaultSettings.php:930
$wgLangObjCacheSize
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
Definition: DefaultSettings.php:3104
$wgExtensionAssetsPath
$wgExtensionAssetsPath
The URL path of the extensions directory.
Definition: DefaultSettings.php:244
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:79
$wgInterwikiCache
bool array string $wgInterwikiCache
Interwiki cache, either as an associative array or a path to a constant database (....
Definition: DefaultSettings.php:4377
$wgMultiContentRevisionSchemaMigrationStage
int $wgMultiContentRevisionSchemaMigrationStage
RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables).
Definition: DefaultSettings.php:9423
$wgExportAllowAll
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
Definition: DefaultSettings.php:7673
$wgEnotifWatchlist
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
Definition: DefaultSettings.php:1913
$wgAjaxUploadDestCheck
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
Definition: DefaultSettings.php:8655
$wgMimeTypeBlacklist
$wgMimeTypeBlacklist
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
Definition: DefaultSettings.php:1048
APCOND_AGE
const APCOND_AGE
Definition: Defines.php:195
$wgLBFactoryConf
$wgLBFactoryConf
Load balancer factory configuration To set up a multi-master wiki farm, set the class here to somethi...
Definition: DefaultSettings.php:2233
$wgEnableCanonicalServerLink
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
Definition: DefaultSettings.php:3675
$wgVerifyMimeTypeIE
$wgVerifyMimeTypeIE
Determines whether extra checks for IE type detection should be applied.
Definition: DefaultSettings.php:1496
$wgLogActions
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
Definition: DefaultSettings.php:8223
$wgAPIUselessQueryPages
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Definition: DefaultSettings.php:8632
$wgFragmentMode
$wgFragmentMode
How should section IDs be encoded? This array can contain 1 or 2 elements, each of them can be one of...
Definition: DefaultSettings.php:3574
$wgAllowSchemaUpdates
$wgAllowSchemaUpdates
Allow schema updates.
Definition: DefaultSettings.php:2398
$wgDisableTextSearch
$wgDisableTextSearch
Set this to true to disable the full text search feature.
Definition: DefaultSettings.php:6914
$wgArticleRobotPolicies
$wgArticleRobotPolicies
Robot policies per article.
Definition: DefaultSettings.php:8479
$wgCacheDirectory
$wgCacheDirectory
Directory for caching data in the local filesystem.
Definition: DefaultSettings.php:2434
$wgSidebarCacheExpiry
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
Definition: DefaultSettings.php:2816
$wgOpenSearchTemplate
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6938
CONTENT_MODEL_WIKITEXT
const CONTENT_MODEL_WIKITEXT
Definition: Defines.php:224
$wgThumbnailBuckets
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
Definition: DefaultSettings.php:1586
$wgTransactionalTimeLimit
$wgTransactionalTimeLimit
The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...
Definition: DefaultSettings.php:2417
$wgBreakFrames
$wgBreakFrames
Break out of framesets.
Definition: DefaultSettings.php:3506
$wgDefaultExternalStore
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
Definition: DefaultSettings.php:2353
$wgDebugLogPrefix
$wgDebugLogPrefix
Prefix for debug log lines.
Definition: DefaultSettings.php:6548
$wgStrictFileExtensions
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
Definition: DefaultSettings.php:1081
$wgCdnMaxAge
$wgCdnMaxAge
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Definition: DefaultSettings.php:2915
$wgSharedThumbnailScriptPath
string $wgSharedThumbnailScriptPath
Shortcut for the 'thumbScriptUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:1009
$wgForeignUploadTargets
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
Definition: DefaultSettings.php:758
$wgLogo
$wgLogo
The URL path of the wiki logo.
Definition: DefaultSettings.php:307
$wgStructuredChangeFiltersLiveUpdatePollingRate
$wgStructuredChangeFiltersLiveUpdatePollingRate
Polling rate, in seconds, used by the 'live update' and 'view newest' features of the RCFilters app o...
Definition: DefaultSettings.php:7336
$wgHideUserContribLimit
$wgHideUserContribLimit
The maximum number of edits a user can have and can still be hidden by users with the hideuser permis...
Definition: DefaultSettings.php:5967
$wgOpenSearchTemplates
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6948
$wgUseRCPatrol
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
Definition: DefaultSettings.php:7329
$wgEnableOpenSearchSuggest
$wgEnableOpenSearchSuggest
This was previously a used to force empty responses from ApiOpenSearch with the 'suggest' parameter s...
Definition: DefaultSettings.php:6959
$wgLogoHD
array false $wgLogoHD
Array with URL paths to HD versions of the wiki logo.
Definition: DefaultSettings.php:358
$wgUseNPPatrol
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
Definition: DefaultSettings.php:7345
$wgDjvuRenderer
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
Definition: DefaultSettings.php:1715
$wgJobRunRate
$wgJobRunRate
Number of jobs to perform per request.
Definition: DefaultSettings.php:8934
$wgMetaNamespace
$wgMetaNamespace
Name of the project namespace.
Definition: DefaultSettings.php:4245
$wgDBpassword
$wgDBpassword
Database user's password.
Definition: DefaultSettings.php:2036
$wgDBprefix
$wgDBprefix
Current wiki database table name prefix.
Definition: DefaultSettings.php:2016
$wgFetchCommonsDescriptions
bool $wgFetchCommonsDescriptions
Shortcut for the 'fetchDescription' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:719
$wgStylePath
$wgStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:229
$wgThumbnailMinimumBucketDistance
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
Definition: DefaultSettings.php:1603
$wgAllowSiteCSSOnRestrictedPages
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
Definition: DefaultSettings.php:4221
$wgExtensionEntryPointListFiles
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
Definition: DefaultSettings.php:7756
$wgReadOnlyWatchedItemStore
bool $wgReadOnlyWatchedItemStore
Set this to true to put the wiki watchlists into read-only mode.
Definition: DefaultSettings.php:7137
$wgUseSiteJs
$wgUseSiteJs
Use the site's Javascript page?
Definition: DefaultSettings.php:3495
$wgPutIPinRC
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
Definition: DefaultSettings.php:6191
AV_SCAN_ABORTED
const AV_SCAN_ABORTED
Definition: Defines.php:102
$wgUploadStashScalerBaseUrl
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
Definition: DefaultSettings.php:430
$wgThumbnailEpoch
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
Definition: DefaultSettings.php:1365
$wgCrossSiteAJAXdomainExceptions
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
Definition: DefaultSettings.php:8695
$wgFeaturePolicyReportOnly
array $wgFeaturePolicyReportOnly
List of Feature Policy Reporting types to enable.
Definition: DefaultSettings.php:9498
$wgWhitelistRead
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
Definition: DefaultSettings.php:5468
$wgMaxNameChars
$wgMaxNameChars
Maximum number of bytes in username.
Definition: DefaultSettings.php:5232
$wgResourceLoaderStorageVersion
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
Definition: DefaultSettings.php:4208
$wgDBerrorLog
$wgDBerrorLog
File to log database errors to.
Definition: DefaultSettings.php:2246
$wgPasswordExpireGrace
$wgPasswordExpireGrace
If a user's password is expired, the number of seconds when they can still login, and cancel their pa...
Definition: DefaultSettings.php:1852
$wgUploadStashMaxAge
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
Definition: DefaultSettings.php:469
$wgRepositoryBaseUrl
$wgRepositoryBaseUrl
Shortcut for the 'descBaseUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:710
$wgEnableWANCacheReaper
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
Definition: DefaultSettings.php:2607
$wgAllowExternalReqID
$wgAllowExternalReqID
Whether to respect/honour the request ID provided by the incoming request via the X-Request-Id header...
Definition: DefaultSettings.php:8919
$wgExperiencedUserEdits
$wgExperiencedUserEdits
Specify the difference engine to use.
Definition: DefaultSettings.php:9380
$wgHTTPConnectTimeout
float int $wgHTTPConnectTimeout
Timeout for connections done internally (in seconds).
Definition: DefaultSettings.php:8863
$wgAssumeProxiesUseDefaultProtocolPorts
bool $wgAssumeProxiesUseDefaultProtocolPorts
When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the w...
Definition: DefaultSettings.php:133
$wgSearchHighlightBoundaries
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
Definition: DefaultSettings.php:6926
$wgPropagateErrors
$wgPropagateErrors
If true, the MediaWiki error handler passes errors/warnings to the default error handler after loggin...
Definition: DefaultSettings.php:6749
NS_MAIN
const NS_MAIN
Definition: Defines.php:69
$wgUseInstantCommons
$wgUseInstantCommons
Use Wikimedia Commons as a foreign file repository.
Definition: DefaultSettings.php:645
$wgMediaHandlers
$wgMediaHandlers
Plugins for media file type handling.
Definition: DefaultSettings.php:1122
$wgDBadminuser
$wgDBadminuser
Separate username for maintenance tasks.
Definition: DefaultSettings.php:2066
$wgResourceModules
$wgResourceModules
Define extra client-side modules to be registered with ResourceLoader.
Definition: DefaultSettings.php:3981
$wgResourceLoaderValidateJS
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
Definition: DefaultSettings.php:4184
$wgAPIRequestLog
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
Definition: DefaultSettings.php:8621
$wgMediaInTargetLanguage
$wgMediaInTargetLanguage
Whether thumbnails should be generated in target language (usually, same as page language),...
Definition: DefaultSettings.php:1319
$wgAutopromote
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
Definition: DefaultSettings.php:5878
$wgContentHandlerTextFallback
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
Definition: DefaultSettings.php:9084
$wgAllowImageTag
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
Definition: DefaultSettings.php:4630
$wgShowDebug
$wgShowDebug
Display debug data at the bottom of the main content area.
Definition: DefaultSettings.php:6703
$wgRightsPage
$wgRightsPage
Override for copyright metadata.
Definition: DefaultSettings.php:7551
$wgHTTPProxy
$wgHTTPProxy
Proxy to use for CURL requests.
Definition: DefaultSettings.php:8897
$wgRawHtml
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
Definition: DefaultSettings.php:4658
$wgEnableScaryTranscluding
$wgEnableScaryTranscluding
Enable interwiki transcluding.
Definition: DefaultSettings.php:4727
$wgAttemptFailureEpoch
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
Definition: DefaultSettings.php:1373
$wgEnotifUseRealName
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
Definition: DefaultSettings.php:1973
$wgDBservers
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
Definition: DefaultSettings.php:2221
$wgRCChangedSizeThreshold
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
Definition: DefaultSettings.php:7430
$wgAllowUserCss
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
Definition: DefaultSettings.php:3482
$wgHashedSharedUploadDirectory
bool $wgHashedSharedUploadDirectory
Shortcut for the 'hashLevels' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:702
$wgDBDefaultGroup
$wgDBDefaultGroup
Default group to use when getting database connections.
Definition: DefaultSettings.php:2118
$wgAdaptiveMessageCache
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
Definition: DefaultSettings.php:2717
$wgResourceLoaderMaxage
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
Definition: DefaultSettings.php:4108
$wgSVGConverterPath
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
Definition: DefaultSettings.php:1298
$wgRawHtmlMessages
string[] $wgRawHtmlMessages
List of messages which might contain raw HTML.
Definition: DefaultSettings.php:9280
$wgFooterLinkCacheExpiry
$wgFooterLinkCacheExpiry
Expiry time for the footer link cache, in seconds, or 0 if disabled.
Definition: DefaultSettings.php:2823
$wgNoReplyAddress
$wgNoReplyAddress
Reply-To address for e-mail notifications.
Definition: DefaultSettings.php:1783
$wgParserTestMediaHandlers
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
Definition: DefaultSettings.php:1128
$wgHooks
$wgHooks
Global list of hooks.
Definition: DefaultSettings.php:7921
$wgProfiler
$wgProfiler
Profiler configuration.
Definition: DefaultSettings.php:6829
$wgRecentChangesFlags
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Definition: DefaultSettings.php:7508
$wgInvalidPasswordReset
$wgInvalidPasswordReset
Specifies if users should be sent to a password-reset form on login, if their password doesn't meet t...
Definition: DefaultSettings.php:5110
$wgGrantPermissions
array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
Definition: DefaultSettings.php:6230
$wgSQLiteDataDir
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
Definition: DefaultSettings.php:2123
$wgWatchlistPurgeRate
float $wgWatchlistPurgeRate
Chance of expired watchlist items being purged on any page edit.
Definition: DefaultSettings.php:9561
NS_PROJECT
const NS_PROJECT
Definition: Defines.php:73
$wgLoginLanguageSelector
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
Definition: DefaultSettings.php:3300
$wgUploadSizeWarning
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
Definition: DefaultSettings.php:1094
$wgEmergencyContact
$wgEmergencyContact
Site admin email address.
Definition: DefaultSettings.php:1766
$wgAuthenticationTokenVersion
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
Definition: DefaultSettings.php:5364
$wgContentHandlers
$wgContentHandlers
Plugins for page content model handling.
Definition: DefaultSettings.php:1148
$wgAllowRequiringEmailForResets
$wgAllowRequiringEmailForResets
Temporary feature flag that controls whether users will see a checkbox allowing them to require provi...
Definition: DefaultSettings.php:5397
$wgFooterIcons
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
Definition: DefaultSettings.php:3616
$wgMaxUserDBWriteDuration
$wgMaxUserDBWriteDuration
Specify the difference engine to use.
Definition: DefaultSettings.php:9226
$wgXmlDumpSchemaVersion
$wgXmlDumpSchemaVersion
The schema to use per default when generating XML dumps.
Definition: DefaultSettings.php:9429
$wgAntivirusRequired
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
Definition: DefaultSettings.php:1481
$wgMainCacheType
$wgMainCacheType
Main cache type.
Definition: DefaultSettings.php:2453
$wgPreprocessorCacheThreshold
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
Definition: DefaultSettings.php:4722
$wgLinkHolderBatchSize
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
Definition: DefaultSettings.php:8997
$wgLockManagers
$wgLockManagers
Array of configuration arrays for each lock manager.
Definition: DefaultSettings.php:871
$wgFilterLogTypes
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
Definition: DefaultSettings.php:8165
$wgLanguageConverterCacheType
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
Definition: DefaultSettings.php:2486
$wgCentralIdLookupProvider
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
Definition: DefaultSettings.php:4801
$wgUseImageMagick
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
Definition: DefaultSettings.php:1176
$wgExtraSignatureNamespaces
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
Definition: DefaultSettings.php:4495
$wgFallbackSkin
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
Definition: DefaultSettings.php:3456
$wgUseFileCache
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Definition: DefaultSettings.php:2786
$wgCacheVaryCookies
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
Definition: DefaultSettings.php:6488
$wgCrossSiteAJAXdomains
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
Definition: DefaultSettings.php:8688
$wgDefaultLanguageVariant
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
Definition: DefaultSettings.php:3257
$wgCachePrefix
$wgCachePrefix
Overwrite the caching key prefix with custom value.
Definition: DefaultSettings.php:6893
$wgAPICacheHelpTimeout
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
Definition: DefaultSettings.php:8626
$wgEnableSidebarCache
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
Definition: DefaultSettings.php:2811
$wgCommandLineMode
global $wgCommandLineMode
Definition: DevelopmentSettings.php:29
$wgDisableInternalSearch
$wgDisableInternalSearch
Disable the internal MySQL-based search, to allow it to be implemented by an extension instead.
Definition: DefaultSettings.php:7000
$wgEnableSpecialMute
$wgEnableSpecialMute
Set to true to enable the Special Mute page.
Definition: DefaultSettings.php:1806
$wgAllowExternalImagesFrom
$wgAllowExternalImagesFrom
If the above is false, you can specify an exception here.
Definition: DefaultSettings.php:4606
$wgStatsdMetricPrefix
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
Definition: DefaultSettings.php:6850
$wgUploadThumbnailRenderMap
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
Definition: DefaultSettings.php:1615
$wgQueryPageDefaultLimit
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
Definition: DefaultSettings.php:6197
$wgDjvuToXML
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3....
Definition: DefaultSettings.php:1738
$wgHtml5Version
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
Definition: DefaultSettings.php:3392
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:78
$wgDebugLogGroups
$wgDebugLogGroups
Map of string log group names to log destinations.
Definition: DefaultSettings.php:6671
$wgEnableRestAPI
$wgEnableRestAPI
Enable the experimental REST API.
Definition: DefaultSettings.php:8720
$wgUseDatabaseMessages
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
Definition: DefaultSettings.php:3237
$wgLoadScript
$wgLoadScript
The URL path to load.php.
Definition: DefaultSettings.php:215
$wgMimeTypeFile
$wgMimeTypeFile
Sets the MIME type definition file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1507
$wgExpensiveParserFunctionLimit
$wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
Definition: DefaultSettings.php:4716
$wgAntivirusSetup
$wgAntivirusSetup
Configuration for different virus scanners.
Definition: DefaultSettings.php:1463
$wgApiFrameOptions
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
Definition: DefaultSettings.php:3539
$wgObjectCaches
$wgObjectCaches
Advanced object cache configuration.
Definition: DefaultSettings.php:2501
$wgSharedPrefix
$wgSharedPrefix
Definition: DefaultSettings.php:2155
$wgExportAllowHistory
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
Definition: DefaultSettings.php:7638
$wgHTCPRouting
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
Definition: DefaultSettings.php:3062
$wgLogExceptionBacktrace
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
Definition: DefaultSettings.php:6743
$wgRCFeeds
$wgRCFeeds
Configuration for feeds to which notifications about recent changes will be sent.
Definition: DefaultSettings.php:7296
$wgMimeDetectorCommand
$wgMimeDetectorCommand
Sets an external MIME detector program.
Definition: DefaultSettings.php:1526
$wgParserCacheExpireTime
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
Definition: DefaultSettings.php:2650
$wgPasswordReminderResendTime
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
Definition: DefaultSettings.php:1830
$wgJobSerialCommitThreshold
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
Definition: DefaultSettings.php:8008
$wgImgAuthDetails
$wgImgAuthDetails
Set this to true if you use img_auth and want the user to see details on why access failed.
Definition: DefaultSettings.php:508
$wgUseGzip
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
Definition: DefaultSettings.php:2831
$wgInvalidRedirectTargets
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
Definition: DefaultSettings.php:4514
$wgOverrideUcfirstCharacters
array $wgOverrideUcfirstCharacters
List of Unicode characters for which capitalization is overridden in Language::ucfirst.
Definition: DefaultSettings.php:3370
$wgAPIMaxLagThreshold
$wgAPIMaxLagThreshold
Maximum amount of DB lag on a majority of DB replica DBs to tolerate before forcing bots to retry any...
Definition: DefaultSettings.php:8615
$wgUserrightsInterwikiDelimiter
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
Definition: DefaultSettings.php:5344
$wgVaryOnXFP
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
Definition: DefaultSettings.php:2894
$wgImplicitGroups
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
Definition: DefaultSettings.php:5691
$wgCdnMaxageSubstitute
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
Definition: DefaultSettings.php:2963
$wgPreviewOnOpenNamespaces
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
Definition: DefaultSettings.php:7082
$wgInterwikiMagic
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Definition: DefaultSettings.php:3120
$wgLogTypes
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
Definition: DefaultSettings.php:8118
$wgExtendedLoginCookieExpiration
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
Definition: DefaultSettings.php:6437
$wgResourceLoaderSources
$wgResourceLoaderSources
Extensions should register foreign module sources here.
Definition: DefaultSettings.php:4084
AV_VIRUS_FOUND
const AV_VIRUS_FOUND
Definition: Defines.php:101
$wgParserCacheType
$wgParserCacheType
The cache type for storing article HTML.
Definition: DefaultSettings.php:2469
$wgNativeImageLazyLoading
array $wgNativeImageLazyLoading
Toggles native image lazy loading, via the "loading" attribute.
Definition: DefaultSettings.php:9530
$wgOriginTrials
array $wgOriginTrials
Origin Trials tokens.
Definition: DefaultSettings.php:9437
$wgLocalisationCacheConf
$wgLocalisationCacheConf
Localisation cache configuration.
Definition: DefaultSettings.php:2750
$wgMaxImageArea
$wgMaxImageArea
The maximum number of pixels a source image can have if it is to be scaled down by a scaler that requ...
Definition: DefaultSettings.php:1334
$wgUseCombinedLoginLink
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
Definition: DefaultSettings.php:3638
$wgUseCopyrightUpload
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
Definition: DefaultSettings.php:7576
$wgMaxPPExpandDepth
$wgMaxPPExpandDepth
Definition: DefaultSettings.php:4565
$wgEnableEmail
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
Definition: DefaultSettings.php:1790
$wgUseCategoryBrowser
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
Definition: DefaultSettings.php:8062
$wgImgAuthPath
$wgImgAuthPath
The base path for img_auth.php.
Definition: DefaultSettings.php:287
$wgEnableDnsBlacklist
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
Definition: DefaultSettings.php:6018
$wgLogos
array false $wgLogos
The URL path to various wiki logos.
Definition: DefaultSettings.php:326
$wgDefaultSkin
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
Definition: DefaultSettings.php:3449
$wgUpdateRowsPerQuery
$wgUpdateRowsPerQuery
Number of rows to update per query.
Definition: DefaultSettings.php:8953
$wgReservedUsernames
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
Definition: DefaultSettings.php:5238
$wgEnableMagicLinks
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
Definition: DefaultSettings.php:4741
$wgInterlanguageLinkCodeMap
$wgInterlanguageLinkCodeMap
Map of interlanguage link codes to language codes.
Definition: DefaultSettings.php:3149
MEDIATYPE_BITMAP
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgSessionName
$wgSessionName
Override to customise the session name.
Definition: DefaultSettings.php:6493
$wgParserTestFiles
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
Definition: DefaultSettings.php:6882
$wgMaxInterlacingAreas
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
Definition: DefaultSettings.php:1187
$wgImportSources
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
Definition: DefaultSettings.php:7622
$wgCopyUploadProxy
$wgCopyUploadProxy
Proxy to use for copy upload requests.
Definition: DefaultSettings.php:918
$wgAllowedCorsHeaders
$wgAllowedCorsHeaders
List of allowed headers for cross-origin API requests.
Definition: DefaultSettings.php:8700
$wgAPIMetaModules
$wgAPIMetaModules
API Query meta module extensions.
Definition: DefaultSettings.php:8572
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:83
$wgFileBackends
$wgFileBackends
File backend structure configuration.
Definition: DefaultSettings.php:859
$wgDjvuOutputExtension
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
Definition: DefaultSettings.php:1750
$wgNamespaceProtection
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
Definition: DefaultSettings.php:5775
$wgExternalLinkTarget
$wgExternalLinkTarget
Set a default target for external links, e.g.
Definition: DefaultSettings.php:4669
$wgMaxJobDBWriteDuration
$wgMaxJobDBWriteDuration
Specify the difference engine to use.
Definition: DefaultSettings.php:9235
$wgMaxShellTime
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
Definition: DefaultSettings.php:8750
$wgPageInfoTransclusionLimit
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
Definition: DefaultSettings.php:6867
$wgEnableSearchContributorsByIP
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
Definition: DefaultSettings.php:7057
$wgSoftwareTags
array $wgSoftwareTags
List of core tags to enable.
Definition: DefaultSettings.php:7464
$wgDeleteRevisionsLimit
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
Definition: DefaultSettings.php:5952
$wgMemCachedTimeout
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
Definition: DefaultSettings.php:2696
$wgUpdateRowsPerJob
$wgUpdateRowsPerJob
Number of rows to update per job.
Definition: DefaultSettings.php:8948
$wgHTTPTimeout
float int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
Definition: DefaultSettings.php:8853
$wgCommandLineDarkBg
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
Definition: DefaultSettings.php:7120
$wgRCShowWatchingUsers
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
Definition: DefaultSettings.php:7418
$wgSignatureAllowedLintErrors
$wgSignatureAllowedLintErrors
List of lint error codes which don't cause signature validation to fail.
Definition: DefaultSettings.php:5226
$wgExtensionCredits
$wgExtensionCredits
Add information about an installed extension, keyed by its type.
Definition: DefaultSettings.php:7885
$wgImportTargetNamespace
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
Definition: DefaultSettings.php:7631
$wgCookieHttpOnly
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
Definition: DefaultSettings.php:6483
$wgCdnServersNoPurge
$wgCdnServersNoPurge
As with $wgCdnServers, except these servers aren't purged on page changes; use to set a list of trust...
Definition: DefaultSettings.php:2992
$wgCompressRevisions
$wgCompressRevisions
We can also compress text stored in the 'text' table.
Definition: DefaultSettings.php:2308
$wgExportAllowListContributors
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
Definition: DefaultSettings.php:7650
$wgFeedClasses
$wgFeedClasses
Available feeds objects.
Definition: DefaultSettings.php:7404
$wgAutoConfirmAge
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
Definition: DefaultSettings.php:5808
$wgDebugLogFile
$wgDebugLogFile
Filename for debug logging.
Definition: DefaultSettings.php:6543
$wgUseFilePatrol
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
Definition: DefaultSettings.php:7356
$wgEnableUserEmailBlacklist
$wgEnableUserEmailBlacklist
Set to true to enable user-to-user e-mail blacklist.
Definition: DefaultSettings.php:1813
$wgDisableLangConversion
$wgDisableLangConversion
Whether to enable language variant conversion.
Definition: DefaultSettings.php:3247
$wgRemoveGroups
$wgRemoveGroups
Definition: DefaultSettings.php:5940
$wgSearchForwardUrl
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
Definition: DefaultSettings.php:7017
$wgShowDBErrorBacktrace
$wgShowDBErrorBacktrace
If true, show a backtrace for database errors.
Definition: DefaultSettings.php:6738
$wgAPIMaxResultSize
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
Definition: DefaultSettings.php:8602
$wgCanonicalServer
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
Definition: DefaultSettings.php:118
$wgHashedUploadDirectory
bool $wgHashedUploadDirectory
Shortcut for setting hashLevels=2 in $wgLocalFileRepo.
Definition: DefaultSettings.php:1017
$wgPriorityHints
bool $wgPriorityHints
Enable client-side Priority Hints.
Definition: DefaultSettings.php:9447
$wgMemoryLimit
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
Definition: DefaultSettings.php:2409
$wgUniversalEditButton
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
Definition: DefaultSettings.php:7091
$wgConfigRegistry
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set,...
Definition: DefaultSettings.php:66
$wgValidSkinNames
$wgValidSkinNames
List of valid skin names.
Definition: DefaultSettings.php:7803
$wgUseSharedUploads
bool $wgUseSharedUploads
Shortcut for adding an entry to $wgForeignFileRepos.
Definition: DefaultSettings.php:675
$wgMaxAnimatedGifArea
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
Definition: DefaultSettings.php:1342
$wgInterwikiExpiry
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
Definition: DefaultSettings.php:4352
$wgAutopromoteOnceLogInRC
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
Definition: DefaultSettings.php:5911
$wgPageLanguageUseDB
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
Definition: DefaultSettings.php:9159
$wgCachePages
$wgCachePages
Allow client-side caching of pages.
Definition: DefaultSettings.php:2763
$wgTranslateNumerals
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
Definition: DefaultSettings.php:3231
$wgSVGMetadataCutoff
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Definition: DefaultSettings.php:1309
$wgAllowUserCssPrefs
$wgAllowUserCssPrefs
Allow style-related user-preferences?
Definition: DefaultSettings.php:3490
$wgExtraLanguageNames
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Definition: DefaultSettings.php:3154
$wgDBcompress
$wgDBcompress
Whether to use compression in DB connection.
Definition: DefaultSettings.php:2061
$wgMaxShellFileSize
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KB ImageMagick convert for example can b...
Definition: DefaultSettings.php:8745
$wgRangeContributionsCIDRLimit
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Definition: DefaultSettings.php:9361
$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
Definition: DefaultSettings.php:6920
$wgEnotifUserTalk
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
Definition: DefaultSettings.php:1922
$wgJobTypesExcludedFromDefaultQueue
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
Definition: DefaultSettings.php:7982
$wgSessionPbkdf2Iterations
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
Definition: DefaultSettings.php:2680
$wgCookieExpiration
$wgCookieExpiration
Default cookie lifetime, in seconds.
Definition: DefaultSettings.php:6429
$wgShowRollbackEditCount
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
Definition: DefaultSettings.php:3667
$wgImgAuthUrlPathMap
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Definition: DefaultSettings.php:524
$wgNamespaceAliases
$wgNamespaceAliases
Define extra namespace aliases.
Definition: DefaultSettings.php:4313
$wgForcedRawSMaxage
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
Definition: DefaultSettings.php:2970
$wgHTTPMaxConnectTimeout
float int $wgHTTPMaxConnectTimeout
The maximum HTTP connect timeout in seconds.
Definition: DefaultSettings.php:8881
$wgShellRestrictionMethod
string bool $wgShellRestrictionMethod
Method to use to restrict shell commands.
Definition: DefaultSettings.php:8838
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:72
$wgSlaveLagWarning
$wgSlaveLagWarning
If lag is higher than $wgSlaveLagWarning, show a warning in some special pages (like watchlist).
Definition: DefaultSettings.php:2288
$wgGitBin
$wgGitBin
Fully specified path to git binary.
Definition: DefaultSettings.php:7162
$wgFileCacheDepth
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
Definition: DefaultSettings.php:2794
$wgNoFollowNsExceptions
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
Definition: DefaultSettings.php:4683
$wgUrlProtocols
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
Definition: DefaultSettings.php:4577
$wgLocalTZoffset
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
Definition: DefaultSettings.php:3357
$wgExportMaxHistory
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
Definition: DefaultSettings.php:7645
$wgExportFromNamespaces
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
Definition: DefaultSettings.php:7668
$wgExtensionDirectory
$wgExtensionDirectory
Filesystem extensions directory.
Definition: DefaultSettings.php:251
$wgNoFollowLinks
$wgNoFollowLinks
If true, external URL links in wiki text will be given the rel="nofollow" attribute as a hint to sear...
Definition: DefaultSettings.php:4677
$wgMainPageIsDomainRoot
bool $wgMainPageIsDomainRoot
Option to whether serve the main page as the domain root.
Definition: DefaultSettings.php:9540
$wgServerName
$wgServerName
Server name.
Definition: DefaultSettings.php:125
$wgRateLimits
$wgRateLimits
Simple rate limiter options to brake edit floods.
Definition: DefaultSettings.php:6102
$wgVueDevelopmentMode
$wgVueDevelopmentMode
Whether to use the development version of Vue.js.
Definition: DefaultSettings.php:4232
$wgResourceLoaderStorageEnabled
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
Definition: DefaultSettings.php:4200
$wgUsePrivateIPs
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
Definition: DefaultSettings.php:3073
$wgLogRestrictions
$wgLogRestrictions
This restricts log access to those who have a certain right Users without this will not see it in the...
Definition: DefaultSettings.php:8142
$wgForceHTTPS
bool $wgForceHTTPS
If this is true, when an insecure HTTP request is received, always redirect to HTTPS.
Definition: DefaultSettings.php:166
$wgMaxRedirectLinksRetrieved
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
Definition: DefaultSettings.php:8379
$wgCookieDomain
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
Definition: DefaultSettings.php:6443
$wgImageMagickConvertCommand
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
Definition: DefaultSettings.php:1181
$wgLocalInterwikis
$wgLocalInterwikis
Array for local interwiki values, for each of the interwiki prefixes that point to the current wiki.
Definition: DefaultSettings.php:4347
$wgDeletedDirectory
$wgDeletedDirectory
What directory to place deleted uploads in.
Definition: DefaultSettings.php:503
$wgIgnoreImageErrors
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
Definition: DefaultSettings.php:1386
$wgSharpenReductionThreshold
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
Definition: DefaultSettings.php:1197
$wgCacheSharedUploads
bool $wgCacheSharedUploads
Shortcut for the ForeignDBRepo 'hasSharedCache' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:747
$wgMetaNamespaceTalk
$wgMetaNamespaceTalk
Name of the project talk namespace.
Definition: DefaultSettings.php:4254
$wgServer
$wgServer
URL of the server.
Definition: DefaultSettings.php:109
$wgRevisionCacheExpiry
$wgRevisionCacheExpiry
Revision text may be cached in $wgMemc to reduce load on external storage servers and object extracti...
Definition: DefaultSettings.php:2361
$wgAllowImageMoving
$wgAllowImageMoving
Allows to move images and other media files.
Definition: DefaultSettings.php:478
$wgActiveUserDays
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
Definition: DefaultSettings.php:4779
$wgUploadDialog
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
Definition: DefaultSettings.php:769
$wgRCMaxAge
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:7196
$wgEnotifRevealEditorAddress
bool $wgEnotifRevealEditorAddress
Allow sending of e-mail notifications with the editor's address in "Reply-To".
Definition: DefaultSettings.php:1938
$wgSummarySpamRegex
$wgSummarySpamRegex
Same as the above except for edit summaries.
Definition: DefaultSettings.php:6011
$wgLanguageCode
$wgLanguageCode
Site language code.
Definition: DefaultSettings.php:3098
$wgEnableParserLimitReporting
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
Definition: DefaultSettings.php:7777
$wgExportMaxLinkDepth
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
Definition: DefaultSettings.php:7663
$wgSitename
$wgSitename
Name of the site.
Definition: DefaultSettings.php:80
$wgReadOnly
$wgReadOnly
Set this to a string to put the wiki into read-only mode.
Definition: DefaultSettings.php:7130
$wgDevelopmentWarnings
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
Definition: DefaultSettings.php:6767
$wgRightsIcon
$wgRightsIcon
Override for copyright metadata.
Definition: DefaultSettings.php:7571
$wgEditSubmitButtonLabelPublish
$wgEditSubmitButtonLabelPublish
Whether to label the store-to-database-and-show-to-others button in the editor as "Save page"/"Save c...
Definition: DefaultSettings.php:3418
$wgFeedDiffCutoff
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
Definition: DefaultSettings.php:7383
$wgPasswordAttemptThrottle
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
Definition: DefaultSettings.php:6211
$wgDirectoryMode
$wgDirectoryMode
Default value for chmoding of new directories.
Definition: DefaultSettings.php:1679
$wgBlockDisablesLogin
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
Definition: DefaultSettings.php:5446
CACHE_ANYTHING
const CACHE_ANYTHING
Definition: Defines.php:90
NS_PROJECT_TALK
const NS_PROJECT_TALK
Definition: Defines.php:74
$wgRCShowChangedSize
$wgRCShowChangedSize
Show the amount of changed characters in recent changes.
Definition: DefaultSettings.php:7423
$wgExtensionFunctions
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
Definition: DefaultSettings.php:7694
XML_DUMP_SCHEMA_VERSION_11
const XML_DUMP_SCHEMA_VERSION_11
Definition: Defines.php:318
$wgUploadBaseUrl
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
Definition: DefaultSettings.php:421
$wgNamespaceRobotPolicies
$wgNamespaceRobotPolicies
Robot policies per namespaces.
Definition: DefaultSettings.php:8451
$wgTiffThumbnailType
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
Definition: DefaultSettings.php:1357
$wgSearchType
$wgSearchType
Search type.
Definition: DefaultSettings.php:2084
$wgAddGroups
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
Definition: DefaultSettings.php:5935
$wgSearchSuggestCacheExpiry
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
Definition: DefaultSettings.php:6975
$wgDisableOutputCompression
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
Definition: DefaultSettings.php:3544
$wgSMTP
$wgSMTP
SMTP Mode.
Definition: DefaultSettings.php:1871
$wgUploadDirectory
$wgUploadDirectory
The filesystem path of the images directory.
Definition: DefaultSettings.php:292
$wgUploadThumbnailRenderHttpCustomHost
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
Definition: DefaultSettings.php:1635
$wgSitemapNamespaces
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
Definition: DefaultSettings.php:7034
$wgIllegalFileChars
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
Definition: DefaultSettings.php:497
$wgAllowHTMLEmail
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
Definition: DefaultSettings.php:1882
$wgDBTableOptions
$wgDBTableOptions
MySQL table options to use during installation or update.
Definition: DefaultSettings.php:2103
$wgTrivialMimeDetection
$wgTrivialMimeDetection
Switch for trivial MIME detection.
Definition: DefaultSettings.php:1533
$wgSignatureValidation
$wgSignatureValidation
Behavior of signature validation.
Definition: DefaultSettings.php:5218
$wgCustomConvertCommand
$wgCustomConvertCommand
Use another resizing converter, e.g.
Definition: DefaultSettings.php:1217
$wgDeleteRevisionsBatchSize
$wgDeleteRevisionsBatchSize
Page deletions with > this number of revisions will use the job queue.
Definition: DefaultSettings.php:5958
$wgInvalidUsernameCharacters
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
Definition: DefaultSettings.php:5333
$wgAutoloadClasses
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
Definition: DefaultSettings.php:7816
$wgFavicon
$wgFavicon
The URL path of the shortcut icon.
Definition: DefaultSettings.php:364
$wgCSPReportOnlyHeader
bool array $wgCSPReportOnlyHeader
Controls Content-Security-Policy-Report-Only header.
Definition: DefaultSettings.php:9267
$wgLegacyJavaScriptGlobals
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
Definition: DefaultSettings.php:4160
$wgLearnerEdits
$wgLearnerEdits
The following variables define 3 user experience levels:
Definition: DefaultSettings.php:9378
$wgLogActionsHandlers
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
Definition: DefaultSettings.php:8231
$wgEnableAsyncUploads
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
Definition: DefaultSettings.php:488
$wgUploadNavigationUrl
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
Definition: DefaultSettings.php:980
$wgOverrideHostname
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
Definition: DefaultSettings.php:6761
$wgResourceBasePath
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
Definition: DefaultSettings.php:4090
$wgShortPagesNamespaceBlacklist
$wgShortPagesNamespaceBlacklist
Optional array of namespaces which should be blacklisted from Special:ShortPages Only pages inside $w...
Definition: DefaultSettings.php:4486
$wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
Definition: DefaultSettings.php:3321
$wgSiteTypes
$wgSiteTypes
Register handlers for specific types of sites.
Definition: DefaultSettings.php:9107
$wgMinUploadChunkSize
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
Definition: DefaultSettings.php:968
$wgContentNamespaces
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Definition: DefaultSettings.php:4478
$wgPriorityHintsRatio
float $wgPriorityHintsRatio
Ratio of requests that should get Priority Hints when the feature is enabled.
Definition: DefaultSettings.php:9457
$wgJobClasses
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
Definition: DefaultSettings.php:7945
$wgEmailConfirmToEdit
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
Definition: DefaultSettings.php:5502
$wgExtraInterlanguageLinkPrefixes
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i....
Definition: DefaultSettings.php:3140
$wgCopyUploadsFromSpecialUpload
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
Definition: DefaultSettings.php:912
$wgRunJobsAsync
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
Definition: DefaultSettings.php:8943
$wgMaxShellWallClockTime
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
Definition: DefaultSettings.php:8756
$wgCascadingRestrictionLevels
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
Definition: DefaultSettings.php:5752
$wgArticlePath
$wgArticlePath
The URL path for primary article page views.
Definition: DefaultSettings.php:267
$wgSessionCacheType
$wgSessionCacheType
The cache type for storing session data.
Definition: DefaultSettings.php:2476
$wgSquidPurgeUseHostHeader
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgCdnServers.
Definition: DefaultSettings.php:3014
$wgJpegTran
$wgJpegTran
used for lossless jpeg rotation
Definition: DefaultSettings.php:1224
$wgDisableCookieCheck
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
Definition: DefaultSettings.php:6469
$wgDisableSearchUpdate
$wgDisableSearchUpdate
If you've disabled search semi-permanently, this also disables updates to the table.
Definition: DefaultSettings.php:6981
$wgMWLoggerDefaultSpi
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
Definition: DefaultSettings.php:6694
$wgCacheEpoch
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Definition: DefaultSettings.php:2773
$wgShellCgroup
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
Definition: DefaultSettings.php:8781
$wgAjaxExportList
$wgAjaxExportList
List of Ajax-callable functions.
Definition: DefaultSettings.php:8650
$wgUserEmailConfirmationTokenExpiry
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
Definition: DefaultSettings.php:1840
$wgGitInfoCacheDirectory
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
Definition: DefaultSettings.php:2779
$wgImageLimits
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
Definition: DefaultSettings.php:1555
$wgExternalDiffEngine
string false $wgExternalDiffEngine
Name of the external diff engine to use.
Definition: DefaultSettings.php:8981
$wgDiffEngine
string null $wgDiffEngine
Specify the difference engine to use.
Definition: DefaultSettings.php:8975
$wgResourceLoaderUseObjectCacheForDeps
$wgResourceLoaderUseObjectCacheForDeps
Use the main stash instead of the module_deps table for indirect dependency tracking.
Definition: DefaultSettings.php:4119
$wgAutoConfirmCount
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
Definition: DefaultSettings.php:5819
$wgCentralIdLookupProviders
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
Definition: DefaultSettings.php:4793
$wgActionPaths
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
Definition: DefaultSettings.php:446
$wgBlockCIDRLimit
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
Definition: DefaultSettings.php:5434
ResourceLoader
ResourceLoader is a loading system for JavaScript and CSS resources.
Definition: ResourceLoader.php:56
$wgMiserMode
$wgMiserMode
Disable database-intensive features.
Definition: DefaultSettings.php:2373
$wgGitRepositoryViewers
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
Definition: DefaultSettings.php:7177
$wgTidyConfig
$wgTidyConfig
Configuration for HTML postprocessing tool.
Definition: DefaultSettings.php:4651
$wgEnableJavaScriptTest
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
Definition: DefaultSettings.php:6887
$wgPoolCounterConf
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
Definition: DefaultSettings.php:9054
$wgLoggedOutMaxAge
$wgLoggedOutMaxAge
Cache TTL for the user agent sent as max-age, for logged out users.
Definition: DefaultSettings.php:2940
$wgUseTinyRGBForJPGThumbnails
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
Definition: DefaultSettings.php:1651
$wgAvailableRights
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Definition: DefaultSettings.php:5946
MEDIATYPE_VIDEO
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgSemiprotectedRestrictionLevels
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
Definition: DefaultSettings.php:5766
$wgDisableUploadScriptChecks
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
Definition: DefaultSettings.php:1089
$wgCookieSetOnAutoblock
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
Definition: DefaultSettings.php:6502
$wgRateLimitsExcludedIPs
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
Definition: DefaultSettings.php:6184
$wgCapitalLinks
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Definition: DefaultSettings.php:4418
$wgReadOnlyFile
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
Definition: DefaultSettings.php:7146
$wgApplyIpBlocksToXff
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
Definition: DefaultSettings.php:6065
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:82
$wgThumbnailScriptPath
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
Definition: DefaultSettings.php:1000
$wgRCEngines
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
Definition: DefaultSettings.php:7303
$wgCSPHeader
bool array $wgCSPHeader
Controls Content-Security-Policy header [Experimental].
Definition: DefaultSettings.php:9259
$wgEditPageFrameOptions
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
Definition: DefaultSettings.php:3527
$wgGroupPermissions
$wgGroupPermissions
Permission keys given to users in each group.
Definition: DefaultSettings.php:5534
SCHEMA_COMPAT_NEW
const SCHEMA_COMPAT_NEW
Definition: Defines.php:280
$wgDebugComments
$wgDebugComments
Send debug data to an HTML comment in the output.
Definition: DefaultSettings.php:6572
$wgExiv2Command
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
Definition: DefaultSettings.php:1260
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition: DefaultSettings.php:3115
$wgLocaltimezone
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Definition: DefaultSettings.php:3346
$wgPagePropLinkInvalidations
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
Definition: DefaultSettings.php:8048
$wgAjaxEditStash
$wgAjaxEditStash
Have clients send edits to be prepared when filling in edit summaries.
Definition: DefaultSettings.php:8666
$wgHttpsPort
$wgHttpsPort
For installations where the canonical server is HTTP but HTTPS is optionally supported,...
Definition: DefaultSettings.php:146
$wgCleanSignatures
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
Definition: DefaultSettings.php:4587
$wgOpenSearchDescriptionLength
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Definition: DefaultSettings.php:6970
Interwiki
Value object for representing interwiki records.
Definition: Interwiki.php:26
$wgShowExceptionDetails
$wgShowExceptionDetails
If set to true, uncaught exceptions will print the exception message and a complete stack trace to ou...
Definition: DefaultSettings.php:6726
$wgThumbUpright
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
Definition: DefaultSettings.php:1674
$wgVerifyMimeType
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Definition: DefaultSettings.php:1486
$wgExtraGenderNamespaces
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
Definition: DefaultSettings.php:4290
$wgQueryCacheLimit
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
Definition: DefaultSettings.php:2383
$wgInterwikiFallbackSite
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
Definition: DefaultSettings.php:4390
$wgReauthenticateTime
int[] $wgReauthenticateTime
Time frame for re-authentication.
Definition: DefaultSettings.php:5036
$wgSharedUploadDBprefix
string $wgSharedUploadDBprefix
Shortcut for the ForeignDBRepo 'tablePrefix' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:738
$wgCookieSecure
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
Definition: DefaultSettings.php:6461
$wgSessionProviders
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
Definition: DefaultSettings.php:5374
$wgSiteNotice
$wgSiteNotice
Site notice shown at the top of each page.
Definition: DefaultSettings.php:3443
$wgCapitalLinkOverrides
$wgCapitalLinkOverrides
Definition: DefaultSettings.php:4433
$wgTrackingCategories
$wgTrackingCategories
Array holding default tracking category names.
Definition: DefaultSettings.php:4470
$wgShellLocale
$wgShellLocale
Locale for LC_ALL, to provide a known environment for locale-sensitive operations.
Definition: DefaultSettings.php:8822
$wgRestrictionLevels
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
Definition: DefaultSettings.php:5741
$wgDnsBlacklistUrls
$wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
Definition: DefaultSettings.php:6043
$wgEnableUploads
$wgEnableUploads
Allow users to upload files.
Definition: DefaultSettings.php:464
$wgRenderHashAppend
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
Definition: DefaultSettings.php:2800
NS_USER
const NS_USER
Definition: Defines.php:71
$wgLearnerMemberSince
$wgLearnerMemberSince
Specify the difference engine to use.
Definition: DefaultSettings.php:9379
$wgAdvertisedFeedTypes
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
Definition: DefaultSettings.php:7413
$wgSlaveLagCritical
$wgSlaveLagCritical
Definition: DefaultSettings.php:2293
$wgSVGConverters
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
Definition: DefaultSettings.php:1278
$wgExtensionInfoMTime
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
Definition: DefaultSettings.php:2859
$wgGroupsRemoveFromSelf
$wgGroupsRemoveFromSelf
Definition: DefaultSettings.php:5719
$wgAllowCopyUploads
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
Definition: DefaultSettings.php:898
NS_TALK
const NS_TALK
Definition: Defines.php:70
$wgTextModelsToParse
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Definition: DefaultSettings.php:9096
$wgAPIPropModules
$wgAPIPropModules
API Query prop module extensions.
Definition: DefaultSettings.php:8581
$wgOverrideSiteFeed
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
Definition: DefaultSettings.php:7397
$wgResourceLoaderMaxQueryLength
int $wgResourceLoaderMaxQueryLength
ResourceLoader will not generate URLs whose query string is more than this many characters long,...
Definition: DefaultSettings.php:4175
$wgSkipSkins
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
Definition: DefaultSettings.php:3468
$wgCategoryCollation
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
Definition: DefaultSettings.php:8100
$wgLogNames
$wgLogNames
Lists the message key string for each log type.
Definition: DefaultSettings.php:8180
$wgEnotifImpersonal
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
Definition: DefaultSettings.php:1962
$wgFileCacheDirectory
$wgFileCacheDirectory
Directory where the cached page will be saved.
Definition: DefaultSettings.php:298
$wgCookieSetOnIpBlock
$wgCookieSetOnIpBlock
Whether to set a cookie when a logged-out user is blocked.
Definition: DefaultSettings.php:6511
$wgUploadPath
$wgUploadPath
The URL path for the images directory.
Definition: DefaultSettings.php:273
$wgMaxTocLevel
$wgMaxTocLevel
Maximum indent level of toc.
Definition: DefaultSettings.php:4546
$wgMaxRedirects
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Definition: DefaultSettings.php:4502
$wgSpecialSearchFormOptions
array $wgSpecialSearchFormOptions
Options for Special:Search completion widget form created by SearchFormWidget class.
Definition: DefaultSettings.php:9509
$wgDjvuDump
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
Definition: DefaultSettings.php:1708
$wgRestrictionTypes
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
Definition: DefaultSettings.php:5728
$wgSearchRunSuggestedQuery
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
Definition: DefaultSettings.php:9217
$wgArticleCountMethod
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Definition: DefaultSettings.php:4770
$wgEnableBotPasswords
bool $wgEnableBotPasswords
Whether to enable bot passwords.
Definition: DefaultSettings.php:6378
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:77
$wgXhtmlNamespaces
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
Definition: DefaultSettings.php:3434
CONTENT_MODEL_JAVASCRIPT
const CONTENT_MODEL_JAVASCRIPT
Definition: Defines.php:225
$wgHTTPMaxTimeout
float int $wgHTTPMaxTimeout
The maximum HTTP request timeout in seconds.
Definition: DefaultSettings.php:8872
$wgMaxSigChars
$wgMaxSigChars
Maximum number of Unicode characters in signature.
Definition: DefaultSettings.php:5206
$wgDBuser
$wgDBuser
Database username.
Definition: DefaultSettings.php:2031
$wgDBerrorLogTZ
$wgDBerrorLogTZ
Timezone to use in the error log.
Definition: DefaultSettings.php:2266
$wgJpegQuality
$wgJpegQuality
When scaling a JPEG thumbnail, this is the quality we request from the backend.
Definition: DefaultSettings.php:1254
$wgPasswordPolicy
$wgPasswordPolicy
Password policy for the wiki.
Definition: DefaultSettings.php:4873
$wgReportToEndpoints
array $wgReportToEndpoints
List of endpoints for the Reporting API.
Definition: DefaultSettings.php:9487
$wgDataCenterUpdateStickTTL
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
Definition: DefaultSettings.php:2241
$wgDebugDumpSql
$wgDebugDumpSql
Write SQL queries to the debug log.
Definition: DefaultSettings.php:6581
$wgAllowSlowParserFunctions
$wgAllowSlowParserFunctions
Enable slow parser functions.
Definition: DefaultSettings.php:2393
$wgPagePropsHaveSortkey
$wgPagePropsHaveSortkey
Whether the page_props table has a pp_sortkey column.
Definition: DefaultSettings.php:9116
$wgUploadMissingFileUrl
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
Definition: DefaultSettings.php:987
$wgResourceModuleSkinStyles
$wgResourceModuleSkinStyles
Add extra skin-specific styles to a resource module.
Definition: DefaultSettings.php:4072
$wgMinimalPasswordLength
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
Definition: DefaultSettings.php:5090
$wgGroupsAddToSelf
$wgGroupsAddToSelf
A map of group names that the user is in, to group names that those users are allowed to add or revok...
Definition: DefaultSettings.php:5714
CONTENT_MODEL_TEXT
const CONTENT_MODEL_TEXT
Definition: Defines.php:227
$wgRCFilterByAge
$wgRCFilterByAge
Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be store...
Definition: DefaultSettings.php:7220
$wgSpecialPages
$wgSpecialPages
Special page list.
Definition: DefaultSettings.php:7811
$wgDebugToolbar
$wgDebugToolbar
Display the new debugging toolbar.
Definition: DefaultSettings.php:6902
$wgAntivirus
$wgAntivirus
Internal name of virus scanner.
Definition: DefaultSettings.php:1427
$wgDisableQueryPageUpdate
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
Definition: DefaultSettings.php:8367
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:76
$wgTrustedMediaFormats
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
Definition: DefaultSettings.php:1106
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:84
$wgHKDFSecret
$wgHKDFSecret
Secret for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:9143
$wgHTTPImportTimeout
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
Definition: DefaultSettings.php:8887
$wgRestrictDisplayTitle
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
Definition: DefaultSettings.php:4710
$wgAutoloadAttemptLowercase
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
Definition: DefaultSettings.php:7825
$wgPasswordSender
$wgPasswordSender
Sender email address for e-mail notifications.
Definition: DefaultSettings.php:1776
$wgPHPSessionHandling
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
Definition: DefaultSettings.php:2673
$wgAllowDisplayTitle
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Definition: DefaultSettings.php:4703
$wgUseSiteCss
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
Definition: DefaultSettings.php:3500
$wgExtraLanguageCodes
$wgExtraLanguageCodes
List of mappings from one language code to another.
Definition: DefaultSettings.php:3169
$wgAPIFormatModules
$wgAPIFormatModules
API format module extensions.
Definition: DefaultSettings.php:8563
$wgRegisterInternalExternals
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
Definition: DefaultSettings.php:9003
$wgSecretKey
$wgSecretKey
This should always be customised in LocalSettings.php.
Definition: DefaultSettings.php:6407
$wgScriptPath
$wgScriptPath
The path we should point to.
Definition: DefaultSettings.php:177
$wgNamespacesWithSubpages
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
Definition: DefaultSettings.php:4439
$wgXMLMimeTypes
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
Definition: DefaultSettings.php:1539
$wgPasswordConfig
$wgPasswordConfig
Configuration for built-in password types.
Definition: DefaultSettings.php:5141
$wgDBadminpassword
$wgDBadminpassword
Separate password for maintenance tasks.
Definition: DefaultSettings.php:2071
$wgUseAjax
$wgUseAjax
Enable AJAX framework.
Definition: DefaultSettings.php:8643
$wgDBssl
$wgDBssl
Whether to use SSL in DB connection.
Definition: DefaultSettings.php:2051
$wgWatchersMaxAge
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
Definition: DefaultSettings.php:7203
$wgGrantPermissionGroups
array $wgGrantPermissionGroups
Map of grants to their UI grouping.
Definition: DefaultSettings.php:6338
$wgVariantArticlePath
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
Definition: DefaultSettings.php:3293
$wgMaxShellMemory
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KB.
Definition: DefaultSettings.php:8739
$wgResourceLoaderDebug
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
Definition: DefaultSettings.php:4126
$wgUseImageResize
$wgUseImageResize
Whether to enable server-side image thumbnailing.
Definition: DefaultSettings.php:1166
$wgWatchlistExpiry
bool $wgWatchlistExpiry
Whether to enable the watchlist expiry feature.
Definition: DefaultSettings.php:9548
$wgForeignFileRepos
$wgForeignFileRepos
Enable the use of files from one or more other wikis.
Definition: DefaultSettings.php:634
$wgAccountCreationThrottle
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
Definition: DefaultSettings.php:5990
$wgEnotifMaxRecips
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
Definition: DefaultSettings.php:1968
$wgUploadThumbnailRenderMethod
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
Definition: DefaultSettings.php:1628
$wgLocalStylePath
$wgLocalStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:237
$wgSpecialVersionShowHooks
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
Definition: DefaultSettings.php:6708
$wgMemCachedPersistent
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
Definition: DefaultSettings.php:2691
$wgShowEXIF
$wgShowEXIF
Show Exif data, on by default if available.
Definition: DefaultSettings.php:884
$wgSearchMatchRedirectPreference
bool $wgSearchMatchRedirectPreference
Set true to allow logged-in users to set a preference whether or not matches in search results should...
Definition: DefaultSettings.php:9520
$wgMaxPPNodeCount
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
Definition: DefaultSettings.php:4552
$wgSecureLogin
$wgSecureLogin
This is to let user authenticate using https when they come from http.
Definition: DefaultSettings.php:5352
$wgGenerateThumbnailOnParse
bool $wgGenerateThumbnailOnParse
Render thumbnails while parsing wikitext.
Definition: DefaultSettings.php:1408
$wgCookiePrefix
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
Definition: DefaultSettings.php:6476
$wgUserEmailUseReplyTo
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
Definition: DefaultSettings.php:1824
$wgAPIMaxDBRows
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
Definition: DefaultSettings.php:8596
$wgMainStash
$wgMainStash
The object store type of the main stash.
Definition: DefaultSettings.php:2644
$wgStyleDirectory
$wgStyleDirectory
Filesystem stylesheets directory.
Definition: DefaultSettings.php:258
$wgUpgradeKey
$wgUpgradeKey
When you run the web-based upgrade utility, it will tell you what to set this to in order to authoriz...
Definition: DefaultSettings.php:7157
$wgSVGConverter
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Definition: DefaultSettings.php:1293
$wgSessionSecret
$wgSessionSecret
Secret for session storage.
Definition: DefaultSettings.php:9124
$wgDefaultRobotPolicy
$wgDefaultRobotPolicy
Default robot policy.
Definition: DefaultSettings.php:8435
$wgAllowUserJs
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
Definition: DefaultSettings.php:3475
$wgUnwatchedPageThreshold
$wgUnwatchedPageThreshold
If set to an integer, pages that are watched by this many users or more will not require the unwatche...
Definition: DefaultSettings.php:7482
$wgTrxProfilerLimits
$wgTrxProfilerLimits
Performance expectations for DB usage.
Definition: DefaultSettings.php:6588
$wgExtraNamespaces
$wgExtraNamespaces
Additional namespaces.
Definition: DefaultSettings.php:4282
$wgUploadThumbnailRenderHttpCustomDomain
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HT...
Definition: DefaultSettings.php:1643
$wgCategoryPagingLimit
$wgCategoryPagingLimit
Paging limit for categories.
Definition: DefaultSettings.php:8073
$wgNewUserLog
$wgNewUserLog
Maintain a log of newusers at Special:Log/newusers?
Definition: DefaultSettings.php:8342
$wgNamespacesToBeSearchedDefault
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
Definition: DefaultSettings.php:6992
$wgUsePigLatinVariant
$wgUsePigLatinVariant
Whether to enable the pig Latin variant of English (en-x-piglatin), used to ease variant development ...
Definition: DefaultSettings.php:3263
$wgMainWANCache
$wgMainWANCache
Main Wide-Area-Network cache type.
Definition: DefaultSettings.php:2562
$wgImagePreconnect
$wgImagePreconnect
On pages containing images, tell the user agent to pre-connect to hosts from $wgForeignFileRepos.
Definition: DefaultSettings.php:1696
$wgGalleryOptions
$wgGalleryOptions
Parameters for the "<gallery>" tag.
Definition: DefaultSettings.php:1667
$wgAutopromoteOnce
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
Definition: DefaultSettings.php:5903
$wgJobQueueIncludeInMaxLagFactor
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Definition: DefaultSettings.php:8031
$wgCdnReboundPurgeDelay
$wgCdnReboundPurgeDelay
If set, any SquidPurge call on a URL or URLs will send a second purge no less than this many seconds ...
Definition: DefaultSettings.php:2956
$wgEnableAutoRotation
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
Definition: DefaultSettings.php:1420
$wgVirtualRestConfig
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
Definition: DefaultSettings.php:9198
$wgCheckFileExtensions
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
Definition: DefaultSettings.php:1073
CACHE_DB
const CACHE_DB
Definition: Defines.php:92
$wgAllUnicodeFixes
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
Definition: DefaultSettings.php:3193
$wgInternalServer
$wgInternalServer
Internal server name as known to CDN, if different.
Definition: DefaultSettings.php:2904
$wgDisableAnonTalk
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
Definition: DefaultSettings.php:7442
$wgInterwikiPrefixDisplayTypes
$wgInterwikiPrefixDisplayTypes
Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwik...
Definition: DefaultSettings.php:9400
$wgUseLocalMessageCache
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
Definition: DefaultSettings.php:2709
$wgStatsdServer
$wgStatsdServer
Destination of statsd metrics.
Definition: DefaultSettings.php:6841
$wgCountCategorizedImagesAsUsed
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
Definition: DefaultSettings.php:8373
$wgDummyLanguageCodes
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
Definition: DefaultSettings.php:3184
$wgPasswordExpirationDays
$wgPasswordExpirationDays
The number of days that a user's password is good for.
Definition: DefaultSettings.php:1846
$wgRCWatchCategoryMembership
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
Definition: DefaultSettings.php:7319
$wgObjectCacheSessionExpiry
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
Definition: DefaultSettings.php:2655
$wgFeed
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
Definition: DefaultSettings.php:7361
$wgAsyncHTTPTimeout
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
Definition: DefaultSettings.php:8892
$wgRightsUrl
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
Definition: DefaultSettings.php:7558
$wgAllowExternalImages
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
Definition: DefaultSettings.php:4592
$wgUsePathInfo
$wgUsePathInfo
Whether to support URLs like index.php/Page_title These often break when PHP is set up in CGI mode.
Definition: DefaultSettings.php:196
$wgImageMagickTempDir
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
Definition: DefaultSettings.php:1203
$wgSQLMode
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
Definition: DefaultSettings.php:2111
$wgEnableImageWhitelist
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki allow list of regular expression fragmen...
Definition: DefaultSettings.php:4619
$wgExportPagelistLimit
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
Definition: DefaultSettings.php:7681
$wgSpamRegex
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
Definition: DefaultSettings.php:6006
$wgSharedUploadPath
string $wgSharedUploadPath
Shortcut for the 'url' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:693
$wgOpenSearchDefaultLimit
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
Definition: DefaultSettings.php:6965
$wgReportToExpiry
int $wgReportToExpiry
Expiry of the endpoint definition for the Reporting API.
Definition: DefaultSettings.php:9477
$wgCdnMaxageLagged
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
Definition: DefaultSettings.php:2923
$wgShowArchiveThumbnails
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
Definition: DefaultSettings.php:1413
$wgAllowSpecialInclusion
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
Definition: DefaultSettings.php:8360