MediaWiki  master
DefaultSettings.php
Go to the documentation of this file.
1 <?php
46 if ( !defined( 'MEDIAWIKI' ) ) {
47  echo "This file is part of MediaWiki and is not a valid entry point\n";
48  die( 1 );
49 }
50 
59 
67  'main' => 'GlobalVarConfig::newInstance'
68 ];
69 
76 
80 $wgSitename = 'MediaWiki';
81 
82 /***************************************************************************/
83 // region Server URLs and file paths
108 $wgServer = false;
109 
118 
125 
133 
146 
166 
176 $wgScriptPath = '/wiki';
177 
195 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
196  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
197  ( strpos( PHP_SAPI, 'isapi' ) === false );
198 
204 $wgScript = false;
205 
213 
219 $wgRestPath = false;
220 
226 $wgStylePath = false;
228 
235 
242 
248 $wgExtensionDirectory = "{$IP}/extensions";
249 
255 $wgStyleDirectory = "{$IP}/skins";
256 
265 
271 
285 
292 $wgThumbPath = false;
293 
298 
304 
312 $wgLogo = false;
313 
364 $wgLogos = false;
365 
396 $wgLogoHD = false;
397 
402 $wgFavicon = '/favicon.ico';
403 
410 
430 
453 
460 
473 
489 
499 
500 // endregion -- end of server URLs and file paths
501 
502 /***************************************************************************/
503 // region Files and file uploads
516 
520 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
521 
531 
536 
544 $wgIllegalFileChars = ":\\/\\\\";
545 
551 
556 
572 
706 
721 
732 
762 
771 
780 
789 
796 $wgRepositoryBaseUrl = 'https://commons.wikimedia.org/wiki/File:';
797 
806 
816 
825 
834 
845 
856  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
857  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
858  // matching replacement to the 'filepage' format key below to make use of these.
859  'fields' => [
860  'description' => true,
861  'date' => false,
862  'categories' => false,
863  ],
864  // Suffix of localisation messages used to describe the license under which the uploaded file will
865  // be released. The same value may be set for both 'local' and 'foreign' uploads.
866  'licensemessages' => [
867  // The 'local' messages are used for local uploads on this wiki:
868  // * upload-form-label-own-work-message-generic-local
869  // * upload-form-label-not-own-work-message-generic-local
870  // * upload-form-label-not-own-work-local-generic-local
871  'local' => 'generic-local',
872  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
873  // * upload-form-label-own-work-message-generic-foreign
874  // * upload-form-label-not-own-work-message-generic-foreign
875  // * upload-form-label-not-own-work-local-generic-foreign
876  'foreign' => 'generic-foreign',
877  ],
878  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
879  // string value, in which case it is used for both kinds of uploads. Available replacements:
880  // * $HOST - domain name from which a cross-wiki upload originates
881  // * $PAGENAME - wiki page name from which an upload originates
882  'comment' => [
883  'local' => '',
884  'foreign' => '',
885  ],
886  // Format of the file page wikitext to be generated from the fields input by the user.
887  'format' => [
888  // Wrapper for the whole page. Available replacements:
889  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
890  // enabled), wrapped as defined below in the 'description' key
891  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
892  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
893  // * $AUTHOR - linked user name, may be extended in the future
894  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
895  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
896  // field is enabled), or if no input, as defined below in the 'uncategorized' key
897  'filepage' => '$DESCRIPTION',
898  // Wrapped for file description. Available replacements:
899  // * $LANGUAGE - source wiki's content language
900  // * $TEXT - input by the user
901  'description' => '$TEXT',
902  'ownwork' => '',
903  'license' => '',
904  'uncategorized' => '',
905  ],
906 ];
907 
945 
957 
969 $wgShowEXIF = function_exists( 'exif_read_data' );
970 
975 
982 
989 
996 
1002 
1014 
1035 $wgMaxUploadSize = 1024 * 1024 * 100;
1036 
1052 
1064 
1071 
1084 
1093 
1101 
1110 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
1111 
1120  # HTML may contain cookie-stealing JavaScript and web bugs
1121  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
1122  # PHP scripts may execute arbitrary code on the server
1123  'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'phar',
1124  # Other types that may be interpreted by some servers
1125  'shtml', 'jhtml', 'pl', 'py', 'cgi',
1126  # May contain harmful executables for Windows victims
1127  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl'
1128 ];
1129 
1137  # HTML may contain cookie-stealing JavaScript and web bugs
1138  'text/html',
1139  # Similarly with JavaScript itself
1140  'application/javascript', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
1141  # PHP scripts may execute arbitrary code on the server
1142  'application/x-php', 'text/x-php',
1143  # Other types that may be interpreted by some servers
1144  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
1145  # Client-side hazards on Internet Explorer
1146  'text/scriptlet', 'application/x-msdownload',
1147  # Windows metafile, client-side vulnerability on some systems
1148  'application/x-msmetafile',
1149 ];
1150 
1157 
1164 
1172 
1180 
1185 
1197  MEDIATYPE_BITMAP, // all bitmap formats
1198  MEDIATYPE_AUDIO, // all audio formats
1199  MEDIATYPE_VIDEO, // all plain video formats
1200  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
1201  "application/pdf", // PDF files
1202  # "application/x-shockwave-flash", //flash/shockwave movie
1203 ];
1204 
1213 
1223 
1229  'image/jpeg' => 'MockBitmapHandler',
1230  'image/png' => 'MockBitmapHandler',
1231  'image/gif' => 'MockBitmapHandler',
1232  'image/tiff' => 'MockBitmapHandler',
1233  'image/webp' => 'MockBitmapHandler',
1234  'image/x-ms-bmp' => 'MockBitmapHandler',
1235  'image/x-bmp' => 'MockBitmapHandler',
1236  'image/x-xcf' => 'MockBitmapHandler',
1237  'image/svg+xml' => 'MockSvgHandler',
1238  'image/vnd.djvu' => 'MockDjVuHandler',
1239 ];
1240 
1247 
1257 
1261 $wgImageMagickConvertCommand = '/usr/bin/convert';
1262 
1268 
1273 
1278 
1284 
1298 
1304 $wgJpegTran = '/usr/bin/jpegtran';
1305 
1326 
1335 
1340 $wgExiv2Command = '/usr/bin/exiv2';
1341 
1347 $wgExiftool = '/usr/bin/exiftool';
1348 
1359  'ImageMagick' =>
1360  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1361  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1362  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1363  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1364  . '$output $input',
1365  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1366  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1367  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1368 ];
1369 
1373 $wgSVGConverter = 'ImageMagick';
1374 
1379 
1384 
1390 
1400 
1421 
1429 
1444 
1451 $wgThumbnailEpoch = '20030516000000';
1452 
1460 
1473 
1495 
1500 
1507 
1514 
1550 
1551  # setup for clamav
1552  'clamav' => [
1553  'command' => 'clamscan --no-summary ',
1554  'codemap' => [
1555  "0" => AV_NO_VIRUS, # no virus
1556  "1" => AV_VIRUS_FOUND, # virus found
1557  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1558  "*" => AV_SCAN_FAILED, # else scan failed
1559  ],
1560  'messagepattern' => '/.*?:(.*)/sim',
1561  ],
1562 ];
1563 
1568 
1573 
1583 
1593 $wgMimeTypeFile = 'internal';
1594 
1599 $wgMimeInfoFile = 'internal';
1600 
1613 
1620 
1626  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1627  'svg' => 'image/svg+xml',
1628  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1629  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1630  'html' => 'text/html', // application/xhtml+xml?
1631 ];
1632 
1644  [ 320, 240 ],
1645  [ 640, 480 ],
1646  [ 800, 600 ],
1647  [ 1024, 768 ],
1648  [ 1280, 1024 ],
1649  [ 2560, 2048 ],
1650 ];
1651 
1658  120,
1659  150,
1660  180,
1661  200,
1662  250,
1663  300
1664 ];
1665 
1676 
1693 
1704 
1717 
1724 
1732 
1740 
1756 
1763 
1768 
1776 
1785 
1786 /***************************************************************************/
1787 // region DJVU settings
1796 
1803 
1809 $wgDjvuTxt = null;
1810 
1816 $wgDjvuPostProcessor = 'pnmtojpeg';
1817 
1822 
1823 // endregion -- end of DJvu
1824 
1825 // endregion -- end of file uploads
1826 
1827 /***************************************************************************/
1828 // region Email settings
1837 
1847 
1854 
1861 
1867 
1877 
1884 
1895 
1901 
1905 $wgNewPasswordExpiry = 3600 * 24 * 7;
1906 
1911 
1917 
1922 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1923 
1941 $wgSMTP = false;
1942 
1947 
1953 
1966 
1967 // TODO move UPO to preferences probably ?
1968 # If set to true, users get a corresponding option in their preferences and can choose to
1969 # enable or disable at their discretion
1970 # If set to false, the corresponding input form on the user preference page is suppressed
1971 # It call this to be a "user-preferences-option (UPO)"
1972 
1979 
1984 
1993 
2009 
2024 
2033 
2039 
2044 
2050 
2051 // endregion -- end of email settings
2052 
2053 /***************************************************************************/
2054 // region Database settings
2065 $wgDBname = 'my_wiki';
2066 
2076 
2086 
2090 $wgDBserver = 'localhost';
2091 
2095 $wgDBport = 5432;
2096 
2100 $wgDBuser = 'wikiuser';
2101 
2106 
2110 $wgDBtype = 'mysql';
2111 
2120 $wgDBssl = false;
2121 
2131 
2136 
2141 
2154 
2168 
2172 $wgDBTableOptions = 'ENGINE=InnoDB, DEFAULT CHARSET=binary';
2173 
2181 
2188 
2193 
2220 
2225 
2230 $wgSharedTables = [ 'user', 'user_properties' ];
2231 
2237 
2292 
2303 $wgLBFactoryConf = [ 'class' => \Wikimedia\Rdbms\LBFactorySimple::class ];
2304 
2316 
2321 
2341 
2356 
2365 
2372 
2379 
2402 
2424 
2425 // endregion -- End of DB settings
2426 
2427 /***************************************************************************/
2428 // region Content handlers and storage
2439  // the usual case
2440  CONTENT_MODEL_WIKITEXT => WikitextContentHandler::class,
2441  // dumb version, no syntax highlighting
2442  CONTENT_MODEL_JAVASCRIPT => JavaScriptContentHandler::class,
2443  // simple implementation, for use by extensions, etc.
2444  CONTENT_MODEL_JSON => JsonContentHandler::class,
2445  // dumb version, no syntax highlighting
2446  CONTENT_MODEL_CSS => CssContentHandler::class,
2447  // plain text, for use by extensions, etc.
2448  CONTENT_MODEL_TEXT => TextContentHandler::class,
2449  // fallback for unknown models, from imports or extensions that were removed
2450  CONTENT_MODEL_UNKNOWN => FallbackContentHandler::class,
2451 ];
2452 
2465 
2478 
2490  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
2491  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
2492  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
2493 ];
2494 
2502 
2516 
2538 
2553 
2563 
2571 
2586 
2592 
2593 // endregion -- end of Content handlers and storage
2594 
2595 /***************************************************************************/
2596 // region Performance hacks and limits
2610 
2621 
2638 
2643 
2648 
2653 
2658 
2663 
2668 
2673 
2679 
2713 
2722 
2731 
2737 
2742 
2743 // endregion -- end performance hacks
2744 
2745 /***************************************************************************/
2746 // region Cache settings
2758 
2777 
2785 
2793 
2802 
2812 
2827  CACHE_NONE => [ 'class' => EmptyBagOStuff::class, 'reportDupes' => false ],
2828  CACHE_DB => [ 'class' => SqlBagOStuff::class, 'loggroup' => 'SQLBagOStuff' ],
2829 
2830  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2831  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2832 
2833  'db-replicated' => [
2834  'class' => ReplicatedBagOStuff::class,
2835  'readFactory' => [
2836  'factory' => 'ObjectCache::newFromParams',
2837  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => true ] ]
2838  ],
2839  'writeFactory' => [
2840  'factory' => 'ObjectCache::newFromParams',
2841  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => false ] ]
2842  ],
2843  'loggroup' => 'SQLBagOStuff',
2844  'reportDupes' => false
2845  ],
2846  'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2847  'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ],
2848  'hash' => [ 'class' => HashBagOStuff::class, 'reportDupes' => false ],
2849 
2850  // Deprecated since 1.35.
2851  // - To configure a wg*CacheType variable to use the local server cache,
2852  // use CACHE_ACCEL instead, which will select these automatically.
2853  // - To access the object for the local server cache at run-time,
2854  // use MediaWikiServices::getLocalServerObjectCache()
2855  // instead of e.g. ObjectCache::getInstance( 'apcu' ).
2856  // - To instantiate a new one of these explicitly, do so directly
2857  // by using `new APCUBagOStuff( [ … ] )`
2858  // - To instantiate a new one of these including auto-detection and fallback,
2859  // use ObjectCache::makeLocalServerCache().
2860  'apc' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2861  'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2862  'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ],
2863 ];
2864 
2887 
2914  CACHE_NONE => [
2915  'class' => WANObjectCache::class,
2916  'cacheId' => CACHE_NONE,
2917  ]
2918 ];
2919 
2932 
2960 $wgMainStash = 'db-replicated';
2961 
2978 
2984 
2990 
2995 
3013 
3022 
3029 
3033 $wgMemCachedServers = [ '127.0.0.1:11211' ];
3034 
3040 
3045 
3058 
3066 
3099  'class' => LocalisationCache::class,
3100  'store' => 'detect',
3101  'storeClass' => false,
3102  'storeDirectory' => false,
3103  'storeServer' => [],
3104  'forceRecache' => false,
3105  'manualRecache' => false,
3106 ];
3107 
3112 
3121 $wgCacheEpoch = '20030516000000';
3122 
3128 
3135 
3143 
3149 
3160 
3165 
3172 
3179 $wgUseGzip = false;
3180 
3191 
3208 
3224 
3225 // endregion -- end of cache settings
3226 
3227 /***************************************************************************/
3228 // region HTTP proxy (CDN) settings
3247 $wgUseCdn = false;
3248 
3258 
3268 
3279 
3287 
3295 
3311 
3318 
3325 
3337 
3347 
3369 
3417 
3423 
3428 
3429 // endregion -- end of HTTP proxy settings
3430 
3431 /***************************************************************************/
3432 // region Language, regional and character encoding settings
3452 
3463 
3468 
3473 
3488 
3497 
3502 
3517  // Language codes of macro languages, which get mapped to the main language
3518  'bh' => 'bho', // Bihari language family
3519  'no' => 'nb', // Norwegian language family
3520 
3521  // Language variants which get mapped to the main language
3522  'simple' => 'en', // Simple English
3523 ];
3524 
3532 
3541 
3553 
3567 
3573 
3579 
3585 
3590 
3595 
3600 
3605 
3611 
3622 
3641 
3648 
3669 
3682  'copyright',
3683  'history_copyright',
3684  'googlesearch',
3685  'feedback-terms',
3686  'feedback-termsofuse',
3687 ];
3688 
3713 
3724 
3737 
3738 // endregion -- End of language/charset settings
3739 
3740 /***************************************************************************/
3741 // region Output format and skin settings
3747 $wgMimeType = 'text/html';
3748 
3758 
3767 
3775 
3784 
3800 
3809 
3821 $wgBrowserFormatDetection = 'telephone=no';
3822 
3831 
3836 $wgDefaultSkin = 'vector';
3837 
3843 $wgFallbackSkin = 'fallback';
3844 
3856 
3861 
3890 $wgFragmentMode = [ 'html5', 'legacy' ];
3891 
3901 
3933  "copyright" => [
3934  "copyright" => [], // placeholder for the built in copyright icon
3935  ],
3936  "poweredby" => [
3937  "mediawiki" => [
3938  // Defaults to point at
3939  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3940  // plus srcset for 1.5x, 2x resolution variants.
3941  "src" => null,
3942  "url" => "https://www.mediawiki.org/",
3943  "alt" => "Powered by MediaWiki",
3944  ]
3945  ],
3946 ];
3947 
3955 
3959 $wgEdititis = false;
3960 
3973 
3984 
3992 
4002 
4003 // endregion -- End of output format settings
4004 
4005 /***************************************************************************/
4006 // region ResourceLoader settings
4317 
4408 
4420 
4426 
4448  'versioned' => 30 * 24 * 60 * 60, // 30 days
4449  'unversioned' => 5 * 60, // 5 minutes
4450 ];
4451 
4459 
4466 
4473 
4488 
4497 
4507 
4513 
4521 
4534 
4545 
4546 // endregion -- End of ResourceLoader settings
4547 
4548 /***************************************************************************/
4549 // region Page titles and redirects
4557 
4566 
4573 
4601 
4609 
4632 
4657 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
4658 
4667 
4682 
4688  NS_TALK => true,
4689  NS_USER => true,
4690  NS_USER_TALK => true,
4691  NS_PROJECT => true,
4692  NS_PROJECT_TALK => true,
4693  NS_FILE_TALK => true,
4694  NS_MEDIAWIKI => true,
4695  NS_MEDIAWIKI_TALK => true,
4696  NS_TEMPLATE => true,
4697  NS_TEMPLATE_TALK => true,
4698  NS_HELP => true,
4699  NS_HELP_TALK => true,
4701 ];
4702 
4710 
4718 
4727 
4734 
4745 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4746 
4756 
4762 
4763 // endregion -- End of title and interwiki settings
4764 
4765 /***************************************************************************/
4766 // region Interwiki links and sites
4787 
4795 
4800 
4820 
4828 
4833 
4850 
4857  'mediawiki' => MediaWikiSite::class,
4858 ];
4859 
4860 // endregion -- Interwiki links and sites
4861 
4862 /***************************************************************************/
4863 // region Parser settings
4872 
4878 
4886 
4891 
4903  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4904  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4905  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4906  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4907 ];
4908 
4913 
4918 
4932 
4945 
4956 
4976 
4984 
4993 
4999 $wgRawHtml = false;
5000 
5011 
5019 
5025 
5039 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
5040 
5046 
5051 
5058 
5064 
5070 
5075 
5081 
5089  'ISBN' => false,
5090  'PMID' => false,
5091  'RFC' => false
5092 ];
5093 
5094 // endregion -- end of parser settings
5095 
5096 /***************************************************************************/
5097 // region Statistics and content analysis
5117 
5126 
5140 
5146 
5152 
5158 
5179 
5194 
5195 // endregion -- End of statistics and content analysis
5196 
5197 /***************************************************************************/
5198 // region User accounts, authentication
5207  'local' => [
5208  'class' => LocalIdLookup::class,
5209  'services' => [
5210  'MainConfig',
5211  'DBLoadBalancer',
5212  ]
5213  ],
5214 ];
5215 
5221 
5285  'policies' => [
5286  'bureaucrat' => [
5287  'MinimalPasswordLength' => 10,
5288  'MinimumPasswordLengthToLogin' => 1,
5289  ],
5290  'sysop' => [
5291  'MinimalPasswordLength' => 10,
5292  'MinimumPasswordLengthToLogin' => 1,
5293  ],
5294  'interface-admin' => [
5295  'MinimalPasswordLength' => 10,
5296  'MinimumPasswordLengthToLogin' => 1,
5297  ],
5298  'bot' => [
5299  'MinimalPasswordLength' => 10,
5300  'MinimumPasswordLengthToLogin' => 1,
5301  ],
5302  'default' => [
5303  'MinimalPasswordLength' => [ 'value' => 1, 'suggestChangeOnLogin' => true ],
5304  'PasswordCannotBeSubstringInUsername' => [
5305  'value' => true,
5306  'suggestChangeOnLogin' => true
5307  ],
5308  'PasswordCannotMatchDefaults' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
5309  'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true ],
5310  'PasswordNotInCommonList' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
5311  ],
5312  ],
5313  'checks' => [
5314  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
5315  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
5316  'PasswordCannotBeSubstringInUsername' =>
5317  'PasswordPolicyChecks::checkPasswordCannotBeSubstringInUsername',
5318  'PasswordCannotMatchDefaults' => 'PasswordPolicyChecks::checkPasswordCannotMatchDefaults',
5319  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
5320  'PasswordNotInCommonList' => 'PasswordPolicyChecks::checkPasswordNotInCommonList',
5321  ],
5322 ];
5323 
5344 
5350  'preauth' => [
5351  MediaWiki\Auth\ThrottlePreAuthenticationProvider::class => [
5352  'class' => MediaWiki\Auth\ThrottlePreAuthenticationProvider::class,
5353  'sort' => 0,
5354  ],
5355  ],
5356  'primaryauth' => [
5357  // TemporaryPasswordPrimaryAuthenticationProvider should come before
5358  // any other PasswordAuthenticationRequest-based
5359  // PrimaryAuthenticationProvider (or at least any that might return
5360  // FAIL rather than ABSTAIN for a wrong password), or password reset
5361  // won't work right. Do not remove this (or change the key) or
5362  // auto-configuration of other such providers in extensions will
5363  // probably auto-insert themselves in the wrong place.
5364  MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class => [
5365  'class' => MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class,
5366  'services' => [
5367  'DBLoadBalancer',
5368  ],
5369  'args' => [ [
5370  // Fall through to LocalPasswordPrimaryAuthenticationProvider
5371  'authoritative' => false,
5372  ] ],
5373  'sort' => 0,
5374  ],
5375  MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class => [
5376  'class' => MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class,
5377  'services' => [
5378  'DBLoadBalancer',
5379  ],
5380  'args' => [ [
5381  // Last one should be authoritative, or else the user will get
5382  // a less-than-helpful error message (something like "supplied
5383  // authentication info not supported" rather than "wrong
5384  // password") if it too fails.
5385  'authoritative' => true,
5386  ] ],
5387  'sort' => 100,
5388  ],
5389  ],
5390  'secondaryauth' => [
5391  MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class => [
5392  'class' => MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class,
5393  'sort' => 0,
5394  ],
5395  MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class => [
5396  'class' => MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class,
5397  'sort' => 100,
5398  ],
5399  // Linking during login is experimental, enable at your own risk - T134952
5400  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
5401  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
5402  // 'sort' => 100,
5403  // ],
5404  MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class => [
5405  'class' => MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class,
5406  'services' => [
5407  'DBLoadBalancer',
5408  ],
5409  'sort' => 200,
5410  ],
5411  ],
5412 ];
5413 
5422 $wgRememberMe = 'choose'; // RememberMeAuthenticationRequest::CHOOSE_REMEMBER
5423 
5463  'default' => 300,
5464 ];
5465 
5482  'default' => true,
5483 ];
5484 
5495  \MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::class
5496 ];
5497 
5508  \MediaWiki\Auth\PasswordAuthenticationRequest::class,
5509 ];
5510 
5517 
5530 
5537 
5547 
5568  'A' => [
5569  'class' => MWOldPassword::class,
5570  ],
5571  'B' => [
5572  'class' => MWSaltedPassword::class,
5573  ],
5574  'pbkdf2-legacyA' => [
5575  'class' => LayeredParameterizedPassword::class,
5576  'types' => [
5577  'A',
5578  'pbkdf2',
5579  ],
5580  ],
5581  'pbkdf2-legacyB' => [
5582  'class' => LayeredParameterizedPassword::class,
5583  'types' => [
5584  'B',
5585  'pbkdf2',
5586  ],
5587  ],
5588  'bcrypt' => [
5589  'class' => BcryptPassword::class,
5590  'cost' => 9,
5591  ],
5592  'pbkdf2' => [
5593  'class' => Pbkdf2Password::class,
5594  'algo' => 'sha512',
5595  'cost' => '30000',
5596  'length' => '64',
5597  ],
5598  'argon2' => [
5599  'class' => Argon2Password::class,
5600 
5601  // Algorithm used:
5602  // * 'argon2i' is optimized against side-channel attacks (PHP 7.2+)
5603  // * 'argon2id' is optimized against both side-channel and GPU cracking (PHP 7.3+)
5604  // * 'auto' to use best available algorithm. If you're using more than one server, be
5605  // careful when you're mixing PHP versions because newer PHP might generate hashes that
5606  // older versions might would not understand.
5607  'algo' => 'auto',
5608 
5609  // The parameters below are the same as options accepted by password_hash().
5610  // Set them to override that function's defaults.
5611  //
5612  // 'memory_cost' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
5613  // 'time_cost' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
5614  // 'threads' => PASSWORD_ARGON2_DEFAULT_THREADS,
5615  ],
5616 ];
5617 
5625  'username' => true,
5626  'email' => true,
5627 ];
5628 
5633 
5645 
5652 $wgSignatureAllowedLintErrors = [ 'obsolete-tag' ];
5653 
5659 
5666  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
5667  'Conversion script', // Used for the old Wikipedia software upgrade
5668  'Maintenance script', // Maintenance scripts which perform editing, image import script
5669  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
5670  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
5671  'Unknown user', // Used in WikiImporter & RevisionStore for revisions with no author and in User for invalid user id
5672  'msg:double-redirect-fixer', // Automatic double redirect fix
5673  'msg:usermessage-editor', // Default user for leaving user messages
5674  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
5675  'msg:sorbs', // For $wgEnableDnsBlacklist etc.
5676  'msg:spambot_username', // Used by cleanupSpam.php
5677  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
5678 ];
5679 
5687  'ccmeonemails' => 0,
5688  'date' => 'default',
5689  'diffonly' => 0,
5690  'disablemail' => 0,
5691  'editfont' => 'monospace',
5692  'editondblclick' => 0,
5693  'editsectiononrightclick' => 0,
5694  'email-allow-new-users' => 1,
5695  'enotifminoredits' => 0,
5696  'enotifrevealaddr' => 0,
5697  'enotifusertalkpages' => 1,
5698  'enotifwatchlistpages' => 1,
5699  'extendwatchlist' => 1,
5700  'fancysig' => 0,
5701  'forceeditsummary' => 0,
5702  'gender' => 'unknown',
5703  'hideminor' => 0,
5704  'hidepatrolled' => 0,
5705  'hidecategorization' => 1,
5706  'imagesize' => 2,
5707  'minordefault' => 0,
5708  'newpageshidepatrolled' => 0,
5709  'nickname' => '',
5710  'pst-cssjs' => 1,
5711  'norollbackdiff' => 0,
5712  'previewonfirst' => 0,
5713  'previewontop' => 1,
5714  'rcdays' => 7,
5715  'rcenhancedfilters-disable' => 0,
5716  'rclimit' => 50,
5717  'search-match-redirect' => true,
5718  'search-special-page' => 'Search',
5719  'showhiddencats' => 0,
5720  'shownumberswatching' => 1,
5721  'showrollbackconfirmation' => 0,
5722  'skin' => false,
5723  'thumbsize' => 5,
5724  'underline' => 2,
5725  'uselivepreview' => 0,
5726  'usenewrc' => 1,
5727  'watchcreations' => 1,
5728  'watchdefault' => 1,
5729  'watchdeletion' => 0,
5730  'watchuploads' => 1,
5731  'watchlistdays' => 7.0,
5732  'watchlisthideanons' => 0,
5733  'watchlisthidebots' => 0,
5734  'watchlisthideliu' => 0,
5735  'watchlisthideminor' => 0,
5736  'watchlisthideown' => 0,
5737  'watchlisthidepatrolled' => 0,
5738  'watchlisthidecategorization' => 1,
5739  'watchlistreloadautomatically' => 0,
5740  'watchlistunwatchlinks' => 0,
5741  'watchmoves' => 0,
5742  'watchrollback' => 0,
5743  'wlenhancedfilters-disable' => 0,
5744  'wllimit' => 250,
5745  'useeditwarning' => 1,
5746  'prefershttps' => 1,
5747  'requireemail' => 0,
5748  'skin-responsive' => 1,
5749 ];
5750 
5755 
5762 
5773 
5781 
5793 
5803  MediaWiki\Session\CookieSessionProvider::class => [
5804  'class' => MediaWiki\Session\CookieSessionProvider::class,
5805  'args' => [ [
5806  'priority' => 30,
5807  'callUserSetCookiesHook' => true,
5808  ] ],
5809  ],
5810  MediaWiki\Session\BotPasswordSessionProvider::class => [
5811  'class' => MediaWiki\Session\BotPasswordSessionProvider::class,
5812  'args' => [ [
5813  'priority' => 75,
5814  ] ],
5815  ],
5816 ];
5817 
5826 
5827 // endregion -- end user accounts
5828 
5829 /***************************************************************************/
5830 // region User rights, access control and monitoring
5837 
5846 
5862  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5863  'IPv6' => 19,
5864 ];
5865 
5874 
5882 
5904 
5932 
5938 
5944 
5970 
5972 // Implicit group for all visitors
5973 $wgGroupPermissions['*']['createaccount'] = true;
5974 $wgGroupPermissions['*']['read'] = true;
5975 $wgGroupPermissions['*']['edit'] = true;
5976 $wgGroupPermissions['*']['createpage'] = true;
5977 $wgGroupPermissions['*']['createtalk'] = true;
5978 $wgGroupPermissions['*']['writeapi'] = true;
5979 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5980 $wgGroupPermissions['*']['editmywatchlist'] = true;
5981 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5982 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5983 $wgGroupPermissions['*']['editmyoptions'] = true;
5984 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5985 
5986 // Implicit group for all logged-in accounts
5987 $wgGroupPermissions['user']['move'] = true;
5988 $wgGroupPermissions['user']['move-subpages'] = true;
5989 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5990 $wgGroupPermissions['user']['move-categorypages'] = true;
5991 $wgGroupPermissions['user']['movefile'] = true;
5992 $wgGroupPermissions['user']['read'] = true;
5993 $wgGroupPermissions['user']['edit'] = true;
5994 $wgGroupPermissions['user']['createpage'] = true;
5995 $wgGroupPermissions['user']['createtalk'] = true;
5996 $wgGroupPermissions['user']['writeapi'] = true;
5997 $wgGroupPermissions['user']['upload'] = true;
5998 $wgGroupPermissions['user']['reupload'] = true;
5999 $wgGroupPermissions['user']['reupload-shared'] = true;
6000 $wgGroupPermissions['user']['minoredit'] = true;
6001 $wgGroupPermissions['user']['editmyusercss'] = true;
6002 $wgGroupPermissions['user']['editmyuserjson'] = true;
6003 $wgGroupPermissions['user']['editmyuserjs'] = true;
6004 $wgGroupPermissions['user']['editmyuserjsredirect'] = true;
6005 $wgGroupPermissions['user']['purge'] = true;
6006 $wgGroupPermissions['user']['sendemail'] = true;
6007 $wgGroupPermissions['user']['applychangetags'] = true;
6008 $wgGroupPermissions['user']['changetags'] = true;
6009 $wgGroupPermissions['user']['editcontentmodel'] = true;
6010 
6011 // Implicit group for accounts that pass $wgAutoConfirmAge and $wgAutoConfirmCount
6012 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
6013 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
6014 
6015 // Users with bot privilege can have their edits hidden
6016 // from various log pages by default
6017 $wgGroupPermissions['bot']['bot'] = true;
6018 $wgGroupPermissions['bot']['autoconfirmed'] = true;
6019 $wgGroupPermissions['bot']['editsemiprotected'] = true;
6020 $wgGroupPermissions['bot']['nominornewtalk'] = true;
6021 $wgGroupPermissions['bot']['autopatrol'] = true;
6022 $wgGroupPermissions['bot']['suppressredirect'] = true;
6023 $wgGroupPermissions['bot']['apihighlimits'] = true;
6024 $wgGroupPermissions['bot']['writeapi'] = true;
6025 
6026 // Most extra permission abilities go to this group
6027 $wgGroupPermissions['sysop']['block'] = true;
6028 $wgGroupPermissions['sysop']['createaccount'] = true;
6029 $wgGroupPermissions['sysop']['delete'] = true;
6030 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
6031 $wgGroupPermissions['sysop']['bigdelete'] = true;
6032 // can view deleted history entries, but not see or restore the text
6033 $wgGroupPermissions['sysop']['deletedhistory'] = true;
6034 // can view deleted revision text
6035 $wgGroupPermissions['sysop']['deletedtext'] = true;
6036 $wgGroupPermissions['sysop']['undelete'] = true;
6037 $wgGroupPermissions['sysop']['editinterface'] = true;
6038 $wgGroupPermissions['sysop']['editsitejson'] = true;
6039 $wgGroupPermissions['sysop']['edituserjson'] = true;
6040 $wgGroupPermissions['sysop']['import'] = true;
6041 $wgGroupPermissions['sysop']['importupload'] = true;
6042 $wgGroupPermissions['sysop']['move'] = true;
6043 $wgGroupPermissions['sysop']['move-subpages'] = true;
6044 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
6045 $wgGroupPermissions['sysop']['move-categorypages'] = true;
6046 $wgGroupPermissions['sysop']['patrol'] = true;
6047 $wgGroupPermissions['sysop']['autopatrol'] = true;
6048 $wgGroupPermissions['sysop']['protect'] = true;
6049 $wgGroupPermissions['sysop']['editprotected'] = true;
6050 $wgGroupPermissions['sysop']['rollback'] = true;
6051 $wgGroupPermissions['sysop']['upload'] = true;
6052 $wgGroupPermissions['sysop']['reupload'] = true;
6053 $wgGroupPermissions['sysop']['reupload-shared'] = true;
6054 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
6055 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
6056 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
6057 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
6058 $wgGroupPermissions['sysop']['blockemail'] = true;
6059 $wgGroupPermissions['sysop']['markbotedits'] = true;
6060 $wgGroupPermissions['sysop']['apihighlimits'] = true;
6061 $wgGroupPermissions['sysop']['browsearchive'] = true;
6062 $wgGroupPermissions['sysop']['noratelimit'] = true;
6063 $wgGroupPermissions['sysop']['movefile'] = true;
6064 $wgGroupPermissions['sysop']['unblockself'] = true;
6065 $wgGroupPermissions['sysop']['suppressredirect'] = true;
6066 # $wgGroupPermissions['sysop']['pagelang'] = true;
6067 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
6068 $wgGroupPermissions['sysop']['mergehistory'] = true;
6069 $wgGroupPermissions['sysop']['managechangetags'] = true;
6070 $wgGroupPermissions['sysop']['deletechangetags'] = true;
6071 
6072 $wgGroupPermissions['interface-admin']['editinterface'] = true;
6073 $wgGroupPermissions['interface-admin']['editsitecss'] = true;
6074 $wgGroupPermissions['interface-admin']['editsitejson'] = true;
6075 $wgGroupPermissions['interface-admin']['editsitejs'] = true;
6076 $wgGroupPermissions['interface-admin']['editusercss'] = true;
6077 $wgGroupPermissions['interface-admin']['edituserjson'] = true;
6078 $wgGroupPermissions['interface-admin']['edituserjs'] = true;
6079 
6080 // Permission to change users' group assignments
6081 $wgGroupPermissions['bureaucrat']['userrights'] = true;
6082 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
6083 // Permission to change users' groups assignments across wikis
6084 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
6085 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
6086 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
6087 
6088 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
6089 # $wgGroupPermissions['sysop']['deleterevision'] = true;
6090 // To hide usernames from users and Sysops
6091 $wgGroupPermissions['suppress']['hideuser'] = true;
6092 // To hide revisions/log items from users and Sysops
6093 $wgGroupPermissions['suppress']['suppressrevision'] = true;
6094 // To view revisions/log items hidden from users and Sysops
6095 $wgGroupPermissions['suppress']['viewsuppressed'] = true;
6096 // For private suppression log access
6097 $wgGroupPermissions['suppress']['suppressionlog'] = true;
6098 // Basic rights for revision delete
6099 $wgGroupPermissions['suppress']['deleterevision'] = true;
6100 $wgGroupPermissions['suppress']['deletelogentry'] = true;
6101 
6108 # $wgGroupPermissions['developer']['siteadmin'] = true;
6109 
6122 
6142 
6146 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
6147 
6170 
6175 
6183 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
6184 
6196 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
6197 
6208 
6222 
6231 
6242 
6264 
6275 
6334  'autoconfirmed' => [ '&',
6337  ],
6338 ];
6339 
6359  'onEdit' => [],
6360 ];
6361 
6367 
6391 
6396 
6402 
6408 
6414 
6423 
6446  'count' => 0,
6447  'seconds' => 86400,
6448 ] ];
6449 
6462 
6467 
6474 
6498 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
6499 
6509 
6515 
6524 
6531 
6571  // Page edits
6572  'edit' => [
6573  'ip' => [ 8, 60 ],
6574  'newbie' => [ 8, 60 ],
6575  'user' => [ 90, 60 ],
6576  ],
6577  // Page moves
6578  'move' => [
6579  'newbie' => [ 2, 120 ],
6580  'user' => [ 8, 60 ],
6581  ],
6582  // File uploads
6583  'upload' => [
6584  'ip' => [ 8, 60 ],
6585  'newbie' => [ 8, 60 ],
6586  ],
6587  // Page rollbacks
6588  'rollback' => [
6589  'user' => [ 10, 60 ],
6590  'newbie' => [ 5, 120 ]
6591  ],
6592  // Triggering password resets emails
6593  'mailpassword' => [
6594  'ip' => [ 5, 3600 ],
6595  ],
6596  // Emailing other users using MediaWiki
6597  'emailuser' => [
6598  'ip' => [ 5, 86400 ],
6599  'newbie' => [ 5, 86400 ],
6600  'user' => [ 20, 86400 ],
6601  ],
6602  'changeemail' => [
6603  'ip-all' => [ 10, 3600 ],
6604  'user' => [ 4, 86400 ]
6605  ],
6606  // since 1.33 - rate limit email confirmations
6607  'confirmemail' => [
6608  'ip-all' => [ 10, 3600 ],
6609  'user' => [ 4, 86400 ]
6610  ],
6611  // Purging pages
6612  'purge' => [
6613  'ip' => [ 30, 60 ],
6614  'user' => [ 30, 60 ],
6615  ],
6616  // Purges of link tables
6617  'linkpurge' => [
6618  'ip' => [ 30, 60 ],
6619  'user' => [ 30, 60 ],
6620  ],
6621  // Files rendered via thumb.php or thumb_handler.php
6622  'renderfile' => [
6623  'ip' => [ 700, 30 ],
6624  'user' => [ 700, 30 ],
6625  ],
6626  // Same as above but for non-standard thumbnails
6627  'renderfile-nonstandard' => [
6628  'ip' => [ 70, 30 ],
6629  'user' => [ 70, 30 ],
6630  ],
6631  // Stashing edits into cache before save
6632  'stashedit' => [
6633  'ip' => [ 30, 60 ],
6634  'newbie' => [ 30, 60 ],
6635  ],
6636  // Adding or removing change tags
6637  'changetag' => [
6638  'ip' => [ 8, 60 ],
6639  'newbie' => [ 8, 60 ],
6640  ],
6641  // Changing the content model of a page
6642  'editcontentmodel' => [
6643  'newbie' => [ 2, 120 ],
6644  'user' => [ 8, 60 ],
6645  ],
6646 ];
6647 
6653 
6660 
6666 
6680  // Short term limit
6681  [ 'count' => 5, 'seconds' => 300 ],
6682  // Long term limit. We need to balance the risk
6683  // of somebody using this as a DoS attack to lock someone
6684  // out of their account, and someone doing a brute force attack.
6685  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
6686 ];
6687 
6699 
6700 // @TODO: clean up grants
6701 // @TODO: auto-include read/editsemiprotected rights?
6702 
6703 $wgGrantPermissions['basic']['autocreateaccount'] = true;
6704 $wgGrantPermissions['basic']['autoconfirmed'] = true;
6705 $wgGrantPermissions['basic']['autopatrol'] = true;
6706 $wgGrantPermissions['basic']['editsemiprotected'] = true;
6707 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
6708 $wgGrantPermissions['basic']['nominornewtalk'] = true;
6709 $wgGrantPermissions['basic']['patrolmarks'] = true;
6710 $wgGrantPermissions['basic']['purge'] = true;
6711 $wgGrantPermissions['basic']['read'] = true;
6712 $wgGrantPermissions['basic']['writeapi'] = true;
6713 $wgGrantPermissions['basic']['unwatchedpages'] = true;
6714 
6715 $wgGrantPermissions['highvolume']['bot'] = true;
6716 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
6717 $wgGrantPermissions['highvolume']['noratelimit'] = true;
6718 $wgGrantPermissions['highvolume']['markbotedits'] = true;
6719 
6720 $wgGrantPermissions['import']['import'] = true;
6721 $wgGrantPermissions['import']['importupload'] = true;
6722 
6723 $wgGrantPermissions['editpage']['edit'] = true;
6724 $wgGrantPermissions['editpage']['minoredit'] = true;
6725 $wgGrantPermissions['editpage']['applychangetags'] = true;
6726 $wgGrantPermissions['editpage']['changetags'] = true;
6727 $wgGrantPermissions['editpage']['editcontentmodel'] = true;
6728 
6729 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
6730 $wgGrantPermissions['editprotected']['editprotected'] = true;
6731 
6732 // FIXME: Rename editmycssjs to editmyconfig
6733 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
6734 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
6735 $wgGrantPermissions['editmycssjs']['editmyuserjson'] = true;
6736 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
6737 
6738 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
6739 $wgGrantPermissions['editmyoptions']['editmyuserjson'] = true;
6740 
6741 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
6742 $wgGrantPermissions['editinterface']['editinterface'] = true;
6743 $wgGrantPermissions['editinterface']['edituserjson'] = true;
6744 $wgGrantPermissions['editinterface']['editsitejson'] = true;
6745 
6746 $wgGrantPermissions['editsiteconfig'] = $wgGrantPermissions['editinterface'];
6747 $wgGrantPermissions['editsiteconfig']['editusercss'] = true;
6748 $wgGrantPermissions['editsiteconfig']['edituserjs'] = true;
6749 $wgGrantPermissions['editsiteconfig']['editsitecss'] = true;
6750 $wgGrantPermissions['editsiteconfig']['editsitejs'] = true;
6751 
6752 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
6753 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
6754 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
6755 $wgGrantPermissions['createeditmovepage']['delete-redirect'] = true;
6756 $wgGrantPermissions['createeditmovepage']['move'] = true;
6757 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
6758 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
6759 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
6760 $wgGrantPermissions['createeditmovepage']['suppressredirect'] = true;
6761 
6762 $wgGrantPermissions['uploadfile']['upload'] = true;
6763 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
6764 
6765 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
6766 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
6767 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
6768 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
6769 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
6770 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
6771 
6772 $wgGrantPermissions['patrol']['patrol'] = true;
6773 
6774 $wgGrantPermissions['rollback']['rollback'] = true;
6775 
6776 $wgGrantPermissions['blockusers']['block'] = true;
6777 $wgGrantPermissions['blockusers']['blockemail'] = true;
6778 
6779 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
6780 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
6781 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
6782 
6783 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
6784 
6785 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
6786  $wgGrantPermissions['viewdeleted'];
6787 $wgGrantPermissions['delete']['delete'] = true;
6788 $wgGrantPermissions['delete']['bigdelete'] = true;
6789 $wgGrantPermissions['delete']['deletelogentry'] = true;
6790 $wgGrantPermissions['delete']['deleterevision'] = true;
6791 $wgGrantPermissions['delete']['undelete'] = true;
6792 
6793 $wgGrantPermissions['oversight']['suppressrevision'] = true;
6794 $wgGrantPermissions['oversight']['viewsuppressed'] = true;
6795 
6796 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
6797 $wgGrantPermissions['protect']['protect'] = true;
6798 
6799 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
6800 
6801 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
6802 
6803 $wgGrantPermissions['sendemail']['sendemail'] = true;
6804 
6805 $wgGrantPermissions['createaccount']['createaccount'] = true;
6806 
6807 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
6808 
6809 $wgGrantPermissions['mergehistory']['mergehistory'] = true;
6810 
6816  // Hidden grants are implicitly present
6817  'basic' => 'hidden',
6818 
6819  'editpage' => 'page-interaction',
6820  'createeditmovepage' => 'page-interaction',
6821  'editprotected' => 'page-interaction',
6822  'patrol' => 'page-interaction',
6823 
6824  'uploadfile' => 'file-interaction',
6825  'uploadeditmovefile' => 'file-interaction',
6826 
6827  'sendemail' => 'email',
6828 
6829  'viewmywatchlist' => 'watchlist-interaction',
6830  'editviewmywatchlist' => 'watchlist-interaction',
6831 
6832  'editmycssjs' => 'customization',
6833  'editmyoptions' => 'customization',
6834 
6835  'editinterface' => 'administration',
6836  'editsiteconfig' => 'administration',
6837  'rollback' => 'administration',
6838  'blockusers' => 'administration',
6839  'delete' => 'administration',
6840  'viewdeleted' => 'administration',
6841  'viewrestrictedlogs' => 'administration',
6842  'protect' => 'administration',
6843  'oversight' => 'administration',
6844  'createaccount' => 'administration',
6845  'mergehistory' => 'administration',
6846  'import' => 'administration',
6847 
6848  'highvolume' => 'high-volume',
6849 
6850  'privateinfo' => 'private-information',
6851 ];
6852 
6858 
6865 
6875 
6876 // endregion -- end of user rights settings
6877 
6878 /***************************************************************************/
6879 // region Security
6882 // This section is for miscellaneous security settings.
6883 // For password restrictions and encryption settings, see the section
6884 // "User accounts, authentication".
6885 
6890 
6897 
6904 
6912 
6917 
6922 
6928 
6949 
6961 
6985 
6993 
7003  'https://3hub.co' => true,
7004  'https://morepro.info' => true,
7005  'https://p.ato.mx' => true,
7006  'https://s.ato.mx' => true,
7007  'https://adserver.adtech.de' => true,
7008  'https://ums.adtechus.com' => true,
7009  'https://cas.criteo.com' => true,
7010  'https://cat.nl.eu.criteo.com' => true,
7011  'https://atpixel.alephd.com' => true,
7012  'https://rtb.metrigo.com' => true,
7013  'https://d5p.de17a.com' => true,
7014  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
7015  'https://ad.lkqd.net/vpaid/vpaid.js?fusion=1.0' => true,
7016  'https://t.lkqd.net/t' => true,
7017  'chrome-extension' => true,
7018 ];
7019 
7029 
7045 
7053 
7062 
7072 
7079 $wgHKDFAlgorithm = 'sha256';
7080 
7081 // endregion -- end of security
7082 
7083 /***************************************************************************/
7084 // region Cookie settings
7090 $wgCookieExpiration = 30 * 86400;
7091 
7099 
7105 
7111 
7122 $wgCookieSecure = 'detect';
7123 
7131 
7138 
7145 
7157 
7167 
7172 
7177 
7186 
7195 
7196 // endregion -- end of cookie settings
7197 
7198 /***************************************************************************/
7199 // region Profiling, testing and debugging
7201 // See $wgProfiler for how to enable profiling.
7202 
7209 
7214 
7221 
7228 
7238 
7247 
7254  // HTTP GET/HEAD requests.
7255  // Primary queries should not happen on GET requests
7256  'GET' => [
7257  'masterConns' => 0,
7258  'writes' => 0,
7259  'readQueryTime' => 5,
7260  'readQueryRows' => 10000
7261  ],
7262  // HTTP POST requests.
7263  // Primary reads and writes will happen for a subset of these.
7264  'POST' => [
7265  'readQueryTime' => 5,
7266  'writeQueryTime' => 1,
7267  'readQueryRows' => 100000,
7268  'maxAffected' => 1000
7269  ],
7270  'POST-nonwrite' => [
7271  'writes' => 0,
7272  'readQueryTime' => 5,
7273  'readQueryRows' => 10000
7274  ],
7275  // Deferred updates that run after HTTP response is sent for GET requests
7276  'PostSend-GET' => [
7277  'readQueryTime' => 5,
7278  'writeQueryTime' => 1,
7279  'readQueryRows' => 10000,
7280  'maxAffected' => 1000,
7281  // Log primary queries under the post-send entry point as they are discouraged
7282  'masterConns' => 0,
7283  'writes' => 0,
7284  ],
7285  // Deferred updates that run after HTTP response is sent for POST requests
7286  'PostSend-POST' => [
7287  'readQueryTime' => 5,
7288  'writeQueryTime' => 1,
7289  'readQueryRows' => 100000,
7290  'maxAffected' => 1000
7291  ],
7292  // Background job runner
7293  'JobRunner' => [
7294  'readQueryTime' => 30,
7295  'writeQueryTime' => 5,
7296  'readQueryRows' => 100000,
7297  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
7298  ],
7299  // Command-line scripts
7300  'Maintenance' => [
7301  'writeQueryTime' => 5,
7302  'maxAffected' => 1000
7303  ]
7304 ];
7305 
7337 
7360  'class' => \MediaWiki\Logger\LegacySpi::class,
7361 ];
7362 
7369 
7374 
7382 
7387 
7393 
7398 
7405 
7411 
7418 
7486 
7498 
7507 
7515 
7527 
7538 
7549 $wgMetricsPrefix = 'mediawiki';
7550 
7557 
7572 
7577 
7583 
7592 
7593 // endregion -- end of profiling, testing and debugging
7594 
7595 /***************************************************************************/
7596 // region Search
7603 
7609 
7614 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
7615 
7627 
7637  'application/x-suggestions+json' => false,
7638  'application/x-suggestions+xml' => false,
7639 ];
7640 
7648 
7654 
7659 
7664 
7670 
7681  NS_MAIN => true,
7682 ];
7683 
7689 
7706 
7713 
7729 
7736 
7747 
7758 
7767 
7768 // endregion -- end of search settings
7769 
7770 /***************************************************************************/
7771 // region Edit user interface
7778 $wgDiff3 = '/usr/bin/diff3';
7779 
7783 $wgDiff = '/usr/bin/diff';
7784 
7791  NS_CATEGORY => true
7792 ];
7793 
7800 
7807 
7808 // endregion -- end edit UI
7809 
7810 /***************************************************************************/
7811 // region Maintenance
7813 // See also $wgSiteNotice
7814 
7819 if ( !isset( $wgCommandLineMode ) ) {
7820  $wgCommandLineMode = false;
7821 }
7828 
7838 
7845 
7854 
7865 
7869 $wgGitBin = '/usr/bin/git';
7870 
7885  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
7886  'https://gerrit.wikimedia.org/g/%R/+/%H',
7887  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
7888  'https://gerrit.wikimedia.org/g/%R/+/%H',
7889 ];
7890 
7891 // endregion -- End of maintenance
7892 
7893 /***************************************************************************/
7894 // region Recent changes, new pages, watchlist and history
7902 $wgRCMaxAge = 90 * 24 * 3600;
7903 
7909 $wgWatchersMaxAge = 180 * 24 * 3600;
7910 
7918 
7927 
7932 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
7933 
7940 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
7941 
8003 
8010  'redis' => RedisPubSubFeedEngine::class,
8011  'udp' => UDPRCFeedEngine::class,
8012 ];
8013 
8026 
8036 
8043 
8052 
8063 
8067 $wgFeed = true;
8068 
8074 
8084 
8090 
8104 
8111  'rss' => RSSFeed::class,
8112  'atom' => AtomFeed::class,
8113 ];
8114 
8120 
8125 
8130 
8137 
8143 
8149 
8155 
8176  'mw-contentmodelchange' => true,
8177  'mw-new-redirect' => true,
8178  'mw-removed-redirect' => true,
8179  'mw-changed-redirect-target' => true,
8180  'mw-blank' => true,
8181  'mw-replace' => true,
8182  'mw-rollback' => true,
8183  'mw-undo' => true,
8184  'mw-manual-revert' => true,
8185  'mw-reverted' => true,
8186  'mw-server-side-upload' => true,
8187  'mw-add-media' => false,
8188  'mw-remove-media' => false,
8189 ];
8190 
8199 
8225  'newpage' => [
8226  'letter' => 'newpageletter',
8227  'title' => 'recentchanges-label-newpage',
8228  'legend' => 'recentchanges-legend-newpage',
8229  'grouping' => 'any',
8230  ],
8231  'minor' => [
8232  'letter' => 'minoreditletter',
8233  'title' => 'recentchanges-label-minor',
8234  'legend' => 'recentchanges-legend-minor',
8235  'class' => 'minoredit',
8236  'grouping' => 'all',
8237  ],
8238  'bot' => [
8239  'letter' => 'boteditletter',
8240  'title' => 'recentchanges-label-bot',
8241  'legend' => 'recentchanges-legend-bot',
8242  'class' => 'botedit',
8243  'grouping' => 'all',
8244  ],
8245  'unpatrolled' => [
8246  'letter' => 'unpatrolledletter',
8247  'title' => 'recentchanges-label-unpatrolled',
8248  'legend' => 'recentchanges-legend-unpatrolled',
8249  'grouping' => 'any',
8250  ],
8251 ];
8252 
8260 
8273 
8289 
8290 // endregion -- end RC/watchlist
8291 
8292 /***************************************************************************/
8293 // region Copyright and credits settings
8304 
8311 
8319 
8324 
8329 
8338 
8344 
8345 // endregion -- end of copyright and credits settings
8346 
8347 /***************************************************************************/
8348 // region Import / Export
8374 
8383 
8390 
8397 
8402 
8415 
8420 
8425 
8433 
8439 
8440 // endregion -- end of import/export
8441 
8442 /***************************************************************************/
8443 // region Extensions
8451 
8479 
8506 
8513 
8529 
8534 
8560 
8568 
8573 
8582 
8642 
8679 
8692  __DIR__ . '/ServiceWiring.php'
8693 ];
8694 
8703  'deletePage' => DeletePageJob::class,
8704  'refreshLinks' => RefreshLinksJob::class,
8705  'deleteLinks' => DeleteLinksJob::class,
8706  'htmlCacheUpdate' => HTMLCacheUpdateJob::class,
8707  'sendMail' => EmaillingJob::class,
8708  'enotifNotify' => EnotifNotifyJob::class,
8709  'fixDoubleRedirect' => DoubleRedirectJob::class,
8710  'AssembleUploadChunks' => AssembleUploadChunksJob::class,
8711  'PublishStashedFile' => PublishStashedFileJob::class,
8712  'ThumbnailRender' => ThumbnailRenderJob::class,
8713  'recentChangesUpdate' => RecentChangesUpdateJob::class,
8714  'refreshLinksPrioritized' => RefreshLinksJob::class,
8715  'refreshLinksDynamic' => RefreshLinksJob::class,
8716  'activityUpdateJob' => ActivityUpdateJob::class,
8717  'categoryMembershipChange' => CategoryMembershipChangeJob::class,
8718  'clearUserWatchlist' => ClearUserWatchlistJob::class,
8719  'watchlistExpiry' => WatchlistExpiryJob::class,
8720  'cdnPurge' => CdnPurgeJob::class,
8721  'userGroupExpiry' => UserGroupExpiryJob::class,
8722  'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class,
8723  'userOptionsUpdate' => UserOptionsUpdateJob::class,
8724  'revertedTagUpdate' => RevertedTagUpdateJob::class,
8725  'enqueue' => EnqueueJob::class, // local queue for multi-DC setups
8726  'null' => NullJob::class,
8727  'userEditCountInit' => UserEditCountInitJob::class,
8728 ];
8729 
8741 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
8742 
8753 
8768 
8776  'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
8777 ];
8778 
8791 
8797  'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
8798 ];
8799 
8808  'hiddencat' => 'categorylinks',
8809 ];
8810 
8811 // endregion -- End extensions
8812 
8813 /***************************************************************************/
8814 // region Categories
8822 
8827 
8853 $wgCategoryCollation = 'uppercase';
8854 
8865 
8882 
8883 // endregion -- End categories
8884 
8885 /***************************************************************************/
8886 // region Logging
8899  '',
8900  'block',
8901  'protect',
8902  'rights',
8903  'delete',
8904  'upload',
8905  'move',
8906  'import',
8907  'patrol',
8908  'merge',
8909  'suppress',
8910  'tag',
8911  'managetags',
8912  'contentmodel',
8913 ];
8914 
8923  'suppress' => 'suppressionlog'
8924 ];
8925 
8946  'patrol' => true,
8947  'tag' => true,
8948  'newusers' => false,
8949 ];
8950 
8961  '' => 'all-logs-page',
8962  'block' => 'blocklogpage',
8963  'protect' => 'protectlogpage',
8964  'rights' => 'rightslog',
8965  'delete' => 'dellogpage',
8966  'upload' => 'uploadlogpage',
8967  'move' => 'movelogpage',
8968  'import' => 'importlogpage',
8969  'patrol' => 'patrol-log-page',
8970  'merge' => 'mergelog',
8971  'suppress' => 'suppressionlog',
8972 ];
8973 
8984  '' => 'alllogstext',
8985  'block' => 'blocklogtext',
8986  'delete' => 'dellogpagetext',
8987  'import' => 'importlogpagetext',
8988  'merge' => 'mergelogpagetext',
8989  'move' => 'movelogpagetext',
8990  'patrol' => 'patrol-log-header',
8991  'protect' => 'protectlogtext',
8992  'rights' => 'rightslogtext',
8993  'suppress' => 'suppressionlogtext',
8994  'upload' => 'uploadlogpagetext',
8995 ];
8996 
9004 
9012  'block/block' => BlockLogFormatter::class,
9013  'block/reblock' => BlockLogFormatter::class,
9014  'block/unblock' => BlockLogFormatter::class,
9015  'contentmodel/change' => ContentModelLogFormatter::class,
9016  'contentmodel/new' => ContentModelLogFormatter::class,
9017  'delete/delete' => DeleteLogFormatter::class,
9018  'delete/delete_redir' => DeleteLogFormatter::class,
9019  'delete/delete_redir2' => DeleteLogFormatter::class,
9020  'delete/event' => DeleteLogFormatter::class,
9021  'delete/restore' => DeleteLogFormatter::class,
9022  'delete/revision' => DeleteLogFormatter::class,
9023  'import/interwiki' => ImportLogFormatter::class,
9024  'import/upload' => ImportLogFormatter::class,
9025  'managetags/activate' => LogFormatter::class,
9026  'managetags/create' => LogFormatter::class,
9027  'managetags/deactivate' => LogFormatter::class,
9028  'managetags/delete' => LogFormatter::class,
9029  'merge/merge' => MergeLogFormatter::class,
9030  'move/move' => MoveLogFormatter::class,
9031  'move/move_redir' => MoveLogFormatter::class,
9032  'patrol/patrol' => PatrolLogFormatter::class,
9033  'patrol/autopatrol' => PatrolLogFormatter::class,
9034  'protect/modify' => ProtectLogFormatter::class,
9035  'protect/move_prot' => ProtectLogFormatter::class,
9036  'protect/protect' => ProtectLogFormatter::class,
9037  'protect/unprotect' => ProtectLogFormatter::class,
9038  'rights/autopromote' => RightsLogFormatter::class,
9039  'rights/rights' => RightsLogFormatter::class,
9040  'suppress/block' => BlockLogFormatter::class,
9041  'suppress/delete' => DeleteLogFormatter::class,
9042  'suppress/event' => DeleteLogFormatter::class,
9043  'suppress/reblock' => BlockLogFormatter::class,
9044  'suppress/revision' => DeleteLogFormatter::class,
9045  'tag/update' => TagLogFormatter::class,
9046  'upload/overwrite' => UploadLogFormatter::class,
9047  'upload/revert' => UploadLogFormatter::class,
9048  'upload/upload' => UploadLogFormatter::class,
9049 ];
9050 
9060  'block' => [
9061  'block' => [ 'block' ],
9062  'reblock' => [ 'reblock' ],
9063  'unblock' => [ 'unblock' ],
9064  ],
9065  'contentmodel' => [
9066  'change' => [ 'change' ],
9067  'new' => [ 'new' ],
9068  ],
9069  'delete' => [
9070  'delete' => [ 'delete' ],
9071  'delete_redir' => [ 'delete_redir', 'delete_redir2' ],
9072  'restore' => [ 'restore' ],
9073  'event' => [ 'event' ],
9074  'revision' => [ 'revision' ],
9075  ],
9076  'import' => [
9077  'interwiki' => [ 'interwiki' ],
9078  'upload' => [ 'upload' ],
9079  ],
9080  'managetags' => [
9081  'create' => [ 'create' ],
9082  'delete' => [ 'delete' ],
9083  'activate' => [ 'activate' ],
9084  'deactivate' => [ 'deactivate' ],
9085  ],
9086  'move' => [
9087  'move' => [ 'move' ],
9088  'move_redir' => [ 'move_redir' ],
9089  ],
9090  'newusers' => [
9091  'create' => [ 'create', 'newusers' ],
9092  'create2' => [ 'create2' ],
9093  'autocreate' => [ 'autocreate' ],
9094  'byemail' => [ 'byemail' ],
9095  ],
9096  'protect' => [
9097  'protect' => [ 'protect' ],
9098  'modify' => [ 'modify' ],
9099  'unprotect' => [ 'unprotect' ],
9100  'move_prot' => [ 'move_prot' ],
9101  ],
9102  'rights' => [
9103  'rights' => [ 'rights' ],
9104  'autopromote' => [ 'autopromote' ],
9105  ],
9106  'suppress' => [
9107  'event' => [ 'event' ],
9108  'revision' => [ 'revision' ],
9109  'delete' => [ 'delete' ],
9110  'block' => [ 'block' ],
9111  'reblock' => [ 'reblock' ],
9112  ],
9113  'upload' => [
9114  'upload' => [ 'upload' ],
9115  'overwrite' => [ 'overwrite' ],
9116  'revert' => [ 'revert' ],
9117  ],
9118 ];
9119 
9124 
9130 
9131 // endregion -- end logging
9132 
9133 /***************************************************************************/
9134 // region Special pages (general and miscellaneous)
9141 
9148 
9154 
9160 
9169  'IPv4' => 16,
9170  'IPv6' => 32,
9171 ];
9172 
9173 // endregion -- end special pages
9174 
9175 /***************************************************************************/
9176 // region Actions
9185 
9186 // endregion -- end actions
9187 
9188 /***************************************************************************/
9189 // region Robot (search engine crawler) policy
9191 // See also $wgNoFollowLinks.
9192 
9198 $wgDefaultRobotPolicy = 'index,follow';
9199 
9215 
9243 
9255 
9256 // endregion End robot policy
9257 
9258 /***************************************************************************/
9259 // region Action API and REST API
9276 $wgDebugAPI = false;
9277 
9315 
9324 
9333 
9342 
9351 
9357 
9363 
9369 
9376 
9382 
9387 
9393  'MIMEsearch', // aiprop=mime
9394  'LinkSearch', // list=exturlusage
9395 ];
9396 
9403 
9408 
9430 
9437 
9442  /* simple headers (see spec) */
9443  'Accept',
9444  'Accept-Language',
9445  'Content-Language',
9446  'Content-Type',
9447  /* non-authorable headers in XHR, which are however requested by some UAs */
9448  'Accept-Encoding',
9449  'DNT',
9450  'Origin',
9451  /* MediaWiki whitelist */
9452  'User-Agent',
9453  'Api-User-Agent',
9454  /* Allowing caching preflight requests, see T269636 */
9455  'Access-Control-Max-Age',
9456 ];
9457 
9464 
9465 // endregion -- End AJAX and API
9466 
9467 /***************************************************************************/
9468 // region Shell and process control
9475 
9481 
9486 
9492 
9517 
9521 $wgPhpCli = '/usr/bin/php';
9522 
9538 
9543 
9557 $wgShellboxUrls = [ 'default' => null ];
9558 
9567 
9568 // endregion -- end Shell and process control
9569 
9570 /***************************************************************************/
9571 // region HTTP client
9581 
9591 
9600 
9609 
9615 
9620 
9625 
9642 
9656 
9663 
9664 // endregion -- End HTTP client
9665 
9666 /***************************************************************************/
9667 // region Job queue
9677 
9686 
9691 
9696 
9697 // endregion -- End job queue
9698 
9699 /***************************************************************************/
9700 // region Miscellaneous
9708 
9747  'paths' => [],
9748  'modules' => [],
9749  'global' => [
9750  # Timeout in seconds
9751  'timeout' => 360,
9752  # 'domain' is set to $wgCanonicalServer in Setup.php
9753  'forwardCookies' => false,
9754  'HTTPProxy' => null
9755  ]
9756 ];
9757 
9778  'default' => [
9779  'class' => EventRelayerNull::class,
9780  ]
9781 ];
9782 
9800 $wgPingback = false;
9801 
9809 
9819 
9829 
9839 
9849 
9859 
9870 
9871 /*
9872  * This file uses VisualStudio style region/endregion fold markers which are
9873  * recognised by PHPStorm. If modelines are enabled, the following editor
9874  * configuration will also enable folding in vim, if it is in the last 5 lines
9875  * of the file. We also use "@name" which creates sections in Doxygen.
9876  *
9877  * vim: foldmarker=//\ region,//\ endregion foldmethod=marker
9878  */
9879 // endregion
$wgSend404Code
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
Definition: DefaultSettings.php:3972
$wgConf
$wgConf
$wgConf hold the site configuration.
Definition: DefaultSettings.php:58
$wgNonincludableNamespaces
$wgNonincludableNamespaces
Pages in namespaces in this array can not be used as templates.
Definition: DefaultSettings.php:6241
$wgEventRelayerConfig
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
Definition: DefaultSettings.php:9777
$wgInterwikiScopes
$wgInterwikiScopes
Specify number of domains to check for messages.
Definition: DefaultSettings.php:4827
$wgActionFilteredLogs
$wgActionFilteredLogs
List of log types that can be filtered by action types.
Definition: DefaultSettings.php:9059
$wgHiddenPrefs
$wgHiddenPrefs
An array of preferences to not show for the user.
Definition: DefaultSettings.php:5754
$wgMemCachedServers
$wgMemCachedServers
The list of MemCached servers and port numbers.
Definition: DefaultSettings.php:3033
$wgAppleTouchIcon
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
Definition: DefaultSettings.php:409
$wgDjvuTxt
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
Definition: DefaultSettings.php:1809
$wgSharedUploadDirectory
string $wgSharedUploadDirectory
Shortcut for the 'directory' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:770
$wgCdnMaxageStale
$wgCdnMaxageStale
Cache timeout when delivering a stale ParserCache response due to PoolCounter contention.
Definition: DefaultSettings.php:3294
$wgAdditionalMailParams
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
Definition: DefaultSettings.php:1946
$wgFeedLimit
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
Definition: DefaultSettings.php:8073
$wgDebugRedirects
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
Definition: DefaultSettings.php:7220
APCOND_AGE
const APCOND_AGE
Definition: Defines.php:179
$wgRCLinkLimits
$wgRCLinkLimits
List of Limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7932
$wgAllowJavaUploads
$wgAllowJavaUploads
Allow Java archive uploads.
Definition: DefaultSettings.php:1156
$wgPhpCli
$wgPhpCli
Executable path of the PHP cli binary.
Definition: DefaultSettings.php:9521
$wgActions
$wgActions
Array of allowed values for the "title=foo&action=<action>" parameter.
Definition: DefaultSettings.php:9184
$wgUpdateCompatibleMetadata
$wgUpdateCompatibleMetadata
Shortcut for the 'updateCompatibleMetadata' setting of $wgLocalFileRepo.
Definition: DefaultSettings.php:974
$wgUseAutomaticEditSummaries
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
Definition: DefaultSettings.php:7806
$wgAuthManagerConfig
$wgAuthManagerConfig
Configure AuthManager.
Definition: DefaultSettings.php:5343
AV_VIRUS_FOUND
const AV_VIRUS_FOUND
Definition: Defines.php:96
$wgPingback
bool $wgPingback
Share data about this installation with MediaWiki developers.
Definition: DefaultSettings.php:9800
$wgElementTiming
bool $wgElementTiming
Enable Element Timing.
Definition: DefaultSettings.php:9838
$wgAPIListModules
$wgAPIListModules
API Query list module extensions.
Definition: DefaultSettings.php:9350
$wgUseTagFilter
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined.
Definition: DefaultSettings.php:8154
$wgProxyWhitelist
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
Definition: DefaultSettings.php:6514
$wgLocalVirtualHosts
$wgLocalVirtualHosts
Local virtual hosts.
Definition: DefaultSettings.php:9641
$wgSitemapNamespacesPriorities
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Definition: DefaultSettings.php:7728
$wgNamespaceContentModels
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
Definition: DefaultSettings.php:2464
$wgMaxCredits
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
Definition: DefaultSettings.php:8337
$wgUseCdn
$wgUseCdn
Enable/disable CDN.
Definition: DefaultSettings.php:3247
$wgAPIMaxUncachedDiffs
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
Definition: DefaultSettings.php:9368
$wgChangeCredentialsBlacklist
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
Definition: DefaultSettings.php:5494
$wgProxyList
$wgProxyList
Big list of banned IP addresses.
Definition: DefaultSettings.php:6508
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:71
$wgThumbLimits
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
Definition: DefaultSettings.php:1657
$wgLocalDatabases
string[] $wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Definition: DefaultSettings.php:2355
$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:7002
$wgRestAPIAdditionalRouteFiles
$wgRestAPIAdditionalRouteFiles
Additional REST API Route files.
Definition: DefaultSettings.php:9463
$wgMaximalPasswordLength
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
Definition: DefaultSettings.php:5529
$wgIncludeLegacyJavaScript
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
Definition: DefaultSettings.php:4472
$wgDBserver
$wgDBserver
Database host name or IP address.
Definition: DefaultSettings.php:2090
CACHE_ANYTHING
const CACHE_ANYTHING
Definition: Defines.php:85
$wgDisableHardRedirects
$wgDisableHardRedirects
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected f...
Definition: DefaultSettings.php:4755
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:72
$wgTempCategoryCollations
$wgTempCategoryCollations
Additional category collations to store during LinksUpdate.
Definition: DefaultSettings.php:8864
MEDIATYPE_AUDIO
const MEDIATYPE_AUDIO
Definition: defines.php:32
$wgBotPasswordsDatabase
string bool $wgBotPasswordsDatabase
Database name for the bot_passwords table.
Definition: DefaultSettings.php:6874
$wgRCLinkDays
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7940
$wgMangleFlashPolicy
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
Definition: DefaultSettings.php:4001
$wgMimeType
$wgMimeType
The default Content-Type header.
Definition: DefaultSettings.php:3747
$wgCdnServers
$wgCdnServers
List of proxy servers to purge on changes; default port is 80.
Definition: DefaultSettings.php:3336
$wgMaxArticleSize
$wgMaxArticleSize
Maximum article size in kibibytes.
Definition: DefaultSettings.php:2672
$wgAPIModules
$wgAPIModules
API module extensions.
Definition: DefaultSettings.php:9314
$wgDisabledVariants
$wgDisabledVariants
Disabled variants array of language variant conversion.
Definition: DefaultSettings.php:3621
$wgFixDoubleRedirects
$wgFixDoubleRedirects
Fix double redirects after a page move.
Definition: DefaultSettings.php:4761
$wgNewPasswordExpiry
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
Definition: DefaultSettings.php:1905
$wgJobTypeConf
$wgJobTypeConf
Map of job types to configuration arrays.
Definition: DefaultSettings.php:8775
$wgPageCreationLog
$wgPageCreationLog
Maintain a log of page creations at Special:Log/create?
Definition: DefaultSettings.php:9129
$wgExemptFromUserRobotsControl
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
Definition: DefaultSettings.php:9254
$wgHKDFAlgorithm
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:7079
$wgStyleSheetPath
$wgStyleSheetPath
URL of the server.
Definition: DefaultSettings.php:227
$wgResourceLoaderEnableJSProfiler
$wgResourceLoaderEnableJSProfiler
When enabled, execution of JavaScript modules is profiled client-side.
Definition: DefaultSettings.php:4506
$wgResponsiveImages
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
Definition: DefaultSettings.php:1775
$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
Definition: DefaultSettings.php:3190
$wgRestPath
$wgRestPath
The URL path to the REST API Defaults to "{$wgScriptPath}/rest.php".
Definition: DefaultSettings.php:219
$wgAuthManagerAutoConfig
$wgAuthManagerAutoConfig
Definition: DefaultSettings.php:5349
$wgAjaxLicensePreview
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
Definition: DefaultSettings.php:9407
SiteConfiguration
This is a class for holding configuration settings, particularly for multi-wiki sites.
Definition: SiteConfiguration.php:129
$wgDebugRawPage
$wgDebugRawPage
If true, log debugging data from action=raw and load.php.
Definition: DefaultSettings.php:7227
$wgCanonicalNamespaceNames
$wgCanonicalNamespaceNames
Canonical namespace names.
Definition: DefaultSettings.php:4572
$wgTmpDirectory
$wgTmpDirectory
The local filesystem path to a temporary directory.
Definition: DefaultSettings.php:452
$wgRightsText
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
Definition: DefaultSettings.php:8318
$wgEnotifMinorEdits
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
Definition: DefaultSettings.php:2023
$wgDBname
$wgDBname
Current wiki database name.
Definition: DefaultSettings.php:2065
$wgRevokePermissions
$wgRevokePermissions
Permission keys revoked from users in each group.
Definition: DefaultSettings.php:6121
$wgMaximumMovedPages
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
Definition: DefaultSettings.php:2741
$wgHTMLFormAllowTableFormat
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
Definition: DefaultSettings.php:3766
$wgCopyUploadsDomains
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
Definition: DefaultSettings.php:988
$wgBlockAllowsUTEdit
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
Definition: DefaultSettings.php:5845
$wgEdititis
$wgEdititis
Display user edit counts in various prominent places.
Definition: DefaultSettings.php:3959
$wgMetricsPrefix
$wgMetricsPrefix
Metrics service name prefix.
Definition: DefaultSettings.php:7549
$wgSharedTables
$wgSharedTables
Definition: DefaultSettings.php:2230
$wgSharedSchema
$wgSharedSchema
Definition: DefaultSettings.php:2236
$wgExternalInterwikiFragmentMode
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
Definition: DefaultSettings.php:3900
$wgLegacyEncoding
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
Definition: DefaultSettings.php:3552
$wgFeedCacheTimeout
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
Definition: DefaultSettings.php:8083
$wgJpegPixelFormat
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
Definition: DefaultSettings.php:1325
$wgShowUpdatedMarker
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
Definition: DefaultSettings.php:8142
$wgRedirectOnLogin
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
Definition: DefaultSettings.php:9707
$wgMimeInfoFile
$wgMimeInfoFile
Sets the MIME type info file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1599
$wgLogHeaders
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Definition: DefaultSettings.php:8983
$wgStatsdSamplingRates
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Definition: DefaultSettings.php:7514
$wgExiftool
$wgExiftool
Path to exiftool binary.
Definition: DefaultSettings.php:1347
$wgLegalTitleChars
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
Definition: DefaultSettings.php:4657
$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:8752
$wgDiff3
$wgDiff3
Path to the GNU diff3 utility.
Definition: DefaultSettings.php:7778
$wgExperiencedUserMemberSince
$wgExperiencedUserMemberSince
Number of days the user must exist before becoming "experienced".
Definition: DefaultSettings.php:5157
$wgPasswordDefault
$wgPasswordDefault
Default password type to use when hashing user passwords.
Definition: DefaultSettings.php:5546
$wgSearchTypeAlternatives
$wgSearchTypeAlternatives
Alternative search types.
Definition: DefaultSettings.php:2167
$wgUsersNotifiedOnAllChanges
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
Definition: DefaultSettings.php:2049
$wgWhitelistReadRegexp
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
Definition: DefaultSettings.php:5931
$wgMaxTemplateDepth
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Definition: DefaultSettings.php:4885
$wgSharpenParameter
$wgSharpenParameter
Sharpening parameter to ImageMagick.
Definition: DefaultSettings.php:1272
$wgEnotifFromEditor
bool $wgEnotifFromEditor
Allow sending of e-mail notifications with the editor's address as sender.
Definition: DefaultSettings.php:1965
$wgScript
$wgScript
The URL path to index.php.
Definition: DefaultSettings.php:204
$wgDBport
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
Definition: DefaultSettings.php:2095
$wgCookiePath
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
Definition: DefaultSettings.php:7110
$wgHTCPMulticastTTL
$wgHTCPMulticastTTL
HTCP multicast TTL.
Definition: DefaultSettings.php:3422
$wgDBtype
$wgDBtype
Database type.
Definition: DefaultSettings.php:2110
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:79
$wgDisableQueryPages
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
Definition: DefaultSettings.php:2647
true
return true
Definition: router.php:90
$wgWatchlistExpiryMaxDuration
string null $wgWatchlistExpiryMaxDuration
Relative maximum duration for watchlist expiries, as accepted by strtotime().
Definition: DefaultSettings.php:8288
$wgTranscludeCacheExpiry
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in object cache.
Definition: DefaultSettings.php:5080
$wgSharedDB
$wgSharedDB
Shared database for multiple wikis.
Definition: DefaultSettings.php:2219
$wgPasswordResetRoutes
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
Definition: DefaultSettings.php:5624
$wgSVGMaxSize
$wgSVGMaxSize
Don't scale a SVG larger than this.
Definition: DefaultSettings.php:1383
$wgHideInterlanguageLinks
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
Definition: DefaultSettings.php:3472
$wgProhibitedFileExtensions
$wgProhibitedFileExtensions
Files with these extensions will never be allowed as uploads.
Definition: DefaultSettings.php:1119
$wgRemoveCredentialsBlacklist
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
Definition: DefaultSettings.php:5507
$wgLocalFileRepo
$wgLocalFileRepo
File repository structures.
Definition: DefaultSettings.php:705
$wgWANObjectCaches
$wgWANObjectCaches
Advanced WAN object cache configuration.
Definition: DefaultSettings.php:2913
$wgSharedUploadDBname
bool string $wgSharedUploadDBname
Shortcut for the ForeignDBRepo 'dbName' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:815
$wgDjvuPostProcessor
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
Definition: DefaultSettings.php:1816
$wgVersion
$wgVersion
MediaWiki version number.
Definition: DefaultSettings.php:75
$wgAmericanDates
$wgAmericanDates
Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'.
Definition: DefaultSettings.php:3572
$wgAutoblockExpiry
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
Definition: DefaultSettings.php:5836
$wgUploadMaintenance
$wgUploadMaintenance
To disable file delete/restore temporarily.
Definition: DefaultSettings.php:535
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles
Extension messages files.
Definition: DefaultSettings.php:8478
$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:7061
$wgShowCreditsIfMax
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
Definition: DefaultSettings.php:8343
$wgShellboxSecretKey
string null $wgShellboxSecretKey
The secret key for HMAC verification of Shellbox requests.
Definition: DefaultSettings.php:9566
$wgGroupInheritsPermissions
string[] $wgGroupInheritsPermissions
Groups that should inherit permissions from another group.
Definition: DefaultSettings.php:6141
$wgSoftBlockRanges
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
Definition: DefaultSettings.php:6523
$wgBotPasswordsCluster
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
Definition: DefaultSettings.php:6864
$wgNoFollowDomainExceptions
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
Definition: DefaultSettings.php:5039
$wgCategoryMagicGallery
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
Definition: DefaultSettings.php:8821
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:73
$wgSpecialPageCacheUpdates
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
Definition: DefaultSettings.php:8796
MW_VERSION
const MW_VERSION
The running version of MediaWiki.
Definition: Defines.php:36
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition: DefaultSettings.php:8505
$wgShowHostnames
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
Definition: DefaultSettings.php:7397
$wgEmailAuthentication
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
Definition: DefaultSettings.php:1978
$wgParserOutputHooks
$wgParserOutputHooks
Parser output hooks.
Definition: DefaultSettings.php:8528
$wgDeprecationReleaseLimit
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
Definition: DefaultSettings.php:7417
$wgMaxUploadSize
$wgMaxUploadSize
Max size for uploads, in bytes.
Definition: DefaultSettings.php:1035
$wgDebugAPI
$wgDebugAPI
Definition: DefaultSettings.php:9276
$wgUseMediaWikiUIEverywhere
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
Definition: DefaultSettings.php:3774
$wgDBmwschema
$wgDBmwschema
Current wiki database schema name.
Definition: DefaultSettings.php:2075
$wgDefaultUserOptions
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
Definition: DefaultSettings.php:5686
$wgMessageCacheType
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
Definition: DefaultSettings.php:2784
$wgServiceWiringFiles
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Definition: DefaultSettings.php:8691
$wgMaxMsgCacheEntrySize
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
Definition: DefaultSettings.php:3589
SCHEMA_COMPAT_TEMP
const SCHEMA_COMPAT_TEMP
Definition: Defines.php:275
$wgAllowSecuritySensitiveOperationIfCannotReauthenticate
bool[] $wgAllowSecuritySensitiveOperationIfCannotReauthenticate
Whether to allow security-sensitive operations when re-authentication is not possible.
Definition: DefaultSettings.php:5481
$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:3566
$wgReferrerPolicy
array string bool $wgReferrerPolicy
Value for the referrer policy meta tag.
Definition: DefaultSettings.php:429
$wgDiff
$wgDiff
Path to the GNU diff utility.
Definition: DefaultSettings.php:7783
$wgFileExtensions
$wgFileExtensions
This is the list of preferred extensions for uploading files.
Definition: DefaultSettings.php:1110
$wgEnableUserEmail
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
Definition: DefaultSettings.php:1866
$wgRequestTimeLimit
int null $wgRequestTimeLimit
Set a limit on server request wall clock time.
Definition: DefaultSettings.php:2609
NamespaceInfo\CANONICAL_NAMES
const CANONICAL_NAMES
Definitions of the NS_ constants are in Defines.php.
Definition: NamespaceInfo.php:64
$wgWantedPagesThreshold
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
Definition: DefaultSettings.php:2657
$wgDisableTitleConversion
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
Definition: DefaultSettings.php:3599
$wgUnwatchedPageSecret
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
Definition: DefaultSettings.php:7917
$wgHideIdentifiableRedirects
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
Definition: DefaultSettings.php:5943
$wgCopyUploadTimeout
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
Definition: DefaultSettings.php:1013
$wgParserEnableLegacyMediaDOM
$wgParserEnableLegacyMediaDOM
Enable legacy media HTML structure in the output from the Parser.
Definition: DefaultSettings.php:4983
$wgExtensionAssetsPath
$wgExtensionAssetsPath
The URL path of the extensions directory.
Definition: DefaultSettings.php:241
$wgInterwikiCache
bool array string $wgInterwikiCache
Interwiki cache, either as an associative array or a path to a constant database (....
Definition: DefaultSettings.php:4819
$wgMultiContentRevisionSchemaMigrationStage
int $wgMultiContentRevisionSchemaMigrationStage
RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables).
Definition: DefaultSettings.php:2401
$wgExportAllowAll
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
Definition: DefaultSettings.php:8424
$wgEnotifWatchlist
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
Definition: DefaultSettings.php:1983
$wgAjaxUploadDestCheck
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
Definition: DefaultSettings.php:9402
$wgLBFactoryConf
$wgLBFactoryConf
Load balancer factory configuration To set up a multi-primary wiki farm, set the class here to someth...
Definition: DefaultSettings.php:2303
$wgEnableCanonicalServerLink
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
Definition: DefaultSettings.php:3991
$wgVerifyMimeTypeIE
$wgVerifyMimeTypeIE
Determines whether extra checks for IE type detection should be applied.
Definition: DefaultSettings.php:1582
$wgShortPagesNamespaceExclusions
$wgShortPagesNamespaceExclusions
Optional array of namespaces which should be excluded from Special:ShortPages.
Definition: DefaultSettings.php:4717
$wgLogActions
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
Definition: DefaultSettings.php:9003
$wgAPIUselessQueryPages
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Definition: DefaultSettings.php:9392
$wgUseSameSiteLegacyCookies
bool $wgUseSameSiteLegacyCookies
If true, when a cross-site cookie with SameSite=None is sent, a legacy cookie with an "ss0" prefix wi...
Definition: DefaultSettings.php:7166
$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:3890
$wgExternalServers
array $wgExternalServers
Shortcut for setting $wgLBFactoryConf["externalClusters"].
Definition: DefaultSettings.php:2537
$wgAllowSchemaUpdates
$wgAllowSchemaUpdates
Allow schema updates.
Definition: DefaultSettings.php:2667
$wgDisableTextSearch
$wgDisableTextSearch
Set this to true to disable the full text search feature.
Definition: DefaultSettings.php:7602
$wgArticleRobotPolicies
$wgArticleRobotPolicies
Robot policies per article.
Definition: DefaultSettings.php:9242
$wgCacheDirectory
$wgCacheDirectory
Directory for caching data in the local filesystem.
Definition: DefaultSettings.php:2757
$wgSidebarCacheExpiry
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
Definition: DefaultSettings.php:3164
$wgOpenSearchTemplate
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:7626
$wgThumbnailBuckets
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
Definition: DefaultSettings.php:1675
$wgTransactionalTimeLimit
$wgTransactionalTimeLimit
The request time limit for "slow" write requests that should not be interrupted due to the risk of da...
Definition: DefaultSettings.php:2620
$wgBreakFrames
$wgBreakFrames
Break out of framesets.
Definition: DefaultSettings.php:6927
$wgDefaultExternalStore
array $wgDefaultExternalStore
The place to put new text blobs or false to put them in the text table of the local wiki database.
Definition: DefaultSettings.php:2552
$wgDebugLogPrefix
$wgDebugLogPrefix
Prefix for debug log lines.
Definition: DefaultSettings.php:7213
$wgStrictFileExtensions
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
Definition: DefaultSettings.php:1171
$wgCdnMaxAge
$wgCdnMaxAge
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Definition: DefaultSettings.php:3278
$wgSharedThumbnailScriptPath
string $wgSharedThumbnailScriptPath
Shortcut for the 'thumbScriptUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:1092
$wgForeignUploadTargets
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
Definition: DefaultSettings.php:844
AV_SCAN_ABORTED
const AV_SCAN_ABORTED
Definition: Defines.php:97
$wgLogo
$wgLogo
The URL path of the wiki logo.
Definition: DefaultSettings.php:312
$wgStructuredChangeFiltersLiveUpdatePollingRate
$wgStructuredChangeFiltersLiveUpdatePollingRate
Polling rate, in seconds, used by the 'live update' and 'view newest' features of the RCFilters app o...
Definition: DefaultSettings.php:8042
$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:6422
$wgOpenSearchTemplates
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:7636
$wgUseRCPatrol
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
Definition: DefaultSettings.php:8035
$wgEnableOpenSearchSuggest
$wgEnableOpenSearchSuggest
This was previously a used to force empty responses from ApiOpenSearch with the 'suggest' parameter s...
Definition: DefaultSettings.php:7647
$wgLogoHD
array false $wgLogoHD
Array with URL paths to HD versions of the wiki logo.
Definition: DefaultSettings.php:396
$wgUseNPPatrol
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
Definition: DefaultSettings.php:8051
$wgDjvuRenderer
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
Definition: DefaultSettings.php:1802
$wgJobRunRate
$wgJobRunRate
Number of jobs to perform per request.
Definition: DefaultSettings.php:9676
$wgMetaNamespace
$wgMetaNamespace
Name of the project namespace.
Definition: DefaultSettings.php:4556
$wgDBpassword
$wgDBpassword
Database user's password.
Definition: DefaultSettings.php:2105
$wgDBprefix
$wgDBprefix
Current wiki database table name prefix.
Definition: DefaultSettings.php:2085
$wgFetchCommonsDescriptions
bool $wgFetchCommonsDescriptions
Shortcut for the 'fetchDescription' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:805
$wgStylePath
$wgStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:226
$wgThumbnailMinimumBucketDistance
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
Definition: DefaultSettings.php:1692
$wgAllowSiteCSSOnRestrictedPages
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
Definition: DefaultSettings.php:4533
$wgExtensionEntryPointListFiles
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
Definition: DefaultSettings.php:8512
$wgReadOnlyWatchedItemStore
bool $wgReadOnlyWatchedItemStore
Set this to true to put the wiki watchlists into read-only mode.
Definition: DefaultSettings.php:7844
$wgUseSiteJs
$wgUseSiteJs
Use the site's Javascript page?
Definition: DefaultSettings.php:6916
$wgPutIPinRC
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
Definition: DefaultSettings.php:6659
$wgMaxExecutionTimeForExpensiveQueries
$wgMaxExecutionTimeForExpensiveQueries
Max execution time for queries of several expensive special pages such as RecentChanges in millisecon...
Definition: DefaultSettings.php:2378
$wgUploadStashScalerBaseUrl
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
Definition: DefaultSettings.php:472
$wgThumbnailEpoch
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
Definition: DefaultSettings.php:1451
$wgCrossSiteAJAXdomainExceptions
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
Definition: DefaultSettings.php:9436
$wgFeaturePolicyReportOnly
array $wgFeaturePolicyReportOnly
List of Feature Policy Reporting types to enable.
Definition: DefaultSettings.php:9869
NS_MAIN
const NS_MAIN
Definition: Defines.php:64
$wgShellboxUrl
$wgShellboxUrl
Definition: DefaultSettings.php:9542
$wgWhitelistRead
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
Definition: DefaultSettings.php:5903
$wgMaxNameChars
$wgMaxNameChars
Maximum number of bytes in username.
Definition: DefaultSettings.php:5658
$wgResourceLoaderStorageVersion
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
Definition: DefaultSettings.php:4520
$wgDBerrorLog
$wgDBerrorLog
File to log database errors to.
Definition: DefaultSettings.php:2320
$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:1922
$wgUploadStashMaxAge
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
Definition: DefaultSettings.php:520
$wgRepositoryBaseUrl
$wgRepositoryBaseUrl
Shortcut for the 'descBaseUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:796
$wgEnableWANCacheReaper
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
Definition: DefaultSettings.php:2931
$wgAllowExternalReqID
$wgAllowExternalReqID
Whether to respect/honour the request ID provided by the incoming request via the X-Request-Id header...
Definition: DefaultSettings.php:9662
$wgExperiencedUserEdits
$wgExperiencedUserEdits
Number of edits the user must have before becoming "experienced".
Definition: DefaultSettings.php:5151
$wgHTTPConnectTimeout
float int $wgHTTPConnectTimeout
Timeout for connections done internally (in seconds).
Definition: DefaultSettings.php:9590
$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:132
$wgSearchHighlightBoundaries
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
Definition: DefaultSettings.php:7614
$wgPropagateErrors
$wgPropagateErrors
If true, the MediaWiki error handler passes errors/warnings to the default error handler after loggin...
Definition: DefaultSettings.php:7392
$wgUseInstantCommons
$wgUseInstantCommons
Use Wikimedia Commons as a foreign file repository.
Definition: DefaultSettings.php:731
$wgMediaHandlers
$wgMediaHandlers
Plugins for media file type handling.
Definition: DefaultSettings.php:1212
$wgDBadminuser
$wgDBadminuser
Separate username for maintenance tasks.
Definition: DefaultSettings.php:2135
$wgResourceModules
$wgResourceModules
Define extra client-side modules to be registered with ResourceLoader.
Definition: DefaultSettings.php:4316
$wgResourceLoaderValidateJS
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
Definition: DefaultSettings.php:4496
$wgAPIRequestLog
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
Definition: DefaultSettings.php:9381
$wgMediaInTargetLanguage
$wgMediaInTargetLanguage
Whether thumbnails should be generated in target language (usually, same as page language),...
Definition: DefaultSettings.php:1399
$wgAutopromote
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
Definition: DefaultSettings.php:6333
$wgContentHandlerTextFallback
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
Definition: DefaultSettings.php:2477
$wgAllowImageTag
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
Definition: DefaultSettings.php:4955
$wgManualRevertSearchRadius
int $wgManualRevertSearchRadius
Maximum number of revisions of a page that will be checked against every new edit made to determine w...
Definition: DefaultSettings.php:5178
$wgShowDebug
$wgShowDebug
Display debug data at the bottom of the main content area.
Definition: DefaultSettings.php:7368
$wgRightsPage
$wgRightsPage
Override for copyright metadata.
Definition: DefaultSettings.php:8303
$wgHTTPProxy
$wgHTTPProxy
Proxy to use for CURL requests.
Definition: DefaultSettings.php:9624
$wgRawHtml
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
Definition: DefaultSettings.php:4999
$wgEnableScaryTranscluding
$wgEnableScaryTranscluding
Enable interwiki transcluding.
Definition: DefaultSettings.php:5074
$wgAttemptFailureEpoch
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
Definition: DefaultSettings.php:1459
$wgEnotifUseRealName
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
Definition: DefaultSettings.php:2043
$wgDBservers
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
Definition: DefaultSettings.php:2291
$wgRCChangedSizeThreshold
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
Definition: DefaultSettings.php:8136
$wgAllowUserCss
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
Definition: DefaultSettings.php:6903
CONTENT_MODEL_JSON
const CONTENT_MODEL_JSON
Definition: Defines.php:212
$wgHashedSharedUploadDirectory
bool $wgHashedSharedUploadDirectory
Shortcut for the 'hashLevels' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:788
$wgDBDefaultGroup
$wgDBDefaultGroup
Default group to use when getting database connections.
Definition: DefaultSettings.php:2187
$wgAdaptiveMessageCache
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
Definition: DefaultSettings.php:3065
$wgResourceLoaderMaxage
$wgResourceLoaderMaxage
How long a CDN or browser may cache a ResourceLoader HTTP response.
Definition: DefaultSettings.php:4447
$wgSVGConverterPath
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
Definition: DefaultSettings.php:1378
$wgRawHtmlMessages
string[] $wgRawHtmlMessages
List of messages which might contain raw HTML.
Definition: DefaultSettings.php:3681
$wgFooterLinkCacheExpiry
$wgFooterLinkCacheExpiry
Expiry time for the footer link cache, in seconds, or 0 if disabled.
Definition: DefaultSettings.php:3171
$wgNoReplyAddress
$wgNoReplyAddress
Reply-To address for e-mail notifications.
Definition: DefaultSettings.php:1853
$wgParserTestMediaHandlers
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
Definition: DefaultSettings.php:1228
$wgHooks
$wgHooks
Global list of hooks.
Definition: DefaultSettings.php:8678
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:77
$wgProfiler
$wgProfiler
Profiler configuration.
Definition: DefaultSettings.php:7485
$wgRecentChangesFlags
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Definition: DefaultSettings.php:8224
$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:5536
$wgGrantPermissions
array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
Definition: DefaultSettings.php:6698
$wgSQLiteDataDir
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
Definition: DefaultSettings.php:2192
$wgWatchlistPurgeRate
float $wgWatchlistPurgeRate
Chance of expired watchlist items being purged on any page edit.
Definition: DefaultSettings.php:8272
$wgLoginLanguageSelector
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
Definition: DefaultSettings.php:3647
$wgUploadSizeWarning
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
Definition: DefaultSettings.php:1184
$wgEmergencyContact
$wgEmergencyContact
Site admin email address.
Definition: DefaultSettings.php:1836
$wgAuthenticationTokenVersion
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
Definition: DefaultSettings.php:5792
$wgContentHandlers
$wgContentHandlers
Plugins for page content model handling.
Definition: DefaultSettings.php:2438
$wgAllowRequiringEmailForResets
$wgAllowRequiringEmailForResets
Temporary feature flag that controls whether users will see a checkbox allowing them to require provi...
Definition: DefaultSettings.php:5825
$wgFooterIcons
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
Definition: DefaultSettings.php:3932
$wgXmlDumpSchemaVersion
$wgXmlDumpSchemaVersion
The schema to use per default when generating XML dumps.
Definition: DefaultSettings.php:8438
$wgAntivirusRequired
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
Definition: DefaultSettings.php:1567
$wgMainCacheType
$wgMainCacheType
Main cache type.
Definition: DefaultSettings.php:2776
$wgRevertedTagMaxDepth
int $wgRevertedTagMaxDepth
Maximum depth (revision count) of reverts that will have their reverted edits marked with the mw-reve...
Definition: DefaultSettings.php:5193
$wgPreprocessorCacheThreshold
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
Definition: DefaultSettings.php:5069
$wgLinkHolderBatchSize
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
Definition: DefaultSettings.php:2736
$wgLockManagers
$wgLockManagers
Array of configuration arrays for each lock manager.
Definition: DefaultSettings.php:956
$wgFilterLogTypes
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
Definition: DefaultSettings.php:8945
$wgLanguageConverterCacheType
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
Definition: DefaultSettings.php:2811
$wgCentralIdLookupProvider
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
Definition: DefaultSettings.php:5220
$wgUseImageMagick
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
Definition: DefaultSettings.php:1256
$wgExtraSignatureNamespaces
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
Definition: DefaultSettings.php:4726
$wgFallbackSkin
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
Definition: DefaultSettings.php:3843
$wgUseFileCache
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Definition: DefaultSettings.php:3134
$wgCacheVaryCookies
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
Definition: DefaultSettings.php:7171
$wgCrossSiteAJAXdomains
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
Definition: DefaultSettings.php:9429
$wgUseContentMediaStyles
$wgUseContentMediaStyles
Temporary flag to ship the styles for the media HTML structure that replaces legacy,...
Definition: DefaultSettings.php:4992
$wgDefaultLanguageVariant
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
Definition: DefaultSettings.php:3604
$wgCachePrefix
$wgCachePrefix
Overwrite the caching key prefix with custom value.
Definition: DefaultSettings.php:7582
$wgAPICacheHelpTimeout
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
Definition: DefaultSettings.php:9386
$wgEnableSidebarCache
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
Definition: DefaultSettings.php:3159
$wgCommandLineMode
global $wgCommandLineMode
Definition: DevelopmentSettings.php:29
$wgDisableInternalSearch
$wgDisableInternalSearch
Disable the internal MySQL-based search, to allow it to be implemented by an extension instead.
Definition: DefaultSettings.php:7688
$wgEnableSpecialMute
$wgEnableSpecialMute
Set to true to enable the Special Mute page.
Definition: DefaultSettings.php:1876
$wgAllowExternalImagesFrom
$wgAllowExternalImagesFrom
If the above is false, you can specify an exception here.
Definition: DefaultSettings.php:4931
$wgStatsdMetricPrefix
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
Definition: DefaultSettings.php:7506
$wgUploadThumbnailRenderMap
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
Definition: DefaultSettings.php:1703
$wgQueryPageDefaultLimit
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
Definition: DefaultSettings.php:6665
$wgHtml5Version
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
Definition: DefaultSettings.php:3757
$wgDebugLogGroups
$wgDebugLogGroups
Map of string log group names to log destinations.
Definition: DefaultSettings.php:7336
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:74
$wgUseDatabaseMessages
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
Definition: DefaultSettings.php:3584
$wgLoadScript
$wgLoadScript
The URL path to load.php.
Definition: DefaultSettings.php:212
$wgMimeTypeFile
$wgMimeTypeFile
Sets the MIME type definition file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1593
$wgMaxImageArea
string bool $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:1420
NS_PROJECT
const NS_PROJECT
Definition: Defines.php:68
$wgExpensiveParserFunctionLimit
$wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
Definition: DefaultSettings.php:5063
$wgAntivirusSetup
$wgAntivirusSetup
Configuration for different virus scanners.
Definition: DefaultSettings.php:1549
$wgApiFrameOptions
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
Definition: DefaultSettings.php:6960
$wgObjectCaches
$wgObjectCaches
Advanced object cache configuration.
Definition: DefaultSettings.php:2826
$wgEnableUserEmailMuteList
$wgEnableUserEmailMuteList
Set to true to enable user-to-user e-mail mutelist.
Definition: DefaultSettings.php:1883
$wgSharedPrefix
$wgSharedPrefix
Definition: DefaultSettings.php:2224
$wgExportAllowHistory
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
Definition: DefaultSettings.php:8389
$wgHTCPRouting
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
Definition: DefaultSettings.php:3416
$wgLogExceptionBacktrace
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
Definition: DefaultSettings.php:7386
$wgRCFeeds
$wgRCFeeds
Configuration for feeds to which notifications about recent changes will be sent.
Definition: DefaultSettings.php:8002
$wgMimeDetectorCommand
$wgMimeDetectorCommand
Sets an external MIME detector program.
Definition: DefaultSettings.php:1612
APCOND_EDITCOUNT
const APCOND_EDITCOUNT
Definition: Defines.php:178
$wgParserCacheExpireTime
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
Definition: DefaultSettings.php:2983
$wgPasswordReminderResendTime
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
Definition: DefaultSettings.php:1900
$wgChronologyProtectorStash
string null $wgChronologyProtectorStash
The object store type for the ChronologyProtector store.
Definition: DefaultSettings.php:2977
$wgJobSerialCommitThreshold
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
Definition: DefaultSettings.php:8767
$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:555
AV_NO_VIRUS
const AV_NO_VIRUS
Definition: Defines.php:95
$wgUseGzip
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
Definition: DefaultSettings.php:3179
$wgInvalidRedirectTargets
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
Definition: DefaultSettings.php:4745
$wgOverrideUcfirstCharacters
array $wgOverrideUcfirstCharacters
List of Unicode characters for which capitalization is overridden in Language::ucfirst.
Definition: DefaultSettings.php:3736
$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:9375
$wgUserrightsInterwikiDelimiter
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
Definition: DefaultSettings.php:5772
$wgVaryOnXFP
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
Definition: DefaultSettings.php:3257
$wgImplicitGroups
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
Definition: DefaultSettings.php:6146
$wgCdnMaxageSubstitute
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
Definition: DefaultSettings.php:3317
$wgPreviewOnOpenNamespaces
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
Definition: DefaultSettings.php:7790
$wgInterwikiMagic
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Definition: DefaultSettings.php:3467
$wgLogTypes
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
Definition: DefaultSettings.php:8898
$wgExtendedLoginCookieExpiration
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
Definition: DefaultSettings.php:7098
$wgMaxJobDBWriteDuration
int bool $wgMaxJobDBWriteDuration
Max time (in seconds) a job-generated transaction can spend in writes.
Definition: DefaultSettings.php:2730
XML_DUMP_SCHEMA_VERSION_11
const XML_DUMP_SCHEMA_VERSION_11
Definition: Defines.php:314
$wgResourceLoaderSources
$wgResourceLoaderSources
Extensions should register foreign module sources here.
Definition: DefaultSettings.php:4419
$wgParserCacheType
$wgParserCacheType
The cache type for storing article HTML.
Definition: DefaultSettings.php:2792
$wgNativeImageLazyLoading
array $wgNativeImageLazyLoading
Toggles native image lazy loading, via the "loading" attribute.
Definition: DefaultSettings.php:1222
$wgOriginTrials
array $wgOriginTrials
Origin Trials tokens.
Definition: DefaultSettings.php:9808
$wgLocalisationCacheConf
$wgLocalisationCacheConf
Localisation cache configuration.
Definition: DefaultSettings.php:3098
$wgUseCombinedLoginLink
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
Definition: DefaultSettings.php:3954
$wgUseCopyrightUpload
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
Definition: DefaultSettings.php:8328
$wgMaxPPExpandDepth
$wgMaxPPExpandDepth
Definition: DefaultSettings.php:4890
$wgEnableEmail
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
Definition: DefaultSettings.php:1860
$wgImgAuthPath
$wgImgAuthPath
The base path for img_auth.php.
Definition: DefaultSettings.php:284
$wgEnableDnsBlacklist
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
Definition: DefaultSettings.php:6473
$wgLogos
array false $wgLogos
Specification for different versions of the wiki logo.
Definition: DefaultSettings.php:364
$wgDefaultSkin
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
Definition: DefaultSettings.php:3836
$wgUpdateRowsPerQuery
$wgUpdateRowsPerQuery
Number of rows to update per query.
Definition: DefaultSettings.php:9695
$wgReservedUsernames
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
Definition: DefaultSettings.php:5665
$wgEnableMagicLinks
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
Definition: DefaultSettings.php:5088
$wgInterlanguageLinkCodeMap
$wgInterlanguageLinkCodeMap
Map of interlanguage link codes to language codes.
Definition: DefaultSettings.php:3496
MEDIATYPE_BITMAP
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgSessionName
$wgSessionName
Override to customise the session name.
Definition: DefaultSettings.php:7176
$wgParserTestFiles
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
Definition: DefaultSettings.php:7571
$wgMaxInterlacingAreas
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
Definition: DefaultSettings.php:1267
$wgImportSources
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
Definition: DefaultSettings.php:8373
$wgCopyUploadProxy
$wgCopyUploadProxy
Proxy to use for copy upload requests.
Definition: DefaultSettings.php:1001
$wgAllowedCorsHeaders
$wgAllowedCorsHeaders
List of allowed headers for cross-origin API requests.
Definition: DefaultSettings.php:9441
$wgAPIMetaModules
$wgAPIMetaModules
API Query meta module extensions.
Definition: DefaultSettings.php:9332
$wgFileBackends
$wgFileBackends
File backend structure configuration.
Definition: DefaultSettings.php:944
$wgDjvuOutputExtension
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
Definition: DefaultSettings.php:1821
$wgNamespaceProtection
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
Definition: DefaultSettings.php:6230
$wgExternalLinkTarget
$wgExternalLinkTarget
Set a default target for external links, e.g.
Definition: DefaultSettings.php:5010
$wgMaxShellTime
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
Definition: DefaultSettings.php:9485
$wgPageInfoTransclusionLimit
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
Definition: DefaultSettings.php:7556
$wgEnableSearchContributorsByIP
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
Definition: DefaultSettings.php:7735
$wgSoftwareTags
array $wgSoftwareTags
List of core tags to enable.
Definition: DefaultSettings.php:8175
$wgMimeTypeExclusions
$wgMimeTypeExclusions
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
Definition: DefaultSettings.php:1136
$wgDeleteRevisionsLimit
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
Definition: DefaultSettings.php:6407
$wgMemCachedTimeout
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
Definition: DefaultSettings.php:3044
$wgUpdateRowsPerJob
$wgUpdateRowsPerJob
Number of rows to update per job.
Definition: DefaultSettings.php:9690
$wgHTTPTimeout
float int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
Definition: DefaultSettings.php:9580
$wgCommandLineDarkBg
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
Definition: DefaultSettings.php:7827
$wgRCShowWatchingUsers
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
Definition: DefaultSettings.php:8124
$wgSignatureAllowedLintErrors
$wgSignatureAllowedLintErrors
List of lint error codes which don't cause signature validation to fail.
Definition: DefaultSettings.php:5652
$wgRememberMe
string $wgRememberMe
Configures RememberMe authentication request added by AuthManager.
Definition: DefaultSettings.php:5422
$wgExtensionCredits
$wgExtensionCredits
Add information about an installed extension, keyed by its type.
Definition: DefaultSettings.php:8641
$wgImportTargetNamespace
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
Definition: DefaultSettings.php:8382
$wgCookieHttpOnly
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
Definition: DefaultSettings.php:7144
NS_TALK
const NS_TALK
Definition: Defines.php:65
$wgCdnServersNoPurge
$wgCdnServersNoPurge
As with $wgCdnServers, except these servers aren't purged on page changes; use to set a list of trust...
Definition: DefaultSettings.php:3346
$wgCompressRevisions
$wgCompressRevisions
We can also compress text stored in the 'text' table.
Definition: DefaultSettings.php:2501
$wgExportAllowListContributors
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
Definition: DefaultSettings.php:8401
$wgFeedClasses
$wgFeedClasses
Available feeds objects.
Definition: DefaultSettings.php:8110
$wgAutoConfirmAge
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
Definition: DefaultSettings.php:6263
$wgDebugLogFile
$wgDebugLogFile
Filename for debug logging.
Definition: DefaultSettings.php:7208
$wgUseFilePatrol
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
Definition: DefaultSettings.php:8062
$wgDisableLangConversion
$wgDisableLangConversion
Whether to enable language variant conversion.
Definition: DefaultSettings.php:3594
$wgRemoveGroups
$wgRemoveGroups
Definition: DefaultSettings.php:6395
$wgMetricsFormat
$wgMetricsFormat
Metrics output format.
Definition: DefaultSettings.php:7526
$wgSearchForwardUrl
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
Definition: DefaultSettings.php:7705
$wgAPIMaxResultSize
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
Definition: DefaultSettings.php:9362
$wgCanonicalServer
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
Definition: DefaultSettings.php:117
$wgHashedUploadDirectory
bool $wgHashedUploadDirectory
Shortcut for setting hashLevels=2 in $wgLocalFileRepo.
Definition: DefaultSettings.php:1100
$wgPriorityHints
bool $wgPriorityHints
Enable client-side Priority Hints.
Definition: DefaultSettings.php:9818
$wgMemoryLimit
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
Definition: DefaultSettings.php:2678
$wgUniversalEditButton
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
Definition: DefaultSettings.php:7799
$wgConfigRegistry
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set,...
Definition: DefaultSettings.php:66
$wgDatabaseReplicaLagWarning
$wgDatabaseReplicaLagWarning
If lag is higher than $wgDatabaseReplicaLagWarning, show a warning in some special pages (like watchl...
Definition: DefaultSettings.php:2364
$wgValidSkinNames
$wgValidSkinNames
List of valid skin names.
Definition: DefaultSettings.php:8559
$wgUseSharedUploads
bool $wgUseSharedUploads
Shortcut for adding an entry to $wgForeignFileRepos.
Definition: DefaultSettings.php:761
$wgMaxAnimatedGifArea
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
Definition: DefaultSettings.php:1428
$wgInterwikiExpiry
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
Definition: DefaultSettings.php:4799
$wgAutopromoteOnceLogInRC
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
Definition: DefaultSettings.php:6366
$wgPageLanguageUseDB
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
Definition: DefaultSettings.php:2570
$wgCachePages
$wgCachePages
Allow client-side caching of pages.
Definition: DefaultSettings.php:3111
$wgTranslateNumerals
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
Definition: DefaultSettings.php:3578
$wgSVGMetadataCutoff
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Definition: DefaultSettings.php:1389
$wgAllowUserCssPrefs
$wgAllowUserCssPrefs
Allow style-related user-preferences?
Definition: DefaultSettings.php:6911
$wgExtraLanguageNames
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Definition: DefaultSettings.php:3501
$wgDBcompress
$wgDBcompress
Whether to use compression in DB connection.
Definition: DefaultSettings.php:2130
$wgMaxShellFileSize
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KiB ImageMagick convert for example can ...
Definition: DefaultSettings.php:9480
$wgRangeContributionsCIDRLimit
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Definition: DefaultSettings.php:9168
$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
Definition: DefaultSettings.php:7608
$wgEnotifUserTalk
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
Definition: DefaultSettings.php:1992
$wgJobTypesExcludedFromDefaultQueue
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
Definition: DefaultSettings.php:8741
$wgSessionPbkdf2Iterations
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
Definition: DefaultSettings.php:3028
$wgCookieExpiration
$wgCookieExpiration
Default cookie lifetime, in seconds.
Definition: DefaultSettings.php:7090
$wgShowRollbackEditCount
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
Definition: DefaultSettings.php:3983
$wgImgAuthUrlPathMap
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Definition: DefaultSettings.php:571
$wgNamespaceAliases
$wgNamespaceAliases
Define extra namespace aliases.
Definition: DefaultSettings.php:4631
$wgForcedRawSMaxage
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
Definition: DefaultSettings.php:3324
$wgHTTPMaxConnectTimeout
float int $wgHTTPMaxConnectTimeout
The maximum HTTP connect timeout in seconds.
Definition: DefaultSettings.php:9608
$wgShellRestrictionMethod
string bool $wgShellRestrictionMethod
Method to use to restrict shell commands.
Definition: DefaultSettings.php:9537
CONTENT_MODEL_UNKNOWN
const CONTENT_MODEL_UNKNOWN
Definition: Defines.php:213
$wgGitBin
$wgGitBin
Fully specified path to git binary.
Definition: DefaultSettings.php:7869
$wgFileCacheDepth
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
Definition: DefaultSettings.php:3142
$wgNoFollowNsExceptions
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
Definition: DefaultSettings.php:5024
$wgUrlProtocols
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
Definition: DefaultSettings.php:4902
$wgLocalTZoffset
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
Definition: DefaultSettings.php:3723
$wgExportMaxHistory
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
Definition: DefaultSettings.php:8396
$wgExportFromNamespaces
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
Definition: DefaultSettings.php:8419
$wgExtensionDirectory
$wgExtensionDirectory
Filesystem extensions directory.
Definition: DefaultSettings.php:248
$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:5018
$wgMainPageIsDomainRoot
bool $wgMainPageIsDomainRoot
Option to whether serve the main page as the domain root.
Definition: DefaultSettings.php:498
$wgMaxUserDBWriteDuration
int bool $wgMaxUserDBWriteDuration
Max time (in seconds) a user-generated transaction can spend in writes.
Definition: DefaultSettings.php:2721
$wgServerName
$wgServerName
Server name.
Definition: DefaultSettings.php:124
$wgRateLimits
$wgRateLimits
Simple rate limiter options to brake edit floods.
Definition: DefaultSettings.php:6570
$wgVueDevelopmentMode
$wgVueDevelopmentMode
Whether to use the development version of Vue.js.
Definition: DefaultSettings.php:4544
$wgResourceLoaderStorageEnabled
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
Definition: DefaultSettings.php:4512
$wgUsePrivateIPs
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
Definition: DefaultSettings.php:3427
$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:8922
$wgForceHTTPS
bool $wgForceHTTPS
If this is true, when an insecure HTTP request is received, always redirect to HTTPS.
Definition: DefaultSettings.php:165
$wgMaxRedirectLinksRetrieved
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
Definition: DefaultSettings.php:9159
$wgCookieDomain
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
Definition: DefaultSettings.php:7104
$wgImageMagickConvertCommand
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
Definition: DefaultSettings.php:1261
$wgLocalInterwikis
$wgLocalInterwikis
Array for local interwiki values, for each of the interwiki prefixes that point to the current wiki.
Definition: DefaultSettings.php:4794
$wgDeletedDirectory
$wgDeletedDirectory
What directory to place deleted uploads in.
Definition: DefaultSettings.php:550
CACHE_DB
const CACHE_DB
Definition: Defines.php:87
$wgEnablePartialActionBlocks
bool $wgEnablePartialActionBlocks
Flag to enable partial blocks against performing certain actions.
Definition: DefaultSettings.php:5881
$wgIgnoreImageErrors
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
Definition: DefaultSettings.php:1472
$wgSharpenReductionThreshold
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
Definition: DefaultSettings.php:1277
$wgCacheSharedUploads
bool $wgCacheSharedUploads
Shortcut for the ForeignDBRepo 'hasSharedCache' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:833
$wgMetaNamespaceTalk
$wgMetaNamespaceTalk
Name of the project talk namespace.
Definition: DefaultSettings.php:4565
$wgServer
$wgServer
URL of the server.
Definition: DefaultSettings.php:108
$wgActiveUserDays
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
Definition: DefaultSettings.php:5125
$wgUploadDialog
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
Definition: DefaultSettings.php:855
$wgRCMaxAge
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:7902
$wgEnotifRevealEditorAddress
bool $wgEnotifRevealEditorAddress
Allow sending of e-mail notifications with the editor's address in "Reply-To".
Definition: DefaultSettings.php:2008
$wgSummarySpamRegex
$wgSummarySpamRegex
Same as the above except for edit summaries.
Definition: DefaultSettings.php:6466
$wgLanguageCode
$wgLanguageCode
Site language code.
Definition: DefaultSettings.php:3451
$wgEnableParserLimitReporting
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
Definition: DefaultSettings.php:8533
$wgExportMaxLinkDepth
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
Definition: DefaultSettings.php:8414
$wgSitename
$wgSitename
Name of the site.
Definition: DefaultSettings.php:80
$wgReadOnly
$wgReadOnly
Set this to a string to put the wiki into read-only mode.
Definition: DefaultSettings.php:7837
$wgDevelopmentWarnings
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
Definition: DefaultSettings.php:7410
$wgRightsIcon
$wgRightsIcon
Override for copyright metadata.
Definition: DefaultSettings.php:8323
$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:3783
$wgFeedDiffCutoff
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
Definition: DefaultSettings.php:8089
$wgPasswordAttemptThrottle
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
Definition: DefaultSettings.php:6679
$wgDirectoryMode
$wgDirectoryMode
Default value for chmoding of new directories.
Definition: DefaultSettings.php:1767
$wgBlockDisablesLogin
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
Definition: DefaultSettings.php:5873
$wgRCShowChangedSize
$wgRCShowChangedSize
Show the amount of changed characters in recent changes.
Definition: DefaultSettings.php:8129
$wgExtensionFunctions
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
Definition: DefaultSettings.php:8450
$wgRevisionCacheExpiry
int $wgRevisionCacheExpiry
Revision text may be cached in the main WAN cache to reduce load on external storage servers and obje...
Definition: DefaultSettings.php:2562
$wgUploadBaseUrl
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
Definition: DefaultSettings.php:459
$wgNamespaceRobotPolicies
$wgNamespaceRobotPolicies
Robot policies per namespaces.
Definition: DefaultSettings.php:9214
$wgTiffThumbnailType
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
Definition: DefaultSettings.php:1443
$wgSearchType
$wgSearchType
Search type.
Definition: DefaultSettings.php:2153
$wgParserCacheUseJson
$wgParserCacheUseJson
Enable JSON serialization for ParserCache.
Definition: DefaultSettings.php:3223
$wgAddGroups
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
Definition: DefaultSettings.php:6390
$wgSearchSuggestCacheExpiry
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
Definition: DefaultSettings.php:7663
$wgDisableOutputCompression
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
Definition: DefaultSettings.php:3860
$wgSMTP
$wgSMTP
SMTP Mode.
Definition: DefaultSettings.php:1941
$wgUploadDirectory
$wgUploadDirectory
The filesystem path of the images directory.
Definition: DefaultSettings.php:297
$wgUploadThumbnailRenderHttpCustomHost
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
Definition: DefaultSettings.php:1723
$wgSitemapNamespaces
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
Definition: DefaultSettings.php:7712
$wgIllegalFileChars
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
Definition: DefaultSettings.php:544
AV_SCAN_FAILED
const AV_SCAN_FAILED
Definition: Defines.php:98
$wgSkinMetaTags
$wgSkinMetaTags
An array of open graph tags which should be added by all skins.
Definition: DefaultSettings.php:3830
$wgAllowHTMLEmail
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
Definition: DefaultSettings.php:1952
$wgDBTableOptions
$wgDBTableOptions
MySQL table options to use during installation or update.
Definition: DefaultSettings.php:2172
CONTENT_MODEL_WIKITEXT
const CONTENT_MODEL_WIKITEXT
Definition: Defines.php:208
$wgTrivialMimeDetection
$wgTrivialMimeDetection
Switch for trivial MIME detection.
Definition: DefaultSettings.php:1619
$wgSignatureValidation
$wgSignatureValidation
Behavior of signature validation.
Definition: DefaultSettings.php:5644
NS_USER
const NS_USER
Definition: Defines.php:66
$wgCustomConvertCommand
$wgCustomConvertCommand
Use another resizing converter, e.g.
Definition: DefaultSettings.php:1297
$wgShellboxUrls
string false null[] $wgShellboxUrls
Shell commands can be run on a remote server using Shellbox.
Definition: DefaultSettings.php:9557
$wgDeleteRevisionsBatchSize
$wgDeleteRevisionsBatchSize
Page deletions with > this number of revisions will use the job queue.
Definition: DefaultSettings.php:6413
$wgInvalidUsernameCharacters
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
Definition: DefaultSettings.php:5761
$wgAutoloadClasses
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
Definition: DefaultSettings.php:8572
$wgFavicon
$wgFavicon
The URL path of the shortcut icon.
Definition: DefaultSettings.php:402
$wgCSPReportOnlyHeader
bool array $wgCSPReportOnlyHeader
Controls Content-Security-Policy-Report-Only header.
Definition: DefaultSettings.php:6992
$wgLearnerEdits
$wgLearnerEdits
The following variables define 3 user experience levels:
Definition: DefaultSettings.php:5139
$wgLogActionsHandlers
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
Definition: DefaultSettings.php:9011
$wgEnableAsyncUploads
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
Definition: DefaultSettings.php:530
$wgUploadNavigationUrl
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
Definition: DefaultSettings.php:1063
$wgOverrideHostname
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
Definition: DefaultSettings.php:7404
$wgResourceBasePath
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
Definition: DefaultSettings.php:4425
$wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
Definition: DefaultSettings.php:3668
$wgSiteTypes
$wgSiteTypes
Register handlers for specific types of sites.
Definition: DefaultSettings.php:4856
$wgMinUploadChunkSize
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
Definition: DefaultSettings.php:1051
$wgContentNamespaces
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Definition: DefaultSettings.php:4709
$wgPriorityHintsRatio
float $wgPriorityHintsRatio
Ratio of requests that should get Priority Hints when the feature is enabled.
Definition: DefaultSettings.php:9828
$wgBrowserFormatDetection
string $wgBrowserFormatDetection
Override ability of certains browsers to attempt to autodetect dataformats in pages.
Definition: DefaultSettings.php:3821
$wgJobClasses
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
Definition: DefaultSettings.php:8702
$wgEmailConfirmToEdit
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
Definition: DefaultSettings.php:5937
NS_HELP
const NS_HELP
Definition: Defines.php:76
$wgExtraInterlanguageLinkPrefixes
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i....
Definition: DefaultSettings.php:3487
$wgCopyUploadsFromSpecialUpload
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
Definition: DefaultSettings.php:995
$wgRunJobsAsync
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
Definition: DefaultSettings.php:9685
$wgLocalHTTPProxy
string bool $wgLocalHTTPProxy
Reverse proxy to use for requests to domains in $wgLocalVirtualHosts.
Definition: DefaultSettings.php:9655
$wgMaxShellWallClockTime
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
Definition: DefaultSettings.php:9491
$wgCascadingRestrictionLevels
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
Definition: DefaultSettings.php:6207
$wgArticlePath
$wgArticlePath
The URL path for primary article page views.
Definition: DefaultSettings.php:264
$wgSessionCacheType
$wgSessionCacheType
The cache backend for storing session data.
Definition: DefaultSettings.php:2801
$wgRestAllowCrossOriginCookieAuth
bool $wgRestAllowCrossOriginCookieAuth
Allows authenticated cross-origin requests to the REST API with session cookies.
Definition: DefaultSettings.php:7044
$wgSquidPurgeUseHostHeader
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgCdnServers.
Definition: DefaultSettings.php:3368
$wgJpegTran
$wgJpegTran
used for lossless jpeg rotation
Definition: DefaultSettings.php:1304
$wgDisableCookieCheck
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
Definition: DefaultSettings.php:7130
CACHE_ACCEL
const CACHE_ACCEL
Definition: Defines.php:89
$wgDisableSearchUpdate
$wgDisableSearchUpdate
If you've disabled search semi-permanently, this also disables updates to the table.
Definition: DefaultSettings.php:7669
$wgMWLoggerDefaultSpi
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
Definition: DefaultSettings.php:7359
$wgCacheEpoch
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Definition: DefaultSettings.php:3121
$wgShellCgroup
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
Definition: DefaultSettings.php:9516
$wgUserEmailConfirmationTokenExpiry
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
Definition: DefaultSettings.php:1910
$wgGitInfoCacheDirectory
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
Definition: DefaultSettings.php:3127
$wgImageLimits
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
Definition: DefaultSettings.php:1643
$wgExternalDiffEngine
string false $wgExternalDiffEngine
Name of the external diff engine to use.
Definition: DefaultSettings.php:2591
$wgDiffEngine
string null $wgDiffEngine
Specify the difference engine to use.
Definition: DefaultSettings.php:2585
$wgCriticalSectionTimeLimit
float $wgCriticalSectionTimeLimit
The maximum time critical sections are allowed to stay open.
Definition: DefaultSettings.php:2637
$wgResourceLoaderUseObjectCacheForDeps
$wgResourceLoaderUseObjectCacheForDeps
Use the main stash instead of the module_deps table for indirect dependency tracking.
Definition: DefaultSettings.php:4458
$wgAutoConfirmCount
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
Definition: DefaultSettings.php:6274
$wgSuspiciousIpExpiry
int bool $wgSuspiciousIpExpiry
Time in seconds to remember IPs for, for the purposes of logging IP changes within the same session.
Definition: DefaultSettings.php:3021
$wgCentralIdLookupProviders
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
Definition: DefaultSettings.php:5206
$wgActionPaths
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
Definition: DefaultSettings.php:488
$wgBlockCIDRLimit
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
Definition: DefaultSettings.php:5861
$wgMiserMode
$wgMiserMode
Disable database-intensive features.
Definition: DefaultSettings.php:2642
$wgGitRepositoryViewers
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
Definition: DefaultSettings.php:7884
$wgTidyConfig
$wgTidyConfig
Configuration for HTML postprocessing tool.
Definition: DefaultSettings.php:4975
$wgEnableJavaScriptTest
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
Definition: DefaultSettings.php:7576
$wgPoolCounterConf
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
Definition: DefaultSettings.php:2712
$wgUseTinyRGBForJPGThumbnails
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
Definition: DefaultSettings.php:1739
$wgAvailableRights
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Definition: DefaultSettings.php:6401
MEDIATYPE_VIDEO
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgSemiprotectedRestrictionLevels
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
Definition: DefaultSettings.php:6221
$wgDisableUploadScriptChecks
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
Definition: DefaultSettings.php:1179
$wgCookieSetOnAutoblock
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
Definition: DefaultSettings.php:7185
$wgRateLimitsExcludedIPs
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
Definition: DefaultSettings.php:6652
$wgCapitalLinks
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Definition: DefaultSettings.php:4666
$wgReadOnlyFile
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
Definition: DefaultSettings.php:7853
$wgApplyIpBlocksToXff
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
Definition: DefaultSettings.php:6530
$wgThumbnailScriptPath
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
Definition: DefaultSettings.php:1083
$wgRCEngines
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
Definition: DefaultSettings.php:8009
$wgCSPHeader
bool array $wgCSPHeader
Controls Content-Security-Policy header [Experimental].
Definition: DefaultSettings.php:6984
$wgMetricsTarget
$wgMetricsTarget
Metrics output target URI e.g.
Definition: DefaultSettings.php:7537
$wgEditPageFrameOptions
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
Definition: DefaultSettings.php:6948
CONTENT_MODEL_TEXT
const CONTENT_MODEL_TEXT
Definition: Defines.php:211
$wgGroupPermissions
$wgGroupPermissions
Permission keys given to users in each group.
Definition: DefaultSettings.php:5969
$wgDebugComments
$wgDebugComments
Send debug data to an HTML comment in the output.
Definition: DefaultSettings.php:7237
$wgExiv2Command
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
Definition: DefaultSettings.php:1340
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition: DefaultSettings.php:3462
$wgLocaltimezone
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Definition: DefaultSettings.php:3712
$wgPagePropLinkInvalidations
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
Definition: DefaultSettings.php:8807
$wgHttpsPort
$wgHttpsPort
For installations where the canonical server is HTTP but HTTPS is optionally supported,...
Definition: DefaultSettings.php:145
$wgCleanSignatures
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
Definition: DefaultSettings.php:4912
$wgOpenSearchDescriptionLength
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Definition: DefaultSettings.php:7658
$wgShowExceptionDetails
$wgShowExceptionDetails
If set to true, uncaught exceptions will print the exception message and a complete stack trace to ou...
Definition: DefaultSettings.php:7381
CONTENT_MODEL_JAVASCRIPT
const CONTENT_MODEL_JAVASCRIPT
Definition: Defines.php:209
$wgThumbUpright
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
Definition: DefaultSettings.php:1762
$wgVerifyMimeType
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Definition: DefaultSettings.php:1572
$wgExtraGenderNamespaces
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
Definition: DefaultSettings.php:4608
$wgQueryCacheLimit
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
Definition: DefaultSettings.php:2652
$wgInterwikiFallbackSite
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
Definition: DefaultSettings.php:4832
$wgReauthenticateTime
int[] $wgReauthenticateTime
Time frame for re-authentication.
Definition: DefaultSettings.php:5462
$wgSharedUploadDBprefix
string $wgSharedUploadDBprefix
Shortcut for the ForeignDBRepo 'tablePrefix' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:824
$wgCookieSecure
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
Definition: DefaultSettings.php:7122
$wgSessionProviders
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
Definition: DefaultSettings.php:5802
$wgSiteNotice
$wgSiteNotice
Site notice shown at the top of each page.
Definition: DefaultSettings.php:3808
$wgCapitalLinkOverrides
$wgCapitalLinkOverrides
Definition: DefaultSettings.php:4681
$wgAllowCrossOrigin
bool $wgAllowCrossOrigin
Allow anonymous cross origin requests.
Definition: DefaultSettings.php:7028
$wgTrackingCategories
$wgTrackingCategories
Array holding default tracking category names.
Definition: DefaultSettings.php:8881
$wgRestrictionLevels
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
Definition: DefaultSettings.php:6196
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:78
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:67
$wgDnsBlacklistUrls
$wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
Definition: DefaultSettings.php:6498
$wgEnableUploads
$wgEnableUploads
Allow users to upload files.
Definition: DefaultSettings.php:515
$wgRenderHashAppend
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
Definition: DefaultSettings.php:3148
$wgLearnerMemberSince
$wgLearnerMemberSince
Number of days the user must exist before becoming a learner.
Definition: DefaultSettings.php:5145
$wgAdvertisedFeedTypes
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
Definition: DefaultSettings.php:8119
$wgSVGConverters
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
Definition: DefaultSettings.php:1358
$wgExtensionInfoMTime
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
Definition: DefaultSettings.php:3207
$wgGroupsRemoveFromSelf
$wgGroupsRemoveFromSelf
Definition: DefaultSettings.php:6174
$wgAllowCopyUploads
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
Definition: DefaultSettings.php:981
$wgTextModelsToParse
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Definition: DefaultSettings.php:2489
$wgAPIPropModules
$wgAPIPropModules
API Query prop module extensions.
Definition: DefaultSettings.php:9341
$wgOverrideSiteFeed
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
Definition: DefaultSettings.php:8103
$wgResourceLoaderMaxQueryLength
int $wgResourceLoaderMaxQueryLength
ResourceLoader will not generate URLs whose query string is more than this many characters long,...
Definition: DefaultSettings.php:4487
$wgSkipSkins
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
Definition: DefaultSettings.php:3855
$wgCategoryCollation
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
Definition: DefaultSettings.php:8853
$wgLogNames
$wgLogNames
Lists the message key string for each log type.
Definition: DefaultSettings.php:8960
$wgEnotifImpersonal
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
Definition: DefaultSettings.php:2032
$wgFileCacheDirectory
$wgFileCacheDirectory
Directory where the cached page will be saved.
Definition: DefaultSettings.php:303
$wgCookieSetOnIpBlock
$wgCookieSetOnIpBlock
Whether to set a cookie when a logged-out user is blocked.
Definition: DefaultSettings.php:7194
$wgUploadPath
$wgUploadPath
The URL path for the images directory.
Definition: DefaultSettings.php:270
$wgMaxTocLevel
$wgMaxTocLevel
Maximum indent level of toc.
Definition: DefaultSettings.php:4871
$wgMaxRedirects
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Definition: DefaultSettings.php:4733
$wgSpecialSearchFormOptions
array $wgSpecialSearchFormOptions
Options for Special:Search completion widget form created by SearchFormWidget class.
Definition: DefaultSettings.php:7746
$wgRedirectSources
$wgRedirectSources
If local interwikis are set up which allow redirects, set this regexp to restrict URLs which will be ...
Definition: DefaultSettings.php:4849
$wgDjvuDump
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
Definition: DefaultSettings.php:1795
$wgRestrictionTypes
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
Definition: DefaultSettings.php:6183
$wgSearchRunSuggestedQuery
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
Definition: DefaultSettings.php:7766
$wgArticleCountMethod
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Definition: DefaultSettings.php:5116
$wgEnableBotPasswords
bool $wgEnableBotPasswords
Whether to enable bot passwords.
Definition: DefaultSettings.php:6857
$wgXhtmlNamespaces
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
Definition: DefaultSettings.php:3799
$wgHTTPMaxTimeout
float int $wgHTTPMaxTimeout
The maximum HTTP request timeout in seconds.
Definition: DefaultSettings.php:9599
$wgMaxSigChars
$wgMaxSigChars
Maximum number of Unicode characters in signature.
Definition: DefaultSettings.php:5632
$wgDBuser
$wgDBuser
Database username.
Definition: DefaultSettings.php:2100
$wgDBerrorLogTZ
$wgDBerrorLogTZ
Timezone to use in the error log.
Definition: DefaultSettings.php:2340
$wgJpegQuality
$wgJpegQuality
When scaling a JPEG thumbnail, this is the quality we request from the backend.
Definition: DefaultSettings.php:1334
$wgPasswordPolicy
$wgPasswordPolicy
Password policy for the wiki.
Definition: DefaultSettings.php:5284
$wgReportToEndpoints
array $wgReportToEndpoints
List of endpoints for the Reporting API.
Definition: DefaultSettings.php:9858
$wgDataCenterUpdateStickTTL
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
Definition: DefaultSettings.php:2315
$wgDebugDumpSql
$wgDebugDumpSql
Write SQL queries to the debug log.
Definition: DefaultSettings.php:7246
$wgAllowSlowParserFunctions
$wgAllowSlowParserFunctions
Enable slow parser functions.
Definition: DefaultSettings.php:2662
$wgUploadMissingFileUrl
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
Definition: DefaultSettings.php:1070
$wgResourceModuleSkinStyles
$wgResourceModuleSkinStyles
Add extra skin-specific styles to a resource module.
Definition: DefaultSettings.php:4407
$wgMinimalPasswordLength
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
Definition: DefaultSettings.php:5516
$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:6169
$wgRCFilterByAge
$wgRCFilterByAge
Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be store...
Definition: DefaultSettings.php:7926
$wgSpecialPages
$wgSpecialPages
Special page list.
Definition: DefaultSettings.php:8567
$wgDebugToolbar
$wgDebugToolbar
Display the new debugging toolbar.
Definition: DefaultSettings.php:7591
$wgAntivirus
$wgAntivirus
Internal name of virus scanner.
Definition: DefaultSettings.php:1513
$wgDisableQueryPageUpdate
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
Definition: DefaultSettings.php:9147
$wgTrustedMediaFormats
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
Definition: DefaultSettings.php:1196
NS_PROJECT_TALK
const NS_PROJECT_TALK
Definition: Defines.php:69
$wgHKDFSecret
$wgHKDFSecret
Secret for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:7071
$wgHTTPImportTimeout
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
Definition: DefaultSettings.php:9614
$wgRestrictDisplayTitle
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
Definition: DefaultSettings.php:5057
$wgAutoloadAttemptLowercase
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
Definition: DefaultSettings.php:8581
$wgPasswordSender
$wgPasswordSender
Sender email address for e-mail notifications.
Definition: DefaultSettings.php:1846
$wgPHPSessionHandling
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
Definition: DefaultSettings.php:3012
$wgAllowDisplayTitle
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Definition: DefaultSettings.php:5050
$wgUseSiteCss
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
Definition: DefaultSettings.php:6921
$wgExtraLanguageCodes
$wgExtraLanguageCodes
List of mappings from one language code to another.
Definition: DefaultSettings.php:3516
$wgAPIFormatModules
$wgAPIFormatModules
API format module extensions.
Definition: DefaultSettings.php:9323
$wgRegisterInternalExternals
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
Definition: DefaultSettings.php:5045
$wgSecretKey
$wgSecretKey
This should always be customised in LocalSettings.php.
Definition: DefaultSettings.php:6889
$wgScriptPath
$wgScriptPath
The path we should point to.
Definition: DefaultSettings.php:176
$wgNamespacesWithSubpages
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
Definition: DefaultSettings.php:4687
$wgOldRevisionParserCacheExpireTime
$wgOldRevisionParserCacheExpireTime
The expiry time for the parser cache for old revisions, in seconds.
Definition: DefaultSettings.php:2989
CONTENT_MODEL_CSS
const CONTENT_MODEL_CSS
Definition: Defines.php:210
$wgXMLMimeTypes
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
Definition: DefaultSettings.php:1625
$wgExternalStores
array $wgExternalStores
List of enabled ExternalStore protocols.
Definition: DefaultSettings.php:2515
$wgPasswordConfig
$wgPasswordConfig
Configuration for built-in password types.
Definition: DefaultSettings.php:5567
$wgDBadminpassword
$wgDBadminpassword
Separate password for maintenance tasks.
Definition: DefaultSettings.php:2140
$wgDBssl
$wgDBssl
Whether to use SSL in DB connection.
Definition: DefaultSettings.php:2120
$wgWatchersMaxAge
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
Definition: DefaultSettings.php:7909
$wgGrantPermissionGroups
array $wgGrantPermissionGroups
Map of grants to their UI grouping.
Definition: DefaultSettings.php:6815
$wgVariantArticlePath
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
Definition: DefaultSettings.php:3640
$wgMaxShellMemory
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KiB.
Definition: DefaultSettings.php:9474
$wgResourceLoaderDebug
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
Definition: DefaultSettings.php:4465
$wgUseImageResize
$wgUseImageResize
Whether to enable server-side image thumbnailing.
Definition: DefaultSettings.php:1246
$wgWatchlistExpiry
bool $wgWatchlistExpiry
Whether to enable the watchlist expiry feature.
Definition: DefaultSettings.php:8259
$wgForeignFileRepos
$wgForeignFileRepos
Enable the use of files from one or more other wikis.
Definition: DefaultSettings.php:720
$wgAccountCreationThrottle
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
Definition: DefaultSettings.php:6445
$wgEnotifMaxRecips
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
Definition: DefaultSettings.php:2038
$wgUploadThumbnailRenderMethod
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
Definition: DefaultSettings.php:1716
$wgLocalStylePath
$wgLocalStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:234
$wgSpecialVersionShowHooks
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
Definition: DefaultSettings.php:7373
$wgMemCachedPersistent
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
Definition: DefaultSettings.php:3039
$wgShowEXIF
$wgShowEXIF
Show Exif data, on by default if available.
Definition: DefaultSettings.php:969
$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:7757
$wgMaxPPNodeCount
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
Definition: DefaultSettings.php:4877
$wgSecureLogin
$wgSecureLogin
This is to let user authenticate using https when they come from http.
Definition: DefaultSettings.php:5780
$wgGenerateThumbnailOnParse
bool $wgGenerateThumbnailOnParse
Render thumbnails while parsing wikitext.
Definition: DefaultSettings.php:1494
$wgCookiePrefix
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
Definition: DefaultSettings.php:7137
$wgUserEmailUseReplyTo
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
Definition: DefaultSettings.php:1894
$wgAPIMaxDBRows
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
Definition: DefaultSettings.php:9356
$wgMainStash
$wgMainStash
The object store type of the main stash.
Definition: DefaultSettings.php:2960
$wgCookieSameSite
string null $wgCookieSameSite
The SameSite cookie attribute used for login cookies.
Definition: DefaultSettings.php:7156
$wgStyleDirectory
$wgStyleDirectory
Filesystem stylesheets directory.
Definition: DefaultSettings.php:255
$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:7864
$wgSVGConverter
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Definition: DefaultSettings.php:1373
$wgSessionSecret
$wgSessionSecret
Secret for session storage.
Definition: DefaultSettings.php:7052
$wgDefaultRobotPolicy
$wgDefaultRobotPolicy
Default robot policy.
Definition: DefaultSettings.php:9198
$wgAllowUserJs
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
Definition: DefaultSettings.php:6896
$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:8198
$wgTrxProfilerLimits
$wgTrxProfilerLimits
Performance expectations for DB usage.
Definition: DefaultSettings.php:7253
SCHEMA_COMPAT_NEW
const SCHEMA_COMPAT_NEW
Definition: Defines.php:276
$wgExtraNamespaces
$wgExtraNamespaces
Additional namespaces.
Definition: DefaultSettings.php:4600
$wgUploadThumbnailRenderHttpCustomDomain
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HT...
Definition: DefaultSettings.php:1731
$wgCategoryPagingLimit
$wgCategoryPagingLimit
Paging limit for categories.
Definition: DefaultSettings.php:8826
$wgNewUserLog
$wgNewUserLog
Maintain a log of newusers at Special:Log/newusers?
Definition: DefaultSettings.php:9123
$wgNamespacesToBeSearchedDefault
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
Definition: DefaultSettings.php:7680
$wgUsePigLatinVariant
$wgUsePigLatinVariant
Whether to enable the pig Latin variant of English (en-x-piglatin), used to ease variant development ...
Definition: DefaultSettings.php:3610
$wgMainWANCache
$wgMainWANCache
Main Wide-Area-Network cache type.
Definition: DefaultSettings.php:2886
$wgImagePreconnect
$wgImagePreconnect
On pages containing images, tell the user agent to pre-connect to hosts from $wgForeignFileRepos.
Definition: DefaultSettings.php:1784
$wgGalleryOptions
$wgGalleryOptions
Parameters for the "<gallery>" tag.
Definition: DefaultSettings.php:1755
$wgAutopromoteOnce
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
Definition: DefaultSettings.php:6358
$wgJobQueueIncludeInMaxLagFactor
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Definition: DefaultSettings.php:8790
$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:3310
$wgEnableAutoRotation
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
Definition: DefaultSettings.php:1506
$wgDatabaseReplicaLagCritical
$wgDatabaseReplicaLagCritical
Definition: DefaultSettings.php:2371
$wgVirtualRestConfig
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
Definition: DefaultSettings.php:9746
$wgCheckFileExtensions
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
Definition: DefaultSettings.php:1163
$wgAllUnicodeFixes
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
Definition: DefaultSettings.php:3540
$wgInternalServer
$wgInternalServer
Internal server name as known to CDN, if different.
Definition: DefaultSettings.php:3267
$wgDisableAnonTalk
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
Definition: DefaultSettings.php:8148
NS_TEMPLATE_TALK
const NS_TEMPLATE_TALK
Definition: Defines.php:75
$wgInterwikiPrefixDisplayTypes
$wgInterwikiPrefixDisplayTypes
Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwik...
Definition: DefaultSettings.php:4786
$wgUseLocalMessageCache
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
Definition: DefaultSettings.php:3057
$wgStatsdServer
$wgStatsdServer
Destination of statsd metrics.
Definition: DefaultSettings.php:7497
$wgCountCategorizedImagesAsUsed
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
Definition: DefaultSettings.php:9153
$wgDummyLanguageCodes
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
Definition: DefaultSettings.php:3531
$wgPasswordExpirationDays
$wgPasswordExpirationDays
The number of days that a user's password is good for.
Definition: DefaultSettings.php:1916
$wgRCWatchCategoryMembership
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
Definition: DefaultSettings.php:8025
$wgObjectCacheSessionExpiry
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
Definition: DefaultSettings.php:2994
$wgFeed
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
Definition: DefaultSettings.php:8067
$wgAsyncHTTPTimeout
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
Definition: DefaultSettings.php:9619
$wgRightsUrl
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
Definition: DefaultSettings.php:8310
$wgAllowExternalImages
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
Definition: DefaultSettings.php:4917
$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:195
$wgImageMagickTempDir
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
Definition: DefaultSettings.php:1283
$wgSQLMode
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
Definition: DefaultSettings.php:2180
$wgEnableImageWhitelist
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki allow list of regular expression fragmen...
Definition: DefaultSettings.php:4944
CACHE_NONE
const CACHE_NONE
Definition: Defines.php:86
$wgThumbPath
$wgThumbPath
The base path for thumb_handler.php.
Definition: DefaultSettings.php:292
$wgExportPagelistLimit
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
Definition: DefaultSettings.php:8432
$wgSpamRegex
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
Definition: DefaultSettings.php:6461
$wgSharedUploadPath
string $wgSharedUploadPath
Shortcut for the 'url' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:779
$wgOpenSearchDefaultLimit
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
Definition: DefaultSettings.php:7653
$wgReportToExpiry
int $wgReportToExpiry
Expiry of the endpoint definition for the Reporting API.
Definition: DefaultSettings.php:9848
$wgCdnMaxageLagged
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
Definition: DefaultSettings.php:3286
$wgShowArchiveThumbnails
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
Definition: DefaultSettings.php:1499
$wgAllowSpecialInclusion
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
Definition: DefaultSettings.php:9140
$wgActorTableSchemaMigrationStage
int $wgActorTableSchemaMigrationStage
Actor table schema migration stage, for migration from the temporary table revision_actor_temp to the...
Definition: DefaultSettings.php:2423