MediaWiki  master
DefaultSettings.php
Go to the documentation of this file.
1 <?php
41 
47 if ( !defined( 'MEDIAWIKI' ) ) {
48  echo "This file is part of MediaWiki and is not a valid entry point\n";
49  die( 1 );
50 }
51 
60 
68  'main' => 'GlobalVarConfig::newInstance'
69 ];
70 
77 
81 $wgSitename = 'MediaWiki';
82 
90 
106 $wgServer = false;
107 
116 
123 
124 /************************************************************************/
138 $wgScriptPath = '/wiki';
139 
157 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
158  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
159  ( strpos( PHP_SAPI, 'isapi' ) === false );
160 
163 /************************************************************************/
186 $wgScript = false;
187 
195 
201 $wgRestPath = false;
202 
208 $wgStylePath = false;
210 
217 
224 
230 $wgExtensionDirectory = "{$IP}/extensions";
231 
237 $wgStyleDirectory = "{$IP}/skins";
238 
247 
253 
258 
264 
272 $wgLogo = false;
273 
291 $wgLogos = false;
292 
323 $wgLogoHD = false;
324 
329 $wgFavicon = '/favicon.ico';
330 
337 
357 
380 
387 
396 
412 
415 /************************************************************************/
430 
434 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
435 
440 
450 
458 $wgIllegalFileChars = ":\\/\\\\";
459 
465 
470 
486 
567 
582 
593 
623 
632 
641 
650 
657 $wgRepositoryBaseUrl = 'https://commons.wikimedia.org/wiki/File:';
658 
667 
677 
686 
695 
706 
717  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
718  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
719  // matching replacement to the 'filepage' format key below to make use of these.
720  'fields' => [
721  'description' => true,
722  'date' => false,
723  'categories' => false,
724  ],
725  // Suffix of localisation messages used to describe the license under which the uploaded file will
726  // be released. The same value may be set for both 'local' and 'foreign' uploads.
727  'licensemessages' => [
728  // The 'local' messages are used for local uploads on this wiki:
729  // * upload-form-label-own-work-message-generic-local
730  // * upload-form-label-not-own-work-message-generic-local
731  // * upload-form-label-not-own-work-local-generic-local
732  'local' => 'generic-local',
733  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
734  // * upload-form-label-own-work-message-generic-foreign
735  // * upload-form-label-not-own-work-message-generic-foreign
736  // * upload-form-label-not-own-work-local-generic-foreign
737  'foreign' => 'generic-foreign',
738  ],
739  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
740  // string value, in which case it is used for both kinds of uploads. Available replacements:
741  // * $HOST - domain name from which a cross-wiki upload originates
742  // * $PAGENAME - wiki page name from which an upload originates
743  'comment' => [
744  'local' => '',
745  'foreign' => '',
746  ],
747  // Format of the file page wikitext to be generated from the fields input by the user.
748  'format' => [
749  // Wrapper for the whole page. Available replacements:
750  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
751  // enabled), wrapped as defined below in the 'description' key
752  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
753  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
754  // * $AUTHOR - linked user name, may be extended in the future
755  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
756  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
757  // field is enabled), or if no input, as defined below in the 'uncategorized' key
758  'filepage' => '$DESCRIPTION',
759  // Wrapped for file description. Available replacements:
760  // * $LANGUAGE - source wiki's content language
761  // * $TEXT - input by the user
762  'description' => '$TEXT',
763  'ownwork' => '',
764  'license' => '',
765  'uncategorized' => '',
766  ],
767 ];
768 
807 
819 
831 $wgShowEXIF = function_exists( 'exif_read_data' );
832 
839 
846 
853 
860 
866 
878 
895 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB
896 
904 
916 
923 
936 
945 
960 
969 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
970 
977  # HTML may contain cookie-stealing JavaScript and web bugs
978  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
979  # PHP scripts may execute arbitrary code on the server
980  'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'phar',
981  # Other types that may be interpreted by some servers
982  'shtml', 'jhtml', 'pl', 'py', 'cgi',
983  # May contain harmful executables for Windows victims
984  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ];
985 
991  # HTML may contain cookie-stealing JavaScript and web bugs
992  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
993  # PHP scripts may execute arbitrary code on the server
994  'application/x-php', 'text/x-php',
995  # Other types that may be interpreted by some servers
996  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
997  # Client-side hazards on Internet Explorer
998  'text/scriptlet', 'application/x-msdownload',
999  # Windows metafile, client-side vulnerability on some systems
1000  'application/x-msmetafile',
1001 ];
1002 
1009 
1016 
1024 
1032 
1037 
1049  MEDIATYPE_BITMAP, // all bitmap formats
1050  MEDIATYPE_AUDIO, // all audio formats
1051  MEDIATYPE_VIDEO, // all plain video formats
1052  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
1053  "application/pdf", // PDF files
1054  # "application/x-shockwave-flash", //flash/shockwave movie
1055 ];
1056 
1065 
1071  'image/jpeg' => 'MockBitmapHandler',
1072  'image/png' => 'MockBitmapHandler',
1073  'image/gif' => 'MockBitmapHandler',
1074  'image/tiff' => 'MockBitmapHandler',
1075  'image/webp' => 'MockBitmapHandler',
1076  'image/x-ms-bmp' => 'MockBitmapHandler',
1077  'image/x-bmp' => 'MockBitmapHandler',
1078  'image/x-xcf' => 'MockBitmapHandler',
1079  'image/svg+xml' => 'MockSvgHandler',
1080  'image/vnd.djvu' => 'MockDjVuHandler',
1081 ];
1082 
1091  // the usual case
1092  CONTENT_MODEL_WIKITEXT => WikitextContentHandler::class,
1093  // dumb version, no syntax highlighting
1094  CONTENT_MODEL_JAVASCRIPT => JavaScriptContentHandler::class,
1095  // simple implementation, for use by extensions, etc.
1096  CONTENT_MODEL_JSON => JsonContentHandler::class,
1097  // dumb version, no syntax highlighting
1098  CONTENT_MODEL_CSS => CssContentHandler::class,
1099  // plain text, for use by extensions, etc.
1100  CONTENT_MODEL_TEXT => TextContentHandler::class,
1101 ];
1102 
1109 
1119 
1123 $wgImageMagickConvertCommand = '/usr/bin/convert';
1124 
1130 
1135 
1140 
1146 
1160 
1166 $wgJpegTran = '/usr/bin/jpegtran';
1167 
1188 
1197 
1202 $wgExiv2Command = '/usr/bin/exiv2';
1203 
1209 $wgExiftool = '/usr/bin/exiftool';
1210 
1221  'ImageMagick' =>
1222  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1223  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1224  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1225  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1226  . '$output $input',
1227  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1228  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1229  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1230 ];
1231 
1235 $wgSVGConverter = 'ImageMagick';
1236 
1241 
1246 
1252 
1262 
1277 
1285 
1300 
1307 $wgThumbnailEpoch = '20030516000000';
1308 
1316 
1329 
1351 
1356 
1363 
1370 
1406 
1407  # setup for clamav
1408  'clamav' => [
1409  'command' => 'clamscan --no-summary ',
1410  'codemap' => [
1411  "0" => AV_NO_VIRUS, # no virus
1412  "1" => AV_VIRUS_FOUND, # virus found
1413  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1414  "*" => AV_SCAN_FAILED, # else scan failed
1415  ],
1416  'messagepattern' => '/.*?:(.*)/sim',
1417  ],
1418 ];
1419 
1424 
1429 
1439 
1445 $wgMimeTypeFile = 'includes/mime.types';
1446 
1451 $wgMimeInfoFile = 'includes/mime.info';
1452 
1465 
1472 
1478  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1479  'svg' => 'image/svg+xml',
1480  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1481  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1482  'html' => 'text/html', // application/xhtml+xml?
1483 ];
1484 
1494  [ 320, 240 ],
1495  [ 640, 480 ],
1496  [ 800, 600 ],
1497  [ 1024, 768 ],
1498  [ 1280, 1024 ]
1499 ];
1500 
1507  120,
1508  150,
1509  180,
1510  200,
1511  250,
1512  300
1513 ];
1514 
1525 
1542 
1554 
1567 
1574 
1582 
1590 
1606 
1613 
1618 
1626 
1638 
1645 
1651 $wgDjvuTxt = null;
1652 
1668 
1674 $wgDjvuPostProcessor = 'pnmtojpeg';
1675 
1680  # end of DJvu }
1682  # end of file uploads }
1684 
1685 /************************************************************************/
1696 
1706 
1713 
1720 
1726 
1736 
1743 
1754 
1760 
1764 $wgNewPasswordExpiry = 3600 * 24 * 7;
1765 
1770 
1776 
1781 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1782 
1800 $wgSMTP = false;
1801 
1806 
1812 
1825 
1826 // TODO move UPO to preferences probably ?
1827 # If set to true, users get a corresponding option in their preferences and can choose to
1828 # enable or disable at their discretion
1829 # If set to false, the corresponding input form on the user preference page is suppressed
1830 # It call this to be a "user-preferences-option (UPO)"
1831 
1838 
1843 
1852 
1868 
1883 
1892 
1898 
1903 
1909  # end of email settings
1911 
1912 /************************************************************************/
1925 $wgDBname = 'my_wiki';
1926 
1936 
1946 
1950 $wgDBserver = 'localhost';
1951 
1955 $wgDBport = 5432;
1956 
1960 $wgDBuser = 'wikiuser';
1961 
1966 
1970 $wgDBtype = 'mysql';
1971 
1980 $wgDBssl = false;
1981 
1991 
1996 
2001 
2009 
2018 
2022 $wgDBTableOptions = 'ENGINE=InnoDB, DEFAULT CHARSET=binary';
2023 
2031 
2038 
2043 
2070 
2075 
2079 $wgSharedTables = [ 'user', 'user_properties' ];
2080 
2086 
2141 
2152 $wgLBFactoryConf = [ 'class' => \Wikimedia\Rdbms\LBFactorySimple::class ];
2153 
2161 
2166 
2186 
2201 
2208 
2213  # End of DB settings }
2215 
2216 /************************************************************************/
2228 
2241 
2257 
2273 
2281  # end text storage }
2283 
2284 /************************************************************************/
2293 
2298 
2303 
2308 
2313 
2318 
2323 
2329 
2337  # end performance hacks }
2339 
2340 /************************************************************************/
2354 
2373 
2381 
2389 
2396 
2406 
2421  CACHE_NONE => [ 'class' => EmptyBagOStuff::class, 'reportDupes' => false ],
2422  CACHE_DB => [ 'class' => SqlBagOStuff::class, 'loggroup' => 'SQLBagOStuff' ],
2423 
2424  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2425  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2426  CACHE_MEMCACHED => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2427 
2428  'db-replicated' => [
2429  'class' => ReplicatedBagOStuff::class,
2430  'readFactory' => [
2431  'factory' => 'ObjectCache::newFromParams',
2432  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => true ] ]
2433  ],
2434  'writeFactory' => [
2435  'factory' => 'ObjectCache::newFromParams',
2436  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => false ] ]
2437  ],
2438  'loggroup' => 'SQLBagOStuff',
2439  'reportDupes' => false
2440  ],
2441  'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2442  'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ],
2443  'hash' => [ 'class' => HashBagOStuff::class, 'reportDupes' => false ],
2444 
2445  // Deprecated since 1.35.
2446  // - To configure a wg*CacheType variable to use the local server cache,
2447  // use CACHE_ACCEL instead, which will select these automatically.
2448  // - To access the object for the local server cache at run-time,
2449  // use MediaWikiServices::getLocalServerObjectCache()
2450  // instead of e.g. ObjectCache::getInstance( 'apcu' ).
2451  // - To instantiate a new one of these explicitly, do so directly
2452  // by using `new APCUBagOStuff( [ … ] )`
2453  // - To instantiate a new one of these including auto-detection and fallback,
2454  // use ObjectCache::makeLocalServerCache().
2455  'apc' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2456  'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2457  'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ],
2458 ];
2459 
2476 
2492  CACHE_NONE => [
2493  'class' => WANObjectCache::class,
2494  'cacheId' => CACHE_NONE
2495  ]
2496  /* Example of a simple single data-center cache:
2497  'memcached-php' => [
2498  'class' => WANObjectCache::class,
2499  'cacheId' => 'memcached-php'
2500  ]
2501  */
2502 ];
2503 
2516 
2552 $wgMainStash = 'db-replicated';
2553 
2559 
2564 
2582 
2589 
2593 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2594 
2600 
2605 
2618 
2626 
2659  'class' => LocalisationCache::class,
2660  'store' => 'detect',
2661  'storeClass' => false,
2662  'storeDirectory' => false,
2663  'storeServer' => [],
2664  'forceRecache' => false,
2665  'manualRecache' => false,
2666 ];
2667 
2672 
2681 $wgCacheEpoch = '20030516000000';
2682 
2688 
2695 
2703 
2709 
2720 
2725 
2732 
2739 $wgUseGzip = false;
2740 
2751 
2768  # end of cache settings
2770 
2771 /************************************************************************/
2792 $wgUseCdn = false;
2793 
2803 
2813 
2824 
2832 
2841 
2857 
2864 
2871 
2883 
2893 
2915 
2963 
2969 
2974  # end of HTTP proxy settings
2976 
2977 /************************************************************************/
2999 
3005 
3016 
3021 
3026 
3041 
3050 
3055 
3070  // Language codes of macro languages, which get mapped to the main language
3071  'bh' => 'bho', // Bihari language family
3072  'no' => 'nb', // Norwegian language family
3073 
3074  // Language variants which get mapped to the main language
3075  'simple' => 'en', // Simple English
3076 ];
3077 
3085 
3094 
3106 
3120 
3126 
3132 
3138 
3143 
3148 
3153 
3158 
3164 
3175 
3194 
3201 
3222 
3247 
3258 
3271  # End of language/charset settings
3273 
3274 /*************************************************************************/
3282 $wgMimeType = 'text/html';
3283 
3293 
3302 
3310 
3319 
3335 
3344 
3349 $wgDefaultSkin = 'vector';
3350 
3356 $wgFallbackSkin = 'fallback';
3357 
3369 
3376 
3383 
3391 
3396 
3401 
3407 
3428 
3440 
3445 
3474 $wgFragmentMode = [ 'legacy', 'html5' ];
3475 
3485 
3517  "copyright" => [
3518  "copyright" => [], // placeholder for the built in copyright icon
3519  ],
3520  "poweredby" => [
3521  "mediawiki" => [
3522  // Defaults to point at
3523  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3524  // plus srcset for 1.5x, 2x resolution variants.
3525  "src" => null,
3526  "url" => "https://www.mediawiki.org/",
3527  "alt" => "Powered by MediaWiki",
3528  ]
3529  ],
3530 ];
3531 
3539 
3543 $wgEdititis = false;
3544 
3557 
3568 
3576 
3586  # End of output format settings }
3588 
3589 /*************************************************************************/
3882 
3973 
3985 
3991 
4009  'versioned' => 30 * 24 * 60 * 60, // 30 days
4010  'unversioned' => 5 * 60, // 5 minutes
4011 ];
4012 
4020 
4027 
4034 
4061 
4073 
4082 
4092 
4098 
4106 
4119 
4130  # End of ResourceLoader settings }
4132 
4133 /*************************************************************************/
4143 
4152 
4180 
4188 
4211 
4236 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
4237 
4247 
4252 
4277 
4285 
4290  # end of Interwiki caching settings.
4292 
4308 $wgRedirectSources = false;
4309 
4318 
4333 
4339  NS_TALK => true,
4340  NS_USER => true,
4341  NS_USER_TALK => true,
4342  NS_PROJECT => true,
4343  NS_PROJECT_TALK => true,
4344  NS_FILE_TALK => true,
4345  NS_MEDIAWIKI => true,
4346  NS_MEDIAWIKI_TALK => true,
4347  NS_TEMPLATE => true,
4348  NS_TEMPLATE_TALK => true,
4349  NS_HELP => true,
4350  NS_HELP_TALK => true,
4352 ];
4353 
4370 
4378 
4386 
4395 
4402 
4413 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4414  # End of title and interwiki settings }
4416 
4417 /************************************************************************/
4436  'class' => Parser::class,
4437 ];
4438 
4443 
4449 
4457 
4462 
4474  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4475  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4476  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4477  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4478 ];
4479 
4484 
4489 
4503 
4516 
4526 
4546 $wgTidyConfig = [ 'driver' => 'RemexHtml' ];
4547 
4553 $wgRawHtml = false;
4554 
4565 
4573 
4579 
4593 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4594 
4599 
4606 
4612 
4618 
4623 
4629 
4637  'ISBN' => false,
4638  'PMID' => false,
4639  'RFC' => false
4640 ];
4641  # end of parser settings }
4643 
4644 /************************************************************************/
4666 
4675  # End of statistics }
4677 
4678 /************************************************************************/
4689  'local' => [ 'class' => LocalIdLookup::class ],
4690 ];
4691 
4697 
4767  'policies' => [
4768  'bureaucrat' => [
4769  'MinimalPasswordLength' => 10,
4770  'MinimumPasswordLengthToLogin' => 1,
4771  ],
4772  'sysop' => [
4773  'MinimalPasswordLength' => 10,
4774  'MinimumPasswordLengthToLogin' => 1,
4775  ],
4776  'interface-admin' => [
4777  'MinimalPasswordLength' => 10,
4778  'MinimumPasswordLengthToLogin' => 1,
4779  ],
4780  'bot' => [
4781  'MinimalPasswordLength' => 10,
4782  'MinimumPasswordLengthToLogin' => 1,
4783  ],
4784  'default' => [
4785  'MinimalPasswordLength' => [ 'value' => 1, 'suggestChangeOnLogin' => true ],
4786  'PasswordCannotMatchUsername' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4787  'PasswordCannotBeSubstringInUsername' => [
4788  'value' => true,
4789  'suggestChangeOnLogin' => true
4790  ],
4791  'PasswordCannotMatchBlacklist' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4792  'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true ],
4793  'PasswordNotInLargeBlacklist' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
4794  ],
4795  ],
4796  'checks' => [
4797  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4798  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4799  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4800  'PasswordCannotBeSubstringInUsername' =>
4801  'PasswordPolicyChecks::checkPasswordCannotBeSubstringInUsername',
4802  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4803  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4804  'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist',
4805  'PasswordNotInLargeBlacklist' => 'PasswordPolicyChecks::checkPasswordNotInLargeBlacklist',
4806  ],
4807 ];
4808 
4829 
4835  'preauth' => [
4836  MediaWiki\Auth\ThrottlePreAuthenticationProvider::class => [
4837  'class' => MediaWiki\Auth\ThrottlePreAuthenticationProvider::class,
4838  'sort' => 0,
4839  ],
4840  ],
4841  'primaryauth' => [
4842  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4843  // any other PasswordAuthenticationRequest-based
4844  // PrimaryAuthenticationProvider (or at least any that might return
4845  // FAIL rather than ABSTAIN for a wrong password), or password reset
4846  // won't work right. Do not remove this (or change the key) or
4847  // auto-configuration of other such providers in extensions will
4848  // probably auto-insert themselves in the wrong place.
4849  MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class => [
4850  'class' => MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class,
4851  'args' => [ [
4852  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4853  'authoritative' => false,
4854  ] ],
4855  'sort' => 0,
4856  ],
4857  MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class => [
4858  'class' => MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class,
4859  'args' => [ [
4860  // Last one should be authoritative, or else the user will get
4861  // a less-than-helpful error message (something like "supplied
4862  // authentication info not supported" rather than "wrong
4863  // password") if it too fails.
4864  'authoritative' => true,
4865  ] ],
4866  'sort' => 100,
4867  ],
4868  ],
4869  'secondaryauth' => [
4870  MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class => [
4871  'class' => MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class,
4872  'sort' => 0,
4873  ],
4874  MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class => [
4875  'class' => MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class,
4876  'sort' => 100,
4877  ],
4878  // Linking during login is experimental, enable at your own risk - T134952
4879  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4880  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4881  // 'sort' => 100,
4882  // ],
4883  MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class => [
4884  'class' => MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class,
4885  'sort' => 200,
4886  ],
4887  ],
4888 ];
4889 
4929  'default' => 300,
4930 ];
4931 
4948  'default' => true,
4949 ];
4950 
4961  \MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::class
4962 ];
4963 
4974  \MediaWiki\Auth\PasswordAuthenticationRequest::class,
4975 ];
4976 
4983 
4996 
5003 
5013 
5034  'A' => [
5035  'class' => MWOldPassword::class,
5036  ],
5037  'B' => [
5038  'class' => MWSaltedPassword::class,
5039  ],
5040  'pbkdf2-legacyA' => [
5041  'class' => LayeredParameterizedPassword::class,
5042  'types' => [
5043  'A',
5044  'pbkdf2',
5045  ],
5046  ],
5047  'pbkdf2-legacyB' => [
5048  'class' => LayeredParameterizedPassword::class,
5049  'types' => [
5050  'B',
5051  'pbkdf2',
5052  ],
5053  ],
5054  'bcrypt' => [
5055  'class' => BcryptPassword::class,
5056  'cost' => 9,
5057  ],
5058  'pbkdf2' => [
5059  'class' => Pbkdf2Password::class,
5060  'algo' => 'sha512',
5061  'cost' => '30000',
5062  'length' => '64',
5063  ],
5064  'argon2' => [
5065  'class' => Argon2Password::class,
5066 
5067  // Algorithm used:
5068  // * 'argon2i' is optimized against side-channel attacks (PHP 7.2+)
5069  // * 'argon2id' is optimized against both side-channel and GPU cracking (PHP 7.3+)
5070  // * 'auto' to use best available algorithm. If you're using more than one server, be
5071  // careful when you're mixing PHP versions because newer PHP might generate hashes that
5072  // older versions might would not understand.
5073  'algo' => 'auto',
5074 
5075  // The parameters below are the same as options accepted by password_hash().
5076  // Set them to override that function's defaults.
5077  //
5078  // 'memory_cost' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
5079  // 'time_cost' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
5080  // 'threads' => PASSWORD_ARGON2_DEFAULT_THREADS,
5081  ],
5082 ];
5083 
5091  'username' => true,
5092  'email' => true,
5093 ];
5094 
5099 
5105 
5111  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
5112  'Conversion script', // Used for the old Wikipedia software upgrade
5113  'Maintenance script', // Maintenance scripts which perform editing, image import script
5114  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
5115  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
5116  'Unknown user', // Used in WikiImporter and RevisionStore for revisions with no author
5117  'msg:double-redirect-fixer', // Automatic double redirect fix
5118  'msg:usermessage-editor', // Default user for leaving user messages
5119  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
5120  'msg:sorbs', // For $wgEnableDnsBlacklist etc.
5121  'msg:spambot_username', // Used by cleanupSpam.php
5122  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
5123 ];
5124 
5132  'ccmeonemails' => 0,
5133  'cols' => 80, // @deprecated since 1.29 No longer used in core
5134  'date' => 'default',
5135  'diffonly' => 0,
5136  'disablemail' => 0,
5137  'editfont' => 'monospace',
5138  'editondblclick' => 0,
5139  'editsectiononrightclick' => 0,
5140  'email-allow-new-users' => 1,
5141  'enotifminoredits' => 0,
5142  'enotifrevealaddr' => 0,
5143  'enotifusertalkpages' => 1,
5144  'enotifwatchlistpages' => 1,
5145  'extendwatchlist' => 1,
5146  'fancysig' => 0,
5147  'forceeditsummary' => 0,
5148  'gender' => 'unknown',
5149  'hideminor' => 0,
5150  'hidepatrolled' => 0,
5151  'hidecategorization' => 1,
5152  'imagesize' => 2,
5153  'minordefault' => 0,
5154  'newpageshidepatrolled' => 0,
5155  'nickname' => '',
5156  'norollbackdiff' => 0,
5157  'numberheadings' => 0,
5158  'previewonfirst' => 0,
5159  'previewontop' => 1,
5160  'rcdays' => 7,
5161  'rcenhancedfilters-disable' => 0,
5162  'rclimit' => 50,
5163  'rows' => 25, // @deprecated since 1.29 No longer used in core
5164  'search-match-redirect' => true,
5165  'showhiddencats' => 0,
5166  'shownumberswatching' => 1,
5167  'showrollbackconfirmation' => 0,
5168  'skin' => false,
5169  'stubthreshold' => 0,
5170  'thumbsize' => 5,
5171  'underline' => 2,
5172  'uselivepreview' => 0,
5173  'usenewrc' => 1,
5174  'watchcreations' => 1,
5175  'watchdefault' => 1,
5176  'watchdeletion' => 0,
5177  'watchuploads' => 1,
5178  'watchlistdays' => 7.0,
5179  'watchlisthideanons' => 0,
5180  'watchlisthidebots' => 0,
5181  'watchlisthideliu' => 0,
5182  'watchlisthideminor' => 0,
5183  'watchlisthideown' => 0,
5184  'watchlisthidepatrolled' => 0,
5185  'watchlisthidecategorization' => 1,
5186  'watchlistreloadautomatically' => 0,
5187  'watchlistunwatchlinks' => 0,
5188  'watchmoves' => 0,
5189  'watchrollback' => 0,
5190  'wlenhancedfilters-disable' => 0,
5191  'wllimit' => 250,
5192  'useeditwarning' => 1,
5193  'prefershttps' => 1,
5194  'requireemail' => 0,
5195 ];
5196 
5201 
5208 
5219 
5227 
5239 
5249  MediaWiki\Session\CookieSessionProvider::class => [
5250  'class' => MediaWiki\Session\CookieSessionProvider::class,
5251  'args' => [ [
5252  'priority' => 30,
5253  'callUserSetCookiesHook' => true,
5254  ] ],
5255  ],
5256  MediaWiki\Session\BotPasswordSessionProvider::class => [
5257  'class' => MediaWiki\Session\BotPasswordSessionProvider::class,
5258  'args' => [ [
5259  'priority' => 75,
5260  ] ],
5261  ],
5262 ];
5263 
5272  # end user accounts }
5274 
5275 /************************************************************************/
5284 
5293 
5309  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5310  'IPv6' => 19,
5311 ];
5312 
5321 
5343 
5371 
5377 
5383 
5409 
5411 // Implicit group for all visitors
5412 $wgGroupPermissions['*']['createaccount'] = true;
5413 $wgGroupPermissions['*']['read'] = true;
5414 $wgGroupPermissions['*']['edit'] = true;
5415 $wgGroupPermissions['*']['createpage'] = true;
5416 $wgGroupPermissions['*']['createtalk'] = true;
5417 $wgGroupPermissions['*']['writeapi'] = true;
5418 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5419 $wgGroupPermissions['*']['editmywatchlist'] = true;
5420 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5421 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5422 $wgGroupPermissions['*']['editmyoptions'] = true;
5423 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5424 
5425 // Implicit group for all logged-in accounts
5426 $wgGroupPermissions['user']['move'] = true;
5427 $wgGroupPermissions['user']['move-subpages'] = true;
5428 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5429 $wgGroupPermissions['user']['move-categorypages'] = true;
5430 $wgGroupPermissions['user']['movefile'] = true;
5431 $wgGroupPermissions['user']['read'] = true;
5432 $wgGroupPermissions['user']['edit'] = true;
5433 $wgGroupPermissions['user']['createpage'] = true;
5434 $wgGroupPermissions['user']['createtalk'] = true;
5435 $wgGroupPermissions['user']['writeapi'] = true;
5436 $wgGroupPermissions['user']['upload'] = true;
5437 $wgGroupPermissions['user']['reupload'] = true;
5438 $wgGroupPermissions['user']['reupload-shared'] = true;
5439 $wgGroupPermissions['user']['minoredit'] = true;
5440 $wgGroupPermissions['user']['editmyusercss'] = true;
5441 $wgGroupPermissions['user']['editmyuserjson'] = true;
5442 $wgGroupPermissions['user']['editmyuserjs'] = true;
5443 $wgGroupPermissions['user']['editmyuserjsredirect'] = true;
5444 $wgGroupPermissions['user']['purge'] = true;
5445 $wgGroupPermissions['user']['sendemail'] = true;
5446 $wgGroupPermissions['user']['applychangetags'] = true;
5447 $wgGroupPermissions['user']['changetags'] = true;
5448 $wgGroupPermissions['user']['editcontentmodel'] = true;
5449 
5450 // Implicit group for accounts that pass $wgAutoConfirmAge
5451 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5452 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5453 
5454 // Users with bot privilege can have their edits hidden
5455 // from various log pages by default
5456 $wgGroupPermissions['bot']['bot'] = true;
5457 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5458 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5459 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5460 $wgGroupPermissions['bot']['autopatrol'] = true;
5461 $wgGroupPermissions['bot']['suppressredirect'] = true;
5462 $wgGroupPermissions['bot']['apihighlimits'] = true;
5463 $wgGroupPermissions['bot']['writeapi'] = true;
5464 
5465 // Most extra permission abilities go to this group
5466 $wgGroupPermissions['sysop']['block'] = true;
5467 $wgGroupPermissions['sysop']['createaccount'] = true;
5468 $wgGroupPermissions['sysop']['delete'] = true;
5469 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5470 $wgGroupPermissions['sysop']['bigdelete'] = true;
5471 // can view deleted history entries, but not see or restore the text
5472 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5473 // can view deleted revision text
5474 $wgGroupPermissions['sysop']['deletedtext'] = true;
5475 $wgGroupPermissions['sysop']['undelete'] = true;
5476 $wgGroupPermissions['sysop']['editinterface'] = true;
5477 $wgGroupPermissions['sysop']['editsitejson'] = true;
5478 $wgGroupPermissions['sysop']['edituserjson'] = true;
5479 $wgGroupPermissions['sysop']['import'] = true;
5480 $wgGroupPermissions['sysop']['importupload'] = true;
5481 $wgGroupPermissions['sysop']['move'] = true;
5482 $wgGroupPermissions['sysop']['move-subpages'] = true;
5483 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5484 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5485 $wgGroupPermissions['sysop']['patrol'] = true;
5486 $wgGroupPermissions['sysop']['autopatrol'] = true;
5487 $wgGroupPermissions['sysop']['protect'] = true;
5488 $wgGroupPermissions['sysop']['editprotected'] = true;
5489 $wgGroupPermissions['sysop']['rollback'] = true;
5490 $wgGroupPermissions['sysop']['upload'] = true;
5491 $wgGroupPermissions['sysop']['reupload'] = true;
5492 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5493 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5494 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5495 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5496 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5497 $wgGroupPermissions['sysop']['blockemail'] = true;
5498 $wgGroupPermissions['sysop']['markbotedits'] = true;
5499 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5500 $wgGroupPermissions['sysop']['browsearchive'] = true;
5501 $wgGroupPermissions['sysop']['noratelimit'] = true;
5502 $wgGroupPermissions['sysop']['movefile'] = true;
5503 $wgGroupPermissions['sysop']['unblockself'] = true;
5504 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5505 # $wgGroupPermissions['sysop']['pagelang'] = true;
5506 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5507 $wgGroupPermissions['sysop']['mergehistory'] = true;
5508 $wgGroupPermissions['sysop']['managechangetags'] = true;
5509 $wgGroupPermissions['sysop']['deletechangetags'] = true;
5510 
5511 $wgGroupPermissions['interface-admin']['editinterface'] = true;
5512 $wgGroupPermissions['interface-admin']['editsitecss'] = true;
5513 $wgGroupPermissions['interface-admin']['editsitejson'] = true;
5514 $wgGroupPermissions['interface-admin']['editsitejs'] = true;
5515 $wgGroupPermissions['interface-admin']['editusercss'] = true;
5516 $wgGroupPermissions['interface-admin']['edituserjson'] = true;
5517 $wgGroupPermissions['interface-admin']['edituserjs'] = true;
5518 
5519 // Permission to change users' group assignments
5520 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5521 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5522 // Permission to change users' groups assignments across wikis
5523 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5524 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5525 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5526 
5527 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5528 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5529 // To hide usernames from users and Sysops
5530 $wgGroupPermissions['suppress']['hideuser'] = true;
5531 // To hide revisions/log items from users and Sysops
5532 $wgGroupPermissions['suppress']['suppressrevision'] = true;
5533 // To view revisions/log items hidden from users and Sysops
5534 $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5535 // For private suppression log access
5536 $wgGroupPermissions['suppress']['suppressionlog'] = true;
5537 // Basic rights for revision delete
5538 $wgGroupPermissions['suppress']['deleterevision'] = true;
5539 $wgGroupPermissions['suppress']['deletelogentry'] = true;
5540 
5547 # $wgGroupPermissions['developer']['siteadmin'] = true;
5548 
5561 
5565 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5566 
5589 
5594 
5602 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5603 
5615 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5616 
5627 
5641 
5650 
5661 
5683 
5694 
5753  'autoconfirmed' => [ '&',
5756  ],
5757 ];
5758 
5778  'onEdit' => [],
5779 ];
5780 
5786 
5810 
5815 
5821 
5827 
5833 
5842 
5865  'count' => 0,
5866  'seconds' => 86400,
5867 ] ];
5868 
5881 
5886 
5893 
5917 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
5918 
5924 
5933 
5940 
5977  // Page edits
5978  'edit' => [
5979  'ip' => [ 8, 60 ],
5980  'newbie' => [ 8, 60 ],
5981  'user' => [ 90, 60 ],
5982  ],
5983  // Page moves
5984  'move' => [
5985  'newbie' => [ 2, 120 ],
5986  'user' => [ 8, 60 ],
5987  ],
5988  // File uploads
5989  'upload' => [
5990  'ip' => [ 8, 60 ],
5991  'newbie' => [ 8, 60 ],
5992  ],
5993  // Page rollbacks
5994  'rollback' => [
5995  'user' => [ 10, 60 ],
5996  'newbie' => [ 5, 120 ]
5997  ],
5998  // Triggering password resets emails
5999  'mailpassword' => [
6000  'ip' => [ 5, 3600 ],
6001  ],
6002  // Emailing other users using MediaWiki
6003  'emailuser' => [
6004  'ip' => [ 5, 86400 ],
6005  'newbie' => [ 5, 86400 ],
6006  'user' => [ 20, 86400 ],
6007  ],
6008  'changeemail' => [
6009  'ip-all' => [ 10, 3600 ],
6010  'user' => [ 4, 86400 ]
6011  ],
6012  // since 1.33 - rate limit email confirmations
6013  'confirmemail' => [
6014  'ip-all' => [ 10, 3600 ],
6015  'user' => [ 4, 86400 ]
6016  ],
6017  // Purging pages
6018  'purge' => [
6019  'ip' => [ 30, 60 ],
6020  'user' => [ 30, 60 ],
6021  ],
6022  // Purges of link tables
6023  'linkpurge' => [
6024  'ip' => [ 30, 60 ],
6025  'user' => [ 30, 60 ],
6026  ],
6027  // Files rendered via thumb.php or thumb_handler.php
6028  'renderfile' => [
6029  'ip' => [ 700, 30 ],
6030  'user' => [ 700, 30 ],
6031  ],
6032  // Same as above but for non-standard thumbnails
6033  'renderfile-nonstandard' => [
6034  'ip' => [ 70, 30 ],
6035  'user' => [ 70, 30 ],
6036  ],
6037  // Stashing edits into cache before save
6038  'stashedit' => [
6039  'ip' => [ 30, 60 ],
6040  'newbie' => [ 30, 60 ],
6041  ],
6042  // Adding or removing change tags
6043  'changetag' => [
6044  'ip' => [ 8, 60 ],
6045  'newbie' => [ 8, 60 ],
6046  ],
6047  // Changing the content model of a page
6048  'editcontentmodel' => [
6049  'newbie' => [ 2, 120 ],
6050  'user' => [ 8, 60 ],
6051  ],
6052 ];
6053 
6059 
6066 
6072 
6086  // Short term limit
6087  [ 'count' => 5, 'seconds' => 300 ],
6088  // Long term limit. We need to balance the risk
6089  // of somebody using this as a DoS attack to lock someone
6090  // out of their account, and someone doing a brute force attack.
6091  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
6092 ];
6093 
6105 
6106 // @TODO: clean up grants
6107 // @TODO: auto-include read/editsemiprotected rights?
6108 
6109 $wgGrantPermissions['basic']['autocreateaccount'] = true;
6110 $wgGrantPermissions['basic']['autoconfirmed'] = true;
6111 $wgGrantPermissions['basic']['autopatrol'] = true;
6112 $wgGrantPermissions['basic']['editsemiprotected'] = true;
6113 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
6114 $wgGrantPermissions['basic']['nominornewtalk'] = true;
6115 $wgGrantPermissions['basic']['patrolmarks'] = true;
6116 $wgGrantPermissions['basic']['purge'] = true;
6117 $wgGrantPermissions['basic']['read'] = true;
6118 $wgGrantPermissions['basic']['writeapi'] = true;
6119 
6120 $wgGrantPermissions['highvolume']['bot'] = true;
6121 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
6122 $wgGrantPermissions['highvolume']['noratelimit'] = true;
6123 $wgGrantPermissions['highvolume']['markbotedits'] = true;
6124 
6125 $wgGrantPermissions['editpage']['edit'] = true;
6126 $wgGrantPermissions['editpage']['minoredit'] = true;
6127 $wgGrantPermissions['editpage']['applychangetags'] = true;
6128 $wgGrantPermissions['editpage']['changetags'] = true;
6129 
6130 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
6131 $wgGrantPermissions['editprotected']['editprotected'] = true;
6132 
6133 // FIXME: Rename editmycssjs to editmyconfig
6134 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
6135 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
6136 $wgGrantPermissions['editmycssjs']['editmyuserjson'] = true;
6137 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
6138 
6139 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
6140 $wgGrantPermissions['editmyoptions']['editmyuserjson'] = true;
6141 
6142 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
6143 $wgGrantPermissions['editinterface']['editinterface'] = true;
6144 $wgGrantPermissions['editinterface']['edituserjson'] = true;
6145 $wgGrantPermissions['editinterface']['editsitejson'] = true;
6146 
6147 $wgGrantPermissions['editsiteconfig'] = $wgGrantPermissions['editinterface'];
6148 $wgGrantPermissions['editsiteconfig']['editusercss'] = true;
6149 $wgGrantPermissions['editsiteconfig']['edituserjs'] = true;
6150 $wgGrantPermissions['editsiteconfig']['editsitecss'] = true;
6151 $wgGrantPermissions['editsiteconfig']['editsitejs'] = true;
6152 
6153 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
6154 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
6155 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
6156 $wgGrantPermissions['createeditmovepage']['move'] = true;
6157 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
6158 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
6159 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
6160 $wgGrantPermissions['createeditmovepage']['suppressredirect'] = true;
6161 
6162 $wgGrantPermissions['uploadfile']['upload'] = true;
6163 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
6164 
6165 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
6166 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
6167 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
6168 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
6169 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
6170 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
6171 
6172 $wgGrantPermissions['patrol']['patrol'] = true;
6173 
6174 $wgGrantPermissions['rollback']['rollback'] = true;
6175 
6176 $wgGrantPermissions['blockusers']['block'] = true;
6177 $wgGrantPermissions['blockusers']['blockemail'] = true;
6178 
6179 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
6180 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
6181 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
6182 
6183 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
6184 
6185 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
6186  $wgGrantPermissions['viewdeleted'];
6187 $wgGrantPermissions['delete']['delete'] = true;
6188 $wgGrantPermissions['delete']['bigdelete'] = true;
6189 $wgGrantPermissions['delete']['deletelogentry'] = true;
6190 $wgGrantPermissions['delete']['deleterevision'] = true;
6191 $wgGrantPermissions['delete']['undelete'] = true;
6192 
6193 $wgGrantPermissions['oversight']['suppressrevision'] = true;
6194 
6195 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
6196 $wgGrantPermissions['protect']['protect'] = true;
6197 
6198 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
6199 
6200 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
6201 
6202 $wgGrantPermissions['sendemail']['sendemail'] = true;
6203 
6204 $wgGrantPermissions['createaccount']['createaccount'] = true;
6205 
6206 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
6207 
6213  // Hidden grants are implicitly present
6214  'basic' => 'hidden',
6215 
6216  'editpage' => 'page-interaction',
6217  'createeditmovepage' => 'page-interaction',
6218  'editprotected' => 'page-interaction',
6219  'patrol' => 'page-interaction',
6220 
6221  'uploadfile' => 'file-interaction',
6222  'uploadeditmovefile' => 'file-interaction',
6223 
6224  'sendemail' => 'email',
6225 
6226  'viewmywatchlist' => 'watchlist-interaction',
6227  'editviewmywatchlist' => 'watchlist-interaction',
6228 
6229  'editmycssjs' => 'customization',
6230  'editmyoptions' => 'customization',
6231 
6232  'editinterface' => 'administration',
6233  'editsiteconfig' => 'administration',
6234  'rollback' => 'administration',
6235  'blockusers' => 'administration',
6236  'delete' => 'administration',
6237  'viewdeleted' => 'administration',
6238  'viewrestrictedlogs' => 'administration',
6239  'protect' => 'administration',
6240  'oversight' => 'administration',
6241  'createaccount' => 'administration',
6242 
6243  'highvolume' => 'high-volume',
6244 
6245  'privateinfo' => 'private-information',
6246 ];
6247 
6253 
6260 
6270  # end of user rights settings
6272 
6273 /************************************************************************/
6282 
6292  # end of proxy scanner settings
6294 
6295 /************************************************************************/
6303 $wgCookieExpiration = 30 * 86400;
6304 
6312 
6318 
6324 
6331 $wgCookieSecure = 'detect';
6332 
6340 
6347 
6354 
6359 
6364 
6373 
6382  # end of cookie settings }
6384 
6385 /************************************************************************/
6396 $wgUseTeX = false;
6397  # end LaTeX }
6399 
6400 /************************************************************************/
6414 
6419 
6426 
6433 
6443 
6452 
6459  // HTTP GET/HEAD requests.
6460  // Master queries should not happen on GET requests
6461  'GET' => [
6462  'masterConns' => 0,
6463  'writes' => 0,
6464  'readQueryTime' => 5,
6465  'readQueryRows' => 10000
6466  ],
6467  // HTTP POST requests.
6468  // Master reads and writes will happen for a subset of these.
6469  'POST' => [
6470  'readQueryTime' => 5,
6471  'writeQueryTime' => 1,
6472  'readQueryRows' => 100000,
6473  'maxAffected' => 1000
6474  ],
6475  'POST-nonwrite' => [
6476  'writes' => 0,
6477  'readQueryTime' => 5,
6478  'readQueryRows' => 10000
6479  ],
6480  // Deferred updates that run after HTTP response is sent for GET requests
6481  'PostSend-GET' => [
6482  'readQueryTime' => 5,
6483  'writeQueryTime' => 1,
6484  'readQueryRows' => 10000,
6485  'maxAffected' => 1000,
6486  // Log master queries under the post-send entry point as they are discouraged
6487  'masterConns' => 0,
6488  'writes' => 0,
6489  ],
6490  // Deferred updates that run after HTTP response is sent for POST requests
6491  'PostSend-POST' => [
6492  'readQueryTime' => 5,
6493  'writeQueryTime' => 1,
6494  'readQueryRows' => 100000,
6495  'maxAffected' => 1000
6496  ],
6497  // Background job runner
6498  'JobRunner' => [
6499  'readQueryTime' => 30,
6500  'writeQueryTime' => 5,
6501  'readQueryRows' => 100000,
6502  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
6503  ],
6504  // Command-line scripts
6505  'Maintenance' => [
6506  'writeQueryTime' => 5,
6507  'maxAffected' => 1000
6508  ]
6509 ];
6510 
6542 
6565  'class' => \MediaWiki\Logger\LegacySpi::class,
6566 ];
6567 
6574 
6579 
6589 
6597 
6609 
6614 
6620 
6625 
6632 
6638 
6645 
6701 
6713 
6722 
6730  'wanobjectcache:*' => 0.001
6731 ];
6732 
6739 
6754 
6759 
6765 
6774  # end of profiling, testing and debugging }
6776 
6777 /************************************************************************/
6786 
6792 
6797 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6798 
6810 
6820  'application/x-suggestions+json' => false,
6821  'application/x-suggestions+xml' => false,
6822 ];
6823 
6831 
6837 
6842 
6847 
6853 
6864  NS_MAIN => true,
6865 ];
6866 
6872 
6889 
6896 
6903 
6919 
6926  # end of search settings
6928 
6929 /************************************************************************/
6938 $wgDiff3 = '/usr/bin/diff3';
6939 
6943 $wgDiff = '/usr/bin/diff';
6944 
6951  NS_CATEGORY => true
6952 ];
6953 
6960 
6967  # end edit UI }
6969 
6970 /************************************************************************/
6980 if ( !isset( $wgCommandLineMode ) ) {
6981  $wgCommandLineMode = false;
6982 }
6989 
6999 
7006 
7015 
7026 
7030 $wgGitBin = '/usr/bin/git';
7031 
7046  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
7047  'https://gerrit.wikimedia.org/g/%R/+/%H',
7048  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
7049  'https://gerrit.wikimedia.org/g/%R/+/%H',
7050 ];
7051  # End of maintenance }
7053 
7054 /************************************************************************/
7064 $wgRCMaxAge = 90 * 24 * 3600;
7065 
7071 $wgWatchersMaxAge = 180 * 24 * 3600;
7072 
7080 
7089 
7094 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
7095 
7102 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
7103 
7158 
7165  'redis' => RedisPubSubFeedEngine::class,
7166  'udp' => UDPRCFeedEngine::class,
7167 ];
7168 
7181 
7191 
7198 
7207 
7218 
7222 $wgFeed = true;
7223 
7229 
7239 
7245 
7259 
7266  'rss' => RSSFeed::class,
7267  'atom' => AtomFeed::class,
7268 ];
7269 
7275 
7280 
7285 
7292 
7298 
7304 
7310 
7326  'mw-contentmodelchange' => true,
7327  'mw-new-redirect' => true,
7328  'mw-removed-redirect' => true,
7329  'mw-changed-redirect-target' => true,
7330  'mw-blank' => true,
7331  'mw-replace' => true,
7332  'mw-rollback' => true,
7333  'mw-undo' => true,
7334 ];
7335 
7344 
7370  'newpage' => [
7371  'letter' => 'newpageletter',
7372  'title' => 'recentchanges-label-newpage',
7373  'legend' => 'recentchanges-legend-newpage',
7374  'grouping' => 'any',
7375  ],
7376  'minor' => [
7377  'letter' => 'minoreditletter',
7378  'title' => 'recentchanges-label-minor',
7379  'legend' => 'recentchanges-legend-minor',
7380  'class' => 'minoredit',
7381  'grouping' => 'all',
7382  ],
7383  'bot' => [
7384  'letter' => 'boteditletter',
7385  'title' => 'recentchanges-label-bot',
7386  'legend' => 'recentchanges-legend-bot',
7387  'class' => 'botedit',
7388  'grouping' => 'all',
7389  ],
7390  'unpatrolled' => [
7391  'letter' => 'unpatrolledletter',
7392  'title' => 'recentchanges-label-unpatrolled',
7393  'legend' => 'recentchanges-legend-unpatrolled',
7394  'grouping' => 'any',
7395  ],
7396 ];
7397  # end RC/watchlist }
7399 
7400 /************************************************************************/
7413 
7420 
7428 
7433 
7438 
7447 
7453  # end of copyright and credits settings }
7455 
7456 /************************************************************************/
7484 
7493 
7500 
7507 
7512 
7525 
7530 
7535 
7543  # end of import/export }
7545 
7546 /*************************************************************************/
7556 
7584 
7611 
7618 
7634 
7639 
7649 
7657 
7662 
7669 
7723 
7759 
7772  __DIR__ . '/ServiceWiring.php'
7773 ];
7774 
7783  'deletePage' => DeletePageJob::class,
7784  'refreshLinks' => RefreshLinksJob::class,
7785  'deleteLinks' => DeleteLinksJob::class,
7786  'htmlCacheUpdate' => HTMLCacheUpdateJob::class,
7787  'sendMail' => EmaillingJob::class,
7788  'enotifNotify' => EnotifNotifyJob::class,
7789  'fixDoubleRedirect' => DoubleRedirectJob::class,
7790  'AssembleUploadChunks' => AssembleUploadChunksJob::class,
7791  'PublishStashedFile' => PublishStashedFileJob::class,
7792  'ThumbnailRender' => ThumbnailRenderJob::class,
7793  'recentChangesUpdate' => RecentChangesUpdateJob::class,
7794  'refreshLinksPrioritized' => RefreshLinksJob::class,
7795  'refreshLinksDynamic' => RefreshLinksJob::class,
7796  'activityUpdateJob' => ActivityUpdateJob::class,
7797  'categoryMembershipChange' => function ( Title $title, $params = [] ) {
7798  $pc = MediaWikiServices::getInstance()->getParserCache();
7799  return new CategoryMembershipChangeJob( $pc, $title, $params );
7800  },
7801  'clearUserWatchlist' => ClearUserWatchlistJob::class,
7802  'watchlistExpiry' => WatchlistExpiryJob::class,
7803  'cdnPurge' => CdnPurgeJob::class,
7804  'userGroupExpiry' => UserGroupExpiryJob::class,
7805  'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class,
7806  'userOptionsUpdate' => UserOptionsUpdateJob::class,
7807  'enqueue' => EnqueueJob::class, // local queue for multi-DC setups
7808  'null' => NullJob::class,
7809 ];
7810 
7822 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7823 
7834 
7849 
7857  'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
7858 ];
7859 
7872 
7878  'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
7879 ];
7880 
7889  'hiddencat' => 'categorylinks',
7890 ];
7891  # End extensions }
7893 
7894 /*************************************************************************/
7903 
7909 
7914 
7940 $wgCategoryCollation = 'uppercase';
7941  # End categories }
7943 
7944 /*************************************************************************/
7959  '',
7960  'block',
7961  'protect',
7962  'rights',
7963  'delete',
7964  'upload',
7965  'move',
7966  'import',
7967  'patrol',
7968  'merge',
7969  'suppress',
7970  'tag',
7971  'managetags',
7972  'contentmodel',
7973 ];
7974 
7983  'suppress' => 'suppressionlog'
7984 ];
7985 
8006  'patrol' => true,
8007  'tag' => true,
8008  'newusers' => false,
8009 ];
8010 
8021  '' => 'all-logs-page',
8022  'block' => 'blocklogpage',
8023  'protect' => 'protectlogpage',
8024  'rights' => 'rightslog',
8025  'delete' => 'dellogpage',
8026  'upload' => 'uploadlogpage',
8027  'move' => 'movelogpage',
8028  'import' => 'importlogpage',
8029  'patrol' => 'patrol-log-page',
8030  'merge' => 'mergelog',
8031  'suppress' => 'suppressionlog',
8032 ];
8033 
8044  '' => 'alllogstext',
8045  'block' => 'blocklogtext',
8046  'delete' => 'dellogpagetext',
8047  'import' => 'importlogpagetext',
8048  'merge' => 'mergelogpagetext',
8049  'move' => 'movelogpagetext',
8050  'patrol' => 'patrol-log-header',
8051  'protect' => 'protectlogtext',
8052  'rights' => 'rightslogtext',
8053  'suppress' => 'suppressionlogtext',
8054  'upload' => 'uploadlogpagetext',
8055 ];
8056 
8064 
8072  'block/block' => BlockLogFormatter::class,
8073  'block/reblock' => BlockLogFormatter::class,
8074  'block/unblock' => BlockLogFormatter::class,
8075  'contentmodel/change' => ContentModelLogFormatter::class,
8076  'contentmodel/new' => ContentModelLogFormatter::class,
8077  'delete/delete' => DeleteLogFormatter::class,
8078  'delete/delete_redir' => DeleteLogFormatter::class,
8079  'delete/event' => DeleteLogFormatter::class,
8080  'delete/restore' => DeleteLogFormatter::class,
8081  'delete/revision' => DeleteLogFormatter::class,
8082  'import/interwiki' => ImportLogFormatter::class,
8083  'import/upload' => ImportLogFormatter::class,
8084  'managetags/activate' => LogFormatter::class,
8085  'managetags/create' => LogFormatter::class,
8086  'managetags/deactivate' => LogFormatter::class,
8087  'managetags/delete' => LogFormatter::class,
8088  'merge/merge' => MergeLogFormatter::class,
8089  'move/move' => MoveLogFormatter::class,
8090  'move/move_redir' => MoveLogFormatter::class,
8091  'patrol/patrol' => PatrolLogFormatter::class,
8092  'patrol/autopatrol' => PatrolLogFormatter::class,
8093  'protect/modify' => ProtectLogFormatter::class,
8094  'protect/move_prot' => ProtectLogFormatter::class,
8095  'protect/protect' => ProtectLogFormatter::class,
8096  'protect/unprotect' => ProtectLogFormatter::class,
8097  'rights/autopromote' => RightsLogFormatter::class,
8098  'rights/rights' => RightsLogFormatter::class,
8099  'suppress/block' => BlockLogFormatter::class,
8100  'suppress/delete' => DeleteLogFormatter::class,
8101  'suppress/event' => DeleteLogFormatter::class,
8102  'suppress/reblock' => BlockLogFormatter::class,
8103  'suppress/revision' => DeleteLogFormatter::class,
8104  'tag/update' => TagLogFormatter::class,
8105  'upload/overwrite' => UploadLogFormatter::class,
8106  'upload/revert' => UploadLogFormatter::class,
8107  'upload/upload' => UploadLogFormatter::class,
8108 ];
8109 
8119  'block' => [
8120  'block' => [ 'block' ],
8121  'reblock' => [ 'reblock' ],
8122  'unblock' => [ 'unblock' ],
8123  ],
8124  'contentmodel' => [
8125  'change' => [ 'change' ],
8126  'new' => [ 'new' ],
8127  ],
8128  'delete' => [
8129  'delete' => [ 'delete' ],
8130  'delete_redir' => [ 'delete_redir' ],
8131  'restore' => [ 'restore' ],
8132  'event' => [ 'event' ],
8133  'revision' => [ 'revision' ],
8134  ],
8135  'import' => [
8136  'interwiki' => [ 'interwiki' ],
8137  'upload' => [ 'upload' ],
8138  ],
8139  'managetags' => [
8140  'create' => [ 'create' ],
8141  'delete' => [ 'delete' ],
8142  'activate' => [ 'activate' ],
8143  'deactivate' => [ 'deactivate' ],
8144  ],
8145  'move' => [
8146  'move' => [ 'move' ],
8147  'move_redir' => [ 'move_redir' ],
8148  ],
8149  'newusers' => [
8150  'create' => [ 'create', 'newusers' ],
8151  'create2' => [ 'create2' ],
8152  'autocreate' => [ 'autocreate' ],
8153  'byemail' => [ 'byemail' ],
8154  ],
8155  'protect' => [
8156  'protect' => [ 'protect' ],
8157  'modify' => [ 'modify' ],
8158  'unprotect' => [ 'unprotect' ],
8159  'move_prot' => [ 'move_prot' ],
8160  ],
8161  'rights' => [
8162  'rights' => [ 'rights' ],
8163  'autopromote' => [ 'autopromote' ],
8164  ],
8165  'suppress' => [
8166  'event' => [ 'event' ],
8167  'revision' => [ 'revision' ],
8168  'delete' => [ 'delete' ],
8169  'block' => [ 'block' ],
8170  'reblock' => [ 'reblock' ],
8171  ],
8172  'upload' => [
8173  'upload' => [ 'upload' ],
8174  'overwrite' => [ 'overwrite' ],
8175  'revert' => [ 'revert' ],
8176  ],
8177 ];
8178 
8183 
8189  # end logging }
8191 
8192 /*************************************************************************/
8201 
8208 
8214 
8220  # end special pages }
8222 
8223 /*************************************************************************/
8239  'credits' => true,
8240  'delete' => true,
8241  'edit' => true,
8242  'editchangetags' => SpecialPageAction::class,
8243  'history' => true,
8244  'info' => true,
8245  'markpatrolled' => true,
8246  'mcrundo' => McrUndoAction::class,
8247  'mcrrestore' => McrRestoreAction::class,
8248  'protect' => true,
8249  'purge' => true,
8250  'raw' => true,
8251  'render' => true,
8252  'revert' => true,
8253  'revisiondelete' => SpecialPageAction::class,
8254  'rollback' => true,
8255  'submit' => true,
8256  'unprotect' => true,
8257  'unwatch' => true,
8258  'view' => true,
8259  'watch' => true,
8260 ];
8261  # end actions }
8263 
8264 /*************************************************************************/
8275 $wgDefaultRobotPolicy = 'index,follow';
8276 
8292 
8320 
8332  # End robot policy }
8334 
8335 /************************************************************************/
8356 $wgDebugAPI = false;
8357 
8395 
8404 
8413 
8422 
8431 
8437 
8443 
8449 
8456 
8462 
8467 
8473  'MIMEsearch', // aiprop=mime
8474  'LinkSearch', // list=exturlusage
8475  'FileDuplicateSearch', // prop=duplicatefiles
8476 ];
8477 
8483 $wgUseAjax = true;
8484 
8491 
8496 
8501 
8507 
8529 
8536 
8543 
8550  # End AJAX and API }
8552 
8553 /************************************************************************/
8562 
8568 
8573 
8579 
8604 
8608 $wgPhpCli = '/usr/bin/php';
8609 
8644 $wgShellLocale = 'C.UTF-8';
8645 
8661  # End shell }
8663 
8664 /************************************************************************/
8674 
8680 
8685 
8690 
8705 
8711 
8718  # End HTTP client }
8720 
8721 /************************************************************************/
8733 
8742 
8747 
8752  # End job queue }
8754 
8755 /************************************************************************/
8774 
8780 
8790 
8796 
8802 
8807 
8813 
8819 
8853 
8858 
8871 
8883 
8893 
8905  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
8906  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
8907  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
8908 ];
8909 
8916  'mediawiki' => MediaWikiSite::class,
8917 ];
8918 
8925 
8938 
8946 
8955 
8965 
8972 $wgHKDFAlgorithm = 'sha256';
8973 
8981 
9020  'paths' => [],
9021  'modules' => [],
9022  'global' => [
9023  # Timeout in seconds
9024  'timeout' => 360,
9025  # 'domain' is set to $wgCanonicalServer in Setup.php
9026  'forwardCookies' => false,
9027  'HTTPProxy' => null
9028  ]
9029 ];
9030 
9039 
9052 $wgPopularPasswordFile = __DIR__ . '/password/commonpasswords.cdb';
9053 
9054 /*
9055  * Max time (in seconds) a user-generated transaction can spend in writes.
9056  * If exceeded, the transaction is rolled back with an error instead of being committed.
9057  *
9058  * @var int|bool Disabled if false
9059  * @since 1.27
9060  */
9062 
9063 /*
9064  * Max time (in seconds) a job-generated transaction can spend in writes.
9065  * If exceeded, the transaction is rolled back with an error instead of being committed.
9066  *
9067  * @var int|bool Disabled if false
9068  * @since 1.30
9069  */
9071 
9095 
9103 
9115  'copyright',
9116  'history_copyright',
9117  'googlesearch',
9118  'feedback-terms',
9119  'feedback-termsofuse',
9120 ];
9121 
9142  'default' => [
9143  'class' => EventRelayerNull::class,
9144  ]
9145 ];
9146 
9160 $wgPingback = false;
9161 
9171  'https://3hub.co' => true,
9172  'https://morepro.info' => true,
9173  'https://p.ato.mx' => true,
9174  'https://s.ato.mx' => true,
9175  'https://adserver.adtech.de' => true,
9176  'https://ums.adtechus.com' => true,
9177  'https://cas.criteo.com' => true,
9178  'https://cat.nl.eu.criteo.com' => true,
9179  'https://atpixel.alephd.com' => true,
9180  'https://rtb.metrigo.com' => true,
9181  'https://d5p.de17a.com' => true,
9182  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
9183  'https://ad.lkqd.net/vpaid/vpaid.js?fusion=1.0' => true,
9184  'https://t.lkqd.net/t' => true,
9185  'chrome-extension' => true,
9186 ];
9187 
9196  'IPv4' => 16,
9197  'IPv6' => 32,
9198 ];
9199 
9216 
9235 
9258 
9264 
9272 
9282 
9292 
9302 
9312 
9322 
9333 
9344 
9355 
9365 
9375 
9383 
9396 
$wgSend404Code
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
Definition: DefaultSettings.php:3556
$wgConf
$wgConf
$wgConf hold the site configuration.
Definition: DefaultSettings.php:59
$wgNonincludableNamespaces
$wgNonincludableNamespaces
Pages in namespaces in this array can not be used as templates.
Definition: DefaultSettings.php:5660
$wgEventRelayerConfig
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
Definition: DefaultSettings.php:9141
$wgInterwikiScopes
$wgInterwikiScopes
Specify number of domains to check for messages.
Definition: DefaultSettings.php:4284
$wgActionFilteredLogs
$wgActionFilteredLogs
List of log types that can be filtered by action types.
Definition: DefaultSettings.php:8118
$wgHiddenPrefs
$wgHiddenPrefs
An array of preferences to not show for the user.
Definition: DefaultSettings.php:5200
$wgMemCachedServers
$wgMemCachedServers
The list of MemCached servers and port numbers.
Definition: DefaultSettings.php:2593
$wgAppleTouchIcon
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
Definition: DefaultSettings.php:336
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:1651
$wgSharedUploadDirectory
string $wgSharedUploadDirectory
Shortcut for the 'directory' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:631
$wgAdditionalMailParams
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
Definition: DefaultSettings.php:1805
$wgFeedLimit
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
Definition: DefaultSettings.php:7228
$wgDebugRedirects
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
Definition: DefaultSettings.php:6425
$wgRCLinkLimits
$wgRCLinkLimits
List of Limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7094
$wgAllowJavaUploads
$wgAllowJavaUploads
Allow Java archive uploads.
Definition: DefaultSettings.php:1008
$wgPhpCli
$wgPhpCli
Executable path of the PHP cli binary.
Definition: DefaultSettings.php:8608
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:8238
$wgUpdateCompatibleMetadata
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
Definition: DefaultSettings.php:838
$wgUseAutomaticEditSummaries
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
Definition: DefaultSettings.php:6966
$wgAuthManagerConfig
$wgAuthManagerConfig
Configure AuthManager.
Definition: DefaultSettings.php:4828
$wgPingback
bool $wgPingback
Share data about this installation with MediaWiki developers.
Definition: DefaultSettings.php:9160
$wgElementTiming
bool $wgElementTiming
Enable Element Timing.
Definition: DefaultSettings.php:9301
$wgAPIListModules
$wgAPIListModules
API Query list module extensions.
Definition: DefaultSettings.php:8430
$wgUseTagFilter
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined in ...
Definition: DefaultSettings.php:7309
$wgProxyWhitelist
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
Definition: DefaultSettings.php:5923
$wgLocalVirtualHosts
$wgLocalVirtualHosts
Local virtual hosts.
Definition: DefaultSettings.php:8704
$wgSitemapNamespacesPriorities
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Definition: DefaultSettings.php:6918
$wgHTTPConnectTimeout
$wgHTTPConnectTimeout
Timeout for connections done internally (in seconds) Only works for curl.
Definition: DefaultSettings.php:8710
$wgNamespaceContentModels
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
Definition: DefaultSettings.php:8870
$wgMaxCredits
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
Definition: DefaultSettings.php:7446
$wgUseCdn
$wgUseCdn
Enable/disable CDN.
Definition: DefaultSettings.php:2792
$wgAPIMaxUncachedDiffs
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
Definition: DefaultSettings.php:8448
$wgChangeCredentialsBlacklist
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
Definition: DefaultSettings.php:4960
$wgProxyList
$wgProxyList
Big list of banned IP addresses.
Definition: DefaultSettings.php:6291
$wgThumbLimits
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
Definition: DefaultSettings.php:1506
$wgLocalDatabases
string[] $wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Definition: DefaultSettings.php:2200
$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:9170
$wgRestAPIAdditionalRouteFiles
$wgRestAPIAdditionalRouteFiles
Additional REST API Route files.
Definition: DefaultSettings.php:8549
$wgMaximalPasswordLength
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
Definition: DefaultSettings.php:4995
$wgIncludeLegacyJavaScript
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
Definition: DefaultSettings.php:4033
$wgShowSQLErrors
$wgShowSQLErrors
Whether to show "we're sorry, but there has been a database error" pages.
Definition: DefaultSettings.php:6588
$wgDBserver
$wgDBserver
Database host name or IP address.
Definition: DefaultSettings.php:1950
$wgFileBlacklist
$wgFileBlacklist
Files with these extensions will never be allowed as uploads.
Definition: DefaultSettings.php:976
$wgDisableHardRedirects
$wgDisableHardRedirects
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected f...
Definition: DefaultSettings.php:8789
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:6269
$wgRCLinkDays
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7102
$wgMangleFlashPolicy
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
Definition: DefaultSettings.php:3585
$wgMimeType
$wgMimeType
The default Content-Type header.
Definition: DefaultSettings.php:3282
$wgCdnServers
$wgCdnServers
List of proxy servers to purge on changes; default port is 80.
Definition: DefaultSettings.php:2882
$wgMaxArticleSize
$wgMaxArticleSize
Maximum article size in kilobytes.
Definition: DefaultSettings.php:2322
$wgAPIModules
$wgAPIModules
API module extensions.
Definition: DefaultSettings.php:8394
$wgDisabledVariants
$wgDisabledVariants
Disabled variants array of language variant conversion.
Definition: DefaultSettings.php:3174
$wgFixDoubleRedirects
$wgFixDoubleRedirects
Fix double redirects after a page move.
Definition: DefaultSettings.php:8812
$wgNewPasswordExpiry
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
Definition: DefaultSettings.php:1764
$wgJobTypeConf
$wgJobTypeConf
Map of job types to configuration arrays.
Definition: DefaultSettings.php:7856
$wgPageCreationLog
$wgPageCreationLog
Maintain a log of page creations at Special:Log/create?
Definition: DefaultSettings.php:8188
$wgExemptFromUserRobotsControl
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
Definition: DefaultSettings.php:8331
$wgHKDFAlgorithm
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:8972
$wgStyleSheetPath
$wgStyleSheetPath
The URL path to index.php.
Definition: DefaultSettings.php:209
$wgResourceLoaderEnableJSProfiler
$wgResourceLoaderEnableJSProfiler
When enabled, execution of JavaScript modules is profiled client-side.
Definition: DefaultSettings.php:4091
$wgExternalStores
$wgExternalStores
External stores allow including content from non database sources following URL links.
Definition: DefaultSettings.php:2240
$wgResponsiveImages
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
Definition: DefaultSettings.php:1625
$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
Definition: DefaultSettings.php:2750
$wgRestPath
$wgRestPath
The URL path to the REST API Defaults to "{$wgScriptPath}/rest.php".
Definition: DefaultSettings.php:201
$wgAuthManagerAutoConfig
$wgAuthManagerAutoConfig
Definition: DefaultSettings.php:4834
$wgAjaxLicensePreview
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
Definition: DefaultSettings.php:8500
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:6432
$wgTmpDirectory
$wgTmpDirectory
The local filesystem path to a temporary directory.
Definition: DefaultSettings.php:379
$wgRightsText
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
Definition: DefaultSettings.php:7427
$wgEnotifMinorEdits
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
Definition: DefaultSettings.php:1882
$wgDBname
$wgDBname
Current wiki database name.
Definition: DefaultSettings.php:1925
$wgRevokePermissions
$wgRevokePermissions
Permission keys revoked from users in each group.
Definition: DefaultSettings.php:5560
$wgMaximumMovedPages
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
Definition: DefaultSettings.php:8806
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:3301
$wgCopyUploadsDomains
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
Definition: DefaultSettings.php:852
$wgBlockAllowsUTEdit
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
Definition: DefaultSettings.php:5292
$wgEdititis
$wgEdititis
Display user edit counts in various prominent places.
Definition: DefaultSettings.php:3543
$wgSharedTables
$wgSharedTables
Definition: DefaultSettings.php:2079
MediaWiki\MediaWikiServices
MediaWikiServices is the service locator for the application scope of MediaWiki.
Definition: MediaWikiServices.php:137
$wgSharedSchema
$wgSharedSchema
Definition: DefaultSettings.php:2085
$wgExternalInterwikiFragmentMode
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
Definition: DefaultSettings.php:3484
$wgLegacyEncoding
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
Definition: DefaultSettings.php:3105
$wgFeedCacheTimeout
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
Definition: DefaultSettings.php:7238
$wgJpegPixelFormat
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
Definition: DefaultSettings.php:1187
$wgShowUpdatedMarker
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
Definition: DefaultSettings.php:7297
$wgRedirectOnLogin
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
Definition: DefaultSettings.php:8818
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:1451
$wgLogHeaders
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Definition: DefaultSettings.php:8043
$wgStatsdSamplingRates
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Definition: DefaultSettings.php:6729
$wgExiftool
$wgExiftool
Path to exiftool binary.
Definition: DefaultSettings.php:1209
$wgLegalTitleChars
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
Definition: DefaultSettings.php:4236
$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:7833
$wgDiff3
$wgDiff3
Path to the GNU diff3 utility.
Definition: DefaultSettings.php:6938
$wgExperiencedUserMemberSince
$wgExperiencedUserMemberSince
Specify the difference engine to use.
Definition: DefaultSettings.php:9215
$wgPasswordDefault
$wgPasswordDefault
Default password type to use when hashing user passwords.
Definition: DefaultSettings.php:5012
$wgSearchTypeAlternatives
$wgSearchTypeAlternatives
Alternative search types Sometimes you want to support multiple search engines for testing.
Definition: DefaultSettings.php:2017
$wgParserConf
$wgParserConf
Parser configuration.
Definition: DefaultSettings.php:4435
$wgUsersNotifiedOnAllChanges
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
Definition: DefaultSettings.php:1908
$wgWhitelistReadRegexp
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
Definition: DefaultSettings.php:5370
$wgMaxTemplateDepth
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Definition: DefaultSettings.php:4456
$wgSharpenParameter
$wgSharpenParameter
Sharpening parameter to ImageMagick.
Definition: DefaultSettings.php:1134
$wgEnotifFromEditor
bool $wgEnotifFromEditor
Allow sending of e-mail notifications with the editor's address as sender.
Definition: DefaultSettings.php:1824
$wgScript
$wgScript
The URL path to index.php.
Definition: DefaultSettings.php:186
CACHE_NONE
const CACHE_NONE
Definition: Defines.php:91
$wgDBport
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
Definition: DefaultSettings.php:1955
$wgCookiePath
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
Definition: DefaultSettings.php:6323
$wgHTCPMulticastTTL
$wgHTCPMulticastTTL
HTCP multicast TTL.
Definition: DefaultSettings.php:2968
$wgDBtype
$wgDBtype
Database type.
Definition: DefaultSettings.php:1970
$wgDisableQueryPages
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
Definition: DefaultSettings.php:2297
true
return true
Definition: router.php:92
$wgTranscludeCacheExpiry
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in object cache.
Definition: DefaultSettings.php:4628
$wgSharedDB
$wgSharedDB
Shared database for multiple wikis.
Definition: DefaultSettings.php:2069
$wgPasswordResetRoutes
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
Definition: DefaultSettings.php:5090
$wgSVGMaxSize
$wgSVGMaxSize
Don't scale a SVG larger than this.
Definition: DefaultSettings.php:1245
$wgHideInterlanguageLinks
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
Definition: DefaultSettings.php:3025
$wgRemoveCredentialsBlacklist
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
Definition: DefaultSettings.php:4973
$wgLocalFileRepo
$wgLocalFileRepo
File repository structures.
Definition: DefaultSettings.php:566
CONTENT_MODEL_CSS
const CONTENT_MODEL_CSS
Definition: Defines.php:226
$wgWANObjectCaches
$wgWANObjectCaches
Advanced WAN object cache configuration.
Definition: DefaultSettings.php:2491
$wgSharedUploadDBname
bool string $wgSharedUploadDBname
Shortcut for the ForeignDBRepo 'dbName' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:676
$wgDjvuPostProcessor
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
Definition: DefaultSettings.php:1674
$wgVersion
$wgVersion
MediaWiki version number.
Definition: DefaultSettings.php:76
$wgAmericanDates
$wgAmericanDates
Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'.
Definition: DefaultSettings.php:3125
CACHE_MEMCACHED
const CACHE_MEMCACHED
Definition: Defines.php:93
$wgAutoblockExpiry
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
Definition: DefaultSettings.php:5283
$wgUploadMaintenance
$wgUploadMaintenance
To disable file delete/restore temporarily.
Definition: DefaultSettings.php:8857
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles
Extension messages files.
Definition: DefaultSettings.php:7583
$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:8954
$wgShowCreditsIfMax
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
Definition: DefaultSettings.php:7452
$wgSoftBlockRanges
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
Definition: DefaultSettings.php:5932
$wgBotPasswordsCluster
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
Definition: DefaultSettings.php:6259
$wgNoFollowDomainExceptions
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
Definition: DefaultSettings.php:4593
$wgUseTwoButtonsSearchForm
$wgUseTwoButtonsSearchForm
Search form behavior.
Definition: DefaultSettings.php:6895
$wgCategoryMagicGallery
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
Definition: DefaultSettings.php:7908
$wgSpecialPageCacheUpdates
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
Definition: DefaultSettings.php:7877
MW_VERSION
const MW_VERSION
The running version of MediaWiki.
Definition: Defines.php:39
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition: DefaultSettings.php:7610
$wgShowHostnames
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
Definition: DefaultSettings.php:6624
$wgEmailAuthentication
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
Definition: DefaultSettings.php:1837
$wgDeprecationReleaseLimit
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
Definition: DefaultSettings.php:6644
$wgMaxUploadSize
$wgMaxUploadSize
Max size for uploads, in bytes.
Definition: DefaultSettings.php:895
$wgDebugAPI
$wgDebugAPI
Definition: DefaultSettings.php:8356
$wgUseMediaWikiUIEverywhere
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
Definition: DefaultSettings.php:3309
$wgDBmwschema
$wgDBmwschema
Current wiki database schema name.
Definition: DefaultSettings.php:1935
$wgUseTeX
$wgUseTeX
To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package a...
Definition: DefaultSettings.php:6396
$wgDefaultUserOptions
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
Definition: DefaultSettings.php:5131
$wgExternalServers
$wgExternalServers
An array of external MySQL servers.
Definition: DefaultSettings.php:2256
$wgMessageCacheType
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
Definition: DefaultSettings.php:2380
$wgServiceWiringFiles
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Definition: DefaultSettings.php:7771
$wgMaxMsgCacheEntrySize
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
Definition: DefaultSettings.php:3142
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:4947
$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:3119
$wgReferrerPolicy
array string bool $wgReferrerPolicy
Value for the referrer policy meta tag.
Definition: DefaultSettings.php:356
$wgDiff
$wgDiff
Path to the GNU diff utility.
Definition: DefaultSettings.php:6943
$wgFileExtensions
$wgFileExtensions
This is the list of preferred extensions for uploading files.
Definition: DefaultSettings.php:969
APCOND_EDITCOUNT
const APCOND_EDITCOUNT
Definition: Defines.php:194
$wgEnableUserEmail
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
Definition: DefaultSettings.php:1725
$wgWantedPagesThreshold
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
Definition: DefaultSettings.php:2307
$wgDisableTitleConversion
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
Definition: DefaultSettings.php:3152
$wgUnwatchedPageSecret
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
Definition: DefaultSettings.php:7079
$wgHideIdentifiableRedirects
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
Definition: DefaultSettings.php:5382
$wgCopyUploadTimeout
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
Definition: DefaultSettings.php:877
$wgLangObjCacheSize
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
Definition: DefaultSettings.php:3004
$wgExtensionAssetsPath
$wgExtensionAssetsPath
The URL path of the extensions directory.
Definition: DefaultSettings.php:223
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:4276
$wgMultiContentRevisionSchemaMigrationStage
int $wgMultiContentRevisionSchemaMigrationStage
RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables).
Definition: DefaultSettings.php:9257
$wgExportAllowAll
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
Definition: DefaultSettings.php:7534
$wgEnotifWatchlist
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
Definition: DefaultSettings.php:1842
$wgAjaxUploadDestCheck
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
Definition: DefaultSettings.php:8495
$wgMimeTypeBlacklist
$wgMimeTypeBlacklist
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
Definition: DefaultSettings.php:990
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:2152
$wgEnableCanonicalServerLink
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
Definition: DefaultSettings.php:3575
$wgVerifyMimeTypeIE
$wgVerifyMimeTypeIE
Determines whether extra checks for IE type detection should be applied.
Definition: DefaultSettings.php:1438
$wgLogActions
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
Definition: DefaultSettings.php:8063
$wgAPIUselessQueryPages
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Definition: DefaultSettings.php:8472
$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:3474
$wgAllowSchemaUpdates
$wgAllowSchemaUpdates
Allow schema updates.
Definition: DefaultSettings.php:2317
$wgDisableTextSearch
$wgDisableTextSearch
Set this to true to disable the full text search feature.
Definition: DefaultSettings.php:6785
$wgArticleRobotPolicies
$wgArticleRobotPolicies
Robot policies per article.
Definition: DefaultSettings.php:8319
$wgCacheDirectory
$wgCacheDirectory
Directory for caching data in the local filesystem.
Definition: DefaultSettings.php:2353
$wgSidebarCacheExpiry
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
Definition: DefaultSettings.php:2724
$wgOpenSearchTemplate
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6809
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:1524
$wgHTTPTimeout
int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
Definition: DefaultSettings.php:8673
$wgTransactionalTimeLimit
$wgTransactionalTimeLimit
The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...
Definition: DefaultSettings.php:2336
$wgBreakFrames
$wgBreakFrames
Break out of framesets.
Definition: DefaultSettings.php:3406
$wgDefaultExternalStore
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
Definition: DefaultSettings.php:2272
$wgDebugLogPrefix
$wgDebugLogPrefix
Prefix for debug log lines.
Definition: DefaultSettings.php:6418
$wgStrictFileExtensions
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
Definition: DefaultSettings.php:1023
$wgCdnMaxAge
$wgCdnMaxAge
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Definition: DefaultSettings.php:2823
$wgSharedThumbnailScriptPath
string $wgSharedThumbnailScriptPath
Shortcut for the 'thumbScriptUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:944
$wgContentHandlerUseDB
$wgContentHandlerUseDB
Unused in MediaWiki core.
Definition: DefaultSettings.php:8892
$wgForeignUploadTargets
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
Definition: DefaultSettings.php:705
$wgLogo
$wgLogo
The URL path of the wiki logo.
Definition: DefaultSettings.php:272
$wgStructuredChangeFiltersLiveUpdatePollingRate
$wgStructuredChangeFiltersLiveUpdatePollingRate
Polling rate, in seconds, used by the 'live update' and 'view newest' features of the RCFilters app o...
Definition: DefaultSettings.php:7197
$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:5841
$wgOpenSearchTemplates
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6819
$wgUseRCPatrol
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
Definition: DefaultSettings.php:7190
$wgEnableOpenSearchSuggest
$wgEnableOpenSearchSuggest
This was previously a used to force empty responses from ApiOpenSearch with the 'suggest' parameter s...
Definition: DefaultSettings.php:6830
$wgLogoHD
array false $wgLogoHD
Array with URL paths to HD versions of the wiki logo.
Definition: DefaultSettings.php:323
$wgUseNPPatrol
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
Definition: DefaultSettings.php:7206
$wgDjvuRenderer
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
Definition: DefaultSettings.php:1644
$wgJobRunRate
$wgJobRunRate
Number of jobs to perform per request.
Definition: DefaultSettings.php:8732
$wgMetaNamespace
$wgMetaNamespace
Name of the project namespace.
Definition: DefaultSettings.php:4142
$wgDBpassword
$wgDBpassword
Database user's password.
Definition: DefaultSettings.php:1965
$wgDBprefix
$wgDBprefix
Current wiki database table name prefix.
Definition: DefaultSettings.php:1945
$wgFetchCommonsDescriptions
bool $wgFetchCommonsDescriptions
Shortcut for the 'fetchDescription' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:666
$wgStylePath
$wgStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:208
$wgThumbnailMinimumBucketDistance
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
Definition: DefaultSettings.php:1541
$wgAllowSiteCSSOnRestrictedPages
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
Definition: DefaultSettings.php:4118
$wgExtensionEntryPointListFiles
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
Definition: DefaultSettings.php:7617
$wgReadOnlyWatchedItemStore
bool $wgReadOnlyWatchedItemStore
Set this to true to put the wiki watchlists into read-only mode.
Definition: DefaultSettings.php:7005
$wgUseSiteJs
$wgUseSiteJs
Use the site's Javascript page?
Definition: DefaultSettings.php:3395
$wgPutIPinRC
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
Definition: DefaultSettings.php:6065
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:395
$wgThumbnailEpoch
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
Definition: DefaultSettings.php:1307
$wgCrossSiteAJAXdomainExceptions
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
Definition: DefaultSettings.php:8535
$wgFeaturePolicyReportOnly
array $wgFeaturePolicyReportOnly
List of Feature Policy Reporting types to enable.
Definition: DefaultSettings.php:9332
$wgWhitelistRead
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
Definition: DefaultSettings.php:5342
$wgMaxNameChars
$wgMaxNameChars
Maximum number of bytes in username.
Definition: DefaultSettings.php:5104
$wgResourceLoaderStorageVersion
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
Definition: DefaultSettings.php:4105
$wgDBerrorLog
$wgDBerrorLog
File to log database errors to.
Definition: DefaultSettings.php:2165
$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:1781
$wgUploadStashMaxAge
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
Definition: DefaultSettings.php:434
$wgRepositoryBaseUrl
$wgRepositoryBaseUrl
Shortcut for the 'descBaseUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:657
$wgEnableWANCacheReaper
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
Definition: DefaultSettings.php:2515
$wgAllowExternalReqID
$wgAllowExternalReqID
Whether to respect/honour the request ID provided by the incoming request via the X-Request-Id header...
Definition: DefaultSettings.php:8717
$wgExperiencedUserEdits
$wgExperiencedUserEdits
Specify the difference engine to use.
Definition: DefaultSettings.php:9214
$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:89
$wgSearchHighlightBoundaries
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
Definition: DefaultSettings.php:6797
$wgPropagateErrors
$wgPropagateErrors
If true, the MediaWiki error handler passes errors/warnings to the default error handler after loggin...
Definition: DefaultSettings.php:6619
NS_MAIN
const NS_MAIN
Definition: Defines.php:69
$wgUseInstantCommons
$wgUseInstantCommons
Use Wikimedia Commons as a foreign file repository.
Definition: DefaultSettings.php:592
$wgMediaHandlers
$wgMediaHandlers
Plugins for media file type handling.
Definition: DefaultSettings.php:1064
$wgDBadminuser
$wgDBadminuser
Separate username for maintenance tasks.
Definition: DefaultSettings.php:1995
$wgResourceModules
$wgResourceModules
Define extra client-side modules to be registered with ResourceLoader.
Definition: DefaultSettings.php:3881
$wgResourceLoaderValidateJS
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
Definition: DefaultSettings.php:4081
$wgAPIRequestLog
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
Definition: DefaultSettings.php:8461
$wgHashedUploadDirectory
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
Definition: DefaultSettings.php:959
$wgMediaInTargetLanguage
$wgMediaInTargetLanguage
Whether thumbnails should be generated in target language (usually, same as page language),...
Definition: DefaultSettings.php:1261
$wgAutopromote
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
Definition: DefaultSettings.php:5752
$wgContentHandlerTextFallback
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
Definition: DefaultSettings.php:8882
$wgAllowImageTag
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
Definition: DefaultSettings.php:4525
$wgShowDebug
$wgShowDebug
Display debug data at the bottom of the main content area.
Definition: DefaultSettings.php:6573
$wgRightsPage
$wgRightsPage
Override for copyright metadata.
Definition: DefaultSettings.php:7412
$wgHTTPProxy
$wgHTTPProxy
Proxy to use for CURL requests.
Definition: DefaultSettings.php:8689
$wgRawHtml
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
Definition: DefaultSettings.php:4553
$wgEnableScaryTranscluding
$wgEnableScaryTranscluding
Enable interwiki transcluding.
Definition: DefaultSettings.php:4622
$wgAttemptFailureEpoch
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
Definition: DefaultSettings.php:1315
$wgEnotifUseRealName
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
Definition: DefaultSettings.php:1902
$wgDBservers
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
Definition: DefaultSettings.php:2140
$wgRCChangedSizeThreshold
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
Definition: DefaultSettings.php:7291
$wgAllowUserCss
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
Definition: DefaultSettings.php:3382
$wgHashedSharedUploadDirectory
bool $wgHashedSharedUploadDirectory
Shortcut for the 'hashLevels' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:649
$wgDBDefaultGroup
$wgDBDefaultGroup
Default group to use when getting database connections.
Definition: DefaultSettings.php:2037
$wgAdaptiveMessageCache
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
Definition: DefaultSettings.php:2625
$wgResourceLoaderMaxage
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
Definition: DefaultSettings.php:4008
$wgSVGConverterPath
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
Definition: DefaultSettings.php:1240
$wgRawHtmlMessages
string[] $wgRawHtmlMessages
List of messages which might contain raw HTML.
Definition: DefaultSettings.php:9114
$wgFooterLinkCacheExpiry
$wgFooterLinkCacheExpiry
Expiry time for the footer link cache, in seconds, or 0 if disabled.
Definition: DefaultSettings.php:2731
$wgNoReplyAddress
$wgNoReplyAddress
Reply-To address for e-mail notifications.
Definition: DefaultSettings.php:1712
$wgParserTestMediaHandlers
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
Definition: DefaultSettings.php:1070
$wgHooks
$wgHooks
Global list of hooks.
Definition: DefaultSettings.php:7758
$wgProfiler
$wgProfiler
Profiler configuration.
Definition: DefaultSettings.php:6700
$wgRecentChangesFlags
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Definition: DefaultSettings.php:7369
$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:5002
$wgGrantPermissions
array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
Definition: DefaultSettings.php:6104
$wgSQLiteDataDir
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
Definition: DefaultSettings.php:2042
$wgWatchlistPurgeRate
float $wgWatchlistPurgeRate
Chance of expired watchlist items being purged on any page edit.
Definition: DefaultSettings.php:9395
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:3200
$wgUploadSizeWarning
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
Definition: DefaultSettings.php:1036
$wgEmergencyContact
$wgEmergencyContact
Site admin email address.
Definition: DefaultSettings.php:1695
$wgAuthenticationTokenVersion
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
Definition: DefaultSettings.php:5238
$wgContentHandlers
$wgContentHandlers
Plugins for page content model handling.
Definition: DefaultSettings.php:1090
$wgAllowRequiringEmailForResets
$wgAllowRequiringEmailForResets
Temporary feature flag that controls whether users will see a checkbox allowing them to require provi...
Definition: DefaultSettings.php:5271
$wgFooterIcons
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
Definition: DefaultSettings.php:3516
$wgMaxUserDBWriteDuration
$wgMaxUserDBWriteDuration
Specify the difference engine to use.
Definition: DefaultSettings.php:9061
$wgXmlDumpSchemaVersion
$wgXmlDumpSchemaVersion
The schema to use per default when generating XML dumps.
Definition: DefaultSettings.php:9263
$wgAntivirusRequired
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
Definition: DefaultSettings.php:1423
$wgMainCacheType
$wgMainCacheType
Main cache type.
Definition: DefaultSettings.php:2372
$wgPreprocessorCacheThreshold
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
Definition: DefaultSettings.php:4617
$wgLinkHolderBatchSize
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
Definition: DefaultSettings.php:8795
$wgLockManagers
$wgLockManagers
Array of configuration arrays for each lock manager.
Definition: DefaultSettings.php:818
$wgFilterLogTypes
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
Definition: DefaultSettings.php:8005
$wgLanguageConverterCacheType
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
Definition: DefaultSettings.php:2405
$wgCentralIdLookupProvider
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
Definition: DefaultSettings.php:4696
$wgUseImageMagick
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
Definition: DefaultSettings.php:1118
$wgExtraSignatureNamespaces
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
Definition: DefaultSettings.php:4394
$wgFallbackSkin
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
Definition: DefaultSettings.php:3356
$wgUseFileCache
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Definition: DefaultSettings.php:2694
$wgCacheVaryCookies
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
Definition: DefaultSettings.php:6358
$wgCrossSiteAJAXdomains
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
Definition: DefaultSettings.php:8528
$wgDefaultLanguageVariant
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
Definition: DefaultSettings.php:3157
$wgCachePrefix
$wgCachePrefix
Overwrite the caching key prefix with custom value.
Definition: DefaultSettings.php:6764
$wgAPICacheHelpTimeout
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
Definition: DefaultSettings.php:8466
$wgEnableSidebarCache
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
Definition: DefaultSettings.php:2719
$wgCommandLineMode
global $wgCommandLineMode
Definition: DevelopmentSettings.php:28
$wgDisableInternalSearch
$wgDisableInternalSearch
Disable the internal MySQL-based search, to allow it to be implemented by an extension instead.
Definition: DefaultSettings.php:6871
$wgEnableSpecialMute
$wgEnableSpecialMute
Set to true to enable the Special Mute page.
Definition: DefaultSettings.php:1735
$wgAllowExternalImagesFrom
$wgAllowExternalImagesFrom
If the above is false, you can specify an exception here.
Definition: DefaultSettings.php:4502
$wgStatsdMetricPrefix
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
Definition: DefaultSettings.php:6721
$wgUploadThumbnailRenderMap
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
Definition: DefaultSettings.php:1553
$wgQueryPageDefaultLimit
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
Definition: DefaultSettings.php:6071
$wgDjvuToXML
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3....
Definition: DefaultSettings.php:1667
$wgHtml5Version
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
Definition: DefaultSettings.php:3292
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:6541
$wgEnableRestAPI
$wgEnableRestAPI
Enable the experimental REST API.
Definition: DefaultSettings.php:8542
$wgUseDatabaseMessages
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
Definition: DefaultSettings.php:3137
$wgLoadScript
$wgLoadScript
The URL path to load.php.
Definition: DefaultSettings.php:194
$wgMimeTypeFile
$wgMimeTypeFile
Sets the MIME type definition file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1445
$wgExpensiveParserFunctionLimit
$wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
Definition: DefaultSettings.php:4611
$wgAntivirusSetup
$wgAntivirusSetup
Configuration for different virus scanners.
Definition: DefaultSettings.php:1405
$wgApiFrameOptions
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
Definition: DefaultSettings.php:3439
$wgObjectCaches
$wgObjectCaches
Advanced object cache configuration.
Definition: DefaultSettings.php:2420
$wgSharedPrefix
$wgSharedPrefix
Definition: DefaultSettings.php:2074
$wgExportAllowHistory
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
Definition: DefaultSettings.php:7499
$wgHTCPRouting
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
Definition: DefaultSettings.php:2962
$wgLogExceptionBacktrace
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
Definition: DefaultSettings.php:6613
$wgRCFeeds
$wgRCFeeds
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:7157
$wgMimeDetectorCommand
$wgMimeDetectorCommand
Sets an external MIME detector program.
Definition: DefaultSettings.php:1464
$wgParserCacheExpireTime
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
Definition: DefaultSettings.php:2558
$wgPasswordReminderResendTime
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
Definition: DefaultSettings.php:1759
$wgJobSerialCommitThreshold
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
Definition: DefaultSettings.php:7848
$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:469
$wgUseGzip
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
Definition: DefaultSettings.php:2739
$wgInvalidRedirectTargets
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
Definition: DefaultSettings.php:4413
$wgOverrideUcfirstCharacters
array $wgOverrideUcfirstCharacters
List of Unicode characters for which capitalization is overridden in Language::ucfirst.
Definition: DefaultSettings.php:3270
$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:8455
$wgUserrightsInterwikiDelimiter
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
Definition: DefaultSettings.php:5218
$wgVaryOnXFP
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
Definition: DefaultSettings.php:2802
$wgImplicitGroups
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
Definition: DefaultSettings.php:5565
$wgCdnMaxageSubstitute
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
Definition: DefaultSettings.php:2863
$wgPreviewOnOpenNamespaces
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
Definition: DefaultSettings.php:6950
$wgInterwikiMagic
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Definition: DefaultSettings.php:3020
$wgLogTypes
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
Definition: DefaultSettings.php:7958
$wgExtendedLoginCookieExpiration
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
Definition: DefaultSettings.php:6311
$wgResourceLoaderSources
$wgResourceLoaderSources
Extensions should register foreign module sources here.
Definition: DefaultSettings.php:3984
AV_VIRUS_FOUND
const AV_VIRUS_FOUND
Definition: Defines.php:101
$wgParserCacheType
$wgParserCacheType
The cache type for storing article HTML.
Definition: DefaultSettings.php:2388
$wgNativeImageLazyLoading
array $wgNativeImageLazyLoading
Toggles native image lazy loading, via the "loading" attribute.
Definition: DefaultSettings.php:9364
$wgOriginTrials
array $wgOriginTrials
Origin Trials tokens.
Definition: DefaultSettings.php:9271
$title
$title
Definition: testCompression.php:38
$wgLocalisationCacheConf
$wgLocalisationCacheConf
Localisation cache configuration.
Definition: DefaultSettings.php:2658
$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:1276
$wgUseCombinedLoginLink
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
Definition: DefaultSettings.php:3538
$wgUseCopyrightUpload
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
Definition: DefaultSettings.php:7437
$wgMaxPPExpandDepth
$wgMaxPPExpandDepth
Definition: DefaultSettings.php:4461
$wgEnableEmail
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
Definition: DefaultSettings.php:1719
$wgUseCategoryBrowser
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
Definition: DefaultSettings.php:7902
$wgEnableDnsBlacklist
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
Definition: DefaultSettings.php:5892
$wgLogos
array false $wgLogos
The URL path to various wiki logos.
Definition: DefaultSettings.php:291
$wgDefaultSkin
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
Definition: DefaultSettings.php:3349
$wgUpdateRowsPerQuery
$wgUpdateRowsPerQuery
Number of rows to update per query.
Definition: DefaultSettings.php:8751
$wgReservedUsernames
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
Definition: DefaultSettings.php:5110
$wgEnableMagicLinks
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
Definition: DefaultSettings.php:4636
$wgInterlanguageLinkCodeMap
$wgInterlanguageLinkCodeMap
Map of interlanguage link codes to language codes.
Definition: DefaultSettings.php:3049
MEDIATYPE_BITMAP
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgSessionName
$wgSessionName
Override to customise the session name.
Definition: DefaultSettings.php:6363
$wgParserTestFiles
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
Definition: DefaultSettings.php:6753
$wgMaxInterlacingAreas
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
Definition: DefaultSettings.php:1129
$wgImportSources
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
Definition: DefaultSettings.php:7483
$wgCopyUploadProxy
$wgCopyUploadProxy
Proxy to use for copy upload requests.
Definition: DefaultSettings.php:865
$wgAPIMetaModules
$wgAPIMetaModules
API Query meta module extensions.
Definition: DefaultSettings.php:8412
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:83
$wgFileBackends
$wgFileBackends
File backend structure configuration.
Definition: DefaultSettings.php:806
$wgDjvuOutputExtension
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
Definition: DefaultSettings.php:1679
$wgNamespaceProtection
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
Definition: DefaultSettings.php:5649
$wgExternalLinkTarget
$wgExternalLinkTarget
Set a default target for external links, e.g.
Definition: DefaultSettings.php:4564
$wgMaxJobDBWriteDuration
$wgMaxJobDBWriteDuration
Specify the difference engine to use.
Definition: DefaultSettings.php:9070
$wgMaxShellTime
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
Definition: DefaultSettings.php:8572
$wgPageInfoTransclusionLimit
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
Definition: DefaultSettings.php:6738
$wgEnableSearchContributorsByIP
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
Definition: DefaultSettings.php:6925
$wgSoftwareTags
array $wgSoftwareTags
List of core tags to enable.
Definition: DefaultSettings.php:7325
$wgDeleteRevisionsLimit
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
Definition: DefaultSettings.php:5826
$wgMemCachedTimeout
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
Definition: DefaultSettings.php:2604
$wgUpdateRowsPerJob
$wgUpdateRowsPerJob
Number of rows to update per job.
Definition: DefaultSettings.php:8746
$wgCommandLineDarkBg
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
Definition: DefaultSettings.php:6988
$wgRCShowWatchingUsers
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
Definition: DefaultSettings.php:7279
$wgExtensionCredits
$wgExtensionCredits
An array of information about installed extensions keyed by their type.
Definition: DefaultSettings.php:7722
$wgImportTargetNamespace
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
Definition: DefaultSettings.php:7492
$wgCookieHttpOnly
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
Definition: DefaultSettings.php:6353
$wgCdnServersNoPurge
$wgCdnServersNoPurge
As with $wgCdnServers, except these servers aren't purged on page changes; use to set a list of trust...
Definition: DefaultSettings.php:2892
$wgCompressRevisions
$wgCompressRevisions
We can also compress text stored in the 'text' table.
Definition: DefaultSettings.php:2227
$wgExportAllowListContributors
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
Definition: DefaultSettings.php:7511
$wgFeedClasses
$wgFeedClasses
Available feeds objects.
Definition: DefaultSettings.php:7265
$wgAutoConfirmAge
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
Definition: DefaultSettings.php:5682
$wgDebugLogFile
$wgDebugLogFile
Filename for debug logging.
Definition: DefaultSettings.php:6413
$wgUseFilePatrol
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
Definition: DefaultSettings.php:7217
$wgEnableUserEmailBlacklist
$wgEnableUserEmailBlacklist
Set to true to enable user-to-user e-mail blacklist.
Definition: DefaultSettings.php:1742
$wgDisableLangConversion
$wgDisableLangConversion
Whether to enable language variant conversion.
Definition: DefaultSettings.php:3147
$wgRemoveGroups
$wgRemoveGroups
Definition: DefaultSettings.php:5814
$wgSearchForwardUrl
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
Definition: DefaultSettings.php:6888
$wgShowDBErrorBacktrace
$wgShowDBErrorBacktrace
If true, show a backtrace for database errors.
Definition: DefaultSettings.php:6608
$wgAPIMaxResultSize
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
Definition: DefaultSettings.php:8442
$wgCanonicalServer
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
Definition: DefaultSettings.php:115
$wgPriorityHints
bool $wgPriorityHints
Enable client-side Priority Hints.
Definition: DefaultSettings.php:9281
$wgMemoryLimit
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
Definition: DefaultSettings.php:2328
$wgUniversalEditButton
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
Definition: DefaultSettings.php:6959
$wgConfigRegistry
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set,...
Definition: DefaultSettings.php:67
$wgValidSkinNames
$wgValidSkinNames
List of valid skin names.
Definition: DefaultSettings.php:7648
CategoryMembershipChangeJob
Job to add recent change entries mentioning category membership changes.
Definition: CategoryMembershipChangeJob.php:41
$wgUseSharedUploads
bool $wgUseSharedUploads
Shortcut for adding an entry to $wgForeignFileRepos.
Definition: DefaultSettings.php:622
$wgMaxAnimatedGifArea
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
Definition: DefaultSettings.php:1284
$wgInterwikiExpiry
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
Definition: DefaultSettings.php:4251
$wgAutopromoteOnceLogInRC
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
Definition: DefaultSettings.php:5785
$wgPageLanguageUseDB
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
Definition: DefaultSettings.php:8980
$wgCachePages
$wgCachePages
Allow client-side caching of pages.
Definition: DefaultSettings.php:2671
$wgTranslateNumerals
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
Definition: DefaultSettings.php:3131
$wgSVGMetadataCutoff
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Definition: DefaultSettings.php:1251
$wgAllowUserCssPrefs
$wgAllowUserCssPrefs
Allow style-related user-preferences?
Definition: DefaultSettings.php:3390
$wgExtraLanguageNames
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Definition: DefaultSettings.php:3054
$wgDBcompress
$wgDBcompress
Whether to use compression in DB connection.
Definition: DefaultSettings.php:1990
$wgMaxShellFileSize
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KB ImageMagick convert for example can b...
Definition: DefaultSettings.php:8567
$wgRangeContributionsCIDRLimit
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Definition: DefaultSettings.php:9195
$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
Definition: DefaultSettings.php:6791
$wgEnotifUserTalk
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
Definition: DefaultSettings.php:1851
$wgJobTypesExcludedFromDefaultQueue
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
Definition: DefaultSettings.php:7822
$wgSessionPbkdf2Iterations
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
Definition: DefaultSettings.php:2588
$wgCookieExpiration
$wgCookieExpiration
Default cookie lifetime, in seconds.
Definition: DefaultSettings.php:6303
$wgShowRollbackEditCount
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
Definition: DefaultSettings.php:3567
$wgImgAuthUrlPathMap
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Definition: DefaultSettings.php:485
$wgNamespaceAliases
$wgNamespaceAliases
Define extra namespace aliases.
Definition: DefaultSettings.php:4210
$wgForcedRawSMaxage
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
Definition: DefaultSettings.php:2870
$wgShellRestrictionMethod
string bool $wgShellRestrictionMethod
Method to use to restrict shell commands.
Definition: DefaultSettings.php:8660
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:2207
$wgGitBin
$wgGitBin
Fully specified path to git binary.
Definition: DefaultSettings.php:7030
$wgFileCacheDepth
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
Definition: DefaultSettings.php:2702
$wgNoFollowNsExceptions
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
Definition: DefaultSettings.php:4578
$wgUrlProtocols
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
Definition: DefaultSettings.php:4473
$wgLocalTZoffset
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
Definition: DefaultSettings.php:3257
$wgExportMaxHistory
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
Definition: DefaultSettings.php:7506
$wgExportFromNamespaces
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
Definition: DefaultSettings.php:7529
$wgExtensionDirectory
$wgExtensionDirectory
Filesystem extensions directory.
Definition: DefaultSettings.php:230
$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:4572
$wgMainPageIsDomainRoot
bool $wgMainPageIsDomainRoot
Option to whether serve the main page as the domain root.
Definition: DefaultSettings.php:9374
$wgServerName
$wgServerName
Server name.
Definition: DefaultSettings.php:122
$wgRateLimits
$wgRateLimits
Simple rate limiter options to brake edit floods.
Definition: DefaultSettings.php:5976
$wgVueDevelopmentMode
$wgVueDevelopmentMode
Whether to use the development version of Vue.js.
Definition: DefaultSettings.php:4129
$wgResourceLoaderStorageEnabled
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
Definition: DefaultSettings.php:4097
$wgUsePrivateIPs
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
Definition: DefaultSettings.php:2973
$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:7982
$wgMaxRedirectLinksRetrieved
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
Definition: DefaultSettings.php:8219
$wgCookieDomain
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
Definition: DefaultSettings.php:6317
$wgImageMagickConvertCommand
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
Definition: DefaultSettings.php:1123
$wgLocalInterwikis
$wgLocalInterwikis
Array for multiple $wgLocalInterwiki values, in case there are several interwiki prefixes that point ...
Definition: DefaultSettings.php:4246
$wgDeletedDirectory
$wgDeletedDirectory
What directory to place deleted uploads in.
Definition: DefaultSettings.php:464
$wgIgnoreImageErrors
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
Definition: DefaultSettings.php:1328
$wgSharpenReductionThreshold
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
Definition: DefaultSettings.php:1139
$wgCacheSharedUploads
bool $wgCacheSharedUploads
Shortcut for the ForeignDBRepo 'hasSharedCache' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:694
$wgParserOutputHooks
$wgParserOutputHooks
Parser output hooks.
Definition: DefaultSettings.php:7633
$wgMetaNamespaceTalk
$wgMetaNamespaceTalk
Name of the project talk namespace.
Definition: DefaultSettings.php:4151
$wgServer
$wgServer
URL of the server.
Definition: DefaultSettings.php:106
$wgRevisionCacheExpiry
$wgRevisionCacheExpiry
Revision text may be cached in $wgMemc to reduce load on external storage servers and object extracti...
Definition: DefaultSettings.php:2280
$wgAllowImageMoving
$wgAllowImageMoving
Allows to move images and other media files.
Definition: DefaultSettings.php:439
$wgActiveUserDays
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
Definition: DefaultSettings.php:4674
$wgUploadDialog
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
Definition: DefaultSettings.php:716
$wgRCMaxAge
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:7064
$wgEnotifRevealEditorAddress
bool $wgEnotifRevealEditorAddress
Allow sending of e-mail notifications with the editor's address in "Reply-To".
Definition: DefaultSettings.php:1867
$wgSummarySpamRegex
$wgSummarySpamRegex
Same as the above except for edit summaries.
Definition: DefaultSettings.php:5885
$wgLanguageCode
$wgLanguageCode
Site language code.
Definition: DefaultSettings.php:2998
$wgEnableParserLimitReporting
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
Definition: DefaultSettings.php:7638
$wgExportMaxLinkDepth
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
Definition: DefaultSettings.php:7524
$wgSitename
$wgSitename
Name of the site.
Definition: DefaultSettings.php:81
$wgReadOnly
$wgReadOnly
Set this to a string to put the wiki into read-only mode.
Definition: DefaultSettings.php:6998
$wgDevelopmentWarnings
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
Definition: DefaultSettings.php:6637
$wgRightsIcon
$wgRightsIcon
Override for copyright metadata.
Definition: DefaultSettings.php:7432
$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:3318
$wgFeedDiffCutoff
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
Definition: DefaultSettings.php:7244
$wgPasswordAttemptThrottle
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
Definition: DefaultSettings.php:6085
$wgDirectoryMode
$wgDirectoryMode
Default value for chmoding of new directories.
Definition: DefaultSettings.php:1617
$wgBlockDisablesLogin
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
Definition: DefaultSettings.php:5320
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:7284
$wgExtensionFunctions
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
Definition: DefaultSettings.php:7555
$wgUploadBaseUrl
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
Definition: DefaultSettings.php:386
$wgNamespaceRobotPolicies
$wgNamespaceRobotPolicies
Robot policies per namespaces.
Definition: DefaultSettings.php:8291
$wgTiffThumbnailType
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
Definition: DefaultSettings.php:1299
$wgSearchType
$wgSearchType
Search type.
Definition: DefaultSettings.php:2008
$wgAddGroups
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
Definition: DefaultSettings.php:5809
$wgSearchSuggestCacheExpiry
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
Definition: DefaultSettings.php:6846
$wgDisableOutputCompression
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
Definition: DefaultSettings.php:3444
$wgSMTP
$wgSMTP
SMTP Mode.
Definition: DefaultSettings.php:1800
$wgUploadDirectory
$wgUploadDirectory
The filesystem path of the images directory.
Definition: DefaultSettings.php:257
$wgUploadThumbnailRenderHttpCustomHost
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
Definition: DefaultSettings.php:1573
$wgSitemapNamespaces
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
Definition: DefaultSettings.php:6902
$wgIllegalFileChars
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
Definition: DefaultSettings.php:458
$wgAllowHTMLEmail
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
Definition: DefaultSettings.php:1811
$wgDBTableOptions
$wgDBTableOptions
MySQL table options to use during installation or update.
Definition: DefaultSettings.php:2022
$wgTrivialMimeDetection
$wgTrivialMimeDetection
Switch for trivial MIME detection.
Definition: DefaultSettings.php:1471
$wgCustomConvertCommand
$wgCustomConvertCommand
Use another resizing converter, e.g.
Definition: DefaultSettings.php:1159
$wgDeleteRevisionsBatchSize
$wgDeleteRevisionsBatchSize
Page deletions with > this number of revisions will use the job queue.
Definition: DefaultSettings.php:5832
$wgInvalidUsernameCharacters
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
Definition: DefaultSettings.php:5207
$wgAutoloadClasses
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
Definition: DefaultSettings.php:7661
$wgFavicon
$wgFavicon
The URL path of the shortcut icon.
Definition: DefaultSettings.php:329
$wgCSPReportOnlyHeader
bool array $wgCSPReportOnlyHeader
Controls Content-Security-Policy-Report-Only header.
Definition: DefaultSettings.php:9102
$wgLegacyJavaScriptGlobals
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
Definition: DefaultSettings.php:4060
$wgLearnerEdits
$wgLearnerEdits
The following variables define 3 user experience levels:
Definition: DefaultSettings.php:9212
$wgLogActionsHandlers
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
Definition: DefaultSettings.php:8071
$wgEnableAsyncUploads
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
Definition: DefaultSettings.php:449
$wgUploadNavigationUrl
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
Definition: DefaultSettings.php:915
$wgOverrideHostname
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
Definition: DefaultSettings.php:6631
$wgResourceBasePath
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
Definition: DefaultSettings.php:3990
$wgShortPagesNamespaceBlacklist
$wgShortPagesNamespaceBlacklist
Optional array of namespaces which should be blacklisted from Special:ShortPages Only pages inside $w...
Definition: DefaultSettings.php:4385
$wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
Definition: DefaultSettings.php:3221
$wgSiteTypes
$wgSiteTypes
Register handlers for specific types of sites.
Definition: DefaultSettings.php:8915
$wgMinUploadChunkSize
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
Definition: DefaultSettings.php:903
$wgContentNamespaces
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Definition: DefaultSettings.php:4377
$wgPriorityHintsRatio
float $wgPriorityHintsRatio
Ratio of requests that should get Priority Hints when the feature is enabled.
Definition: DefaultSettings.php:9291
$wgJobClasses
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
Definition: DefaultSettings.php:7782
$wgEmailConfirmToEdit
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
Definition: DefaultSettings.php:5376
$wgExtraInterlanguageLinkPrefixes
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i....
Definition: DefaultSettings.php:3040
$wgCopyUploadsFromSpecialUpload
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
Definition: DefaultSettings.php:859
$wgRunJobsAsync
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
Definition: DefaultSettings.php:8741
$wgMaxShellWallClockTime
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
Definition: DefaultSettings.php:8578
$wgCascadingRestrictionLevels
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
Definition: DefaultSettings.php:5626
$wgArticlePath
$wgArticlePath
The URL path for primary article page views.
Definition: DefaultSettings.php:246
$wgSessionCacheType
$wgSessionCacheType
The cache type for storing session data.
Definition: DefaultSettings.php:2395
$wgSquidPurgeUseHostHeader
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgCdnServers.
Definition: DefaultSettings.php:2914
$wgJpegTran
$wgJpegTran
used for lossless jpeg rotation
Definition: DefaultSettings.php:1166
$wgDisableCookieCheck
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
Definition: DefaultSettings.php:6339
$wgDisableSearchUpdate
$wgDisableSearchUpdate
If you've disabled search semi-permanently, this also disables updates to the table.
Definition: DefaultSettings.php:6852
$wgMWLoggerDefaultSpi
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
Definition: DefaultSettings.php:6564
$wgCacheEpoch
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Definition: DefaultSettings.php:2681
$wgShellCgroup
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
Definition: DefaultSettings.php:8603
$wgAjaxExportList
$wgAjaxExportList
List of Ajax-callable functions.
Definition: DefaultSettings.php:8490
$wgUserEmailConfirmationTokenExpiry
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
Definition: DefaultSettings.php:1769
$wgGitInfoCacheDirectory
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
Definition: DefaultSettings.php:2687
$wgImageLimits
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
Definition: DefaultSettings.php:1493
$wgExternalDiffEngine
string false $wgExternalDiffEngine
Name of the external diff engine to use.
Definition: DefaultSettings.php:8779
$wgDiffEngine
string null $wgDiffEngine
Specify the difference engine to use.
Definition: DefaultSettings.php:8773
Title
Represents a title within MediaWiki.
Definition: Title.php:42
$wgResourceLoaderUseObjectCacheForDeps
$wgResourceLoaderUseObjectCacheForDeps
Use the main stash instead of the module_deps table for indirect dependency tracking.
Definition: DefaultSettings.php:4019
$wgAutoConfirmCount
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
Definition: DefaultSettings.php:5693
$wgCentralIdLookupProviders
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
Definition: DefaultSettings.php:4688
$wgActionPaths
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
Definition: DefaultSettings.php:411
$wgBlockCIDRLimit
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
Definition: DefaultSettings.php:5308
$wgMiserMode
$wgMiserMode
Disable database-intensive features.
Definition: DefaultSettings.php:2292
$wgGitRepositoryViewers
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
Definition: DefaultSettings.php:7045
$wgTidyConfig
$wgTidyConfig
Configuration for HTML postprocessing tool.
Definition: DefaultSettings.php:4546
$wgEnableJavaScriptTest
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
Definition: DefaultSettings.php:6758
$wgPoolCounterConf
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
Definition: DefaultSettings.php:8852
$wgLoggedOutMaxAge
$wgLoggedOutMaxAge
Cache TTL for the user agent sent as max-age, for logged out users.
Definition: DefaultSettings.php:2840
$wgUseTinyRGBForJPGThumbnails
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
Definition: DefaultSettings.php:1589
$wgAvailableRights
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Definition: DefaultSettings.php:5820
MEDIATYPE_VIDEO
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgSemiprotectedRestrictionLevels
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
Definition: DefaultSettings.php:5640
$wgDisableUploadScriptChecks
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
Definition: DefaultSettings.php:1031
$wgCookieSetOnAutoblock
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
Definition: DefaultSettings.php:6372
$wgRateLimitsExcludedIPs
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
Definition: DefaultSettings.php:6058
$wgCapitalLinks
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Definition: DefaultSettings.php:4317
$wgReadOnlyFile
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
Definition: DefaultSettings.php:7014
$wgApplyIpBlocksToXff
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
Definition: DefaultSettings.php:5939
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:935
$wgRCEngines
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
Definition: DefaultSettings.php:7164
$wgCSPHeader
bool array $wgCSPHeader
Controls Content-Security-Policy header [Experimental].
Definition: DefaultSettings.php:9094
$wgEditPageFrameOptions
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
Definition: DefaultSettings.php:3427
$wgGroupPermissions
$wgGroupPermissions
Permission keys given to users in each group.
Definition: DefaultSettings.php:5408
SCHEMA_COMPAT_NEW
const SCHEMA_COMPAT_NEW
Definition: Defines.php:280
$wgDebugComments
$wgDebugComments
Send debug data to an HTML comment in the output.
Definition: DefaultSettings.php:6442
$wgExiv2Command
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
Definition: DefaultSettings.php:1202
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition: DefaultSettings.php:3015
$wgLocaltimezone
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Definition: DefaultSettings.php:3246
$wgPagePropLinkInvalidations
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
Definition: DefaultSettings.php:7888
$wgAjaxEditStash
$wgAjaxEditStash
Have clients send edits to be prepared when filling in edit summaries.
Definition: DefaultSettings.php:8506
$wgHttpsPort
$wgHttpsPort
For installations where the canonical server is HTTP but HTTPS is optionally supported,...
Definition: DefaultSettings.php:8937
$wgCleanSignatures
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
Definition: DefaultSettings.php:4483
$wgOpenSearchDescriptionLength
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Definition: DefaultSettings.php:6841
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:6596
$wgThumbUpright
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
Definition: DefaultSettings.php:1612
$wgVerifyMimeType
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Definition: DefaultSettings.php:1428
$wgExtraGenderNamespaces
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
Definition: DefaultSettings.php:4187
$wgQueryCacheLimit
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
Definition: DefaultSettings.php:2302
$wgInterwikiFallbackSite
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
Definition: DefaultSettings.php:4289
$wgReauthenticateTime
int[] $wgReauthenticateTime
Time frame for re-authentication.
Definition: DefaultSettings.php:4928
$wgSharedUploadDBprefix
string $wgSharedUploadDBprefix
Shortcut for the ForeignDBRepo 'tablePrefix' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:685
$wgCookieSecure
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
Definition: DefaultSettings.php:6331
$wgSessionProviders
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
Definition: DefaultSettings.php:5248
$wgSiteNotice
$wgSiteNotice
Site notice shown at the top of each page.
Definition: DefaultSettings.php:3343
$wgCapitalLinkOverrides
$wgCapitalLinkOverrides
Definition: DefaultSettings.php:4332
$wgTrackingCategories
$wgTrackingCategories
Array holding default tracking category names.
Definition: DefaultSettings.php:4369
$wgShellLocale
$wgShellLocale
Locale for LC_ALL, to provide a known environment for locale-sensitive operations.
Definition: DefaultSettings.php:8644
$wgRestrictionLevels
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
Definition: DefaultSettings.php:5615
$wgDnsBlacklistUrls
$wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
Definition: DefaultSettings.php:5917
$wgEnableUploads
$wgEnableUploads
Allow users to upload files.
Definition: DefaultSettings.php:429
$wgRenderHashAppend
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
Definition: DefaultSettings.php:2708
NS_USER
const NS_USER
Definition: Defines.php:71
$wgLearnerMemberSince
$wgLearnerMemberSince
Specify the difference engine to use.
Definition: DefaultSettings.php:9213
$wgAdvertisedFeedTypes
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
Definition: DefaultSettings.php:7274
$wgSlaveLagCritical
$wgSlaveLagCritical
Definition: DefaultSettings.php:2212
$wgSVGConverters
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
Definition: DefaultSettings.php:1220
$wgExtensionInfoMTime
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
Definition: DefaultSettings.php:2767
$wgGroupsRemoveFromSelf
$wgGroupsRemoveFromSelf
Definition: DefaultSettings.php:5593
$wgAllowCopyUploads
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
Definition: DefaultSettings.php:845
NS_TALK
const NS_TALK
Definition: Defines.php:70
$wgTextModelsToParse
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Definition: DefaultSettings.php:8904
$wgAPIPropModules
$wgAPIPropModules
API Query prop module extensions.
Definition: DefaultSettings.php:8421
$wgOverrideSiteFeed
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
Definition: DefaultSettings.php:7258
$wgResourceLoaderMaxQueryLength
int $wgResourceLoaderMaxQueryLength
ResourceLoader will not generate URLs whose query string is more than this many characters long,...
Definition: DefaultSettings.php:4072
$wgSkipSkins
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
Definition: DefaultSettings.php:3368
$wgPopularPasswordFile
string $wgPopularPasswordFile
Where popular password file is located.
Definition: DefaultSettings.php:9052
$wgCategoryCollation
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
Definition: DefaultSettings.php:7940
$wgLogNames
$wgLogNames
Lists the message key string for each log type.
Definition: DefaultSettings.php:8020
$wgEnotifImpersonal
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
Definition: DefaultSettings.php:1891
$wgFileCacheDirectory
$wgFileCacheDirectory
Directory where the cached page will be saved.
Definition: DefaultSettings.php:263
$wgCookieSetOnIpBlock
$wgCookieSetOnIpBlock
Whether to set a cookie when a logged-out user is blocked.
Definition: DefaultSettings.php:6381
$wgUploadPath
$wgUploadPath
The URL path for the images directory.
Definition: DefaultSettings.php:252
$wgMaxTocLevel
$wgMaxTocLevel
Maximum indent level of toc.
Definition: DefaultSettings.php:4442
$wgMaxRedirects
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Definition: DefaultSettings.php:4401
$wgSpecialSearchFormOptions
array $wgSpecialSearchFormOptions
Options for Special:Search completion widget form created by SearchFormWidget class.
Definition: DefaultSettings.php:9343
$wgDjvuDump
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
Definition: DefaultSettings.php:1637
$wgRestrictionTypes
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
Definition: DefaultSettings.php:5602
$wgSearchRunSuggestedQuery
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
Definition: DefaultSettings.php:9038
$wgArticleCountMethod
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Definition: DefaultSettings.php:4665
$wgEnableBotPasswords
bool $wgEnableBotPasswords
Whether to enable bot passwords.
Definition: DefaultSettings.php:6252
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:77
$wgXhtmlNamespaces
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
Definition: DefaultSettings.php:3334
CONTENT_MODEL_JAVASCRIPT
const CONTENT_MODEL_JAVASCRIPT
Definition: Defines.php:225
$wgMaxSigChars
$wgMaxSigChars
Maximum number of Unicode characters in signature.
Definition: DefaultSettings.php:5098
$wgDBuser
$wgDBuser
Database username.
Definition: DefaultSettings.php:1960
$wgDBerrorLogTZ
$wgDBerrorLogTZ
Timezone to use in the error log.
Definition: DefaultSettings.php:2185
$wgJpegQuality
$wgJpegQuality
When scaling a JPEG thumbnail, this is the quality we request from the backend.
Definition: DefaultSettings.php:1196
$wgPasswordPolicy
$wgPasswordPolicy
Password policy for the wiki.
Definition: DefaultSettings.php:4766
$wgReportToEndpoints
array $wgReportToEndpoints
List of endpoints for the Reporting API.
Definition: DefaultSettings.php:9321
$wgDataCenterUpdateStickTTL
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
Definition: DefaultSettings.php:2160
$wgDebugDumpSql
$wgDebugDumpSql
Write SQL queries to the debug log.
Definition: DefaultSettings.php:6451
$wgAllowSlowParserFunctions
$wgAllowSlowParserFunctions
Enable slow parser functions.
Definition: DefaultSettings.php:2312
$wgPagePropsHaveSortkey
$wgPagePropsHaveSortkey
Whether the page_props table has a pp_sortkey column.
Definition: DefaultSettings.php:8924
$wgUploadMissingFileUrl
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
Definition: DefaultSettings.php:922
$wgResourceModuleSkinStyles
$wgResourceModuleSkinStyles
Add extra skin-specific styles to a resource module.
Definition: DefaultSettings.php:3972
$wgMinimalPasswordLength
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
Definition: DefaultSettings.php:4982
$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:5588
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:7088
$wgSpecialPages
$wgSpecialPages
Special page list.
Definition: DefaultSettings.php:7656
$wgDebugToolbar
$wgDebugToolbar
Display the new debugging toolbar.
Definition: DefaultSettings.php:6773
$wgAntivirus
$wgAntivirus
Internal name of virus scanner.
Definition: DefaultSettings.php:1369
$wgDisableQueryPageUpdate
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
Definition: DefaultSettings.php:8207
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:76
$wgTrustedMediaFormats
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
Definition: DefaultSettings.php:1048
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:8964
$wgHTTPImportTimeout
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
Definition: DefaultSettings.php:8679
$wgRestrictDisplayTitle
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
Definition: DefaultSettings.php:4605
$wgAutoloadAttemptLowercase
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
Definition: DefaultSettings.php:7668
$wgPasswordSender
$wgPasswordSender
Sender email address for e-mail notifications.
Definition: DefaultSettings.php:1705
$wgPHPSessionHandling
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
Definition: DefaultSettings.php:2581
$wgAllowDisplayTitle
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Definition: DefaultSettings.php:4598
$wgUseSiteCss
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
Definition: DefaultSettings.php:3400
$wgExtraLanguageCodes
$wgExtraLanguageCodes
List of mappings from one language code to another.
Definition: DefaultSettings.php:3069
$wgAPIFormatModules
$wgAPIFormatModules
API format module extensions.
Definition: DefaultSettings.php:8403
$wgRegisterInternalExternals
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
Definition: DefaultSettings.php:8801
$wgSecretKey
$wgSecretKey
This should always be customised in LocalSettings.php.
Definition: DefaultSettings.php:6281
$wgScriptPath
$wgScriptPath
The path we should point to.
Definition: DefaultSettings.php:138
$wgNamespacesWithSubpages
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
Definition: DefaultSettings.php:4338
$wgXMLMimeTypes
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
Definition: DefaultSettings.php:1477
$wgPasswordConfig
$wgPasswordConfig
Configuration for built-in password types.
Definition: DefaultSettings.php:5033
$wgDBadminpassword
$wgDBadminpassword
Separate password for maintenance tasks.
Definition: DefaultSettings.php:2000
$wgUseAjax
$wgUseAjax
Enable AJAX framework.
Definition: DefaultSettings.php:8483
$wgDBssl
$wgDBssl
Whether to use SSL in DB connection.
Definition: DefaultSettings.php:1980
$wgWatchersMaxAge
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
Definition: DefaultSettings.php:7071
$wgGrantPermissionGroups
array $wgGrantPermissionGroups
Map of grants to their UI grouping.
Definition: DefaultSettings.php:6212
$wgVariantArticlePath
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
Definition: DefaultSettings.php:3193
XML_DUMP_SCHEMA_VERSION_10
const XML_DUMP_SCHEMA_VERSION_10
Definition: Defines.php:317
$wgMaxShellMemory
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KB.
Definition: DefaultSettings.php:8561
$wgResourceLoaderDebug
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
Definition: DefaultSettings.php:4026
$wgUseImageResize
$wgUseImageResize
Whether to enable server-side image thumbnailing.
Definition: DefaultSettings.php:1108
$wgWatchlistExpiry
bool $wgWatchlistExpiry
Whether to enable the watchlist expiry feature.
Definition: DefaultSettings.php:9382
$wgForeignFileRepos
$wgForeignFileRepos
Enable the use of files from one or more other wikis.
Definition: DefaultSettings.php:581
$wgAccountCreationThrottle
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
Definition: DefaultSettings.php:5864
$wgEnotifMaxRecips
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
Definition: DefaultSettings.php:1897
$wgUploadThumbnailRenderMethod
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
Definition: DefaultSettings.php:1566
$wgLocalStylePath
$wgLocalStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:216
$wgSpecialVersionShowHooks
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
Definition: DefaultSettings.php:6578
$wgMemCachedPersistent
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
Definition: DefaultSettings.php:2599
$wgShowEXIF
$wgShowEXIF
Show Exif data, on by default if available.
Definition: DefaultSettings.php:831
$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:9354
$wgMaxPPNodeCount
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
Definition: DefaultSettings.php:4448
$wgSecureLogin
$wgSecureLogin
This is to let user authenticate using https when they come from http.
Definition: DefaultSettings.php:5226
$wgGenerateThumbnailOnParse
bool $wgGenerateThumbnailOnParse
Render thumbnails while parsing wikitext.
Definition: DefaultSettings.php:1350
$wgCookiePrefix
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
Definition: DefaultSettings.php:6346
$wgUserEmailUseReplyTo
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
Definition: DefaultSettings.php:1753
$wgAPIMaxDBRows
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
Definition: DefaultSettings.php:8436
$wgMainStash
$wgMainStash
The object store type of the main stash.
Definition: DefaultSettings.php:2552
$wgStyleDirectory
$wgStyleDirectory
Filesystem stylesheets directory.
Definition: DefaultSettings.php:237
$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:7025
$wgSVGConverter
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Definition: DefaultSettings.php:1235
$wgSessionSecret
$wgSessionSecret
Secret for session storage.
Definition: DefaultSettings.php:8945
$wgDefaultRobotPolicy
$wgDefaultRobotPolicy
Default robot policy.
Definition: DefaultSettings.php:8275
$wgAllowUserJs
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
Definition: DefaultSettings.php:3375
$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:7343
$wgTrxProfilerLimits
$wgTrxProfilerLimits
Performance expectations for DB usage.
Definition: DefaultSettings.php:6458
$wgExtraNamespaces
$wgExtraNamespaces
Additional namespaces.
Definition: DefaultSettings.php:4179
$wgUploadThumbnailRenderHttpCustomDomain
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HT...
Definition: DefaultSettings.php:1581
$wgCategoryPagingLimit
$wgCategoryPagingLimit
Paging limit for categories.
Definition: DefaultSettings.php:7913
$wgNewUserLog
$wgNewUserLog
Maintain a log of newusers at Special:Log/newusers?
Definition: DefaultSettings.php:8182
$wgNamespacesToBeSearchedDefault
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
Definition: DefaultSettings.php:6863
$wgUsePigLatinVariant
$wgUsePigLatinVariant
Whether to enable the pig Latin variant of English (en-x-piglatin), used to ease variant development ...
Definition: DefaultSettings.php:3163
$wgMainWANCache
$wgMainWANCache
Main Wide-Area-Network cache type.
Definition: DefaultSettings.php:2475
$wgGalleryOptions
$wgGalleryOptions
Parameters for the "<gallery>" tag.
Definition: DefaultSettings.php:1605
$wgAutopromoteOnce
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
Definition: DefaultSettings.php:5777
$wgJobQueueIncludeInMaxLagFactor
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Definition: DefaultSettings.php:7871
$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:2856
$wgEnableAutoRotation
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
Definition: DefaultSettings.php:1362
$wgVirtualRestConfig
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
Definition: DefaultSettings.php:9019
$wgCheckFileExtensions
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
Definition: DefaultSettings.php:1015
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:3093
$wgInternalServer
$wgInternalServer
Internal server name as known to CDN, if different.
Definition: DefaultSettings.php:2812
$wgDisableAnonTalk
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
Definition: DefaultSettings.php:7303
$wgInterwikiPrefixDisplayTypes
$wgInterwikiPrefixDisplayTypes
Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwik...
Definition: DefaultSettings.php:9234
$wgUseLocalMessageCache
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
Definition: DefaultSettings.php:2617
$wgStatsdServer
$wgStatsdServer
Destination of statsd metrics.
Definition: DefaultSettings.php:6712
$wgCountCategorizedImagesAsUsed
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
Definition: DefaultSettings.php:8213
$wgDummyLanguageCodes
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
Definition: DefaultSettings.php:3084
$wgPasswordExpirationDays
$wgPasswordExpirationDays
The number of days that a user's password is good for.
Definition: DefaultSettings.php:1775
$wgRCWatchCategoryMembership
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
Definition: DefaultSettings.php:7180
$wgObjectCacheSessionExpiry
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
Definition: DefaultSettings.php:2563
$wgFeed
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
Definition: DefaultSettings.php:7222
$wgAsyncHTTPTimeout
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
Definition: DefaultSettings.php:8684
$wgRightsUrl
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
Definition: DefaultSettings.php:7419
$wgAllowExternalImages
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
Definition: DefaultSettings.php:4488
$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:157
$wgImageMagickTempDir
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
Definition: DefaultSettings.php:1145
$wgSQLMode
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
Definition: DefaultSettings.php:2030
$wgEnableImageWhitelist
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki whitelist of regular expression fragment...
Definition: DefaultSettings.php:4515
$wgExportPagelistLimit
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
Definition: DefaultSettings.php:7542
$wgSpamRegex
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
Definition: DefaultSettings.php:5880
$wgSharedUploadPath
string $wgSharedUploadPath
Shortcut for the 'url' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:640
$wgOpenSearchDefaultLimit
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
Definition: DefaultSettings.php:6836
$wgReportToExpiry
int $wgReportToExpiry
Expiry of the endpoint definition for the Reporting API.
Definition: DefaultSettings.php:9311
$wgCdnMaxageLagged
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
Definition: DefaultSettings.php:2831
$wgShowArchiveThumbnails
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
Definition: DefaultSettings.php:1355
$wgAllowSpecialInclusion
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
Definition: DefaultSettings.php:8200