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 
84 /************************************************************************/
111 $wgServer = false;
112 
121 
128 
136 
149 
169 
179 $wgScriptPath = '/wiki';
180 
198 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
199  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
200  ( strpos( PHP_SAPI, 'isapi' ) === false );
201 
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 
480 
488 $wgIllegalFileChars = ":\\/\\\\";
489 
495 
500 
516 
611 
626 
637 
667 
676 
685 
694 
701 $wgRepositoryBaseUrl = 'https://commons.wikimedia.org/wiki/File:';
702 
711 
721 
730 
739 
750 
761  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
762  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
763  // matching replacement to the 'filepage' format key below to make use of these.
764  'fields' => [
765  'description' => true,
766  'date' => false,
767  'categories' => false,
768  ],
769  // Suffix of localisation messages used to describe the license under which the uploaded file will
770  // be released. The same value may be set for both 'local' and 'foreign' uploads.
771  'licensemessages' => [
772  // The 'local' messages are used for local uploads on this wiki:
773  // * upload-form-label-own-work-message-generic-local
774  // * upload-form-label-not-own-work-message-generic-local
775  // * upload-form-label-not-own-work-local-generic-local
776  'local' => 'generic-local',
777  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
778  // * upload-form-label-own-work-message-generic-foreign
779  // * upload-form-label-not-own-work-message-generic-foreign
780  // * upload-form-label-not-own-work-local-generic-foreign
781  'foreign' => 'generic-foreign',
782  ],
783  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
784  // string value, in which case it is used for both kinds of uploads. Available replacements:
785  // * $HOST - domain name from which a cross-wiki upload originates
786  // * $PAGENAME - wiki page name from which an upload originates
787  'comment' => [
788  'local' => '',
789  'foreign' => '',
790  ],
791  // Format of the file page wikitext to be generated from the fields input by the user.
792  'format' => [
793  // Wrapper for the whole page. Available replacements:
794  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
795  // enabled), wrapped as defined below in the 'description' key
796  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
797  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
798  // * $AUTHOR - linked user name, may be extended in the future
799  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
800  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
801  // field is enabled), or if no input, as defined below in the 'uncategorized' key
802  'filepage' => '$DESCRIPTION',
803  // Wrapped for file description. Available replacements:
804  // * $LANGUAGE - source wiki's content language
805  // * $TEXT - input by the user
806  'description' => '$TEXT',
807  'ownwork' => '',
808  'license' => '',
809  'uncategorized' => '',
810  ],
811 ];
812 
851 
863 
875 $wgShowEXIF = function_exists( 'exif_read_data' );
876 
883 
890 
897 
904 
910 
922 
943 $wgMaxUploadSize = 1024 * 1024 * 100;
944 
960 
972 
979 
992 
1001 
1009 
1018 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
1019 
1026  # HTML may contain cookie-stealing JavaScript and web bugs
1027  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
1028  # PHP scripts may execute arbitrary code on the server
1029  'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'phar',
1030  # Other types that may be interpreted by some servers
1031  'shtml', 'jhtml', 'pl', 'py', 'cgi',
1032  # May contain harmful executables for Windows victims
1033  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ];
1034 
1040  # HTML may contain cookie-stealing JavaScript and web bugs
1041  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
1042  # PHP scripts may execute arbitrary code on the server
1043  'application/x-php', 'text/x-php',
1044  # Other types that may be interpreted by some servers
1045  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
1046  # Client-side hazards on Internet Explorer
1047  'text/scriptlet', 'application/x-msdownload',
1048  # Windows metafile, client-side vulnerability on some systems
1049  'application/x-msmetafile',
1050 ];
1051 
1058 
1065 
1073 
1081 
1086 
1098  MEDIATYPE_BITMAP, // all bitmap formats
1099  MEDIATYPE_AUDIO, // all audio formats
1100  MEDIATYPE_VIDEO, // all plain video formats
1101  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
1102  "application/pdf", // PDF files
1103  # "application/x-shockwave-flash", //flash/shockwave movie
1104 ];
1105 
1114 
1120  'image/jpeg' => 'MockBitmapHandler',
1121  'image/png' => 'MockBitmapHandler',
1122  'image/gif' => 'MockBitmapHandler',
1123  'image/tiff' => 'MockBitmapHandler',
1124  'image/webp' => 'MockBitmapHandler',
1125  'image/x-ms-bmp' => 'MockBitmapHandler',
1126  'image/x-bmp' => 'MockBitmapHandler',
1127  'image/x-xcf' => 'MockBitmapHandler',
1128  'image/svg+xml' => 'MockSvgHandler',
1129  'image/vnd.djvu' => 'MockDjVuHandler',
1130 ];
1131 
1140  // the usual case
1141  CONTENT_MODEL_WIKITEXT => WikitextContentHandler::class,
1142  // dumb version, no syntax highlighting
1143  CONTENT_MODEL_JAVASCRIPT => JavaScriptContentHandler::class,
1144  // simple implementation, for use by extensions, etc.
1145  CONTENT_MODEL_JSON => JsonContentHandler::class,
1146  // dumb version, no syntax highlighting
1147  CONTENT_MODEL_CSS => CssContentHandler::class,
1148  // plain text, for use by extensions, etc.
1149  CONTENT_MODEL_TEXT => TextContentHandler::class,
1150  // fallback for unknown models, from imports or extensions that were removed
1151  CONTENT_MODEL_UNKNOWN => FallbackContentHandler::class,
1152 ];
1153 
1160 
1170 
1174 $wgImageMagickConvertCommand = '/usr/bin/convert';
1175 
1181 
1186 
1191 
1197 
1211 
1217 $wgJpegTran = '/usr/bin/jpegtran';
1218 
1239 
1248 
1253 $wgExiv2Command = '/usr/bin/exiv2';
1254 
1260 $wgExiftool = '/usr/bin/exiftool';
1261 
1272  'ImageMagick' =>
1273  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1274  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1275  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1276  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1277  . '$output $input',
1278  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1279  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1280  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1281 ];
1282 
1286 $wgSVGConverter = 'ImageMagick';
1287 
1292 
1297 
1303 
1313 
1328 
1336 
1351 
1358 $wgThumbnailEpoch = '20030516000000';
1359 
1367 
1380 
1402 
1407 
1414 
1421 
1457 
1458  # setup for clamav
1459  'clamav' => [
1460  'command' => 'clamscan --no-summary ',
1461  'codemap' => [
1462  "0" => AV_NO_VIRUS, # no virus
1463  "1" => AV_VIRUS_FOUND, # virus found
1464  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1465  "*" => AV_SCAN_FAILED, # else scan failed
1466  ],
1467  'messagepattern' => '/.*?:(.*)/sim',
1468  ],
1469 ];
1470 
1475 
1480 
1490 
1500 $wgMimeTypeFile = 'internal';
1501 
1506 $wgMimeInfoFile = 'internal';
1507 
1520 
1527 
1533  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1534  'svg' => 'image/svg+xml',
1535  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1536  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1537  'html' => 'text/html', // application/xhtml+xml?
1538 ];
1539 
1549  [ 320, 240 ],
1550  [ 640, 480 ],
1551  [ 800, 600 ],
1552  [ 1024, 768 ],
1553  [ 1280, 1024 ]
1554 ];
1555 
1562  120,
1563  150,
1564  180,
1565  200,
1566  250,
1567  300
1568 ];
1569 
1580 
1597 
1609 
1622 
1629 
1637 
1645 
1661 
1668 
1673 
1681 
1690 
1702 
1709 
1715 $wgDjvuTxt = null;
1716 
1732 
1738 $wgDjvuPostProcessor = 'pnmtojpeg';
1739 
1744  # end of DJvu }
1746  # end of file uploads }
1748 
1749 /************************************************************************/
1760 
1770 
1777 
1784 
1790 
1800 
1807 
1818 
1824 
1828 $wgNewPasswordExpiry = 3600 * 24 * 7;
1829 
1834 
1840 
1845 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1846 
1864 $wgSMTP = false;
1865 
1870 
1876 
1889 
1890 // TODO move UPO to preferences probably ?
1891 # If set to true, users get a corresponding option in their preferences and can choose to
1892 # enable or disable at their discretion
1893 # If set to false, the corresponding input form on the user preference page is suppressed
1894 # It call this to be a "user-preferences-option (UPO)"
1895 
1902 
1907 
1916 
1932 
1947 
1956 
1962 
1967 
1973  # end of email settings
1975 
1976 /************************************************************************/
1989 $wgDBname = 'my_wiki';
1990 
2000 
2010 
2014 $wgDBserver = 'localhost';
2015 
2019 $wgDBport = 5432;
2020 
2024 $wgDBuser = 'wikiuser';
2025 
2030 
2034 $wgDBtype = 'mysql';
2035 
2044 $wgDBssl = false;
2045 
2055 
2060 
2065 
2078 
2092 
2096 $wgDBTableOptions = 'ENGINE=InnoDB, DEFAULT CHARSET=binary';
2097 
2105 
2112 
2117 
2144 
2149 
2153 $wgSharedTables = [ 'user', 'user_properties' ];
2154 
2160 
2215 
2226 $wgLBFactoryConf = [ 'class' => \Wikimedia\Rdbms\LBFactorySimple::class ];
2227 
2235 
2240 
2260 
2275 
2282 
2287  # End of DB settings }
2289 
2290 /************************************************************************/
2302 
2315 
2331 
2347 
2357  # end text storage }
2359 
2360 /************************************************************************/
2369 
2374 
2379 
2384 
2389 
2394 
2399 
2405 
2413  # end performance hacks }
2415 
2416 /************************************************************************/
2430 
2449 
2457 
2465 
2472 
2482 
2497  CACHE_NONE => [ 'class' => EmptyBagOStuff::class, 'reportDupes' => false ],
2498  CACHE_DB => [ 'class' => SqlBagOStuff::class, 'loggroup' => 'SQLBagOStuff' ],
2499 
2500  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2501  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2502  CACHE_MEMCACHED => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2503 
2504  'db-replicated' => [
2505  'class' => ReplicatedBagOStuff::class,
2506  'readFactory' => [
2507  'factory' => 'ObjectCache::newFromParams',
2508  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => true ] ]
2509  ],
2510  'writeFactory' => [
2511  'factory' => 'ObjectCache::newFromParams',
2512  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => false ] ]
2513  ],
2514  'loggroup' => 'SQLBagOStuff',
2515  'reportDupes' => false
2516  ],
2517  'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2518  'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ],
2519  'hash' => [ 'class' => HashBagOStuff::class, 'reportDupes' => false ],
2520 
2521  // Deprecated since 1.35.
2522  // - To configure a wg*CacheType variable to use the local server cache,
2523  // use CACHE_ACCEL instead, which will select these automatically.
2524  // - To access the object for the local server cache at run-time,
2525  // use MediaWikiServices::getLocalServerObjectCache()
2526  // instead of e.g. ObjectCache::getInstance( 'apcu' ).
2527  // - To instantiate a new one of these explicitly, do so directly
2528  // by using `new APCUBagOStuff( [ … ] )`
2529  // - To instantiate a new one of these including auto-detection and fallback,
2530  // use ObjectCache::makeLocalServerCache().
2531  'apc' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2532  'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2533  'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ],
2534 ];
2535 
2558 
2585  CACHE_NONE => [
2586  'class' => WANObjectCache::class,
2587  'cacheId' => CACHE_NONE,
2588  ]
2589 ];
2590 
2603 
2639 $wgMainStash = 'db-replicated';
2640 
2646 
2651 
2669 
2676 
2680 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2681 
2687 
2692 
2705 
2713 
2746  'class' => LocalisationCache::class,
2747  'store' => 'detect',
2748  'storeClass' => false,
2749  'storeDirectory' => false,
2750  'storeServer' => [],
2751  'forceRecache' => false,
2752  'manualRecache' => false,
2753 ];
2754 
2759 
2768 $wgCacheEpoch = '20030516000000';
2769 
2775 
2782 
2790 
2796 
2807 
2812 
2819 
2826 $wgUseGzip = false;
2827 
2838 
2855  # end of cache settings
2857 
2858 /************************************************************************/
2879 $wgUseCdn = false;
2880 
2890 
2900 
2911 
2919 
2927 
2936 
2952 
2959 
2966 
2978 
2988 
3010 
3058 
3064 
3069  # end of HTTP proxy settings
3071 
3072 /************************************************************************/
3094 
3100 
3111 
3116 
3121 
3136 
3145 
3150 
3165  // Language codes of macro languages, which get mapped to the main language
3166  'bh' => 'bho', // Bihari language family
3167  'no' => 'nb', // Norwegian language family
3168 
3169  // Language variants which get mapped to the main language
3170  'simple' => 'en', // Simple English
3171 ];
3172 
3180 
3189 
3201 
3215 
3221 
3227 
3233 
3238 
3243 
3248 
3253 
3259 
3270 
3289 
3296 
3317 
3342 
3353 
3366  # End of language/charset settings
3368 
3369 /*************************************************************************/
3377 $wgMimeType = 'text/html';
3378 
3388 
3397 
3405 
3414 
3430 
3439 
3444 $wgDefaultSkin = 'vector';
3445 
3451 $wgFallbackSkin = 'fallback';
3452 
3464 
3471 
3478 
3486 
3491 
3496 
3502 
3523 
3535 
3540 
3569 $wgFragmentMode = [ 'legacy', 'html5' ];
3570 
3580 
3612  "copyright" => [
3613  "copyright" => [], // placeholder for the built in copyright icon
3614  ],
3615  "poweredby" => [
3616  "mediawiki" => [
3617  // Defaults to point at
3618  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3619  // plus srcset for 1.5x, 2x resolution variants.
3620  "src" => null,
3621  "url" => "https://www.mediawiki.org/",
3622  "alt" => "Powered by MediaWiki",
3623  ]
3624  ],
3625 ];
3626 
3634 
3638 $wgEdititis = false;
3639 
3652 
3663 
3671 
3681  # End of output format settings }
3683 
3684 /*************************************************************************/
3977 
4068 
4080 
4086 
4104  'versioned' => 30 * 24 * 60 * 60, // 30 days
4105  'unversioned' => 5 * 60, // 5 minutes
4106 ];
4107 
4115 
4122 
4129 
4156 
4171 
4180 
4190 
4196 
4204 
4217 
4228  # End of ResourceLoader settings }
4230 
4231 /*************************************************************************/
4241 
4250 
4278 
4286 
4309 
4334 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
4335 
4343 
4348 
4373 
4381 
4386  # end of Interwiki caching settings.
4388 
4404 $wgRedirectSources = false;
4405 
4414 
4429 
4435  NS_TALK => true,
4436  NS_USER => true,
4437  NS_USER_TALK => true,
4438  NS_PROJECT => true,
4439  NS_PROJECT_TALK => true,
4440  NS_FILE_TALK => true,
4441  NS_MEDIAWIKI => true,
4442  NS_MEDIAWIKI_TALK => true,
4443  NS_TEMPLATE => true,
4444  NS_TEMPLATE_TALK => true,
4445  NS_HELP => true,
4446  NS_HELP_TALK => true,
4448 ];
4449 
4466 
4474 
4482 
4491 
4498 
4509 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4510  # End of title and interwiki settings }
4512 
4513 /************************************************************************/
4535  'class' => Parser::class,
4536 ];
4537 
4542 
4548 
4556 
4561 
4573  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4574  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4575  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4576  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4577 ];
4578 
4583 
4588 
4602 
4615 
4626 
4646 
4652 $wgRawHtml = false;
4653 
4664 
4672 
4678 
4692 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4693 
4698 
4705 
4711 
4717 
4722 
4728 
4736  'ISBN' => false,
4737  'PMID' => false,
4738  'RFC' => false
4739 ];
4740  # end of parser settings }
4742 
4743 /************************************************************************/
4765 
4774  # End of statistics }
4776 
4777 /************************************************************************/
4788  'local' => [ 'class' => LocalIdLookup::class ],
4789 ];
4790 
4796 
4868  'policies' => [
4869  'bureaucrat' => [
4870  'MinimalPasswordLength' => 10,
4871  'MinimumPasswordLengthToLogin' => 1,
4872  ],
4873  'sysop' => [
4874  'MinimalPasswordLength' => 10,
4875  'MinimumPasswordLengthToLogin' => 1,
4876  ],
4877  'interface-admin' => [
4878  'MinimalPasswordLength' => 10,
4879  'MinimumPasswordLengthToLogin' => 1,
4880  ],
4881  'bot' => [
4882  'MinimalPasswordLength' => 10,
4883  'MinimumPasswordLengthToLogin' => 1,
4884  ],
4885  'default' => [
4886  'MinimalPasswordLength' => [ 'value' => 1, 'suggestChangeOnLogin' => true ],
4887  'PasswordCannotMatchUsername' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4888  'PasswordCannotBeSubstringInUsername' => [
4889  'value' => true,
4890  'suggestChangeOnLogin' => true
4891  ],
4892  'PasswordCannotMatchDefaults' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4893  'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true ],
4894  'PasswordNotInCommonList' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4895  ],
4896  ],
4897  'checks' => [
4898  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4899  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4900  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4901  'PasswordCannotBeSubstringInUsername' =>
4902  'PasswordPolicyChecks::checkPasswordCannotBeSubstringInUsername',
4903  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchDefaults',
4904  'PasswordCannotMatchDefaults' => 'PasswordPolicyChecks::checkPasswordCannotMatchDefaults',
4905  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4906  'PasswordNotInLargeBlacklist' => 'PasswordPolicyChecks::checkPasswordNotInCommonList',
4907  'PasswordNotInCommonList' => 'PasswordPolicyChecks::checkPasswordNotInCommonList',
4908  ],
4909 ];
4910 
4931 
4937  'preauth' => [
4938  MediaWiki\Auth\ThrottlePreAuthenticationProvider::class => [
4939  'class' => MediaWiki\Auth\ThrottlePreAuthenticationProvider::class,
4940  'sort' => 0,
4941  ],
4942  ],
4943  'primaryauth' => [
4944  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4945  // any other PasswordAuthenticationRequest-based
4946  // PrimaryAuthenticationProvider (or at least any that might return
4947  // FAIL rather than ABSTAIN for a wrong password), or password reset
4948  // won't work right. Do not remove this (or change the key) or
4949  // auto-configuration of other such providers in extensions will
4950  // probably auto-insert themselves in the wrong place.
4951  MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class => [
4952  'class' => MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class,
4953  'args' => [ [
4954  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4955  'authoritative' => false,
4956  ] ],
4957  'sort' => 0,
4958  ],
4959  MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class => [
4960  'class' => MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class,
4961  'args' => [ [
4962  // Last one should be authoritative, or else the user will get
4963  // a less-than-helpful error message (something like "supplied
4964  // authentication info not supported" rather than "wrong
4965  // password") if it too fails.
4966  'authoritative' => true,
4967  ] ],
4968  'sort' => 100,
4969  ],
4970  ],
4971  'secondaryauth' => [
4972  MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class => [
4973  'class' => MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class,
4974  'sort' => 0,
4975  ],
4976  MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class => [
4977  'class' => MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class,
4978  'sort' => 100,
4979  ],
4980  // Linking during login is experimental, enable at your own risk - T134952
4981  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4982  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4983  // 'sort' => 100,
4984  // ],
4985  MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class => [
4986  'class' => MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class,
4987  'sort' => 200,
4988  ],
4989  ],
4990 ];
4991 
5031  'default' => 300,
5032 ];
5033 
5050  'default' => true,
5051 ];
5052 
5063  \MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::class
5064 ];
5065 
5076  \MediaWiki\Auth\PasswordAuthenticationRequest::class,
5077 ];
5078 
5085 
5098 
5105 
5115 
5136  'A' => [
5137  'class' => MWOldPassword::class,
5138  ],
5139  'B' => [
5140  'class' => MWSaltedPassword::class,
5141  ],
5142  'pbkdf2-legacyA' => [
5143  'class' => LayeredParameterizedPassword::class,
5144  'types' => [
5145  'A',
5146  'pbkdf2',
5147  ],
5148  ],
5149  'pbkdf2-legacyB' => [
5150  'class' => LayeredParameterizedPassword::class,
5151  'types' => [
5152  'B',
5153  'pbkdf2',
5154  ],
5155  ],
5156  'bcrypt' => [
5157  'class' => BcryptPassword::class,
5158  'cost' => 9,
5159  ],
5160  'pbkdf2' => [
5161  'class' => Pbkdf2Password::class,
5162  'algo' => 'sha512',
5163  'cost' => '30000',
5164  'length' => '64',
5165  ],
5166  'argon2' => [
5167  'class' => Argon2Password::class,
5168 
5169  // Algorithm used:
5170  // * 'argon2i' is optimized against side-channel attacks (PHP 7.2+)
5171  // * 'argon2id' is optimized against both side-channel and GPU cracking (PHP 7.3+)
5172  // * 'auto' to use best available algorithm. If you're using more than one server, be
5173  // careful when you're mixing PHP versions because newer PHP might generate hashes that
5174  // older versions might would not understand.
5175  'algo' => 'auto',
5176 
5177  // The parameters below are the same as options accepted by password_hash().
5178  // Set them to override that function's defaults.
5179  //
5180  // 'memory_cost' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
5181  // 'time_cost' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
5182  // 'threads' => PASSWORD_ARGON2_DEFAULT_THREADS,
5183  ],
5184 ];
5185 
5193  'username' => true,
5194  'email' => true,
5195 ];
5196 
5201 
5213 
5220 $wgSignatureAllowedLintErrors = [ 'obsolete-tag' ];
5221 
5227 
5233  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
5234  'Conversion script', // Used for the old Wikipedia software upgrade
5235  'Maintenance script', // Maintenance scripts which perform editing, image import script
5236  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
5237  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
5238  'Unknown user', // Used in WikiImporter & RevisionStore for revisions with no author and in User for invalid user id
5239  'msg:double-redirect-fixer', // Automatic double redirect fix
5240  'msg:usermessage-editor', // Default user for leaving user messages
5241  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
5242  'msg:sorbs', // For $wgEnableDnsBlacklist etc.
5243  'msg:spambot_username', // Used by cleanupSpam.php
5244  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
5245 ];
5246 
5254  'ccmeonemails' => 0,
5255  'date' => 'default',
5256  'diffonly' => 0,
5257  'disablemail' => 0,
5258  'editfont' => 'monospace',
5259  'editondblclick' => 0,
5260  'editsectiononrightclick' => 0,
5261  'email-allow-new-users' => 1,
5262  'enotifminoredits' => 0,
5263  'enotifrevealaddr' => 0,
5264  'enotifusertalkpages' => 1,
5265  'enotifwatchlistpages' => 1,
5266  'extendwatchlist' => 1,
5267  'fancysig' => 0,
5268  'forceeditsummary' => 0,
5269  'gender' => 'unknown',
5270  'hideminor' => 0,
5271  'hidepatrolled' => 0,
5272  'hidecategorization' => 1,
5273  'imagesize' => 2,
5274  'minordefault' => 0,
5275  'newpageshidepatrolled' => 0,
5276  'nickname' => '',
5277  'pst-cssjs' => 1,
5278  'norollbackdiff' => 0,
5279  'numberheadings' => 0,
5280  'previewonfirst' => 0,
5281  'previewontop' => 1,
5282  'rcdays' => 7,
5283  'rcenhancedfilters-disable' => 0,
5284  'rclimit' => 50,
5285  'search-match-redirect' => true,
5286  'showhiddencats' => 0,
5287  'shownumberswatching' => 1,
5288  'showrollbackconfirmation' => 0,
5289  'skin' => false,
5290  'stubthreshold' => 0,
5291  'thumbsize' => 5,
5292  'underline' => 2,
5293  'uselivepreview' => 0,
5294  'usenewrc' => 1,
5295  'watchcreations' => 1,
5296  'watchdefault' => 1,
5297  'watchdeletion' => 0,
5298  'watchuploads' => 1,
5299  'watchlistdays' => 7.0,
5300  'watchlisthideanons' => 0,
5301  'watchlisthidebots' => 0,
5302  'watchlisthideliu' => 0,
5303  'watchlisthideminor' => 0,
5304  'watchlisthideown' => 0,
5305  'watchlisthidepatrolled' => 0,
5306  'watchlisthidecategorization' => 1,
5307  'watchlistreloadautomatically' => 0,
5308  'watchlistunwatchlinks' => 0,
5309  'watchmoves' => 0,
5310  'watchrollback' => 0,
5311  'wlenhancedfilters-disable' => 0,
5312  'wllimit' => 250,
5313  'useeditwarning' => 1,
5314  'prefershttps' => 1,
5315  'requireemail' => 0,
5316 ];
5317 
5322 
5329 
5340 
5348 
5360 
5370  MediaWiki\Session\CookieSessionProvider::class => [
5371  'class' => MediaWiki\Session\CookieSessionProvider::class,
5372  'args' => [ [
5373  'priority' => 30,
5374  'callUserSetCookiesHook' => true,
5375  ] ],
5376  ],
5377  MediaWiki\Session\BotPasswordSessionProvider::class => [
5378  'class' => MediaWiki\Session\BotPasswordSessionProvider::class,
5379  'args' => [ [
5380  'priority' => 75,
5381  ] ],
5382  ],
5383 ];
5384 
5393  # end user accounts }
5395 
5396 /************************************************************************/
5405 
5414 
5430  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5431  'IPv6' => 19,
5432 ];
5433 
5442 
5464 
5492 
5498 
5504 
5530 
5532 // Implicit group for all visitors
5533 $wgGroupPermissions['*']['createaccount'] = true;
5534 $wgGroupPermissions['*']['read'] = true;
5535 $wgGroupPermissions['*']['edit'] = true;
5536 $wgGroupPermissions['*']['createpage'] = true;
5537 $wgGroupPermissions['*']['createtalk'] = true;
5538 $wgGroupPermissions['*']['writeapi'] = true;
5539 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5540 $wgGroupPermissions['*']['editmywatchlist'] = true;
5541 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5542 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5543 $wgGroupPermissions['*']['editmyoptions'] = true;
5544 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5545 
5546 // Implicit group for all logged-in accounts
5547 $wgGroupPermissions['user']['move'] = true;
5548 $wgGroupPermissions['user']['move-subpages'] = true;
5549 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5550 $wgGroupPermissions['user']['move-categorypages'] = true;
5551 $wgGroupPermissions['user']['movefile'] = true;
5552 $wgGroupPermissions['user']['read'] = true;
5553 $wgGroupPermissions['user']['edit'] = true;
5554 $wgGroupPermissions['user']['createpage'] = true;
5555 $wgGroupPermissions['user']['createtalk'] = true;
5556 $wgGroupPermissions['user']['writeapi'] = true;
5557 $wgGroupPermissions['user']['upload'] = true;
5558 $wgGroupPermissions['user']['reupload'] = true;
5559 $wgGroupPermissions['user']['reupload-shared'] = true;
5560 $wgGroupPermissions['user']['minoredit'] = true;
5561 $wgGroupPermissions['user']['editmyusercss'] = true;
5562 $wgGroupPermissions['user']['editmyuserjson'] = true;
5563 $wgGroupPermissions['user']['editmyuserjs'] = true;
5564 $wgGroupPermissions['user']['editmyuserjsredirect'] = true;
5565 $wgGroupPermissions['user']['purge'] = true;
5566 $wgGroupPermissions['user']['sendemail'] = true;
5567 $wgGroupPermissions['user']['applychangetags'] = true;
5568 $wgGroupPermissions['user']['changetags'] = true;
5569 $wgGroupPermissions['user']['editcontentmodel'] = true;
5570 
5571 // Implicit group for accounts that pass $wgAutoConfirmAge
5572 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5573 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5574 
5575 // Users with bot privilege can have their edits hidden
5576 // from various log pages by default
5577 $wgGroupPermissions['bot']['bot'] = true;
5578 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5579 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5580 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5581 $wgGroupPermissions['bot']['autopatrol'] = true;
5582 $wgGroupPermissions['bot']['suppressredirect'] = true;
5583 $wgGroupPermissions['bot']['apihighlimits'] = true;
5584 $wgGroupPermissions['bot']['writeapi'] = true;
5585 
5586 // Most extra permission abilities go to this group
5587 $wgGroupPermissions['sysop']['block'] = true;
5588 $wgGroupPermissions['sysop']['createaccount'] = true;
5589 $wgGroupPermissions['sysop']['delete'] = true;
5590 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5591 $wgGroupPermissions['sysop']['bigdelete'] = true;
5592 // can view deleted history entries, but not see or restore the text
5593 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5594 // can view deleted revision text
5595 $wgGroupPermissions['sysop']['deletedtext'] = true;
5596 $wgGroupPermissions['sysop']['undelete'] = true;
5597 $wgGroupPermissions['sysop']['editinterface'] = true;
5598 $wgGroupPermissions['sysop']['editsitejson'] = true;
5599 $wgGroupPermissions['sysop']['edituserjson'] = true;
5600 $wgGroupPermissions['sysop']['import'] = true;
5601 $wgGroupPermissions['sysop']['importupload'] = true;
5602 $wgGroupPermissions['sysop']['move'] = true;
5603 $wgGroupPermissions['sysop']['move-subpages'] = true;
5604 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5605 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5606 $wgGroupPermissions['sysop']['patrol'] = true;
5607 $wgGroupPermissions['sysop']['autopatrol'] = true;
5608 $wgGroupPermissions['sysop']['protect'] = true;
5609 $wgGroupPermissions['sysop']['editprotected'] = true;
5610 $wgGroupPermissions['sysop']['rollback'] = true;
5611 $wgGroupPermissions['sysop']['upload'] = true;
5612 $wgGroupPermissions['sysop']['reupload'] = true;
5613 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5614 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5615 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5616 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5617 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5618 $wgGroupPermissions['sysop']['blockemail'] = true;
5619 $wgGroupPermissions['sysop']['markbotedits'] = true;
5620 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5621 $wgGroupPermissions['sysop']['browsearchive'] = true;
5622 $wgGroupPermissions['sysop']['noratelimit'] = true;
5623 $wgGroupPermissions['sysop']['movefile'] = true;
5624 $wgGroupPermissions['sysop']['unblockself'] = true;
5625 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5626 # $wgGroupPermissions['sysop']['pagelang'] = true;
5627 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5628 $wgGroupPermissions['sysop']['mergehistory'] = true;
5629 $wgGroupPermissions['sysop']['managechangetags'] = true;
5630 $wgGroupPermissions['sysop']['deletechangetags'] = true;
5631 
5632 $wgGroupPermissions['interface-admin']['editinterface'] = true;
5633 $wgGroupPermissions['interface-admin']['editsitecss'] = true;
5634 $wgGroupPermissions['interface-admin']['editsitejson'] = true;
5635 $wgGroupPermissions['interface-admin']['editsitejs'] = true;
5636 $wgGroupPermissions['interface-admin']['editusercss'] = true;
5637 $wgGroupPermissions['interface-admin']['edituserjson'] = true;
5638 $wgGroupPermissions['interface-admin']['edituserjs'] = true;
5639 
5640 // Permission to change users' group assignments
5641 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5642 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5643 // Permission to change users' groups assignments across wikis
5644 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5645 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5646 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5647 
5648 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5649 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5650 // To hide usernames from users and Sysops
5651 $wgGroupPermissions['suppress']['hideuser'] = true;
5652 // To hide revisions/log items from users and Sysops
5653 $wgGroupPermissions['suppress']['suppressrevision'] = true;
5654 // To view revisions/log items hidden from users and Sysops
5655 $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5656 // For private suppression log access
5657 $wgGroupPermissions['suppress']['suppressionlog'] = true;
5658 // Basic rights for revision delete
5659 $wgGroupPermissions['suppress']['deleterevision'] = true;
5660 $wgGroupPermissions['suppress']['deletelogentry'] = true;
5661 
5668 # $wgGroupPermissions['developer']['siteadmin'] = true;
5669 
5682 
5686 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5687 
5710 
5715 
5723 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5724 
5736 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5737 
5748 
5762 
5771 
5782 
5804 
5815 
5874  'autoconfirmed' => [ '&',
5877  ],
5878 ];
5879 
5899  'onEdit' => [],
5900 ];
5901 
5907 
5931 
5936 
5942 
5948 
5954 
5963 
5986  'count' => 0,
5987  'seconds' => 86400,
5988 ] ];
5989 
6002 
6007 
6014 
6038 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
6039 
6045 
6054 
6061 
6101  // Page edits
6102  'edit' => [
6103  'ip' => [ 8, 60 ],
6104  'newbie' => [ 8, 60 ],
6105  'user' => [ 90, 60 ],
6106  ],
6107  // Page moves
6108  'move' => [
6109  'newbie' => [ 2, 120 ],
6110  'user' => [ 8, 60 ],
6111  ],
6112  // File uploads
6113  'upload' => [
6114  'ip' => [ 8, 60 ],
6115  'newbie' => [ 8, 60 ],
6116  ],
6117  // Page rollbacks
6118  'rollback' => [
6119  'user' => [ 10, 60 ],
6120  'newbie' => [ 5, 120 ]
6121  ],
6122  // Triggering password resets emails
6123  'mailpassword' => [
6124  'ip' => [ 5, 3600 ],
6125  ],
6126  // Emailing other users using MediaWiki
6127  'emailuser' => [
6128  'ip' => [ 5, 86400 ],
6129  'newbie' => [ 5, 86400 ],
6130  'user' => [ 20, 86400 ],
6131  ],
6132  'changeemail' => [
6133  'ip-all' => [ 10, 3600 ],
6134  'user' => [ 4, 86400 ]
6135  ],
6136  // since 1.33 - rate limit email confirmations
6137  'confirmemail' => [
6138  'ip-all' => [ 10, 3600 ],
6139  'user' => [ 4, 86400 ]
6140  ],
6141  // Purging pages
6142  'purge' => [
6143  'ip' => [ 30, 60 ],
6144  'user' => [ 30, 60 ],
6145  ],
6146  // Purges of link tables
6147  'linkpurge' => [
6148  'ip' => [ 30, 60 ],
6149  'user' => [ 30, 60 ],
6150  ],
6151  // Files rendered via thumb.php or thumb_handler.php
6152  'renderfile' => [
6153  'ip' => [ 700, 30 ],
6154  'user' => [ 700, 30 ],
6155  ],
6156  // Same as above but for non-standard thumbnails
6157  'renderfile-nonstandard' => [
6158  'ip' => [ 70, 30 ],
6159  'user' => [ 70, 30 ],
6160  ],
6161  // Stashing edits into cache before save
6162  'stashedit' => [
6163  'ip' => [ 30, 60 ],
6164  'newbie' => [ 30, 60 ],
6165  ],
6166  // Adding or removing change tags
6167  'changetag' => [
6168  'ip' => [ 8, 60 ],
6169  'newbie' => [ 8, 60 ],
6170  ],
6171  // Changing the content model of a page
6172  'editcontentmodel' => [
6173  'newbie' => [ 2, 120 ],
6174  'user' => [ 8, 60 ],
6175  ],
6176 ];
6177 
6183 
6190 
6196 
6210  // Short term limit
6211  [ 'count' => 5, 'seconds' => 300 ],
6212  // Long term limit. We need to balance the risk
6213  // of somebody using this as a DoS attack to lock someone
6214  // out of their account, and someone doing a brute force attack.
6215  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
6216 ];
6217 
6229 
6230 // @TODO: clean up grants
6231 // @TODO: auto-include read/editsemiprotected rights?
6232 
6233 $wgGrantPermissions['basic']['autocreateaccount'] = true;
6234 $wgGrantPermissions['basic']['autoconfirmed'] = true;
6235 $wgGrantPermissions['basic']['autopatrol'] = true;
6236 $wgGrantPermissions['basic']['editsemiprotected'] = true;
6237 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
6238 $wgGrantPermissions['basic']['nominornewtalk'] = true;
6239 $wgGrantPermissions['basic']['patrolmarks'] = true;
6240 $wgGrantPermissions['basic']['purge'] = true;
6241 $wgGrantPermissions['basic']['read'] = true;
6242 $wgGrantPermissions['basic']['writeapi'] = true;
6243 
6244 $wgGrantPermissions['highvolume']['bot'] = true;
6245 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
6246 $wgGrantPermissions['highvolume']['noratelimit'] = true;
6247 $wgGrantPermissions['highvolume']['markbotedits'] = true;
6248 
6249 $wgGrantPermissions['import']['import'] = true;
6250 $wgGrantPermissions['import']['importupload'] = true;
6251 
6252 $wgGrantPermissions['editpage']['edit'] = true;
6253 $wgGrantPermissions['editpage']['minoredit'] = true;
6254 $wgGrantPermissions['editpage']['applychangetags'] = true;
6255 $wgGrantPermissions['editpage']['changetags'] = true;
6256 
6257 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
6258 $wgGrantPermissions['editprotected']['editprotected'] = true;
6259 
6260 // FIXME: Rename editmycssjs to editmyconfig
6261 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
6262 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
6263 $wgGrantPermissions['editmycssjs']['editmyuserjson'] = true;
6264 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
6265 
6266 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
6267 $wgGrantPermissions['editmyoptions']['editmyuserjson'] = true;
6268 
6269 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
6270 $wgGrantPermissions['editinterface']['editinterface'] = true;
6271 $wgGrantPermissions['editinterface']['edituserjson'] = true;
6272 $wgGrantPermissions['editinterface']['editsitejson'] = true;
6273 
6274 $wgGrantPermissions['editsiteconfig'] = $wgGrantPermissions['editinterface'];
6275 $wgGrantPermissions['editsiteconfig']['editusercss'] = true;
6276 $wgGrantPermissions['editsiteconfig']['edituserjs'] = true;
6277 $wgGrantPermissions['editsiteconfig']['editsitecss'] = true;
6278 $wgGrantPermissions['editsiteconfig']['editsitejs'] = true;
6279 
6280 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
6281 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
6282 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
6283 $wgGrantPermissions['createeditmovepage']['delete-redirect'] = true;
6284 $wgGrantPermissions['createeditmovepage']['move'] = true;
6285 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
6286 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
6287 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
6288 $wgGrantPermissions['createeditmovepage']['suppressredirect'] = true;
6289 
6290 $wgGrantPermissions['uploadfile']['upload'] = true;
6291 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
6292 
6293 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
6294 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
6295 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
6296 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
6297 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
6298 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
6299 
6300 $wgGrantPermissions['patrol']['patrol'] = true;
6301 
6302 $wgGrantPermissions['rollback']['rollback'] = true;
6303 
6304 $wgGrantPermissions['blockusers']['block'] = true;
6305 $wgGrantPermissions['blockusers']['blockemail'] = true;
6306 
6307 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
6308 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
6309 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
6310 
6311 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
6312 
6313 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
6314  $wgGrantPermissions['viewdeleted'];
6315 $wgGrantPermissions['delete']['delete'] = true;
6316 $wgGrantPermissions['delete']['bigdelete'] = true;
6317 $wgGrantPermissions['delete']['deletelogentry'] = true;
6318 $wgGrantPermissions['delete']['deleterevision'] = true;
6319 $wgGrantPermissions['delete']['undelete'] = true;
6320 
6321 $wgGrantPermissions['oversight']['suppressrevision'] = true;
6322 
6323 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
6324 $wgGrantPermissions['protect']['protect'] = true;
6325 
6326 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
6327 
6328 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
6329 
6330 $wgGrantPermissions['sendemail']['sendemail'] = true;
6331 
6332 $wgGrantPermissions['createaccount']['createaccount'] = true;
6333 
6334 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
6335 
6336 $wgGrantPermissions['mergehistory']['mergehistory'] = true;
6337 
6343  // Hidden grants are implicitly present
6344  'basic' => 'hidden',
6345 
6346  'editpage' => 'page-interaction',
6347  'createeditmovepage' => 'page-interaction',
6348  'editprotected' => 'page-interaction',
6349  'patrol' => 'page-interaction',
6350 
6351  'uploadfile' => 'file-interaction',
6352  'uploadeditmovefile' => 'file-interaction',
6353 
6354  'sendemail' => 'email',
6355 
6356  'viewmywatchlist' => 'watchlist-interaction',
6357  'editviewmywatchlist' => 'watchlist-interaction',
6358 
6359  'editmycssjs' => 'customization',
6360  'editmyoptions' => 'customization',
6361 
6362  'editinterface' => 'administration',
6363  'editsiteconfig' => 'administration',
6364  'rollback' => 'administration',
6365  'blockusers' => 'administration',
6366  'delete' => 'administration',
6367  'viewdeleted' => 'administration',
6368  'viewrestrictedlogs' => 'administration',
6369  'protect' => 'administration',
6370  'oversight' => 'administration',
6371  'createaccount' => 'administration',
6372  'mergehistory' => 'administration',
6373  'import' => 'administration',
6374 
6375  'highvolume' => 'high-volume',
6376 
6377  'privateinfo' => 'private-information',
6378 ];
6379 
6385 
6392 
6402  # end of user rights settings
6404 
6405 /************************************************************************/
6414 
6424  # end of proxy scanner settings
6426 
6427 /************************************************************************/
6435 $wgCookieExpiration = 30 * 86400;
6436 
6444 
6450 
6456 
6467 $wgCookieSecure = 'detect';
6468 
6476 
6483 
6490 
6502 
6512 
6517 
6522 
6531 
6540  # end of cookie settings }
6542 
6543 /************************************************************************/
6557 
6562 
6569 
6576 
6586 
6595 
6602  // HTTP GET/HEAD requests.
6603  // Master queries should not happen on GET requests
6604  'GET' => [
6605  'masterConns' => 0,
6606  'writes' => 0,
6607  'readQueryTime' => 5,
6608  'readQueryRows' => 10000
6609  ],
6610  // HTTP POST requests.
6611  // Master reads and writes will happen for a subset of these.
6612  'POST' => [
6613  'readQueryTime' => 5,
6614  'writeQueryTime' => 1,
6615  'readQueryRows' => 100000,
6616  'maxAffected' => 1000
6617  ],
6618  'POST-nonwrite' => [
6619  'writes' => 0,
6620  'readQueryTime' => 5,
6621  'readQueryRows' => 10000
6622  ],
6623  // Deferred updates that run after HTTP response is sent for GET requests
6624  'PostSend-GET' => [
6625  'readQueryTime' => 5,
6626  'writeQueryTime' => 1,
6627  'readQueryRows' => 10000,
6628  'maxAffected' => 1000,
6629  // Log master queries under the post-send entry point as they are discouraged
6630  'masterConns' => 0,
6631  'writes' => 0,
6632  ],
6633  // Deferred updates that run after HTTP response is sent for POST requests
6634  'PostSend-POST' => [
6635  'readQueryTime' => 5,
6636  'writeQueryTime' => 1,
6637  'readQueryRows' => 100000,
6638  'maxAffected' => 1000
6639  ],
6640  // Background job runner
6641  'JobRunner' => [
6642  'readQueryTime' => 30,
6643  'writeQueryTime' => 5,
6644  'readQueryRows' => 100000,
6645  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
6646  ],
6647  // Command-line scripts
6648  'Maintenance' => [
6649  'writeQueryTime' => 5,
6650  'maxAffected' => 1000
6651  ]
6652 ];
6653 
6685 
6708  'class' => \MediaWiki\Logger\LegacySpi::class,
6709 ];
6710 
6717 
6722 
6732 
6740 
6752 
6757 
6763 
6768 
6775 
6781 
6788 
6843 
6855 
6864 
6872  'wanobjectcache:*' => 0.001
6873 ];
6874 
6881 
6896 
6901 
6907 
6916  # end of profiling, testing and debugging }
6918 
6919 /************************************************************************/
6928 
6934 
6939 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6940 
6952 
6962  'application/x-suggestions+json' => false,
6963  'application/x-suggestions+xml' => false,
6964 ];
6965 
6973 
6979 
6984 
6989 
6995 
7006  NS_MAIN => true,
7007 ];
7008 
7014 
7031 
7038 
7054 
7061  # end of search settings
7063 
7064 /************************************************************************/
7073 $wgDiff3 = '/usr/bin/diff3';
7074 
7078 $wgDiff = '/usr/bin/diff';
7079 
7086  NS_CATEGORY => true
7087 ];
7088 
7095 
7102  # end edit UI }
7104 
7105 /************************************************************************/
7115 if ( !isset( $wgCommandLineMode ) ) {
7116  $wgCommandLineMode = false;
7117 }
7124 
7134 
7141 
7150 
7161 
7165 $wgGitBin = '/usr/bin/git';
7166 
7181  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
7182  'https://gerrit.wikimedia.org/g/%R/+/%H',
7183  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
7184  'https://gerrit.wikimedia.org/g/%R/+/%H',
7185 ];
7186  # End of maintenance }
7188 
7189 /************************************************************************/
7199 $wgRCMaxAge = 90 * 24 * 3600;
7200 
7206 $wgWatchersMaxAge = 180 * 24 * 3600;
7207 
7215 
7224 
7229 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
7230 
7237 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
7238 
7300 
7307  'redis' => RedisPubSubFeedEngine::class,
7308  'udp' => UDPRCFeedEngine::class,
7309 ];
7310 
7323 
7333 
7340 
7349 
7360 
7364 $wgFeed = true;
7365 
7371 
7381 
7387 
7401 
7408  'rss' => RSSFeed::class,
7409  'atom' => AtomFeed::class,
7410 ];
7411 
7417 
7422 
7427 
7434 
7440 
7446 
7452 
7471  'mw-contentmodelchange' => true,
7472  'mw-new-redirect' => true,
7473  'mw-removed-redirect' => true,
7474  'mw-changed-redirect-target' => true,
7475  'mw-blank' => true,
7476  'mw-replace' => true,
7477  'mw-rollback' => true,
7478  'mw-undo' => true,
7479  'mw-manual-revert' => true,
7480  'mw-reverted' => true,
7481 ];
7482 
7491 
7517  'newpage' => [
7518  'letter' => 'newpageletter',
7519  'title' => 'recentchanges-label-newpage',
7520  'legend' => 'recentchanges-legend-newpage',
7521  'grouping' => 'any',
7522  ],
7523  'minor' => [
7524  'letter' => 'minoreditletter',
7525  'title' => 'recentchanges-label-minor',
7526  'legend' => 'recentchanges-legend-minor',
7527  'class' => 'minoredit',
7528  'grouping' => 'all',
7529  ],
7530  'bot' => [
7531  'letter' => 'boteditletter',
7532  'title' => 'recentchanges-label-bot',
7533  'legend' => 'recentchanges-legend-bot',
7534  'class' => 'botedit',
7535  'grouping' => 'all',
7536  ],
7537  'unpatrolled' => [
7538  'letter' => 'unpatrolledletter',
7539  'title' => 'recentchanges-label-unpatrolled',
7540  'legend' => 'recentchanges-legend-unpatrolled',
7541  'grouping' => 'any',
7542  ],
7543 ];
7544  # end RC/watchlist }
7546 
7547 /************************************************************************/
7560 
7567 
7575 
7580 
7585 
7594 
7600  # end of copyright and credits settings }
7602 
7603 /************************************************************************/
7631 
7640 
7647 
7654 
7659 
7672 
7677 
7682 
7690  # end of import/export }
7692 
7693 /*************************************************************************/
7703 
7731 
7758 
7765 
7781 
7786 
7812 
7820 
7825 
7834 
7894 
7930 
7943  __DIR__ . '/ServiceWiring.php'
7944 ];
7945 
7954  'deletePage' => DeletePageJob::class,
7955  'refreshLinks' => RefreshLinksJob::class,
7956  'deleteLinks' => DeleteLinksJob::class,
7957  'htmlCacheUpdate' => HTMLCacheUpdateJob::class,
7958  'sendMail' => EmaillingJob::class,
7959  'enotifNotify' => EnotifNotifyJob::class,
7960  'fixDoubleRedirect' => DoubleRedirectJob::class,
7961  'AssembleUploadChunks' => AssembleUploadChunksJob::class,
7962  'PublishStashedFile' => PublishStashedFileJob::class,
7963  'ThumbnailRender' => ThumbnailRenderJob::class,
7964  'recentChangesUpdate' => RecentChangesUpdateJob::class,
7965  'refreshLinksPrioritized' => RefreshLinksJob::class,
7966  'refreshLinksDynamic' => RefreshLinksJob::class,
7967  'activityUpdateJob' => ActivityUpdateJob::class,
7968  'categoryMembershipChange' => CategoryMembershipChangeJob::class,
7969  'clearUserWatchlist' => ClearUserWatchlistJob::class,
7970  'watchlistExpiry' => WatchlistExpiryJob::class,
7971  'cdnPurge' => CdnPurgeJob::class,
7972  'userGroupExpiry' => UserGroupExpiryJob::class,
7973  'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class,
7974  'userOptionsUpdate' => UserOptionsUpdateJob::class,
7975  'revertedTagUpdate' => RevertedTagUpdateJob::class,
7976  'enqueue' => EnqueueJob::class, // local queue for multi-DC setups
7977  'null' => NullJob::class,
7978  'userEditCountInit' => UserEditCountInitJob::class,
7979 ];
7980 
7992 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7993 
8004 
8019 
8027  'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
8028 ];
8029 
8042 
8048  'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
8049 ];
8050 
8059  'hiddencat' => 'categorylinks',
8060 ];
8061  # End extensions }
8063 
8064 /*************************************************************************/
8073 
8079 
8084 
8110 $wgCategoryCollation = 'uppercase';
8111  # End categories }
8113 
8114 /*************************************************************************/
8129  '',
8130  'block',
8131  'protect',
8132  'rights',
8133  'delete',
8134  'upload',
8135  'move',
8136  'import',
8137  'patrol',
8138  'merge',
8139  'suppress',
8140  'tag',
8141  'managetags',
8142  'contentmodel',
8143 ];
8144 
8153  'suppress' => 'suppressionlog'
8154 ];
8155 
8176  'patrol' => true,
8177  'tag' => true,
8178  'newusers' => false,
8179 ];
8180 
8191  '' => 'all-logs-page',
8192  'block' => 'blocklogpage',
8193  'protect' => 'protectlogpage',
8194  'rights' => 'rightslog',
8195  'delete' => 'dellogpage',
8196  'upload' => 'uploadlogpage',
8197  'move' => 'movelogpage',
8198  'import' => 'importlogpage',
8199  'patrol' => 'patrol-log-page',
8200  'merge' => 'mergelog',
8201  'suppress' => 'suppressionlog',
8202 ];
8203 
8214  '' => 'alllogstext',
8215  'block' => 'blocklogtext',
8216  'delete' => 'dellogpagetext',
8217  'import' => 'importlogpagetext',
8218  'merge' => 'mergelogpagetext',
8219  'move' => 'movelogpagetext',
8220  'patrol' => 'patrol-log-header',
8221  'protect' => 'protectlogtext',
8222  'rights' => 'rightslogtext',
8223  'suppress' => 'suppressionlogtext',
8224  'upload' => 'uploadlogpagetext',
8225 ];
8226 
8234 
8242  'block/block' => BlockLogFormatter::class,
8243  'block/reblock' => BlockLogFormatter::class,
8244  'block/unblock' => BlockLogFormatter::class,
8245  'contentmodel/change' => ContentModelLogFormatter::class,
8246  'contentmodel/new' => ContentModelLogFormatter::class,
8247  'delete/delete' => DeleteLogFormatter::class,
8248  'delete/delete_redir' => DeleteLogFormatter::class,
8249  'delete/delete_redir2' => DeleteLogFormatter::class,
8250  'delete/event' => DeleteLogFormatter::class,
8251  'delete/restore' => DeleteLogFormatter::class,
8252  'delete/revision' => DeleteLogFormatter::class,
8253  'import/interwiki' => ImportLogFormatter::class,
8254  'import/upload' => ImportLogFormatter::class,
8255  'managetags/activate' => LogFormatter::class,
8256  'managetags/create' => LogFormatter::class,
8257  'managetags/deactivate' => LogFormatter::class,
8258  'managetags/delete' => LogFormatter::class,
8259  'merge/merge' => MergeLogFormatter::class,
8260  'move/move' => MoveLogFormatter::class,
8261  'move/move_redir' => MoveLogFormatter::class,
8262  'patrol/patrol' => PatrolLogFormatter::class,
8263  'patrol/autopatrol' => PatrolLogFormatter::class,
8264  'protect/modify' => ProtectLogFormatter::class,
8265  'protect/move_prot' => ProtectLogFormatter::class,
8266  'protect/protect' => ProtectLogFormatter::class,
8267  'protect/unprotect' => ProtectLogFormatter::class,
8268  'rights/autopromote' => RightsLogFormatter::class,
8269  'rights/rights' => RightsLogFormatter::class,
8270  'suppress/block' => BlockLogFormatter::class,
8271  'suppress/delete' => DeleteLogFormatter::class,
8272  'suppress/event' => DeleteLogFormatter::class,
8273  'suppress/reblock' => BlockLogFormatter::class,
8274  'suppress/revision' => DeleteLogFormatter::class,
8275  'tag/update' => TagLogFormatter::class,
8276  'upload/overwrite' => UploadLogFormatter::class,
8277  'upload/revert' => UploadLogFormatter::class,
8278  'upload/upload' => UploadLogFormatter::class,
8279 ];
8280 
8290  'block' => [
8291  'block' => [ 'block' ],
8292  'reblock' => [ 'reblock' ],
8293  'unblock' => [ 'unblock' ],
8294  ],
8295  'contentmodel' => [
8296  'change' => [ 'change' ],
8297  'new' => [ 'new' ],
8298  ],
8299  'delete' => [
8300  'delete' => [ 'delete' ],
8301  'delete_redir' => [ 'delete_redir', 'delete_redir2' ],
8302  'restore' => [ 'restore' ],
8303  'event' => [ 'event' ],
8304  'revision' => [ 'revision' ],
8305  ],
8306  'import' => [
8307  'interwiki' => [ 'interwiki' ],
8308  'upload' => [ 'upload' ],
8309  ],
8310  'managetags' => [
8311  'create' => [ 'create' ],
8312  'delete' => [ 'delete' ],
8313  'activate' => [ 'activate' ],
8314  'deactivate' => [ 'deactivate' ],
8315  ],
8316  'move' => [
8317  'move' => [ 'move' ],
8318  'move_redir' => [ 'move_redir' ],
8319  ],
8320  'newusers' => [
8321  'create' => [ 'create', 'newusers' ],
8322  'create2' => [ 'create2' ],
8323  'autocreate' => [ 'autocreate' ],
8324  'byemail' => [ 'byemail' ],
8325  ],
8326  'protect' => [
8327  'protect' => [ 'protect' ],
8328  'modify' => [ 'modify' ],
8329  'unprotect' => [ 'unprotect' ],
8330  'move_prot' => [ 'move_prot' ],
8331  ],
8332  'rights' => [
8333  'rights' => [ 'rights' ],
8334  'autopromote' => [ 'autopromote' ],
8335  ],
8336  'suppress' => [
8337  'event' => [ 'event' ],
8338  'revision' => [ 'revision' ],
8339  'delete' => [ 'delete' ],
8340  'block' => [ 'block' ],
8341  'reblock' => [ 'reblock' ],
8342  ],
8343  'upload' => [
8344  'upload' => [ 'upload' ],
8345  'overwrite' => [ 'overwrite' ],
8346  'revert' => [ 'revert' ],
8347  ],
8348 ];
8349 
8354 
8360  # end logging }
8362 
8363 /*************************************************************************/
8372 
8379 
8385 
8391  # end special pages }
8393 
8394 /*************************************************************************/
8410  'credits' => true,
8411  'delete' => true,
8412  'edit' => true,
8413  'editchangetags' => SpecialPageAction::class,
8414  'history' => true,
8415  'info' => true,
8416  'markpatrolled' => true,
8417  'mcrundo' => McrUndoAction::class,
8418  'mcrrestore' => McrRestoreAction::class,
8419  'protect' => true,
8420  'purge' => true,
8421  'raw' => true,
8422  'render' => true,
8423  'revert' => true,
8424  'revisiondelete' => SpecialPageAction::class,
8425  'rollback' => true,
8426  'submit' => true,
8427  'unprotect' => true,
8428  'unwatch' => true,
8429  'view' => true,
8430  'watch' => true,
8431 ];
8432  # end actions }
8434 
8435 /*************************************************************************/
8446 $wgDefaultRobotPolicy = 'index,follow';
8447 
8463 
8491 
8503  # End robot policy }
8505 
8506 /************************************************************************/
8527 $wgDebugAPI = false;
8528 
8566 
8575 
8584 
8593 
8602 
8608 
8614 
8620 
8627 
8633 
8638 
8644  'MIMEsearch', // aiprop=mime
8645  'LinkSearch', // list=exturlusage
8646  'FileDuplicateSearch', // prop=duplicatefiles
8647 ];
8648 
8654 $wgUseAjax = true;
8655 
8662 
8667 
8672 
8678 
8700 
8707 
8712  /* simple headers (see spec) */
8713  'Accept',
8714  'Accept-Language',
8715  'Content-Language',
8716  'Content-Type',
8717  /* non-authorable headers in XHR, which are however requested by some UAs */
8718  'Accept-Encoding',
8719  'DNT',
8720  'Origin',
8721  /* MediaWiki whitelist */
8722  'User-Agent',
8723  'Api-User-Agent',
8724 ];
8725 
8733 
8740  # End AJAX and API }
8742 
8743 /************************************************************************/
8752 
8758 
8763 
8769 
8794 
8798 $wgPhpCli = '/usr/bin/php';
8799 
8834 $wgShellLocale = 'C.UTF-8';
8835 
8851  # End shell }
8853 
8854 /************************************************************************/
8866 
8876 
8885 
8894 
8900 
8905 
8910 
8925 
8932  # End HTTP client }
8934 
8935 /************************************************************************/
8947 
8956 
8961 
8966  # End job queue }
8968 
8969 /************************************************************************/
8988 
8994 
9004 
9010 
9016 
9021 
9027 
9033 
9067 
9072 
9085 
9097 
9109  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
9110  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
9111  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
9112 ];
9113 
9120  'mediawiki' => MediaWikiSite::class,
9121 ];
9122 
9129 
9137 
9146 
9156 
9163 $wgHKDFAlgorithm = 'sha256';
9164 
9172 
9211  'paths' => [],
9212  'modules' => [],
9213  'global' => [
9214  # Timeout in seconds
9215  'timeout' => 360,
9216  # 'domain' is set to $wgCanonicalServer in Setup.php
9217  'forwardCookies' => false,
9218  'HTTPProxy' => null
9219  ]
9220 ];
9221 
9230 
9231 /*
9232  * Max time (in seconds) a user-generated transaction can spend in writes.
9233  * If exceeded, the transaction is rolled back with an error instead of being committed.
9234  *
9235  * @var int|bool Disabled if false
9236  * @since 1.27
9237  */
9239 
9240 /*
9241  * Max time (in seconds) a job-generated transaction can spend in writes.
9242  * If exceeded, the transaction is rolled back with an error instead of being committed.
9243  *
9244  * @var int|bool Disabled if false
9245  * @since 1.30
9246  */
9248 
9272 
9280 
9293  'copyright',
9294  'history_copyright',
9295  'googlesearch',
9296  'feedback-terms',
9297  'feedback-termsofuse',
9298 ];
9299 
9320  'default' => [
9321  'class' => EventRelayerNull::class,
9322  ]
9323 ];
9324 
9338 $wgPingback = false;
9339 
9349  'https://3hub.co' => true,
9350  'https://morepro.info' => true,
9351  'https://p.ato.mx' => true,
9352  'https://s.ato.mx' => true,
9353  'https://adserver.adtech.de' => true,
9354  'https://ums.adtechus.com' => true,
9355  'https://cas.criteo.com' => true,
9356  'https://cat.nl.eu.criteo.com' => true,
9357  'https://atpixel.alephd.com' => true,
9358  'https://rtb.metrigo.com' => true,
9359  'https://d5p.de17a.com' => true,
9360  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
9361  'https://ad.lkqd.net/vpaid/vpaid.js?fusion=1.0' => true,
9362  'https://t.lkqd.net/t' => true,
9363  'chrome-extension' => true,
9364 ];
9365 
9374  'IPv4' => 16,
9375  'IPv6' => 32,
9376 ];
9377 
9394 
9413 
9436 
9442 
9450 
9460 
9470 
9480 
9490 
9500 
9511 
9522 
9533 
9543 
9553 
9565 
9578 
9594 
9615 
9625 
9640 
9656 
$wgSend404Code
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
Definition: DefaultSettings.php:3651
$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:5781
$wgEventRelayerConfig
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
Definition: DefaultSettings.php:9319
$wgInterwikiScopes
$wgInterwikiScopes
Specify number of domains to check for messages.
Definition: DefaultSettings.php:4380
$wgActionFilteredLogs
$wgActionFilteredLogs
List of log types that can be filtered by action types.
Definition: DefaultSettings.php:8289
$wgHiddenPrefs
$wgHiddenPrefs
An array of preferences to not show for the user.
Definition: DefaultSettings.php:5321
$wgMemCachedServers
$wgMemCachedServers
The list of MemCached servers and port numbers.
Definition: DefaultSettings.php:2680
$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:1715
$wgSharedUploadDirectory
string $wgSharedUploadDirectory
Shortcut for the 'directory' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:675
$wgCdnMaxageStale
$wgCdnMaxageStale
Cache timeout when delivering a stale ParserCache response due to PoolCounter contention.
Definition: DefaultSettings.php:2926
$wgAdditionalMailParams
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
Definition: DefaultSettings.php:1869
$wgFeedLimit
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
Definition: DefaultSettings.php:7370
$wgDebugRedirects
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
Definition: DefaultSettings.php:6568
$wgRCLinkLimits
$wgRCLinkLimits
List of Limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7229
$wgAllowJavaUploads
$wgAllowJavaUploads
Allow Java archive uploads.
Definition: DefaultSettings.php:1057
$wgPhpCli
$wgPhpCli
Executable path of the PHP cli binary.
Definition: DefaultSettings.php:8798
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:8409
$wgUpdateCompatibleMetadata
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
Definition: DefaultSettings.php:882
$wgUseAutomaticEditSummaries
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
Definition: DefaultSettings.php:7101
$wgAuthManagerConfig
$wgAuthManagerConfig
Configure AuthManager.
Definition: DefaultSettings.php:4930
$wgPingback
bool $wgPingback
Share data about this installation with MediaWiki developers.
Definition: DefaultSettings.php:9338
$wgElementTiming
bool $wgElementTiming
Enable Element Timing.
Definition: DefaultSettings.php:9479
$wgAPIListModules
$wgAPIListModules
API Query list module extensions.
Definition: DefaultSettings.php:8601
$wgUseTagFilter
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined in ...
Definition: DefaultSettings.php:7451
$wgProxyWhitelist
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
Definition: DefaultSettings.php:6044
$wgLocalVirtualHosts
$wgLocalVirtualHosts
Local virtual hosts.
Definition: DefaultSettings.php:8924
$wgSitemapNamespacesPriorities
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Definition: DefaultSettings.php:7053
$wgNamespaceContentModels
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
Definition: DefaultSettings.php:9084
$wgMaxCredits
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
Definition: DefaultSettings.php:7593
$wgUseCdn
$wgUseCdn
Enable/disable CDN.
Definition: DefaultSettings.php:2879
$wgAPIMaxUncachedDiffs
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
Definition: DefaultSettings.php:8619
$wgChangeCredentialsBlacklist
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
Definition: DefaultSettings.php:5062
$wgProxyList
$wgProxyList
Big list of banned IP addresses.
Definition: DefaultSettings.php:6423
$wgThumbLimits
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
Definition: DefaultSettings.php:1561
$wgLocalDatabases
string[] $wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Definition: DefaultSettings.php:2274
$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:9348
$wgRestAPIAdditionalRouteFiles
$wgRestAPIAdditionalRouteFiles
Additional REST API Route files.
Definition: DefaultSettings.php:8739
$wgMaximalPasswordLength
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
Definition: DefaultSettings.php:5097
$wgIncludeLegacyJavaScript
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
Definition: DefaultSettings.php:4128
$wgShowSQLErrors
$wgShowSQLErrors
Whether to show "we're sorry, but there has been a database error" pages.
Definition: DefaultSettings.php:6731
$wgDBserver
$wgDBserver
Database host name or IP address.
Definition: DefaultSettings.php:2014
$wgFileBlacklist
$wgFileBlacklist
Files with these extensions will never be allowed as uploads.
Definition: DefaultSettings.php:1025
$wgDisableHardRedirects
$wgDisableHardRedirects
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected f...
Definition: DefaultSettings.php:9003
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:6401
$wgRCLinkDays
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7237
$wgMangleFlashPolicy
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
Definition: DefaultSettings.php:3680
$wgMimeType
$wgMimeType
The default Content-Type header.
Definition: DefaultSettings.php:3377
$wgCdnServers
$wgCdnServers
List of proxy servers to purge on changes; default port is 80.
Definition: DefaultSettings.php:2977
$wgMaxArticleSize
$wgMaxArticleSize
Maximum article size in kilobytes.
Definition: DefaultSettings.php:2398
$wgAPIModules
$wgAPIModules
API module extensions.
Definition: DefaultSettings.php:8565
$wgDisabledVariants
$wgDisabledVariants
Disabled variants array of language variant conversion.
Definition: DefaultSettings.php:3269
$wgFixDoubleRedirects
$wgFixDoubleRedirects
Fix double redirects after a page move.
Definition: DefaultSettings.php:9026
$wgNewPasswordExpiry
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
Definition: DefaultSettings.php:1828
$wgJobTypeConf
$wgJobTypeConf
Map of job types to configuration arrays.
Definition: DefaultSettings.php:8026
$wgPageCreationLog
$wgPageCreationLog
Maintain a log of page creations at Special:Log/create?
Definition: DefaultSettings.php:8359
$wgExemptFromUserRobotsControl
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
Definition: DefaultSettings.php:8502
$wgHKDFAlgorithm
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:9163
$wgStyleSheetPath
$wgStyleSheetPath
URL of the server.
Definition: DefaultSettings.php:230
$wgResourceLoaderEnableJSProfiler
$wgResourceLoaderEnableJSProfiler
When enabled, execution of JavaScript modules is profiled client-side.
Definition: DefaultSettings.php:4189
$wgExternalStores
$wgExternalStores
External stores allow including content from non database sources following URL links.
Definition: DefaultSettings.php:2314
$wgResponsiveImages
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
Definition: DefaultSettings.php:1680
$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
Definition: DefaultSettings.php:2837
$wgRestPath
$wgRestPath
The URL path to the REST API Defaults to "{$wgScriptPath}/rest.php".
Definition: DefaultSettings.php:222
$wgAuthManagerAutoConfig
$wgAuthManagerAutoConfig
Definition: DefaultSettings.php:4936
$wgAjaxLicensePreview
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
Definition: DefaultSettings.php:8671
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:6575
$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:7574
$wgEnotifMinorEdits
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
Definition: DefaultSettings.php:1946
$wgDBname
$wgDBname
Current wiki database name.
Definition: DefaultSettings.php:1989
$wgRevokePermissions
$wgRevokePermissions
Permission keys revoked from users in each group.
Definition: DefaultSettings.php:5681
$wgMaximumMovedPages
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
Definition: DefaultSettings.php:9020
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:3396
$wgCopyUploadsDomains
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
Definition: DefaultSettings.php:896
$wgBlockAllowsUTEdit
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
Definition: DefaultSettings.php:5413
$wgEdititis
$wgEdititis
Display user edit counts in various prominent places.
Definition: DefaultSettings.php:3638
$wgSharedTables
$wgSharedTables
Definition: DefaultSettings.php:2153
$wgSharedSchema
$wgSharedSchema
Definition: DefaultSettings.php:2159
$wgExternalInterwikiFragmentMode
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
Definition: DefaultSettings.php:3579
$wgLegacyEncoding
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
Definition: DefaultSettings.php:3200
$wgFeedCacheTimeout
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
Definition: DefaultSettings.php:7380
$wgJpegPixelFormat
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
Definition: DefaultSettings.php:1238
$wgShowUpdatedMarker
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
Definition: DefaultSettings.php:7439
$wgRedirectOnLogin
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
Definition: DefaultSettings.php:9032
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:1506
$wgLogHeaders
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Definition: DefaultSettings.php:8213
$wgStatsdSamplingRates
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Definition: DefaultSettings.php:6871
$wgExiftool
$wgExiftool
Path to exiftool binary.
Definition: DefaultSettings.php:1260
$wgLegalTitleChars
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
Definition: DefaultSettings.php:4334
$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:8003
$wgDiff3
$wgDiff3
Path to the GNU diff3 utility.
Definition: DefaultSettings.php:7073
$wgExperiencedUserMemberSince
$wgExperiencedUserMemberSince
Specify the difference engine to use.
Definition: DefaultSettings.php:9393
$wgPasswordDefault
$wgPasswordDefault
Default password type to use when hashing user passwords.
Definition: DefaultSettings.php:5114
$wgSearchTypeAlternatives
$wgSearchTypeAlternatives
Alternative search types.
Definition: DefaultSettings.php:2091
$wgParserConf
$wgParserConf
Parser configuration.
Definition: DefaultSettings.php:4534
$wgUsersNotifiedOnAllChanges
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
Definition: DefaultSettings.php:1972
$wgWhitelistReadRegexp
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
Definition: DefaultSettings.php:5491
$wgMaxTemplateDepth
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Definition: DefaultSettings.php:4555
$wgSharpenParameter
$wgSharpenParameter
Sharpening parameter to ImageMagick.
Definition: DefaultSettings.php:1185
$wgEnotifFromEditor
bool $wgEnotifFromEditor
Allow sending of e-mail notifications with the editor's address as sender.
Definition: DefaultSettings.php:1888
$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:2019
$wgCookiePath
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
Definition: DefaultSettings.php:6455
$wgHTCPMulticastTTL
$wgHTCPMulticastTTL
HTCP multicast TTL.
Definition: DefaultSettings.php:3063
$wgDBtype
$wgDBtype
Database type.
Definition: DefaultSettings.php:2034
$wgDisableQueryPages
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
Definition: DefaultSettings.php:2373
true
return true
Definition: router.php:90
$wgWatchlistExpiryMaxDuration
string null $wgWatchlistExpiryMaxDuration
Relative maximum duration for watchlist expiries, as accepted by strtotime().
Definition: DefaultSettings.php:9593
$wgTranscludeCacheExpiry
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in object cache.
Definition: DefaultSettings.php:4727
$wgSharedDB
$wgSharedDB
Shared database for multiple wikis.
Definition: DefaultSettings.php:2143
$wgPasswordResetRoutes
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
Definition: DefaultSettings.php:5192
$wgSVGMaxSize
$wgSVGMaxSize
Don't scale a SVG larger than this.
Definition: DefaultSettings.php:1296
$wgHideInterlanguageLinks
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
Definition: DefaultSettings.php:3120
$wgRemoveCredentialsBlacklist
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
Definition: DefaultSettings.php:5075
$wgLocalFileRepo
$wgLocalFileRepo
File repository structures.
Definition: DefaultSettings.php:610
CONTENT_MODEL_CSS
const CONTENT_MODEL_CSS
Definition: Defines.php:226
$wgWANObjectCaches
$wgWANObjectCaches
Advanced WAN object cache configuration.
Definition: DefaultSettings.php:2584
$wgSharedUploadDBname
bool string $wgSharedUploadDBname
Shortcut for the ForeignDBRepo 'dbName' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:720
$wgDjvuPostProcessor
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
Definition: DefaultSettings.php:1738
$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:3220
CACHE_MEMCACHED
const CACHE_MEMCACHED
Definition: Defines.php:93
$wgAutoblockExpiry
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
Definition: DefaultSettings.php:5404
$wgUploadMaintenance
$wgUploadMaintenance
To disable file delete/restore temporarily.
Definition: DefaultSettings.php:9071
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles
Extension messages files.
Definition: DefaultSettings.php:7730
$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:9145
$wgShowCreditsIfMax
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
Definition: DefaultSettings.php:7599
$wgSoftBlockRanges
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
Definition: DefaultSettings.php:6053
$wgBotPasswordsCluster
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
Definition: DefaultSettings.php:6391
$wgNoFollowDomainExceptions
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
Definition: DefaultSettings.php:4692
$wgCategoryMagicGallery
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
Definition: DefaultSettings.php:8078
$wgSpecialPageCacheUpdates
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
Definition: DefaultSettings.php:8047
MW_VERSION
const MW_VERSION
The running version of MediaWiki.
Definition: Defines.php:39
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition: DefaultSettings.php:7757
$wgShowHostnames
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
Definition: DefaultSettings.php:6767
$wgEmailAuthentication
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
Definition: DefaultSettings.php:1901
$wgParserOutputHooks
$wgParserOutputHooks
Parser output hooks.
Definition: DefaultSettings.php:7780
$wgDeprecationReleaseLimit
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
Definition: DefaultSettings.php:6787
$wgMaxUploadSize
$wgMaxUploadSize
Max size for uploads, in bytes.
Definition: DefaultSettings.php:943
$wgDebugAPI
$wgDebugAPI
Definition: DefaultSettings.php:8527
$wgUseMediaWikiUIEverywhere
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
Definition: DefaultSettings.php:3404
$wgDBmwschema
$wgDBmwschema
Current wiki database schema name.
Definition: DefaultSettings.php:1999
$wgDefaultUserOptions
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
Definition: DefaultSettings.php:5253
$wgExternalServers
$wgExternalServers
An array of external MySQL servers.
Definition: DefaultSettings.php:2330
$wgMessageCacheType
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
Definition: DefaultSettings.php:2456
$wgServiceWiringFiles
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Definition: DefaultSettings.php:7942
$wgMaxMsgCacheEntrySize
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
Definition: DefaultSettings.php:3237
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:5049
$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:3214
$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:7078
$wgFileExtensions
$wgFileExtensions
This is the list of preferred extensions for uploading files.
Definition: DefaultSettings.php:1018
APCOND_EDITCOUNT
const APCOND_EDITCOUNT
Definition: Defines.php:194
$wgEnableUserEmail
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
Definition: DefaultSettings.php:1789
$wgWantedPagesThreshold
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
Definition: DefaultSettings.php:2383
$wgDisableTitleConversion
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
Definition: DefaultSettings.php:3247
$wgUnwatchedPageSecret
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
Definition: DefaultSettings.php:7214
$wgHideIdentifiableRedirects
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
Definition: DefaultSettings.php:5503
$wgCopyUploadTimeout
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
Definition: DefaultSettings.php:921
$wgLangObjCacheSize
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
Definition: DefaultSettings.php:3099
$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:4372
$wgMultiContentRevisionSchemaMigrationStage
int $wgMultiContentRevisionSchemaMigrationStage
RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables).
Definition: DefaultSettings.php:9435
$wgExportAllowAll
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
Definition: DefaultSettings.php:7681
$wgEnotifWatchlist
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
Definition: DefaultSettings.php:1906
$wgAjaxUploadDestCheck
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
Definition: DefaultSettings.php:8666
$wgMimeTypeBlacklist
$wgMimeTypeBlacklist
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
Definition: DefaultSettings.php:1039
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:2226
$wgEnableCanonicalServerLink
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
Definition: DefaultSettings.php:3670
$wgVerifyMimeTypeIE
$wgVerifyMimeTypeIE
Determines whether extra checks for IE type detection should be applied.
Definition: DefaultSettings.php:1489
$wgLogActions
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
Definition: DefaultSettings.php:8233
$wgAPIUselessQueryPages
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Definition: DefaultSettings.php:8643
$wgUseSameSiteLegacyCookies
bool $wgUseSameSiteLegacyCookies
If true, when a cross-site cookie with SameSite=None is sent, a legacy cookie with an "ss0" prefix wi...
Definition: DefaultSettings.php:6511
$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:3569
$wgAllowSchemaUpdates
$wgAllowSchemaUpdates
Allow schema updates.
Definition: DefaultSettings.php:2393
$wgDisableTextSearch
$wgDisableTextSearch
Set this to true to disable the full text search feature.
Definition: DefaultSettings.php:6927
$wgArticleRobotPolicies
$wgArticleRobotPolicies
Robot policies per article.
Definition: DefaultSettings.php:8490
$wgCacheDirectory
$wgCacheDirectory
Directory for caching data in the local filesystem.
Definition: DefaultSettings.php:2429
$wgSidebarCacheExpiry
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
Definition: DefaultSettings.php:2811
$wgOpenSearchTemplate
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6951
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:1579
$wgTransactionalTimeLimit
$wgTransactionalTimeLimit
The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...
Definition: DefaultSettings.php:2412
$wgBreakFrames
$wgBreakFrames
Break out of framesets.
Definition: DefaultSettings.php:3501
$wgDefaultExternalStore
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
Definition: DefaultSettings.php:2346
$wgDebugLogPrefix
$wgDebugLogPrefix
Prefix for debug log lines.
Definition: DefaultSettings.php:6561
$wgStrictFileExtensions
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
Definition: DefaultSettings.php:1072
$wgCdnMaxAge
$wgCdnMaxAge
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Definition: DefaultSettings.php:2910
$wgSharedThumbnailScriptPath
string $wgSharedThumbnailScriptPath
Shortcut for the 'thumbScriptUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:1000
$wgForeignUploadTargets
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
Definition: DefaultSettings.php:749
$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:7339
$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:5962
$wgOpenSearchTemplates
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6961
$wgUseRCPatrol
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
Definition: DefaultSettings.php:7332
$wgEnableOpenSearchSuggest
$wgEnableOpenSearchSuggest
This was previously a used to force empty responses from ApiOpenSearch with the 'suggest' parameter s...
Definition: DefaultSettings.php:6972
$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:7348
$wgDjvuRenderer
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
Definition: DefaultSettings.php:1708
$wgJobRunRate
$wgJobRunRate
Number of jobs to perform per request.
Definition: DefaultSettings.php:8946
$wgMetaNamespace
$wgMetaNamespace
Name of the project namespace.
Definition: DefaultSettings.php:4240
$wgDBpassword
$wgDBpassword
Database user's password.
Definition: DefaultSettings.php:2029
$wgDBprefix
$wgDBprefix
Current wiki database table name prefix.
Definition: DefaultSettings.php:2009
$wgFetchCommonsDescriptions
bool $wgFetchCommonsDescriptions
Shortcut for the 'fetchDescription' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:710
$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:1596
$wgAllowSiteCSSOnRestrictedPages
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
Definition: DefaultSettings.php:4216
$wgExtensionEntryPointListFiles
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
Definition: DefaultSettings.php:7764
$wgReadOnlyWatchedItemStore
bool $wgReadOnlyWatchedItemStore
Set this to true to put the wiki watchlists into read-only mode.
Definition: DefaultSettings.php:7140
$wgUseSiteJs
$wgUseSiteJs
Use the site's Javascript page?
Definition: DefaultSettings.php:3490
$wgPutIPinRC
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
Definition: DefaultSettings.php:6189
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:1358
$wgCrossSiteAJAXdomainExceptions
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
Definition: DefaultSettings.php:8706
$wgFeaturePolicyReportOnly
array $wgFeaturePolicyReportOnly
List of Feature Policy Reporting types to enable.
Definition: DefaultSettings.php:9510
$wgWhitelistRead
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
Definition: DefaultSettings.php:5463
$wgMaxNameChars
$wgMaxNameChars
Maximum number of bytes in username.
Definition: DefaultSettings.php:5226
$wgResourceLoaderStorageVersion
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
Definition: DefaultSettings.php:4203
$wgDBerrorLog
$wgDBerrorLog
File to log database errors to.
Definition: DefaultSettings.php:2239
$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:1845
$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:701
$wgEnableWANCacheReaper
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
Definition: DefaultSettings.php:2602
$wgAllowExternalReqID
$wgAllowExternalReqID
Whether to respect/honour the request ID provided by the incoming request via the X-Request-Id header...
Definition: DefaultSettings.php:8931
$wgExperiencedUserEdits
$wgExperiencedUserEdits
Specify the difference engine to use.
Definition: DefaultSettings.php:9392
$wgHTTPConnectTimeout
float int $wgHTTPConnectTimeout
Timeout for connections done internally (in seconds).
Definition: DefaultSettings.php:8875
$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:135
$wgSearchHighlightBoundaries
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
Definition: DefaultSettings.php:6939
$wgPropagateErrors
$wgPropagateErrors
If true, the MediaWiki error handler passes errors/warnings to the default error handler after loggin...
Definition: DefaultSettings.php:6762
NS_MAIN
const NS_MAIN
Definition: Defines.php:69
$wgUseInstantCommons
$wgUseInstantCommons
Use Wikimedia Commons as a foreign file repository.
Definition: DefaultSettings.php:636
$wgMediaHandlers
$wgMediaHandlers
Plugins for media file type handling.
Definition: DefaultSettings.php:1113
$wgDBadminuser
$wgDBadminuser
Separate username for maintenance tasks.
Definition: DefaultSettings.php:2059
$wgResourceModules
$wgResourceModules
Define extra client-side modules to be registered with ResourceLoader.
Definition: DefaultSettings.php:3976
$wgResourceLoaderValidateJS
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
Definition: DefaultSettings.php:4179
$wgAPIRequestLog
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
Definition: DefaultSettings.php:8632
$wgMediaInTargetLanguage
$wgMediaInTargetLanguage
Whether thumbnails should be generated in target language (usually, same as page language),...
Definition: DefaultSettings.php:1312
$wgAutopromote
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
Definition: DefaultSettings.php:5873
$wgContentHandlerTextFallback
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
Definition: DefaultSettings.php:9096
$wgAllowImageTag
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
Definition: DefaultSettings.php:4625
$wgManualRevertSearchRadius
int $wgManualRevertSearchRadius
Maximum number of revisions of a page that will be checked against every new edit made to determine w...
Definition: DefaultSettings.php:9614
$wgShowDebug
$wgShowDebug
Display debug data at the bottom of the main content area.
Definition: DefaultSettings.php:6716
$wgRightsPage
$wgRightsPage
Override for copyright metadata.
Definition: DefaultSettings.php:7559
$wgHTTPProxy
$wgHTTPProxy
Proxy to use for CURL requests.
Definition: DefaultSettings.php:8909
$wgRawHtml
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
Definition: DefaultSettings.php:4652
$wgEnableScaryTranscluding
$wgEnableScaryTranscluding
Enable interwiki transcluding.
Definition: DefaultSettings.php:4721
$wgAttemptFailureEpoch
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
Definition: DefaultSettings.php:1366
$wgEnotifUseRealName
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
Definition: DefaultSettings.php:1966
$wgDBservers
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
Definition: DefaultSettings.php:2214
$wgRCChangedSizeThreshold
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
Definition: DefaultSettings.php:7433
$wgAllowUserCss
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
Definition: DefaultSettings.php:3477
$wgHashedSharedUploadDirectory
bool $wgHashedSharedUploadDirectory
Shortcut for the 'hashLevels' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:693
$wgDBDefaultGroup
$wgDBDefaultGroup
Default group to use when getting database connections.
Definition: DefaultSettings.php:2111
$wgAdaptiveMessageCache
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
Definition: DefaultSettings.php:2712
$wgResourceLoaderMaxage
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
Definition: DefaultSettings.php:4103
$wgSVGConverterPath
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
Definition: DefaultSettings.php:1291
$wgRawHtmlMessages
string[] $wgRawHtmlMessages
List of messages which might contain raw HTML.
Definition: DefaultSettings.php:9292
$wgFooterLinkCacheExpiry
$wgFooterLinkCacheExpiry
Expiry time for the footer link cache, in seconds, or 0 if disabled.
Definition: DefaultSettings.php:2818
$wgNoReplyAddress
$wgNoReplyAddress
Reply-To address for e-mail notifications.
Definition: DefaultSettings.php:1776
$wgParserTestMediaHandlers
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
Definition: DefaultSettings.php:1119
$wgHooks
$wgHooks
Global list of hooks.
Definition: DefaultSettings.php:7929
$wgProfiler
$wgProfiler
Profiler configuration.
Definition: DefaultSettings.php:6842
$wgRecentChangesFlags
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Definition: DefaultSettings.php:7516
$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:5104
$wgGrantPermissions
array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
Definition: DefaultSettings.php:6228
$wgSQLiteDataDir
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
Definition: DefaultSettings.php:2116
$wgWatchlistPurgeRate
float $wgWatchlistPurgeRate
Chance of expired watchlist items being purged on any page edit.
Definition: DefaultSettings.php:9577
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:3295
$wgUploadSizeWarning
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
Definition: DefaultSettings.php:1085
$wgEmergencyContact
$wgEmergencyContact
Site admin email address.
Definition: DefaultSettings.php:1759
$wgAuthenticationTokenVersion
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
Definition: DefaultSettings.php:5359
$wgContentHandlers
$wgContentHandlers
Plugins for page content model handling.
Definition: DefaultSettings.php:1139
$wgAllowRequiringEmailForResets
$wgAllowRequiringEmailForResets
Temporary feature flag that controls whether users will see a checkbox allowing them to require provi...
Definition: DefaultSettings.php:5392
$wgFooterIcons
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
Definition: DefaultSettings.php:3611
$wgMaxUserDBWriteDuration
$wgMaxUserDBWriteDuration
Specify the difference engine to use.
Definition: DefaultSettings.php:9238
$wgXmlDumpSchemaVersion
$wgXmlDumpSchemaVersion
The schema to use per default when generating XML dumps.
Definition: DefaultSettings.php:9441
$wgAntivirusRequired
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
Definition: DefaultSettings.php:1474
$wgMainCacheType
$wgMainCacheType
Main cache type.
Definition: DefaultSettings.php:2448
$wgRevertedTagMaxDepth
int $wgRevertedTagMaxDepth
Maximum depth (revision count) of reverts that will have their reverted edits marked with the mw-reve...
Definition: DefaultSettings.php:9639
$wgPreprocessorCacheThreshold
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
Definition: DefaultSettings.php:4716
$wgLinkHolderBatchSize
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
Definition: DefaultSettings.php:9009
$wgLockManagers
$wgLockManagers
Array of configuration arrays for each lock manager.
Definition: DefaultSettings.php:862
$wgFilterLogTypes
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
Definition: DefaultSettings.php:8175
$wgLanguageConverterCacheType
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
Definition: DefaultSettings.php:2481
$wgCentralIdLookupProvider
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
Definition: DefaultSettings.php:4795
$wgUseImageMagick
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
Definition: DefaultSettings.php:1169
$wgExtraSignatureNamespaces
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
Definition: DefaultSettings.php:4490
$wgFallbackSkin
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
Definition: DefaultSettings.php:3451
$wgUseFileCache
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Definition: DefaultSettings.php:2781
$wgCacheVaryCookies
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
Definition: DefaultSettings.php:6516
$wgCrossSiteAJAXdomains
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
Definition: DefaultSettings.php:8699
$wgDefaultLanguageVariant
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
Definition: DefaultSettings.php:3252
$wgCachePrefix
$wgCachePrefix
Overwrite the caching key prefix with custom value.
Definition: DefaultSettings.php:6906
$wgAPICacheHelpTimeout
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
Definition: DefaultSettings.php:8637
$wgEnableSidebarCache
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
Definition: DefaultSettings.php:2806
$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:7013
$wgEnableSpecialMute
$wgEnableSpecialMute
Set to true to enable the Special Mute page.
Definition: DefaultSettings.php:1799
$wgAllowExternalImagesFrom
$wgAllowExternalImagesFrom
If the above is false, you can specify an exception here.
Definition: DefaultSettings.php:4601
$wgStatsdMetricPrefix
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
Definition: DefaultSettings.php:6863
$wgUploadThumbnailRenderMap
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
Definition: DefaultSettings.php:1608
$wgQueryPageDefaultLimit
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
Definition: DefaultSettings.php:6195
$wgDjvuToXML
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3....
Definition: DefaultSettings.php:1731
$wgHtml5Version
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
Definition: DefaultSettings.php:3387
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:6684
$wgEnableRestAPI
$wgEnableRestAPI
Enable the experimental REST API.
Definition: DefaultSettings.php:8732
$wgUseDatabaseMessages
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
Definition: DefaultSettings.php:3232
$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:1500
$wgExpensiveParserFunctionLimit
$wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
Definition: DefaultSettings.php:4710
$wgAntivirusSetup
$wgAntivirusSetup
Configuration for different virus scanners.
Definition: DefaultSettings.php:1456
$wgApiFrameOptions
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
Definition: DefaultSettings.php:3534
$wgObjectCaches
$wgObjectCaches
Advanced object cache configuration.
Definition: DefaultSettings.php:2496
$wgSharedPrefix
$wgSharedPrefix
Definition: DefaultSettings.php:2148
$wgExportAllowHistory
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
Definition: DefaultSettings.php:7646
$wgHTCPRouting
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
Definition: DefaultSettings.php:3057
$wgLogExceptionBacktrace
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
Definition: DefaultSettings.php:6756
$wgRCFeeds
$wgRCFeeds
Configuration for feeds to which notifications about recent changes will be sent.
Definition: DefaultSettings.php:7299
$wgMimeDetectorCommand
$wgMimeDetectorCommand
Sets an external MIME detector program.
Definition: DefaultSettings.php:1519
$wgParserCacheExpireTime
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
Definition: DefaultSettings.php:2645
$wgPasswordReminderResendTime
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
Definition: DefaultSettings.php:1823
$wgJobSerialCommitThreshold
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
Definition: DefaultSettings.php:8018
$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:499
$wgUseGzip
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
Definition: DefaultSettings.php:2826
$wgInvalidRedirectTargets
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
Definition: DefaultSettings.php:4509
$wgOverrideUcfirstCharacters
array $wgOverrideUcfirstCharacters
List of Unicode characters for which capitalization is overridden in Language::ucfirst.
Definition: DefaultSettings.php:3365
$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:8626
$wgUserrightsInterwikiDelimiter
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
Definition: DefaultSettings.php:5339
$wgVaryOnXFP
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
Definition: DefaultSettings.php:2889
$wgImplicitGroups
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
Definition: DefaultSettings.php:5686
$wgCdnMaxageSubstitute
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
Definition: DefaultSettings.php:2958
$wgPreviewOnOpenNamespaces
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
Definition: DefaultSettings.php:7085
$wgInterwikiMagic
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Definition: DefaultSettings.php:3115
$wgLogTypes
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
Definition: DefaultSettings.php:8128
$wgExtendedLoginCookieExpiration
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
Definition: DefaultSettings.php:6443
$wgResourceLoaderSources
$wgResourceLoaderSources
Extensions should register foreign module sources here.
Definition: DefaultSettings.php:4079
AV_VIRUS_FOUND
const AV_VIRUS_FOUND
Definition: Defines.php:101
$wgParserCacheType
$wgParserCacheType
The cache type for storing article HTML.
Definition: DefaultSettings.php:2464
$wgNativeImageLazyLoading
array $wgNativeImageLazyLoading
Toggles native image lazy loading, via the "loading" attribute.
Definition: DefaultSettings.php:9542
$wgOriginTrials
array $wgOriginTrials
Origin Trials tokens.
Definition: DefaultSettings.php:9449
$wgLocalisationCacheConf
$wgLocalisationCacheConf
Localisation cache configuration.
Definition: DefaultSettings.php:2745
$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:1327
$wgUseCombinedLoginLink
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
Definition: DefaultSettings.php:3633
$wgUseCopyrightUpload
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
Definition: DefaultSettings.php:7584
$wgMaxPPExpandDepth
$wgMaxPPExpandDepth
Definition: DefaultSettings.php:4560
$wgEnableEmail
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
Definition: DefaultSettings.php:1783
$wgUseCategoryBrowser
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
Definition: DefaultSettings.php:8072
$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:6013
$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:3444
$wgUpdateRowsPerQuery
$wgUpdateRowsPerQuery
Number of rows to update per query.
Definition: DefaultSettings.php:8965
$wgReservedUsernames
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
Definition: DefaultSettings.php:5232
$wgEnableMagicLinks
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
Definition: DefaultSettings.php:4735
$wgInterlanguageLinkCodeMap
$wgInterlanguageLinkCodeMap
Map of interlanguage link codes to language codes.
Definition: DefaultSettings.php:3144
MEDIATYPE_BITMAP
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgSessionName
$wgSessionName
Override to customise the session name.
Definition: DefaultSettings.php:6521
$wgParserTestFiles
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
Definition: DefaultSettings.php:6895
$wgMaxInterlacingAreas
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
Definition: DefaultSettings.php:1180
$wgImportSources
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
Definition: DefaultSettings.php:7630
$wgCopyUploadProxy
$wgCopyUploadProxy
Proxy to use for copy upload requests.
Definition: DefaultSettings.php:909
$wgAllowedCorsHeaders
$wgAllowedCorsHeaders
List of allowed headers for cross-origin API requests.
Definition: DefaultSettings.php:8711
$wgAPIMetaModules
$wgAPIMetaModules
API Query meta module extensions.
Definition: DefaultSettings.php:8583
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:83
$wgFileBackends
$wgFileBackends
File backend structure configuration.
Definition: DefaultSettings.php:850
$wgDjvuOutputExtension
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
Definition: DefaultSettings.php:1743
$wgNamespaceProtection
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
Definition: DefaultSettings.php:5770
$wgExternalLinkTarget
$wgExternalLinkTarget
Set a default target for external links, e.g.
Definition: DefaultSettings.php:4663
$wgMaxJobDBWriteDuration
$wgMaxJobDBWriteDuration
Specify the difference engine to use.
Definition: DefaultSettings.php:9247
$wgMaxShellTime
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
Definition: DefaultSettings.php:8762
$wgPageInfoTransclusionLimit
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
Definition: DefaultSettings.php:6880
$wgEnableSearchContributorsByIP
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
Definition: DefaultSettings.php:7060
$wgSoftwareTags
array $wgSoftwareTags
List of core tags to enable.
Definition: DefaultSettings.php:7470
$wgDeleteRevisionsLimit
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
Definition: DefaultSettings.php:5947
$wgMemCachedTimeout
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
Definition: DefaultSettings.php:2691
$wgUpdateRowsPerJob
$wgUpdateRowsPerJob
Number of rows to update per job.
Definition: DefaultSettings.php:8960
$wgHTTPTimeout
float int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
Definition: DefaultSettings.php:8865
$wgCommandLineDarkBg
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
Definition: DefaultSettings.php:7123
$wgRCShowWatchingUsers
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
Definition: DefaultSettings.php:7421
$wgSignatureAllowedLintErrors
$wgSignatureAllowedLintErrors
List of lint error codes which don't cause signature validation to fail.
Definition: DefaultSettings.php:5220
$wgExtensionCredits
$wgExtensionCredits
Add information about an installed extension, keyed by its type.
Definition: DefaultSettings.php:7893
$wgImportTargetNamespace
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
Definition: DefaultSettings.php:7639
$wgCookieHttpOnly
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
Definition: DefaultSettings.php:6489
$wgCdnServersNoPurge
$wgCdnServersNoPurge
As with $wgCdnServers, except these servers aren't purged on page changes; use to set a list of trust...
Definition: DefaultSettings.php:2987
$wgCompressRevisions
$wgCompressRevisions
We can also compress text stored in the 'text' table.
Definition: DefaultSettings.php:2301
$wgExportAllowListContributors
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
Definition: DefaultSettings.php:7658
$wgFeedClasses
$wgFeedClasses
Available feeds objects.
Definition: DefaultSettings.php:7407
$wgAutoConfirmAge
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
Definition: DefaultSettings.php:5803
$wgDebugLogFile
$wgDebugLogFile
Filename for debug logging.
Definition: DefaultSettings.php:6556
$wgUseFilePatrol
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
Definition: DefaultSettings.php:7359
$wgEnableUserEmailBlacklist
$wgEnableUserEmailBlacklist
Set to true to enable user-to-user e-mail blacklist.
Definition: DefaultSettings.php:1806
$wgDisableLangConversion
$wgDisableLangConversion
Whether to enable language variant conversion.
Definition: DefaultSettings.php:3242
$wgRemoveGroups
$wgRemoveGroups
Definition: DefaultSettings.php:5935
$wgSearchForwardUrl
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
Definition: DefaultSettings.php:7030
$wgShowDBErrorBacktrace
$wgShowDBErrorBacktrace
If true, show a backtrace for database errors.
Definition: DefaultSettings.php:6751
$wgAPIMaxResultSize
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
Definition: DefaultSettings.php:8613
$wgCanonicalServer
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
Definition: DefaultSettings.php:120
$wgHashedUploadDirectory
bool $wgHashedUploadDirectory
Shortcut for setting hashLevels=2 in $wgLocalFileRepo.
Definition: DefaultSettings.php:1008
$wgPriorityHints
bool $wgPriorityHints
Enable client-side Priority Hints.
Definition: DefaultSettings.php:9459
$wgMemoryLimit
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
Definition: DefaultSettings.php:2404
$wgUniversalEditButton
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
Definition: DefaultSettings.php:7094
$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:7811
$wgUseSharedUploads
bool $wgUseSharedUploads
Shortcut for adding an entry to $wgForeignFileRepos.
Definition: DefaultSettings.php:666
$wgMaxAnimatedGifArea
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
Definition: DefaultSettings.php:1335
$wgInterwikiExpiry
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
Definition: DefaultSettings.php:4347
$wgAutopromoteOnceLogInRC
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
Definition: DefaultSettings.php:5906
$wgPageLanguageUseDB
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
Definition: DefaultSettings.php:9171
$wgCachePages
$wgCachePages
Allow client-side caching of pages.
Definition: DefaultSettings.php:2758
$wgTranslateNumerals
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
Definition: DefaultSettings.php:3226
$wgSVGMetadataCutoff
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Definition: DefaultSettings.php:1302
$wgAllowUserCssPrefs
$wgAllowUserCssPrefs
Allow style-related user-preferences?
Definition: DefaultSettings.php:3485
$wgExtraLanguageNames
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Definition: DefaultSettings.php:3149
$wgDBcompress
$wgDBcompress
Whether to use compression in DB connection.
Definition: DefaultSettings.php:2054
$wgMaxShellFileSize
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KB ImageMagick convert for example can b...
Definition: DefaultSettings.php:8757
$wgRangeContributionsCIDRLimit
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Definition: DefaultSettings.php:9373
$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
Definition: DefaultSettings.php:6933
$wgEnotifUserTalk
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
Definition: DefaultSettings.php:1915
$wgJobTypesExcludedFromDefaultQueue
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
Definition: DefaultSettings.php:7992
$wgSessionPbkdf2Iterations
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
Definition: DefaultSettings.php:2675
$wgCookieExpiration
$wgCookieExpiration
Default cookie lifetime, in seconds.
Definition: DefaultSettings.php:6435
$wgShowRollbackEditCount
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
Definition: DefaultSettings.php:3662
$wgImgAuthUrlPathMap
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Definition: DefaultSettings.php:515
$wgNamespaceAliases
$wgNamespaceAliases
Define extra namespace aliases.
Definition: DefaultSettings.php:4308
$wgForcedRawSMaxage
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
Definition: DefaultSettings.php:2965
$wgHTTPMaxConnectTimeout
float int $wgHTTPMaxConnectTimeout
The maximum HTTP connect timeout in seconds.
Definition: DefaultSettings.php:8893
$wgShellRestrictionMethod
string bool $wgShellRestrictionMethod
Method to use to restrict shell commands.
Definition: DefaultSettings.php:8850
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:2281
$wgGitBin
$wgGitBin
Fully specified path to git binary.
Definition: DefaultSettings.php:7165
$wgFileCacheDepth
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
Definition: DefaultSettings.php:2789
$wgNoFollowNsExceptions
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
Definition: DefaultSettings.php:4677
$wgUrlProtocols
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
Definition: DefaultSettings.php:4572
$wgLocalTZoffset
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
Definition: DefaultSettings.php:3352
$wgExportMaxHistory
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
Definition: DefaultSettings.php:7653
$wgExportFromNamespaces
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
Definition: DefaultSettings.php:7676
$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:4671
$wgMainPageIsDomainRoot
bool $wgMainPageIsDomainRoot
Option to whether serve the main page as the domain root.
Definition: DefaultSettings.php:9552
$wgServerName
$wgServerName
Server name.
Definition: DefaultSettings.php:127
$wgRateLimits
$wgRateLimits
Simple rate limiter options to brake edit floods.
Definition: DefaultSettings.php:6100
$wgVueDevelopmentMode
$wgVueDevelopmentMode
Whether to use the development version of Vue.js.
Definition: DefaultSettings.php:4227
$wgResourceLoaderStorageEnabled
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
Definition: DefaultSettings.php:4195
$wgUsePrivateIPs
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
Definition: DefaultSettings.php:3068
$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:8152
$wgForceHTTPS
bool $wgForceHTTPS
If this is true, when an insecure HTTP request is received, always redirect to HTTPS.
Definition: DefaultSettings.php:168
$wgMaxRedirectLinksRetrieved
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
Definition: DefaultSettings.php:8390
$wgCookieDomain
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
Definition: DefaultSettings.php:6449
$wgImageMagickConvertCommand
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
Definition: DefaultSettings.php:1174
$wgLocalInterwikis
$wgLocalInterwikis
Array for local interwiki values, for each of the interwiki prefixes that point to the current wiki.
Definition: DefaultSettings.php:4342
$wgDeletedDirectory
$wgDeletedDirectory
What directory to place deleted uploads in.
Definition: DefaultSettings.php:494
$wgIgnoreImageErrors
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
Definition: DefaultSettings.php:1379
$wgSharpenReductionThreshold
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
Definition: DefaultSettings.php:1190
$wgCacheSharedUploads
bool $wgCacheSharedUploads
Shortcut for the ForeignDBRepo 'hasSharedCache' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:738
$wgMetaNamespaceTalk
$wgMetaNamespaceTalk
Name of the project talk namespace.
Definition: DefaultSettings.php:4249
$wgServer
$wgServer
URL of the server.
Definition: DefaultSettings.php:111
$wgActiveUserDays
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
Definition: DefaultSettings.php:4773
$wgUploadDialog
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
Definition: DefaultSettings.php:760
$wgRCMaxAge
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:7199
$wgEnotifRevealEditorAddress
bool $wgEnotifRevealEditorAddress
Allow sending of e-mail notifications with the editor's address in "Reply-To".
Definition: DefaultSettings.php:1931
$wgSummarySpamRegex
$wgSummarySpamRegex
Same as the above except for edit summaries.
Definition: DefaultSettings.php:6006
$wgLanguageCode
$wgLanguageCode
Site language code.
Definition: DefaultSettings.php:3093
$wgEnableParserLimitReporting
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
Definition: DefaultSettings.php:7785
$wgExportMaxLinkDepth
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
Definition: DefaultSettings.php:7671
$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:7133
$wgDevelopmentWarnings
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
Definition: DefaultSettings.php:6780
$wgRightsIcon
$wgRightsIcon
Override for copyright metadata.
Definition: DefaultSettings.php:7579
$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:3413
$wgFeedDiffCutoff
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
Definition: DefaultSettings.php:7386
$wgPasswordAttemptThrottle
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
Definition: DefaultSettings.php:6209
$wgDirectoryMode
$wgDirectoryMode
Default value for chmoding of new directories.
Definition: DefaultSettings.php:1672
$wgBlockDisablesLogin
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
Definition: DefaultSettings.php:5441
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:7426
$wgExtensionFunctions
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
Definition: DefaultSettings.php:7702
$wgRevisionCacheExpiry
int $wgRevisionCacheExpiry
Revision text may be cached in the main WAN cache to reduce load on external storage servers and obje...
Definition: DefaultSettings.php:2356
XML_DUMP_SCHEMA_VERSION_11
const XML_DUMP_SCHEMA_VERSION_11
Definition: Defines.php:319
$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:8462
$wgTiffThumbnailType
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
Definition: DefaultSettings.php:1350
$wgSearchType
$wgSearchType
Search type.
Definition: DefaultSettings.php:2077
$wgAddGroups
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
Definition: DefaultSettings.php:5930
$wgSearchSuggestCacheExpiry
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
Definition: DefaultSettings.php:6988
$wgDisableOutputCompression
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
Definition: DefaultSettings.php:3539
$wgSMTP
$wgSMTP
SMTP Mode.
Definition: DefaultSettings.php:1864
$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:1628
$wgSitemapNamespaces
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
Definition: DefaultSettings.php:7037
$wgIllegalFileChars
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
Definition: DefaultSettings.php:488
$wgAllowHTMLEmail
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
Definition: DefaultSettings.php:1875
$wgDBTableOptions
$wgDBTableOptions
MySQL table options to use during installation or update.
Definition: DefaultSettings.php:2096
$wgTrivialMimeDetection
$wgTrivialMimeDetection
Switch for trivial MIME detection.
Definition: DefaultSettings.php:1526
$wgSignatureValidation
$wgSignatureValidation
Behavior of signature validation.
Definition: DefaultSettings.php:5212
$wgCustomConvertCommand
$wgCustomConvertCommand
Use another resizing converter, e.g.
Definition: DefaultSettings.php:1210
$wgDeleteRevisionsBatchSize
$wgDeleteRevisionsBatchSize
Page deletions with > this number of revisions will use the job queue.
Definition: DefaultSettings.php:5953
$wgInvalidUsernameCharacters
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
Definition: DefaultSettings.php:5328
$wgAutoloadClasses
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
Definition: DefaultSettings.php:7824
$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:9279
$wgLegacyJavaScriptGlobals
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
Definition: DefaultSettings.php:4155
$wgLearnerEdits
$wgLearnerEdits
The following variables define 3 user experience levels:
Definition: DefaultSettings.php:9390
$wgLogActionsHandlers
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
Definition: DefaultSettings.php:8241
$wgEnableAsyncUploads
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
Definition: DefaultSettings.php:479
$wgUploadNavigationUrl
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
Definition: DefaultSettings.php:971
$wgOverrideHostname
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
Definition: DefaultSettings.php:6774
$wgResourceBasePath
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
Definition: DefaultSettings.php:4085
$wgShortPagesNamespaceBlacklist
$wgShortPagesNamespaceBlacklist
Optional array of namespaces which should be blacklisted from Special:ShortPages Only pages inside $w...
Definition: DefaultSettings.php:4481
$wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
Definition: DefaultSettings.php:3316
$wgSiteTypes
$wgSiteTypes
Register handlers for specific types of sites.
Definition: DefaultSettings.php:9119
$wgMinUploadChunkSize
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
Definition: DefaultSettings.php:959
$wgContentNamespaces
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Definition: DefaultSettings.php:4473
$wgPriorityHintsRatio
float $wgPriorityHintsRatio
Ratio of requests that should get Priority Hints when the feature is enabled.
Definition: DefaultSettings.php:9469
$wgJobClasses
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
Definition: DefaultSettings.php:7953
$wgEmailConfirmToEdit
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
Definition: DefaultSettings.php:5497
$wgExtraInterlanguageLinkPrefixes
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i....
Definition: DefaultSettings.php:3135
$wgCopyUploadsFromSpecialUpload
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
Definition: DefaultSettings.php:903
$wgRunJobsAsync
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
Definition: DefaultSettings.php:8955
$wgMaxShellWallClockTime
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
Definition: DefaultSettings.php:8768
$wgCascadingRestrictionLevels
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
Definition: DefaultSettings.php:5747
$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:2471
$wgRestAllowCrossOriginCookieAuth
bool $wgRestAllowCrossOriginCookieAuth
Allows authenticated cross-origin requests to the REST API with session cookies.
Definition: DefaultSettings.php:9655
$wgSquidPurgeUseHostHeader
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgCdnServers.
Definition: DefaultSettings.php:3009
$wgJpegTran
$wgJpegTran
used for lossless jpeg rotation
Definition: DefaultSettings.php:1217
$wgDisableCookieCheck
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
Definition: DefaultSettings.php:6475
$wgDisableSearchUpdate
$wgDisableSearchUpdate
If you've disabled search semi-permanently, this also disables updates to the table.
Definition: DefaultSettings.php:6994
$wgMWLoggerDefaultSpi
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
Definition: DefaultSettings.php:6707
$wgCacheEpoch
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Definition: DefaultSettings.php:2768
$wgShellCgroup
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
Definition: DefaultSettings.php:8793
$wgAjaxExportList
$wgAjaxExportList
List of Ajax-callable functions.
Definition: DefaultSettings.php:8661
$wgUserEmailConfirmationTokenExpiry
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
Definition: DefaultSettings.php:1833
$wgGitInfoCacheDirectory
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
Definition: DefaultSettings.php:2774
$wgImageLimits
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
Definition: DefaultSettings.php:1548
$wgExternalDiffEngine
string false $wgExternalDiffEngine
Name of the external diff engine to use.
Definition: DefaultSettings.php:8993
$wgDiffEngine
string null $wgDiffEngine
Specify the difference engine to use.
Definition: DefaultSettings.php:8987
$wgResourceLoaderUseObjectCacheForDeps
$wgResourceLoaderUseObjectCacheForDeps
Use the main stash instead of the module_deps table for indirect dependency tracking.
Definition: DefaultSettings.php:4114
$wgAutoConfirmCount
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
Definition: DefaultSettings.php:5814
$wgCentralIdLookupProviders
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
Definition: DefaultSettings.php:4787
$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:5429
ResourceLoader
ResourceLoader is a loading system for JavaScript and CSS resources.
Definition: ResourceLoader.php:56
$wgMiserMode
$wgMiserMode
Disable database-intensive features.
Definition: DefaultSettings.php:2368
$wgGitRepositoryViewers
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
Definition: DefaultSettings.php:7180
$wgTidyConfig
$wgTidyConfig
Configuration for HTML postprocessing tool.
Definition: DefaultSettings.php:4645
$wgEnableJavaScriptTest
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
Definition: DefaultSettings.php:6900
$wgPoolCounterConf
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
Definition: DefaultSettings.php:9066
$wgLoggedOutMaxAge
$wgLoggedOutMaxAge
Cache TTL for the user agent sent as max-age, for logged out users.
Definition: DefaultSettings.php:2935
$wgUseTinyRGBForJPGThumbnails
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
Definition: DefaultSettings.php:1644
$wgAvailableRights
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Definition: DefaultSettings.php:5941
MEDIATYPE_VIDEO
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgSemiprotectedRestrictionLevels
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
Definition: DefaultSettings.php:5761
$wgDisableUploadScriptChecks
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
Definition: DefaultSettings.php:1080
$wgCookieSetOnAutoblock
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
Definition: DefaultSettings.php:6530
$wgRateLimitsExcludedIPs
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
Definition: DefaultSettings.php:6182
$wgCapitalLinks
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Definition: DefaultSettings.php:4413
$wgReadOnlyFile
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
Definition: DefaultSettings.php:7149
$wgApplyIpBlocksToXff
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
Definition: DefaultSettings.php:6060
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:991
$wgRCEngines
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
Definition: DefaultSettings.php:7306
$wgCSPHeader
bool array $wgCSPHeader
Controls Content-Security-Policy header [Experimental].
Definition: DefaultSettings.php:9271
$wgEditPageFrameOptions
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
Definition: DefaultSettings.php:3522
$wgGroupPermissions
$wgGroupPermissions
Permission keys given to users in each group.
Definition: DefaultSettings.php:5529
SCHEMA_COMPAT_NEW
const SCHEMA_COMPAT_NEW
Definition: Defines.php:281
$wgDebugComments
$wgDebugComments
Send debug data to an HTML comment in the output.
Definition: DefaultSettings.php:6585
$wgExiv2Command
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
Definition: DefaultSettings.php:1253
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition: DefaultSettings.php:3110
$wgLocaltimezone
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Definition: DefaultSettings.php:3341
$wgPagePropLinkInvalidations
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
Definition: DefaultSettings.php:8058
$wgAjaxEditStash
$wgAjaxEditStash
Have clients send edits to be prepared when filling in edit summaries.
Definition: DefaultSettings.php:8677
$wgHttpsPort
$wgHttpsPort
For installations where the canonical server is HTTP but HTTPS is optionally supported,...
Definition: DefaultSettings.php:148
$wgCleanSignatures
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
Definition: DefaultSettings.php:4582
$wgOpenSearchDescriptionLength
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Definition: DefaultSettings.php:6983
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:6739
$wgThumbUpright
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
Definition: DefaultSettings.php:1667
$wgVerifyMimeType
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Definition: DefaultSettings.php:1479
$wgExtraGenderNamespaces
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
Definition: DefaultSettings.php:4285
$wgQueryCacheLimit
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
Definition: DefaultSettings.php:2378
$wgInterwikiFallbackSite
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
Definition: DefaultSettings.php:4385
$wgReauthenticateTime
int[] $wgReauthenticateTime
Time frame for re-authentication.
Definition: DefaultSettings.php:5030
$wgSharedUploadDBprefix
string $wgSharedUploadDBprefix
Shortcut for the ForeignDBRepo 'tablePrefix' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:729
$wgCookieSecure
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
Definition: DefaultSettings.php:6467
$wgSessionProviders
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
Definition: DefaultSettings.php:5369
$wgSiteNotice
$wgSiteNotice
Site notice shown at the top of each page.
Definition: DefaultSettings.php:3438
$wgCapitalLinkOverrides
$wgCapitalLinkOverrides
Definition: DefaultSettings.php:4428
$wgAllowCrossOrigin
bool $wgAllowCrossOrigin
Allow anonymous cross origin requests.
Definition: DefaultSettings.php:9624
$wgTrackingCategories
$wgTrackingCategories
Array holding default tracking category names.
Definition: DefaultSettings.php:4465
$wgShellLocale
$wgShellLocale
Locale for LC_ALL, to provide a known environment for locale-sensitive operations.
Definition: DefaultSettings.php:8834
$wgRestrictionLevels
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
Definition: DefaultSettings.php:5736
$wgDnsBlacklistUrls
$wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
Definition: DefaultSettings.php:6038
$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:2795
NS_USER
const NS_USER
Definition: Defines.php:71
$wgLearnerMemberSince
$wgLearnerMemberSince
Specify the difference engine to use.
Definition: DefaultSettings.php:9391
$wgAdvertisedFeedTypes
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
Definition: DefaultSettings.php:7416
$wgSlaveLagCritical
$wgSlaveLagCritical
Definition: DefaultSettings.php:2286
$wgSVGConverters
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
Definition: DefaultSettings.php:1271
$wgExtensionInfoMTime
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
Definition: DefaultSettings.php:2854
$wgGroupsRemoveFromSelf
$wgGroupsRemoveFromSelf
Definition: DefaultSettings.php:5714
$wgAllowCopyUploads
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
Definition: DefaultSettings.php:889
NS_TALK
const NS_TALK
Definition: Defines.php:70
$wgTextModelsToParse
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Definition: DefaultSettings.php:9108
$wgAPIPropModules
$wgAPIPropModules
API Query prop module extensions.
Definition: DefaultSettings.php:8592
$wgOverrideSiteFeed
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
Definition: DefaultSettings.php:7400
$wgResourceLoaderMaxQueryLength
int $wgResourceLoaderMaxQueryLength
ResourceLoader will not generate URLs whose query string is more than this many characters long,...
Definition: DefaultSettings.php:4170
$wgSkipSkins
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
Definition: DefaultSettings.php:3463
$wgCategoryCollation
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
Definition: DefaultSettings.php:8110
$wgLogNames
$wgLogNames
Lists the message key string for each log type.
Definition: DefaultSettings.php:8190
$wgEnotifImpersonal
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
Definition: DefaultSettings.php:1955
$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:6539
$wgUploadPath
$wgUploadPath
The URL path for the images directory.
Definition: DefaultSettings.php:273
$wgMaxTocLevel
$wgMaxTocLevel
Maximum indent level of toc.
Definition: DefaultSettings.php:4541
$wgMaxRedirects
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Definition: DefaultSettings.php:4497
$wgSpecialSearchFormOptions
array $wgSpecialSearchFormOptions
Options for Special:Search completion widget form created by SearchFormWidget class.
Definition: DefaultSettings.php:9521
$wgDjvuDump
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
Definition: DefaultSettings.php:1701
$wgRestrictionTypes
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
Definition: DefaultSettings.php:5723
$wgSearchRunSuggestedQuery
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
Definition: DefaultSettings.php:9229
$wgArticleCountMethod
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Definition: DefaultSettings.php:4764
$wgEnableBotPasswords
bool $wgEnableBotPasswords
Whether to enable bot passwords.
Definition: DefaultSettings.php:6384
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:77
$wgXhtmlNamespaces
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
Definition: DefaultSettings.php:3429
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:8884
$wgMaxSigChars
$wgMaxSigChars
Maximum number of Unicode characters in signature.
Definition: DefaultSettings.php:5200
$wgDBuser
$wgDBuser
Database username.
Definition: DefaultSettings.php:2024
$wgDBerrorLogTZ
$wgDBerrorLogTZ
Timezone to use in the error log.
Definition: DefaultSettings.php:2259
$wgJpegQuality
$wgJpegQuality
When scaling a JPEG thumbnail, this is the quality we request from the backend.
Definition: DefaultSettings.php:1247
$wgPasswordPolicy
$wgPasswordPolicy
Password policy for the wiki.
Definition: DefaultSettings.php:4867
$wgReportToEndpoints
array $wgReportToEndpoints
List of endpoints for the Reporting API.
Definition: DefaultSettings.php:9499
$wgDataCenterUpdateStickTTL
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
Definition: DefaultSettings.php:2234
$wgDebugDumpSql
$wgDebugDumpSql
Write SQL queries to the debug log.
Definition: DefaultSettings.php:6594
$wgAllowSlowParserFunctions
$wgAllowSlowParserFunctions
Enable slow parser functions.
Definition: DefaultSettings.php:2388
$wgPagePropsHaveSortkey
$wgPagePropsHaveSortkey
Whether the page_props table has a pp_sortkey column.
Definition: DefaultSettings.php:9128
$wgUploadMissingFileUrl
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
Definition: DefaultSettings.php:978
$wgResourceModuleSkinStyles
$wgResourceModuleSkinStyles
Add extra skin-specific styles to a resource module.
Definition: DefaultSettings.php:4067
$wgMinimalPasswordLength
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
Definition: DefaultSettings.php:5084
$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:5709
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:7223
$wgSpecialPages
$wgSpecialPages
Special page list.
Definition: DefaultSettings.php:7819
$wgDebugToolbar
$wgDebugToolbar
Display the new debugging toolbar.
Definition: DefaultSettings.php:6915
$wgAntivirus
$wgAntivirus
Internal name of virus scanner.
Definition: DefaultSettings.php:1420
$wgDisableQueryPageUpdate
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
Definition: DefaultSettings.php:8378
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:76
$wgTrustedMediaFormats
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
Definition: DefaultSettings.php:1097
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:9155
$wgHTTPImportTimeout
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
Definition: DefaultSettings.php:8899
$wgRestrictDisplayTitle
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
Definition: DefaultSettings.php:4704
$wgAutoloadAttemptLowercase
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
Definition: DefaultSettings.php:7833
$wgPasswordSender
$wgPasswordSender
Sender email address for e-mail notifications.
Definition: DefaultSettings.php:1769
$wgPHPSessionHandling
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
Definition: DefaultSettings.php:2668
$wgAllowDisplayTitle
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Definition: DefaultSettings.php:4697
$wgUseSiteCss
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
Definition: DefaultSettings.php:3495
$wgExtraLanguageCodes
$wgExtraLanguageCodes
List of mappings from one language code to another.
Definition: DefaultSettings.php:3164
$wgAPIFormatModules
$wgAPIFormatModules
API format module extensions.
Definition: DefaultSettings.php:8574
$wgRegisterInternalExternals
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
Definition: DefaultSettings.php:9015
$wgSecretKey
$wgSecretKey
This should always be customised in LocalSettings.php.
Definition: DefaultSettings.php:6413
$wgScriptPath
$wgScriptPath
The path we should point to.
Definition: DefaultSettings.php:179
$wgNamespacesWithSubpages
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
Definition: DefaultSettings.php:4434
$wgXMLMimeTypes
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
Definition: DefaultSettings.php:1532
$wgPasswordConfig
$wgPasswordConfig
Configuration for built-in password types.
Definition: DefaultSettings.php:5135
$wgDBadminpassword
$wgDBadminpassword
Separate password for maintenance tasks.
Definition: DefaultSettings.php:2064
$wgUseAjax
$wgUseAjax
Enable AJAX framework.
Definition: DefaultSettings.php:8654
$wgDBssl
$wgDBssl
Whether to use SSL in DB connection.
Definition: DefaultSettings.php:2044
$wgWatchersMaxAge
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
Definition: DefaultSettings.php:7206
$wgGrantPermissionGroups
array $wgGrantPermissionGroups
Map of grants to their UI grouping.
Definition: DefaultSettings.php:6342
$wgVariantArticlePath
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
Definition: DefaultSettings.php:3288
$wgMaxShellMemory
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KB.
Definition: DefaultSettings.php:8751
$wgResourceLoaderDebug
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
Definition: DefaultSettings.php:4121
$wgUseImageResize
$wgUseImageResize
Whether to enable server-side image thumbnailing.
Definition: DefaultSettings.php:1159
$wgWatchlistExpiry
bool $wgWatchlistExpiry
Whether to enable the watchlist expiry feature.
Definition: DefaultSettings.php:9564
$wgForeignFileRepos
$wgForeignFileRepos
Enable the use of files from one or more other wikis.
Definition: DefaultSettings.php:625
$wgAccountCreationThrottle
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
Definition: DefaultSettings.php:5985
$wgEnotifMaxRecips
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
Definition: DefaultSettings.php:1961
$wgUploadThumbnailRenderMethod
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
Definition: DefaultSettings.php:1621
$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:6721
$wgMemCachedPersistent
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
Definition: DefaultSettings.php:2686
$wgShowEXIF
$wgShowEXIF
Show Exif data, on by default if available.
Definition: DefaultSettings.php:875
$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:9532
$wgMaxPPNodeCount
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
Definition: DefaultSettings.php:4547
$wgSecureLogin
$wgSecureLogin
This is to let user authenticate using https when they come from http.
Definition: DefaultSettings.php:5347
$wgGenerateThumbnailOnParse
bool $wgGenerateThumbnailOnParse
Render thumbnails while parsing wikitext.
Definition: DefaultSettings.php:1401
$wgCookiePrefix
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
Definition: DefaultSettings.php:6482
$wgUserEmailUseReplyTo
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
Definition: DefaultSettings.php:1817
$wgAPIMaxDBRows
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
Definition: DefaultSettings.php:8607
$wgMainStash
$wgMainStash
The object store type of the main stash.
Definition: DefaultSettings.php:2639
$wgCookieSameSite
string null $wgCookieSameSite
The SameSite cookie attribute used for login cookies.
Definition: DefaultSettings.php:6501
$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:7160
$wgSVGConverter
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Definition: DefaultSettings.php:1286
$wgSessionSecret
$wgSessionSecret
Secret for session storage.
Definition: DefaultSettings.php:9136
$wgDefaultRobotPolicy
$wgDefaultRobotPolicy
Default robot policy.
Definition: DefaultSettings.php:8446
$wgAllowUserJs
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
Definition: DefaultSettings.php:3470
$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:7490
$wgTrxProfilerLimits
$wgTrxProfilerLimits
Performance expectations for DB usage.
Definition: DefaultSettings.php:6601
$wgExtraNamespaces
$wgExtraNamespaces
Additional namespaces.
Definition: DefaultSettings.php:4277
$wgUploadThumbnailRenderHttpCustomDomain
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HT...
Definition: DefaultSettings.php:1636
$wgCategoryPagingLimit
$wgCategoryPagingLimit
Paging limit for categories.
Definition: DefaultSettings.php:8083
$wgNewUserLog
$wgNewUserLog
Maintain a log of newusers at Special:Log/newusers?
Definition: DefaultSettings.php:8353
$wgNamespacesToBeSearchedDefault
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
Definition: DefaultSettings.php:7005
$wgUsePigLatinVariant
$wgUsePigLatinVariant
Whether to enable the pig Latin variant of English (en-x-piglatin), used to ease variant development ...
Definition: DefaultSettings.php:3258
$wgMainWANCache
$wgMainWANCache
Main Wide-Area-Network cache type.
Definition: DefaultSettings.php:2557
$wgImagePreconnect
$wgImagePreconnect
On pages containing images, tell the user agent to pre-connect to hosts from $wgForeignFileRepos.
Definition: DefaultSettings.php:1689
$wgGalleryOptions
$wgGalleryOptions
Parameters for the "<gallery>" tag.
Definition: DefaultSettings.php:1660
$wgAutopromoteOnce
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
Definition: DefaultSettings.php:5898
$wgJobQueueIncludeInMaxLagFactor
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Definition: DefaultSettings.php:8041
$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:2951
$wgEnableAutoRotation
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
Definition: DefaultSettings.php:1413
$wgVirtualRestConfig
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
Definition: DefaultSettings.php:9210
$wgCheckFileExtensions
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
Definition: DefaultSettings.php:1064
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:3188
$wgInternalServer
$wgInternalServer
Internal server name as known to CDN, if different.
Definition: DefaultSettings.php:2899
$wgDisableAnonTalk
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
Definition: DefaultSettings.php:7445
$wgInterwikiPrefixDisplayTypes
$wgInterwikiPrefixDisplayTypes
Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwik...
Definition: DefaultSettings.php:9412
$wgUseLocalMessageCache
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
Definition: DefaultSettings.php:2704
$wgStatsdServer
$wgStatsdServer
Destination of statsd metrics.
Definition: DefaultSettings.php:6854
$wgCountCategorizedImagesAsUsed
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
Definition: DefaultSettings.php:8384
$wgDummyLanguageCodes
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
Definition: DefaultSettings.php:3179
$wgPasswordExpirationDays
$wgPasswordExpirationDays
The number of days that a user's password is good for.
Definition: DefaultSettings.php:1839
$wgRCWatchCategoryMembership
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
Definition: DefaultSettings.php:7322
$wgObjectCacheSessionExpiry
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
Definition: DefaultSettings.php:2650
$wgFeed
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
Definition: DefaultSettings.php:7364
$wgAsyncHTTPTimeout
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
Definition: DefaultSettings.php:8904
CONTENT_MODEL_UNKNOWN
const CONTENT_MODEL_UNKNOWN
Definition: Defines.php:229
$wgRightsUrl
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
Definition: DefaultSettings.php:7566
$wgAllowExternalImages
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
Definition: DefaultSettings.php:4587
$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:198
$wgImageMagickTempDir
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
Definition: DefaultSettings.php:1196
$wgSQLMode
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
Definition: DefaultSettings.php:2104
$wgEnableImageWhitelist
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki allow list of regular expression fragmen...
Definition: DefaultSettings.php:4614
$wgExportPagelistLimit
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
Definition: DefaultSettings.php:7689
$wgSpamRegex
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
Definition: DefaultSettings.php:6001
$wgSharedUploadPath
string $wgSharedUploadPath
Shortcut for the 'url' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:684
$wgOpenSearchDefaultLimit
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
Definition: DefaultSettings.php:6978
$wgReportToExpiry
int $wgReportToExpiry
Expiry of the endpoint definition for the Reporting API.
Definition: DefaultSettings.php:9489
$wgCdnMaxageLagged
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
Definition: DefaultSettings.php:2918
$wgShowArchiveThumbnails
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
Definition: DefaultSettings.php:1406
$wgAllowSpecialInclusion
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
Definition: DefaultSettings.php:8371