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 
61 
69  'main' => 'GlobalVarConfig::newInstance'
70 ];
71 
78 
82 $wgSitename = 'MediaWiki';
83 
84 /***************************************************************************/
85 // region Server URLs and file paths
110 $wgServer = false;
111 
120 
127 
135 
148 
168 
178 $wgScriptPath = '/wiki';
179 
197 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
198  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
199  ( strpos( PHP_SAPI, 'isapi' ) === false );
200 
206 $wgScript = false;
207 
215 
221 $wgRestPath = false;
222 
228 $wgStylePath = false;
230 
237 
244 
250 $wgExtensionDirectory = "{$IP}/extensions";
251 
257 $wgStyleDirectory = "{$IP}/skins";
258 
267 
273 
287 
294 $wgThumbPath = false;
295 
300 
306 
314 $wgLogo = false;
315 
366 $wgLogos = false;
367 
398 $wgLogoHD = false;
399 
404 $wgFavicon = '/favicon.ico';
405 
412 
432 
455 
462 
475 
491 
501 
502 // endregion -- end of server URLs and file paths
503 
504 /***************************************************************************/
505 // region Files and file uploads
518 
522 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
523 
533 
538 
546 $wgIllegalFileChars = ":\\/\\\\";
547 
553 
558 
574 
700 
715 
726 
756 
765 
774 
783 
790 $wgRepositoryBaseUrl = 'https://commons.wikimedia.org/wiki/File:';
791 
800 
810 
819 
828 
839 
850  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
851  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
852  // matching replacement to the 'filepage' format key below to make use of these.
853  'fields' => [
854  'description' => true,
855  'date' => false,
856  'categories' => false,
857  ],
858  // Suffix of localisation messages used to describe the license under which the uploaded file will
859  // be released. The same value may be set for both 'local' and 'foreign' uploads.
860  'licensemessages' => [
861  // The 'local' messages are used for local uploads on this wiki:
862  // * upload-form-label-own-work-message-generic-local
863  // * upload-form-label-not-own-work-message-generic-local
864  // * upload-form-label-not-own-work-local-generic-local
865  'local' => 'generic-local',
866  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
867  // * upload-form-label-own-work-message-generic-foreign
868  // * upload-form-label-not-own-work-message-generic-foreign
869  // * upload-form-label-not-own-work-local-generic-foreign
870  'foreign' => 'generic-foreign',
871  ],
872  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
873  // string value, in which case it is used for both kinds of uploads. Available replacements:
874  // * $HOST - domain name from which a cross-wiki upload originates
875  // * $PAGENAME - wiki page name from which an upload originates
876  'comment' => [
877  'local' => '',
878  'foreign' => '',
879  ],
880  // Format of the file page wikitext to be generated from the fields input by the user.
881  'format' => [
882  // Wrapper for the whole page. Available replacements:
883  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
884  // enabled), wrapped as defined below in the 'description' key
885  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
886  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
887  // * $AUTHOR - linked user name, may be extended in the future
888  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
889  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
890  // field is enabled), or if no input, as defined below in the 'uncategorized' key
891  'filepage' => '$DESCRIPTION',
892  // Wrapped for file description. Available replacements:
893  // * $LANGUAGE - source wiki's content language
894  // * $TEXT - input by the user
895  'description' => '$TEXT',
896  'ownwork' => '',
897  'license' => '',
898  'uncategorized' => '',
899  ],
900 ];
901 
940 
952 
964 $wgShowEXIF = function_exists( 'exif_read_data' );
965 
970 
977 
984 
991 
997 
1009 
1030 $wgMaxUploadSize = 1024 * 1024 * 100;
1031 
1047 
1059 
1066 
1079 
1088 
1096 
1105 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
1106 
1115  # HTML may contain cookie-stealing JavaScript and web bugs
1116  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
1117  # PHP scripts may execute arbitrary code on the server
1118  'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'phar',
1119  # Other types that may be interpreted by some servers
1120  'shtml', 'jhtml', 'pl', 'py', 'cgi',
1121  # May contain harmful executables for Windows victims
1122  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl'
1123 ];
1124 
1132  # HTML may contain cookie-stealing JavaScript and web bugs
1133  'text/html',
1134  # Similarly with JavaScript itself
1135  'application/javascript', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
1136  # PHP scripts may execute arbitrary code on the server
1137  'application/x-php', 'text/x-php',
1138  # Other types that may be interpreted by some servers
1139  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
1140  # Client-side hazards on Internet Explorer
1141  'text/scriptlet', 'application/x-msdownload',
1142  # Windows metafile, client-side vulnerability on some systems
1143  'application/x-msmetafile',
1144 ];
1145 
1152 
1159 
1167 
1175 
1180 
1192  MEDIATYPE_BITMAP, // all bitmap formats
1193  MEDIATYPE_AUDIO, // all audio formats
1194  MEDIATYPE_VIDEO, // all plain video formats
1195  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
1196  "application/pdf", // PDF files
1197  # "application/x-shockwave-flash", //flash/shockwave movie
1198 ];
1199 
1208 
1218 
1224  'image/jpeg' => 'MockBitmapHandler',
1225  'image/png' => 'MockBitmapHandler',
1226  'image/gif' => 'MockBitmapHandler',
1227  'image/tiff' => 'MockBitmapHandler',
1228  'image/webp' => 'MockBitmapHandler',
1229  'image/x-ms-bmp' => 'MockBitmapHandler',
1230  'image/x-bmp' => 'MockBitmapHandler',
1231  'image/x-xcf' => 'MockBitmapHandler',
1232  'image/svg+xml' => 'MockSvgHandler',
1233  'image/vnd.djvu' => 'MockDjVuHandler',
1234 ];
1235 
1242 
1252 
1256 $wgImageMagickConvertCommand = '/usr/bin/convert';
1257 
1263 
1268 
1273 
1279 
1293 
1299 $wgJpegTran = '/usr/bin/jpegtran';
1300 
1321 
1330 
1335 $wgExiv2Command = '/usr/bin/exiv2';
1336 
1342 $wgExiftool = '/usr/bin/exiftool';
1343 
1354  'ImageMagick' =>
1355  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1356  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1357  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1358  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1359  . '$output $input',
1360  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1361  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1362  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1363 ];
1364 
1368 $wgSVGConverter = 'ImageMagick';
1369 
1374 
1379 
1385 
1395 
1416 
1424 
1439 
1446 $wgThumbnailEpoch = '20030516000000';
1447 
1455 
1468 
1490 
1495 
1502 
1509 
1545 
1546  # setup for clamav
1547  'clamav' => [
1548  'command' => 'clamscan --no-summary ',
1549  'codemap' => [
1550  "0" => AV_NO_VIRUS, # no virus
1551  "1" => AV_VIRUS_FOUND, # virus found
1552  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1553  "*" => AV_SCAN_FAILED, # else scan failed
1554  ],
1555  'messagepattern' => '/.*?:(.*)/sim',
1556  ],
1557 ];
1558 
1563 
1568 
1578 
1588 $wgMimeTypeFile = 'internal';
1589 
1594 $wgMimeInfoFile = 'internal';
1595 
1608 
1615 
1621  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1622  'svg' => 'image/svg+xml',
1623  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1624  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1625  'html' => 'text/html', // application/xhtml+xml?
1626 ];
1627 
1639  [ 320, 240 ],
1640  [ 640, 480 ],
1641  [ 800, 600 ],
1642  [ 1024, 768 ],
1643  [ 1280, 1024 ],
1644  [ 2560, 2048 ],
1645 ];
1646 
1653  120,
1654  150,
1655  180,
1656  200,
1657  250,
1658  300
1659 ];
1660 
1671 
1688 
1699 
1712 
1719 
1727 
1735 
1751 
1758 
1763 
1771 
1780 
1781 /***************************************************************************/
1782 // region DJVU settings
1791 
1798 
1804 $wgDjvuTxt = null;
1805 
1811 $wgDjvuPostProcessor = 'pnmtojpeg';
1812 
1817 
1818 // endregion -- end of DJvu
1819 
1820 // endregion -- end of file uploads
1821 
1822 /***************************************************************************/
1823 // region Email settings
1832 
1842 
1849 
1856 
1862 
1872 
1879 
1890 
1896 
1900 $wgNewPasswordExpiry = 3600 * 24 * 7;
1901 
1906 
1912 
1917 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1918 
1936 $wgSMTP = false;
1937 
1942 
1948 
1961 
1962 // TODO move UPO to preferences probably ?
1963 # If set to true, users get a corresponding option in their preferences and can choose to
1964 # enable or disable at their discretion
1965 # If set to false, the corresponding input form on the user preference page is suppressed
1966 # It call this to be a "user-preferences-option (UPO)"
1967 
1974 
1979 
1988 
2004 
2019 
2028 
2034 
2039 
2045 
2046 // endregion -- end of email settings
2047 
2048 /***************************************************************************/
2049 // region Database settings
2060 $wgDBname = 'my_wiki';
2061 
2071 
2081 
2085 $wgDBserver = 'localhost';
2086 
2090 $wgDBport = 5432;
2091 
2095 $wgDBuser = 'wikiuser';
2096 
2101 
2105 $wgDBtype = 'mysql';
2106 
2115 $wgDBssl = false;
2116 
2126 
2131 
2136 
2149 
2163 
2167 $wgDBTableOptions = 'ENGINE=InnoDB, DEFAULT CHARSET=binary';
2168 
2176 
2183 
2188 
2215 
2220 
2225 $wgSharedTables = [ 'user', 'user_properties' ];
2226 
2232 
2287 
2298 $wgLBFactoryConf = [ 'class' => \Wikimedia\Rdbms\LBFactorySimple::class ];
2299 
2311 
2316 
2336 
2351 
2360 
2367 
2390 
2412 
2413 // endregion -- End of DB settings
2414 
2415 /***************************************************************************/
2416 // region Content handlers and storage
2427  // the usual case
2428  CONTENT_MODEL_WIKITEXT => WikitextContentHandler::class,
2429  // dumb version, no syntax highlighting
2430  CONTENT_MODEL_JAVASCRIPT => JavaScriptContentHandler::class,
2431  // simple implementation, for use by extensions, etc.
2432  CONTENT_MODEL_JSON => JsonContentHandler::class,
2433  // dumb version, no syntax highlighting
2434  CONTENT_MODEL_CSS => CssContentHandler::class,
2435  // plain text, for use by extensions, etc.
2436  CONTENT_MODEL_TEXT => TextContentHandler::class,
2437  // fallback for unknown models, from imports or extensions that were removed
2438  CONTENT_MODEL_UNKNOWN => FallbackContentHandler::class,
2439 ];
2440 
2453 
2466 
2478  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
2479  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
2480  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
2481 ];
2482 
2490 
2503 
2519 
2535 
2545 
2553 
2568 
2574 
2575 // endregion -- end of Content handlers and storage
2576 
2577 /***************************************************************************/
2578 // region Performance hacks and limits
2592 
2603 
2620 
2625 
2630 
2635 
2640 
2645 
2650 
2655 
2661 
2695 
2704 
2713 
2719 
2724 
2725 // endregion -- end performance hacks
2726 
2727 /***************************************************************************/
2728 // region Cache settings
2740 
2759 
2767 
2775 
2784 
2794 
2809  CACHE_NONE => [ 'class' => EmptyBagOStuff::class, 'reportDupes' => false ],
2810  CACHE_DB => [ 'class' => SqlBagOStuff::class, 'loggroup' => 'SQLBagOStuff' ],
2811 
2812  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2813  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2814  CACHE_MEMCACHED => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2815 
2816  'db-replicated' => [
2817  'class' => ReplicatedBagOStuff::class,
2818  'readFactory' => [
2819  'factory' => 'ObjectCache::newFromParams',
2820  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => true ] ]
2821  ],
2822  'writeFactory' => [
2823  'factory' => 'ObjectCache::newFromParams',
2824  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => false ] ]
2825  ],
2826  'loggroup' => 'SQLBagOStuff',
2827  'reportDupes' => false
2828  ],
2829  'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2830  'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ],
2831  'hash' => [ 'class' => HashBagOStuff::class, 'reportDupes' => false ],
2832 
2833  // Deprecated since 1.35.
2834  // - To configure a wg*CacheType variable to use the local server cache,
2835  // use CACHE_ACCEL instead, which will select these automatically.
2836  // - To access the object for the local server cache at run-time,
2837  // use MediaWikiServices::getLocalServerObjectCache()
2838  // instead of e.g. ObjectCache::getInstance( 'apcu' ).
2839  // - To instantiate a new one of these explicitly, do so directly
2840  // by using `new APCUBagOStuff( [ … ] )`
2841  // - To instantiate a new one of these including auto-detection and fallback,
2842  // use ObjectCache::makeLocalServerCache().
2843  'apc' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2844  'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2845  'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ],
2846 ];
2847 
2870 
2897  CACHE_NONE => [
2898  'class' => WANObjectCache::class,
2899  'cacheId' => CACHE_NONE,
2900  ]
2901 ];
2902 
2915 
2943 $wgMainStash = 'db-replicated';
2944 
2961 
2967 
2973 
2978 
2996 
3005 
3012 
3016 $wgMemCachedServers = [ '127.0.0.1:11211' ];
3017 
3023 
3028 
3041 
3049 
3082  'class' => LocalisationCache::class,
3083  'store' => 'detect',
3084  'storeClass' => false,
3085  'storeDirectory' => false,
3086  'storeServer' => [],
3087  'forceRecache' => false,
3088  'manualRecache' => false,
3089 ];
3090 
3095 
3104 $wgCacheEpoch = '20030516000000';
3105 
3111 
3118 
3126 
3132 
3143 
3148 
3155 
3162 $wgUseGzip = false;
3163 
3174 
3191 
3207 
3208 // endregion -- end of cache settings
3209 
3210 /***************************************************************************/
3211 // region HTTP proxy (CDN) settings
3230 $wgUseCdn = false;
3231 
3241 
3251 
3262 
3270 
3278 
3287 
3303 
3310 
3317 
3329 
3339 
3361 
3409 
3415 
3420 
3421 // endregion -- end of HTTP proxy settings
3422 
3423 /***************************************************************************/
3424 // region Language, regional and character encoding settings
3444 
3455 
3460 
3465 
3480 
3489 
3494 
3509  // Language codes of macro languages, which get mapped to the main language
3510  'bh' => 'bho', // Bihari language family
3511  'no' => 'nb', // Norwegian language family
3512 
3513  // Language variants which get mapped to the main language
3514  'simple' => 'en', // Simple English
3515 ];
3516 
3524 
3533 
3545 
3559 
3565 
3571 
3577 
3582 
3587 
3592 
3597 
3603 
3614 
3633 
3640 
3661 
3674  'copyright',
3675  'history_copyright',
3676  'googlesearch',
3677  'feedback-terms',
3678  'feedback-termsofuse',
3679 ];
3680 
3705 
3716 
3729 
3730 // endregion -- End of language/charset settings
3731 
3732 /***************************************************************************/
3733 // region Output format and skin settings
3739 $wgMimeType = 'text/html';
3740 
3750 
3759 
3767 
3776 
3792 
3801 
3813 $wgBrowserFormatDetection = 'telephone=no';
3814 
3823 
3828 $wgDefaultSkin = 'vector';
3829 
3835 $wgFallbackSkin = 'fallback';
3836 
3848 
3853 
3882 $wgFragmentMode = [ 'html5', 'legacy' ];
3883 
3893 
3925  "copyright" => [
3926  "copyright" => [], // placeholder for the built in copyright icon
3927  ],
3928  "poweredby" => [
3929  "mediawiki" => [
3930  // Defaults to point at
3931  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3932  // plus srcset for 1.5x, 2x resolution variants.
3933  "src" => null,
3934  "url" => "https://www.mediawiki.org/",
3935  "alt" => "Powered by MediaWiki",
3936  ]
3937  ],
3938 ];
3939 
3947 
3951 $wgEdititis = false;
3952 
3965 
3976 
3984 
3994 
3995 // endregion -- End of output format settings
3996 
3997 /***************************************************************************/
3998 // region ResourceLoader settings
4309 
4400 
4412 
4418 
4436  'versioned' => 30 * 24 * 60 * 60, // 30 days
4437  'unversioned' => 5 * 60, // 5 minutes
4438 ];
4439 
4447 
4454 
4461 
4472 
4487 
4496 
4506 
4512 
4520 
4533 
4544 
4545 // endregion -- End of ResourceLoader settings
4546 
4547 /***************************************************************************/
4548 // region Page titles and redirects
4556 
4565 
4572 
4600 
4608 
4631 
4656 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
4657 
4666 
4681 
4687  NS_TALK => true,
4688  NS_USER => true,
4689  NS_USER_TALK => true,
4690  NS_PROJECT => true,
4691  NS_PROJECT_TALK => true,
4692  NS_FILE_TALK => true,
4693  NS_MEDIAWIKI => true,
4694  NS_MEDIAWIKI_TALK => true,
4695  NS_TEMPLATE => true,
4696  NS_TEMPLATE_TALK => true,
4697  NS_HELP => true,
4698  NS_HELP_TALK => true,
4700 ];
4701 
4709 
4717 
4726 
4733 
4744 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4745 
4755 
4761 
4762 // endregion -- End of title and interwiki settings
4763 
4764 /***************************************************************************/
4765 // region Interwiki links and sites
4786 
4794 
4799 
4819 
4827 
4832 
4849 
4856  'mediawiki' => MediaWikiSite::class,
4857 ];
4858 
4859 // endregion -- Interwiki links and sites
4860 
4861 /***************************************************************************/
4862 // region Parser settings
4871 
4877 
4885 
4890 
4902  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4903  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4904  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4905  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4906 ];
4907 
4912 
4917 
4931 
4944 
4955 
4975 
4983 
4989 $wgRawHtml = false;
4990 
5001 
5009 
5015 
5029 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
5030 
5036 
5041 
5048 
5054 
5060 
5065 
5071 
5079  'ISBN' => false,
5080  'PMID' => false,
5081  'RFC' => false
5082 ];
5083 
5084 // endregion -- end of parser settings
5085 
5086 /***************************************************************************/
5087 // region Statistics and content analysis
5107 
5116 
5130 
5136 
5142 
5148 
5169 
5184 
5185 // endregion -- End of statistics and content analysis
5186 
5187 /***************************************************************************/
5188 // region User accounts, authentication
5197  'local' => [
5198  'class' => LocalIdLookup::class,
5199  'services' => [
5200  'MainConfig',
5201  'DBLoadBalancer',
5202  ]
5203  ],
5204 ];
5205 
5211 
5275  'policies' => [
5276  'bureaucrat' => [
5277  'MinimalPasswordLength' => 10,
5278  'MinimumPasswordLengthToLogin' => 1,
5279  ],
5280  'sysop' => [
5281  'MinimalPasswordLength' => 10,
5282  'MinimumPasswordLengthToLogin' => 1,
5283  ],
5284  'interface-admin' => [
5285  'MinimalPasswordLength' => 10,
5286  'MinimumPasswordLengthToLogin' => 1,
5287  ],
5288  'bot' => [
5289  'MinimalPasswordLength' => 10,
5290  'MinimumPasswordLengthToLogin' => 1,
5291  ],
5292  'default' => [
5293  'MinimalPasswordLength' => [ 'value' => 1, 'suggestChangeOnLogin' => true ],
5294  'PasswordCannotBeSubstringInUsername' => [
5295  'value' => true,
5296  'suggestChangeOnLogin' => true
5297  ],
5298  'PasswordCannotMatchDefaults' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
5299  'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true ],
5300  'PasswordNotInCommonList' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
5301  ],
5302  ],
5303  'checks' => [
5304  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
5305  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
5306  'PasswordCannotBeSubstringInUsername' =>
5307  'PasswordPolicyChecks::checkPasswordCannotBeSubstringInUsername',
5308  'PasswordCannotMatchDefaults' => 'PasswordPolicyChecks::checkPasswordCannotMatchDefaults',
5309  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
5310  'PasswordNotInCommonList' => 'PasswordPolicyChecks::checkPasswordNotInCommonList',
5311  ],
5312 ];
5313 
5334 
5340  'preauth' => [
5341  MediaWiki\Auth\ThrottlePreAuthenticationProvider::class => [
5342  'class' => MediaWiki\Auth\ThrottlePreAuthenticationProvider::class,
5343  'sort' => 0,
5344  ],
5345  ],
5346  'primaryauth' => [
5347  // TemporaryPasswordPrimaryAuthenticationProvider should come before
5348  // any other PasswordAuthenticationRequest-based
5349  // PrimaryAuthenticationProvider (or at least any that might return
5350  // FAIL rather than ABSTAIN for a wrong password), or password reset
5351  // won't work right. Do not remove this (or change the key) or
5352  // auto-configuration of other such providers in extensions will
5353  // probably auto-insert themselves in the wrong place.
5354  MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class => [
5355  'class' => MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class,
5356  'services' => [
5357  'DBLoadBalancer',
5358  ],
5359  'args' => [ [
5360  // Fall through to LocalPasswordPrimaryAuthenticationProvider
5361  'authoritative' => false,
5362  ] ],
5363  'sort' => 0,
5364  ],
5365  MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class => [
5366  'class' => MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class,
5367  'services' => [
5368  'DBLoadBalancer',
5369  ],
5370  'args' => [ [
5371  // Last one should be authoritative, or else the user will get
5372  // a less-than-helpful error message (something like "supplied
5373  // authentication info not supported" rather than "wrong
5374  // password") if it too fails.
5375  'authoritative' => true,
5376  ] ],
5377  'sort' => 100,
5378  ],
5379  ],
5380  'secondaryauth' => [
5381  MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class => [
5382  'class' => MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class,
5383  'sort' => 0,
5384  ],
5385  MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class => [
5386  'class' => MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class,
5387  'sort' => 100,
5388  ],
5389  // Linking during login is experimental, enable at your own risk - T134952
5390  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
5391  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
5392  // 'sort' => 100,
5393  // ],
5394  MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class => [
5395  'class' => MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class,
5396  'services' => [
5397  'DBLoadBalancer',
5398  ],
5399  'sort' => 200,
5400  ],
5401  ],
5402 ];
5403 
5412 $wgRememberMe = 'choose'; // RememberMeAuthenticationRequest::CHOOSE_REMEMBER
5413 
5453  'default' => 300,
5454 ];
5455 
5472  'default' => true,
5473 ];
5474 
5485  \MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::class
5486 ];
5487 
5498  \MediaWiki\Auth\PasswordAuthenticationRequest::class,
5499 ];
5500 
5507 
5520 
5527 
5537 
5558  'A' => [
5559  'class' => MWOldPassword::class,
5560  ],
5561  'B' => [
5562  'class' => MWSaltedPassword::class,
5563  ],
5564  'pbkdf2-legacyA' => [
5565  'class' => LayeredParameterizedPassword::class,
5566  'types' => [
5567  'A',
5568  'pbkdf2',
5569  ],
5570  ],
5571  'pbkdf2-legacyB' => [
5572  'class' => LayeredParameterizedPassword::class,
5573  'types' => [
5574  'B',
5575  'pbkdf2',
5576  ],
5577  ],
5578  'bcrypt' => [
5579  'class' => BcryptPassword::class,
5580  'cost' => 9,
5581  ],
5582  'pbkdf2' => [
5583  'class' => Pbkdf2Password::class,
5584  'algo' => 'sha512',
5585  'cost' => '30000',
5586  'length' => '64',
5587  ],
5588  'argon2' => [
5589  'class' => Argon2Password::class,
5590 
5591  // Algorithm used:
5592  // * 'argon2i' is optimized against side-channel attacks (PHP 7.2+)
5593  // * 'argon2id' is optimized against both side-channel and GPU cracking (PHP 7.3+)
5594  // * 'auto' to use best available algorithm. If you're using more than one server, be
5595  // careful when you're mixing PHP versions because newer PHP might generate hashes that
5596  // older versions might would not understand.
5597  'algo' => 'auto',
5598 
5599  // The parameters below are the same as options accepted by password_hash().
5600  // Set them to override that function's defaults.
5601  //
5602  // 'memory_cost' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
5603  // 'time_cost' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
5604  // 'threads' => PASSWORD_ARGON2_DEFAULT_THREADS,
5605  ],
5606 ];
5607 
5615  'username' => true,
5616  'email' => true,
5617 ];
5618 
5623 
5635 
5642 $wgSignatureAllowedLintErrors = [ 'obsolete-tag' ];
5643 
5649 
5656  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
5657  'Conversion script', // Used for the old Wikipedia software upgrade
5658  'Maintenance script', // Maintenance scripts which perform editing, image import script
5659  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
5660  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
5661  'Unknown user', // Used in WikiImporter & RevisionStore for revisions with no author and in User for invalid user id
5662  'msg:double-redirect-fixer', // Automatic double redirect fix
5663  'msg:usermessage-editor', // Default user for leaving user messages
5664  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
5665  'msg:sorbs', // For $wgEnableDnsBlacklist etc.
5666  'msg:spambot_username', // Used by cleanupSpam.php
5667  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
5668 ];
5669 
5677  'ccmeonemails' => 0,
5678  'date' => 'default',
5679  'diffonly' => 0,
5680  'disablemail' => 0,
5681  'editfont' => 'monospace',
5682  'editondblclick' => 0,
5683  'editsectiononrightclick' => 0,
5684  'email-allow-new-users' => 1,
5685  'enotifminoredits' => 0,
5686  'enotifrevealaddr' => 0,
5687  'enotifusertalkpages' => 1,
5688  'enotifwatchlistpages' => 1,
5689  'extendwatchlist' => 1,
5690  'fancysig' => 0,
5691  'forceeditsummary' => 0,
5692  'gender' => 'unknown',
5693  'hideminor' => 0,
5694  'hidepatrolled' => 0,
5695  'hidecategorization' => 1,
5696  'imagesize' => 2,
5697  'minordefault' => 0,
5698  'newpageshidepatrolled' => 0,
5699  'nickname' => '',
5700  'pst-cssjs' => 1,
5701  'norollbackdiff' => 0,
5702  'numberheadings' => 0,
5703  'previewonfirst' => 0,
5704  'previewontop' => 1,
5705  'rcdays' => 7,
5706  'rcenhancedfilters-disable' => 0,
5707  'rclimit' => 50,
5708  'search-match-redirect' => true,
5709  'showhiddencats' => 0,
5710  'shownumberswatching' => 1,
5711  'showrollbackconfirmation' => 0,
5712  'skin' => false,
5713  'thumbsize' => 5,
5714  'underline' => 2,
5715  'uselivepreview' => 0,
5716  'usenewrc' => 1,
5717  'watchcreations' => 1,
5718  'watchdefault' => 1,
5719  'watchdeletion' => 0,
5720  'watchuploads' => 1,
5721  'watchlistdays' => 7.0,
5722  'watchlisthideanons' => 0,
5723  'watchlisthidebots' => 0,
5724  'watchlisthideliu' => 0,
5725  'watchlisthideminor' => 0,
5726  'watchlisthideown' => 0,
5727  'watchlisthidepatrolled' => 0,
5728  'watchlisthidecategorization' => 1,
5729  'watchlistreloadautomatically' => 0,
5730  'watchlistunwatchlinks' => 0,
5731  'watchmoves' => 0,
5732  'watchrollback' => 0,
5733  'wlenhancedfilters-disable' => 0,
5734  'wllimit' => 250,
5735  'useeditwarning' => 1,
5736  'prefershttps' => 1,
5737  'requireemail' => 0,
5738  'skin-responsive' => 1,
5739 ];
5740 
5745 
5752 
5763 
5771 
5783 
5793  MediaWiki\Session\CookieSessionProvider::class => [
5794  'class' => MediaWiki\Session\CookieSessionProvider::class,
5795  'args' => [ [
5796  'priority' => 30,
5797  'callUserSetCookiesHook' => true,
5798  ] ],
5799  ],
5800  MediaWiki\Session\BotPasswordSessionProvider::class => [
5801  'class' => MediaWiki\Session\BotPasswordSessionProvider::class,
5802  'args' => [ [
5803  'priority' => 75,
5804  ] ],
5805  ],
5806 ];
5807 
5816 
5817 // endregion -- end user accounts
5818 
5819 /***************************************************************************/
5820 // region User rights, access control and monitoring
5827 
5836 
5852  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5853  'IPv6' => 19,
5854 ];
5855 
5864 
5872 
5894 
5922 
5928 
5934 
5960 
5962 // Implicit group for all visitors
5963 $wgGroupPermissions['*']['createaccount'] = true;
5964 $wgGroupPermissions['*']['read'] = true;
5965 $wgGroupPermissions['*']['edit'] = true;
5966 $wgGroupPermissions['*']['createpage'] = true;
5967 $wgGroupPermissions['*']['createtalk'] = true;
5968 $wgGroupPermissions['*']['writeapi'] = true;
5969 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5970 $wgGroupPermissions['*']['editmywatchlist'] = true;
5971 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5972 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5973 $wgGroupPermissions['*']['editmyoptions'] = true;
5974 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5975 
5976 // Implicit group for all logged-in accounts
5977 $wgGroupPermissions['user']['move'] = true;
5978 $wgGroupPermissions['user']['move-subpages'] = true;
5979 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5980 $wgGroupPermissions['user']['move-categorypages'] = true;
5981 $wgGroupPermissions['user']['movefile'] = true;
5982 $wgGroupPermissions['user']['read'] = true;
5983 $wgGroupPermissions['user']['edit'] = true;
5984 $wgGroupPermissions['user']['createpage'] = true;
5985 $wgGroupPermissions['user']['createtalk'] = true;
5986 $wgGroupPermissions['user']['writeapi'] = true;
5987 $wgGroupPermissions['user']['upload'] = true;
5988 $wgGroupPermissions['user']['reupload'] = true;
5989 $wgGroupPermissions['user']['reupload-shared'] = true;
5990 $wgGroupPermissions['user']['minoredit'] = true;
5991 $wgGroupPermissions['user']['editmyusercss'] = true;
5992 $wgGroupPermissions['user']['editmyuserjson'] = true;
5993 $wgGroupPermissions['user']['editmyuserjs'] = true;
5994 $wgGroupPermissions['user']['editmyuserjsredirect'] = true;
5995 $wgGroupPermissions['user']['purge'] = true;
5996 $wgGroupPermissions['user']['sendemail'] = true;
5997 $wgGroupPermissions['user']['applychangetags'] = true;
5998 $wgGroupPermissions['user']['changetags'] = true;
5999 $wgGroupPermissions['user']['editcontentmodel'] = true;
6000 
6001 // Implicit group for accounts that pass $wgAutoConfirmAge and $wgAutoConfirmCount
6002 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
6003 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
6004 
6005 // Users with bot privilege can have their edits hidden
6006 // from various log pages by default
6007 $wgGroupPermissions['bot']['bot'] = true;
6008 $wgGroupPermissions['bot']['autoconfirmed'] = true;
6009 $wgGroupPermissions['bot']['editsemiprotected'] = true;
6010 $wgGroupPermissions['bot']['nominornewtalk'] = true;
6011 $wgGroupPermissions['bot']['autopatrol'] = true;
6012 $wgGroupPermissions['bot']['suppressredirect'] = true;
6013 $wgGroupPermissions['bot']['apihighlimits'] = true;
6014 $wgGroupPermissions['bot']['writeapi'] = true;
6015 
6016 // Most extra permission abilities go to this group
6017 $wgGroupPermissions['sysop']['block'] = true;
6018 $wgGroupPermissions['sysop']['createaccount'] = true;
6019 $wgGroupPermissions['sysop']['delete'] = true;
6020 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
6021 $wgGroupPermissions['sysop']['bigdelete'] = true;
6022 // can view deleted history entries, but not see or restore the text
6023 $wgGroupPermissions['sysop']['deletedhistory'] = true;
6024 // can view deleted revision text
6025 $wgGroupPermissions['sysop']['deletedtext'] = true;
6026 $wgGroupPermissions['sysop']['undelete'] = true;
6027 $wgGroupPermissions['sysop']['editinterface'] = true;
6028 $wgGroupPermissions['sysop']['editsitejson'] = true;
6029 $wgGroupPermissions['sysop']['edituserjson'] = true;
6030 $wgGroupPermissions['sysop']['import'] = true;
6031 $wgGroupPermissions['sysop']['importupload'] = true;
6032 $wgGroupPermissions['sysop']['move'] = true;
6033 $wgGroupPermissions['sysop']['move-subpages'] = true;
6034 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
6035 $wgGroupPermissions['sysop']['move-categorypages'] = true;
6036 $wgGroupPermissions['sysop']['patrol'] = true;
6037 $wgGroupPermissions['sysop']['autopatrol'] = true;
6038 $wgGroupPermissions['sysop']['protect'] = true;
6039 $wgGroupPermissions['sysop']['editprotected'] = true;
6040 $wgGroupPermissions['sysop']['rollback'] = true;
6041 $wgGroupPermissions['sysop']['upload'] = true;
6042 $wgGroupPermissions['sysop']['reupload'] = true;
6043 $wgGroupPermissions['sysop']['reupload-shared'] = true;
6044 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
6045 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
6046 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
6047 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
6048 $wgGroupPermissions['sysop']['blockemail'] = true;
6049 $wgGroupPermissions['sysop']['markbotedits'] = true;
6050 $wgGroupPermissions['sysop']['apihighlimits'] = true;
6051 $wgGroupPermissions['sysop']['browsearchive'] = true;
6052 $wgGroupPermissions['sysop']['noratelimit'] = true;
6053 $wgGroupPermissions['sysop']['movefile'] = true;
6054 $wgGroupPermissions['sysop']['unblockself'] = true;
6055 $wgGroupPermissions['sysop']['suppressredirect'] = true;
6056 # $wgGroupPermissions['sysop']['pagelang'] = true;
6057 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
6058 $wgGroupPermissions['sysop']['mergehistory'] = true;
6059 $wgGroupPermissions['sysop']['managechangetags'] = true;
6060 $wgGroupPermissions['sysop']['deletechangetags'] = true;
6061 
6062 $wgGroupPermissions['interface-admin']['editinterface'] = true;
6063 $wgGroupPermissions['interface-admin']['editsitecss'] = true;
6064 $wgGroupPermissions['interface-admin']['editsitejson'] = true;
6065 $wgGroupPermissions['interface-admin']['editsitejs'] = true;
6066 $wgGroupPermissions['interface-admin']['editusercss'] = true;
6067 $wgGroupPermissions['interface-admin']['edituserjson'] = true;
6068 $wgGroupPermissions['interface-admin']['edituserjs'] = true;
6069 
6070 // Permission to change users' group assignments
6071 $wgGroupPermissions['bureaucrat']['userrights'] = true;
6072 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
6073 // Permission to change users' groups assignments across wikis
6074 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
6075 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
6076 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
6077 
6078 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
6079 # $wgGroupPermissions['sysop']['deleterevision'] = true;
6080 // To hide usernames from users and Sysops
6081 $wgGroupPermissions['suppress']['hideuser'] = true;
6082 // To hide revisions/log items from users and Sysops
6083 $wgGroupPermissions['suppress']['suppressrevision'] = true;
6084 // To view revisions/log items hidden from users and Sysops
6085 $wgGroupPermissions['suppress']['viewsuppressed'] = true;
6086 // For private suppression log access
6087 $wgGroupPermissions['suppress']['suppressionlog'] = true;
6088 // Basic rights for revision delete
6089 $wgGroupPermissions['suppress']['deleterevision'] = true;
6090 $wgGroupPermissions['suppress']['deletelogentry'] = true;
6091 
6098 # $wgGroupPermissions['developer']['siteadmin'] = true;
6099 
6112 
6116 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
6117 
6140 
6145 
6153 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
6154 
6166 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
6167 
6178 
6192 
6201 
6212 
6234 
6245 
6304  'autoconfirmed' => [ '&',
6307  ],
6308 ];
6309 
6329  'onEdit' => [],
6330 ];
6331 
6337 
6361 
6366 
6372 
6378 
6384 
6393 
6416  'count' => 0,
6417  'seconds' => 86400,
6418 ] ];
6419 
6432 
6437 
6444 
6468 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
6469 
6479 
6485 
6494 
6501 
6541  // Page edits
6542  'edit' => [
6543  'ip' => [ 8, 60 ],
6544  'newbie' => [ 8, 60 ],
6545  'user' => [ 90, 60 ],
6546  ],
6547  // Page moves
6548  'move' => [
6549  'newbie' => [ 2, 120 ],
6550  'user' => [ 8, 60 ],
6551  ],
6552  // File uploads
6553  'upload' => [
6554  'ip' => [ 8, 60 ],
6555  'newbie' => [ 8, 60 ],
6556  ],
6557  // Page rollbacks
6558  'rollback' => [
6559  'user' => [ 10, 60 ],
6560  'newbie' => [ 5, 120 ]
6561  ],
6562  // Triggering password resets emails
6563  'mailpassword' => [
6564  'ip' => [ 5, 3600 ],
6565  ],
6566  // Emailing other users using MediaWiki
6567  'emailuser' => [
6568  'ip' => [ 5, 86400 ],
6569  'newbie' => [ 5, 86400 ],
6570  'user' => [ 20, 86400 ],
6571  ],
6572  'changeemail' => [
6573  'ip-all' => [ 10, 3600 ],
6574  'user' => [ 4, 86400 ]
6575  ],
6576  // since 1.33 - rate limit email confirmations
6577  'confirmemail' => [
6578  'ip-all' => [ 10, 3600 ],
6579  'user' => [ 4, 86400 ]
6580  ],
6581  // Purging pages
6582  'purge' => [
6583  'ip' => [ 30, 60 ],
6584  'user' => [ 30, 60 ],
6585  ],
6586  // Purges of link tables
6587  'linkpurge' => [
6588  'ip' => [ 30, 60 ],
6589  'user' => [ 30, 60 ],
6590  ],
6591  // Files rendered via thumb.php or thumb_handler.php
6592  'renderfile' => [
6593  'ip' => [ 700, 30 ],
6594  'user' => [ 700, 30 ],
6595  ],
6596  // Same as above but for non-standard thumbnails
6597  'renderfile-nonstandard' => [
6598  'ip' => [ 70, 30 ],
6599  'user' => [ 70, 30 ],
6600  ],
6601  // Stashing edits into cache before save
6602  'stashedit' => [
6603  'ip' => [ 30, 60 ],
6604  'newbie' => [ 30, 60 ],
6605  ],
6606  // Adding or removing change tags
6607  'changetag' => [
6608  'ip' => [ 8, 60 ],
6609  'newbie' => [ 8, 60 ],
6610  ],
6611  // Changing the content model of a page
6612  'editcontentmodel' => [
6613  'newbie' => [ 2, 120 ],
6614  'user' => [ 8, 60 ],
6615  ],
6616 ];
6617 
6623 
6630 
6636 
6650  // Short term limit
6651  [ 'count' => 5, 'seconds' => 300 ],
6652  // Long term limit. We need to balance the risk
6653  // of somebody using this as a DoS attack to lock someone
6654  // out of their account, and someone doing a brute force attack.
6655  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
6656 ];
6657 
6669 
6670 // @TODO: clean up grants
6671 // @TODO: auto-include read/editsemiprotected rights?
6672 
6673 $wgGrantPermissions['basic']['autocreateaccount'] = true;
6674 $wgGrantPermissions['basic']['autoconfirmed'] = true;
6675 $wgGrantPermissions['basic']['autopatrol'] = true;
6676 $wgGrantPermissions['basic']['editsemiprotected'] = true;
6677 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
6678 $wgGrantPermissions['basic']['nominornewtalk'] = true;
6679 $wgGrantPermissions['basic']['patrolmarks'] = true;
6680 $wgGrantPermissions['basic']['purge'] = true;
6681 $wgGrantPermissions['basic']['read'] = true;
6682 $wgGrantPermissions['basic']['writeapi'] = true;
6683 
6684 $wgGrantPermissions['highvolume']['bot'] = true;
6685 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
6686 $wgGrantPermissions['highvolume']['noratelimit'] = true;
6687 $wgGrantPermissions['highvolume']['markbotedits'] = true;
6688 
6689 $wgGrantPermissions['import']['import'] = true;
6690 $wgGrantPermissions['import']['importupload'] = true;
6691 
6692 $wgGrantPermissions['editpage']['edit'] = true;
6693 $wgGrantPermissions['editpage']['minoredit'] = true;
6694 $wgGrantPermissions['editpage']['applychangetags'] = true;
6695 $wgGrantPermissions['editpage']['changetags'] = true;
6696 $wgGrantPermissions['editpage']['editcontentmodel'] = true;
6697 
6698 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
6699 $wgGrantPermissions['editprotected']['editprotected'] = true;
6700 
6701 // FIXME: Rename editmycssjs to editmyconfig
6702 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
6703 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
6704 $wgGrantPermissions['editmycssjs']['editmyuserjson'] = true;
6705 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
6706 
6707 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
6708 $wgGrantPermissions['editmyoptions']['editmyuserjson'] = true;
6709 
6710 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
6711 $wgGrantPermissions['editinterface']['editinterface'] = true;
6712 $wgGrantPermissions['editinterface']['edituserjson'] = true;
6713 $wgGrantPermissions['editinterface']['editsitejson'] = true;
6714 
6715 $wgGrantPermissions['editsiteconfig'] = $wgGrantPermissions['editinterface'];
6716 $wgGrantPermissions['editsiteconfig']['editusercss'] = true;
6717 $wgGrantPermissions['editsiteconfig']['edituserjs'] = true;
6718 $wgGrantPermissions['editsiteconfig']['editsitecss'] = true;
6719 $wgGrantPermissions['editsiteconfig']['editsitejs'] = true;
6720 
6721 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
6722 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
6723 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
6724 $wgGrantPermissions['createeditmovepage']['delete-redirect'] = true;
6725 $wgGrantPermissions['createeditmovepage']['move'] = true;
6726 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
6727 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
6728 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
6729 $wgGrantPermissions['createeditmovepage']['suppressredirect'] = true;
6730 
6731 $wgGrantPermissions['uploadfile']['upload'] = true;
6732 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
6733 
6734 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
6735 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
6736 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
6737 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
6738 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
6739 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
6740 
6741 $wgGrantPermissions['patrol']['patrol'] = true;
6742 
6743 $wgGrantPermissions['rollback']['rollback'] = true;
6744 
6745 $wgGrantPermissions['blockusers']['block'] = true;
6746 $wgGrantPermissions['blockusers']['blockemail'] = true;
6747 
6748 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
6749 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
6750 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
6751 
6752 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
6753 
6754 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
6755  $wgGrantPermissions['viewdeleted'];
6756 $wgGrantPermissions['delete']['delete'] = true;
6757 $wgGrantPermissions['delete']['bigdelete'] = true;
6758 $wgGrantPermissions['delete']['deletelogentry'] = true;
6759 $wgGrantPermissions['delete']['deleterevision'] = true;
6760 $wgGrantPermissions['delete']['undelete'] = true;
6761 
6762 $wgGrantPermissions['oversight']['suppressrevision'] = true;
6763 $wgGrantPermissions['oversight']['viewsuppressed'] = true;
6764 
6765 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
6766 $wgGrantPermissions['protect']['protect'] = true;
6767 
6768 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
6769 
6770 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
6771 
6772 $wgGrantPermissions['sendemail']['sendemail'] = true;
6773 
6774 $wgGrantPermissions['createaccount']['createaccount'] = true;
6775 
6776 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
6777 
6778 $wgGrantPermissions['mergehistory']['mergehistory'] = true;
6779 
6785  // Hidden grants are implicitly present
6786  'basic' => 'hidden',
6787 
6788  'editpage' => 'page-interaction',
6789  'createeditmovepage' => 'page-interaction',
6790  'editprotected' => 'page-interaction',
6791  'patrol' => 'page-interaction',
6792 
6793  'uploadfile' => 'file-interaction',
6794  'uploadeditmovefile' => 'file-interaction',
6795 
6796  'sendemail' => 'email',
6797 
6798  'viewmywatchlist' => 'watchlist-interaction',
6799  'editviewmywatchlist' => 'watchlist-interaction',
6800 
6801  'editmycssjs' => 'customization',
6802  'editmyoptions' => 'customization',
6803 
6804  'editinterface' => 'administration',
6805  'editsiteconfig' => 'administration',
6806  'rollback' => 'administration',
6807  'blockusers' => 'administration',
6808  'delete' => 'administration',
6809  'viewdeleted' => 'administration',
6810  'viewrestrictedlogs' => 'administration',
6811  'protect' => 'administration',
6812  'oversight' => 'administration',
6813  'createaccount' => 'administration',
6814  'mergehistory' => 'administration',
6815  'import' => 'administration',
6816 
6817  'highvolume' => 'high-volume',
6818 
6819  'privateinfo' => 'private-information',
6820 ];
6821 
6827 
6834 
6844 
6845 // endregion -- end of user rights settings
6846 
6847 /***************************************************************************/
6848 // region Security
6851 // This section is for miscellaneous security settings.
6852 // For password restrictions and encryption settings, see the section
6853 // "User accounts, authentication".
6854 
6859 
6866 
6873 
6881 
6886 
6891 
6897 
6918 
6930 
6954 
6962 
6972  'https://3hub.co' => true,
6973  'https://morepro.info' => true,
6974  'https://p.ato.mx' => true,
6975  'https://s.ato.mx' => true,
6976  'https://adserver.adtech.de' => true,
6977  'https://ums.adtechus.com' => true,
6978  'https://cas.criteo.com' => true,
6979  'https://cat.nl.eu.criteo.com' => true,
6980  'https://atpixel.alephd.com' => true,
6981  'https://rtb.metrigo.com' => true,
6982  'https://d5p.de17a.com' => true,
6983  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
6984  'https://ad.lkqd.net/vpaid/vpaid.js?fusion=1.0' => true,
6985  'https://t.lkqd.net/t' => true,
6986  'chrome-extension' => true,
6987 ];
6988 
6998 
7014 
7022 
7031 
7041 
7048 $wgHKDFAlgorithm = 'sha256';
7049 
7055 $wgAllowUserJs = false;
7056 
7062 $wgAllowUserCss = false;
7063 
7070 $wgAllowUserCssPrefs = true;
7071 
7075 $wgUseSiteJs = true;
7076 
7080 $wgUseSiteCss = true;
7081 
7086 $wgBreakFrames = false;
7087 
7107 $wgEditPageFrameOptions = 'DENY';
7108 
7119 $wgApiFrameOptions = 'DENY';
7120 
7121 // endregion -- end of security
7122 
7123 /***************************************************************************/
7124 // region Cookie settings
7130 $wgCookieExpiration = 30 * 86400;
7131 
7139 
7145 
7151 
7162 $wgCookieSecure = 'detect';
7163 
7171 
7178 
7185 
7197 
7207 
7212 
7217 
7226 
7235 
7236 // endregion -- end of cookie settings
7237 
7238 /***************************************************************************/
7239 // region Profiling, testing and debugging
7241 // See $wgProfiler for how to enable profiling.
7242 
7249 
7254 
7261 
7268 
7278 
7287 
7294  // HTTP GET/HEAD requests.
7295  // Primary queries should not happen on GET requests
7296  'GET' => [
7297  'masterConns' => 0,
7298  'writes' => 0,
7299  'readQueryTime' => 5,
7300  'readQueryRows' => 10000
7301  ],
7302  // HTTP POST requests.
7303  // Primary reads and writes will happen for a subset of these.
7304  'POST' => [
7305  'readQueryTime' => 5,
7306  'writeQueryTime' => 1,
7307  'readQueryRows' => 100000,
7308  'maxAffected' => 1000
7309  ],
7310  'POST-nonwrite' => [
7311  'writes' => 0,
7312  'readQueryTime' => 5,
7313  'readQueryRows' => 10000
7314  ],
7315  // Deferred updates that run after HTTP response is sent for GET requests
7316  'PostSend-GET' => [
7317  'readQueryTime' => 5,
7318  'writeQueryTime' => 1,
7319  'readQueryRows' => 10000,
7320  'maxAffected' => 1000,
7321  // Log primary queries under the post-send entry point as they are discouraged
7322  'masterConns' => 0,
7323  'writes' => 0,
7324  ],
7325  // Deferred updates that run after HTTP response is sent for POST requests
7326  'PostSend-POST' => [
7327  'readQueryTime' => 5,
7328  'writeQueryTime' => 1,
7329  'readQueryRows' => 100000,
7330  'maxAffected' => 1000
7331  ],
7332  // Background job runner
7333  'JobRunner' => [
7334  'readQueryTime' => 30,
7335  'writeQueryTime' => 5,
7336  'readQueryRows' => 100000,
7337  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
7338  ],
7339  // Command-line scripts
7340  'Maintenance' => [
7341  'writeQueryTime' => 5,
7342  'maxAffected' => 1000
7343  ]
7344 ];
7345 
7377 
7400  'class' => \MediaWiki\Logger\LegacySpi::class,
7401 ];
7402 
7409 
7414 
7422 
7427 
7433 
7438 
7445 
7451 
7458 
7526 
7538 
7547 
7555 
7562 
7577 
7582 
7588 
7597 
7598 // endregion -- end of profiling, testing and debugging
7599 
7600 /***************************************************************************/
7601 // region Search
7608 
7614 
7619 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
7620 
7632 
7642  'application/x-suggestions+json' => false,
7643  'application/x-suggestions+xml' => false,
7644 ];
7645 
7653 
7659 
7664 
7669 
7675 
7686  NS_MAIN => true,
7687 ];
7688 
7694 
7711 
7718 
7734 
7741 
7752 
7763 
7772 
7773 // endregion -- end of search settings
7774 
7775 /***************************************************************************/
7776 // region Edit user interface
7783 $wgDiff3 = '/usr/bin/diff3';
7784 
7788 $wgDiff = '/usr/bin/diff';
7789 
7796  NS_CATEGORY => true
7797 ];
7798 
7805 
7812 
7813 // endregion -- end edit UI
7814 
7815 /***************************************************************************/
7816 // region Maintenance
7818 // See also $wgSiteNotice
7819 
7824 if ( !isset( $wgCommandLineMode ) ) {
7825  $wgCommandLineMode = false;
7826 }
7833 
7843 
7850 
7859 
7870 
7874 $wgGitBin = '/usr/bin/git';
7875 
7890  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
7891  'https://gerrit.wikimedia.org/g/%R/+/%H',
7892  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
7893  'https://gerrit.wikimedia.org/g/%R/+/%H',
7894 ];
7895 
7896 // endregion -- End of maintenance
7897 
7898 /***************************************************************************/
7899 // region Recent changes, new pages, watchlist and history
7907 $wgRCMaxAge = 90 * 24 * 3600;
7908 
7914 $wgWatchersMaxAge = 180 * 24 * 3600;
7915 
7923 
7932 
7937 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
7938 
7945 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
7946 
8008 
8015  'redis' => RedisPubSubFeedEngine::class,
8016  'udp' => UDPRCFeedEngine::class,
8017 ];
8018 
8031 
8041 
8048 
8057 
8068 
8072 $wgFeed = true;
8073 
8079 
8089 
8095 
8109 
8116  'rss' => RSSFeed::class,
8117  'atom' => AtomFeed::class,
8118 ];
8119 
8125 
8130 
8135 
8142 
8148 
8154 
8160 
8181  'mw-contentmodelchange' => true,
8182  'mw-new-redirect' => true,
8183  'mw-removed-redirect' => true,
8184  'mw-changed-redirect-target' => true,
8185  'mw-blank' => true,
8186  'mw-replace' => true,
8187  'mw-rollback' => true,
8188  'mw-undo' => true,
8189  'mw-manual-revert' => true,
8190  'mw-reverted' => true,
8191  'mw-server-side-upload' => true,
8192  'mw-add-media' => false,
8193  'mw-remove-media' => false,
8194 ];
8195 
8204 
8230  'newpage' => [
8231  'letter' => 'newpageletter',
8232  'title' => 'recentchanges-label-newpage',
8233  'legend' => 'recentchanges-legend-newpage',
8234  'grouping' => 'any',
8235  ],
8236  'minor' => [
8237  'letter' => 'minoreditletter',
8238  'title' => 'recentchanges-label-minor',
8239  'legend' => 'recentchanges-legend-minor',
8240  'class' => 'minoredit',
8241  'grouping' => 'all',
8242  ],
8243  'bot' => [
8244  'letter' => 'boteditletter',
8245  'title' => 'recentchanges-label-bot',
8246  'legend' => 'recentchanges-legend-bot',
8247  'class' => 'botedit',
8248  'grouping' => 'all',
8249  ],
8250  'unpatrolled' => [
8251  'letter' => 'unpatrolledletter',
8252  'title' => 'recentchanges-label-unpatrolled',
8253  'legend' => 'recentchanges-legend-unpatrolled',
8254  'grouping' => 'any',
8255  ],
8256 ];
8257 
8265 
8278 
8294 
8295 // endregion -- end RC/watchlist
8296 
8297 /***************************************************************************/
8298 // region Copyright and credits settings
8309 
8316 
8324 
8329 
8334 
8343 
8349 
8350 // endregion -- end of copyright and credits settings
8351 
8352 /***************************************************************************/
8353 // region Import / Export
8379 
8388 
8395 
8402 
8407 
8420 
8425 
8430 
8438 
8444 
8445 // endregion -- end of import/export
8446 
8447 /***************************************************************************/
8448 // region Extensions
8456 
8484 
8511 
8518 
8534 
8539 
8565 
8573 
8578 
8587 
8647 
8684 
8697  __DIR__ . '/ServiceWiring.php'
8698 ];
8699 
8708  'deletePage' => DeletePageJob::class,
8709  'refreshLinks' => RefreshLinksJob::class,
8710  'deleteLinks' => DeleteLinksJob::class,
8711  'htmlCacheUpdate' => HTMLCacheUpdateJob::class,
8712  'sendMail' => EmaillingJob::class,
8713  'enotifNotify' => EnotifNotifyJob::class,
8714  'fixDoubleRedirect' => DoubleRedirectJob::class,
8715  'AssembleUploadChunks' => AssembleUploadChunksJob::class,
8716  'PublishStashedFile' => PublishStashedFileJob::class,
8717  'ThumbnailRender' => ThumbnailRenderJob::class,
8718  'recentChangesUpdate' => RecentChangesUpdateJob::class,
8719  'refreshLinksPrioritized' => RefreshLinksJob::class,
8720  'refreshLinksDynamic' => RefreshLinksJob::class,
8721  'activityUpdateJob' => ActivityUpdateJob::class,
8722  'categoryMembershipChange' => CategoryMembershipChangeJob::class,
8723  'clearUserWatchlist' => ClearUserWatchlistJob::class,
8724  'watchlistExpiry' => WatchlistExpiryJob::class,
8725  'cdnPurge' => CdnPurgeJob::class,
8726  'userGroupExpiry' => UserGroupExpiryJob::class,
8727  'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class,
8728  'userOptionsUpdate' => UserOptionsUpdateJob::class,
8729  'revertedTagUpdate' => RevertedTagUpdateJob::class,
8730  'enqueue' => EnqueueJob::class, // local queue for multi-DC setups
8731  'null' => NullJob::class,
8732  'userEditCountInit' => UserEditCountInitJob::class,
8733 ];
8734 
8746 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
8747 
8758 
8773 
8781  'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
8782 ];
8783 
8796 
8802  'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
8803 ];
8804 
8813  'hiddencat' => 'categorylinks',
8814 ];
8815 
8816 // endregion -- End extensions
8817 
8818 /***************************************************************************/
8819 // region Categories
8826 
8832 
8837 
8863 $wgCategoryCollation = 'uppercase';
8864 
8881 
8882 // endregion -- End categories
8883 
8884 /***************************************************************************/
8885 // region Logging
8898  '',
8899  'block',
8900  'protect',
8901  'rights',
8902  'delete',
8903  'upload',
8904  'move',
8905  'import',
8906  'patrol',
8907  'merge',
8908  'suppress',
8909  'tag',
8910  'managetags',
8911  'contentmodel',
8912 ];
8913 
8922  'suppress' => 'suppressionlog'
8923 ];
8924 
8945  'patrol' => true,
8946  'tag' => true,
8947  'newusers' => false,
8948 ];
8949 
8960  '' => 'all-logs-page',
8961  'block' => 'blocklogpage',
8962  'protect' => 'protectlogpage',
8963  'rights' => 'rightslog',
8964  'delete' => 'dellogpage',
8965  'upload' => 'uploadlogpage',
8966  'move' => 'movelogpage',
8967  'import' => 'importlogpage',
8968  'patrol' => 'patrol-log-page',
8969  'merge' => 'mergelog',
8970  'suppress' => 'suppressionlog',
8971 ];
8972 
8983  '' => 'alllogstext',
8984  'block' => 'blocklogtext',
8985  'delete' => 'dellogpagetext',
8986  'import' => 'importlogpagetext',
8987  'merge' => 'mergelogpagetext',
8988  'move' => 'movelogpagetext',
8989  'patrol' => 'patrol-log-header',
8990  'protect' => 'protectlogtext',
8991  'rights' => 'rightslogtext',
8992  'suppress' => 'suppressionlogtext',
8993  'upload' => 'uploadlogpagetext',
8994 ];
8995 
9003 
9011  'block/block' => BlockLogFormatter::class,
9012  'block/reblock' => BlockLogFormatter::class,
9013  'block/unblock' => BlockLogFormatter::class,
9014  'contentmodel/change' => ContentModelLogFormatter::class,
9015  'contentmodel/new' => ContentModelLogFormatter::class,
9016  'delete/delete' => DeleteLogFormatter::class,
9017  'delete/delete_redir' => DeleteLogFormatter::class,
9018  'delete/delete_redir2' => DeleteLogFormatter::class,
9019  'delete/event' => DeleteLogFormatter::class,
9020  'delete/restore' => DeleteLogFormatter::class,
9021  'delete/revision' => DeleteLogFormatter::class,
9022  'import/interwiki' => ImportLogFormatter::class,
9023  'import/upload' => ImportLogFormatter::class,
9024  'managetags/activate' => LogFormatter::class,
9025  'managetags/create' => LogFormatter::class,
9026  'managetags/deactivate' => LogFormatter::class,
9027  'managetags/delete' => LogFormatter::class,
9028  'merge/merge' => MergeLogFormatter::class,
9029  'move/move' => MoveLogFormatter::class,
9030  'move/move_redir' => MoveLogFormatter::class,
9031  'patrol/patrol' => PatrolLogFormatter::class,
9032  'patrol/autopatrol' => PatrolLogFormatter::class,
9033  'protect/modify' => ProtectLogFormatter::class,
9034  'protect/move_prot' => ProtectLogFormatter::class,
9035  'protect/protect' => ProtectLogFormatter::class,
9036  'protect/unprotect' => ProtectLogFormatter::class,
9037  'rights/autopromote' => RightsLogFormatter::class,
9038  'rights/rights' => RightsLogFormatter::class,
9039  'suppress/block' => BlockLogFormatter::class,
9040  'suppress/delete' => DeleteLogFormatter::class,
9041  'suppress/event' => DeleteLogFormatter::class,
9042  'suppress/reblock' => BlockLogFormatter::class,
9043  'suppress/revision' => DeleteLogFormatter::class,
9044  'tag/update' => TagLogFormatter::class,
9045  'upload/overwrite' => UploadLogFormatter::class,
9046  'upload/revert' => UploadLogFormatter::class,
9047  'upload/upload' => UploadLogFormatter::class,
9048 ];
9049 
9059  'block' => [
9060  'block' => [ 'block' ],
9061  'reblock' => [ 'reblock' ],
9062  'unblock' => [ 'unblock' ],
9063  ],
9064  'contentmodel' => [
9065  'change' => [ 'change' ],
9066  'new' => [ 'new' ],
9067  ],
9068  'delete' => [
9069  'delete' => [ 'delete' ],
9070  'delete_redir' => [ 'delete_redir', 'delete_redir2' ],
9071  'restore' => [ 'restore' ],
9072  'event' => [ 'event' ],
9073  'revision' => [ 'revision' ],
9074  ],
9075  'import' => [
9076  'interwiki' => [ 'interwiki' ],
9077  'upload' => [ 'upload' ],
9078  ],
9079  'managetags' => [
9080  'create' => [ 'create' ],
9081  'delete' => [ 'delete' ],
9082  'activate' => [ 'activate' ],
9083  'deactivate' => [ 'deactivate' ],
9084  ],
9085  'move' => [
9086  'move' => [ 'move' ],
9087  'move_redir' => [ 'move_redir' ],
9088  ],
9089  'newusers' => [
9090  'create' => [ 'create', 'newusers' ],
9091  'create2' => [ 'create2' ],
9092  'autocreate' => [ 'autocreate' ],
9093  'byemail' => [ 'byemail' ],
9094  ],
9095  'protect' => [
9096  'protect' => [ 'protect' ],
9097  'modify' => [ 'modify' ],
9098  'unprotect' => [ 'unprotect' ],
9099  'move_prot' => [ 'move_prot' ],
9100  ],
9101  'rights' => [
9102  'rights' => [ 'rights' ],
9103  'autopromote' => [ 'autopromote' ],
9104  ],
9105  'suppress' => [
9106  'event' => [ 'event' ],
9107  'revision' => [ 'revision' ],
9108  'delete' => [ 'delete' ],
9109  'block' => [ 'block' ],
9110  'reblock' => [ 'reblock' ],
9111  ],
9112  'upload' => [
9113  'upload' => [ 'upload' ],
9114  'overwrite' => [ 'overwrite' ],
9115  'revert' => [ 'revert' ],
9116  ],
9117 ];
9118 
9123 
9129 
9130 // endregion -- end logging
9131 
9132 /***************************************************************************/
9133 // region Special pages (general and miscellaneous)
9140 
9147 
9153 
9159 
9168  'IPv4' => 16,
9169  'IPv6' => 32,
9170 ];
9171 
9172 // endregion -- end special pages
9173 
9174 /***************************************************************************/
9175 // region Actions
9184 
9185 // endregion -- end actions
9186 
9187 /***************************************************************************/
9188 // region Robot (search engine crawler) policy
9190 // See also $wgNoFollowLinks.
9191 
9197 $wgDefaultRobotPolicy = 'index,follow';
9198 
9214 
9242 
9254 
9255 // endregion End robot policy
9256 
9257 /***************************************************************************/
9258 // region AJAX, Action API and REST API
9279 $wgDebugAPI = false;
9280 
9318 
9327 
9336 
9345 
9354 
9360 
9366 
9372 
9379 
9385 
9390 
9396  'MIMEsearch', // aiprop=mime
9397  'LinkSearch', // list=exturlusage
9398 ];
9399 
9405 $wgUseAjax = true;
9406 
9413 
9418 
9423 
9445 
9452 
9457  /* simple headers (see spec) */
9458  'Accept',
9459  'Accept-Language',
9460  'Content-Language',
9461  'Content-Type',
9462  /* non-authorable headers in XHR, which are however requested by some UAs */
9463  'Accept-Encoding',
9464  'DNT',
9465  'Origin',
9466  /* MediaWiki whitelist */
9467  'User-Agent',
9468  'Api-User-Agent',
9469  /* Allowing caching preflight requests, see T269636 */
9470  'Access-Control-Max-Age',
9471 ];
9472 
9479 
9480 // endregion -- End AJAX and API
9481 
9482 /***************************************************************************/
9483 // region Shell and process control
9490 
9496 
9501 
9507 
9532 
9536 $wgPhpCli = '/usr/bin/php';
9537 
9553 
9558 
9572 $wgShellboxUrls = [ 'default' => null ];
9573 
9582 
9583 // endregion -- end Shell and process control
9584 
9585 /***************************************************************************/
9586 // region HTTP client
9596 
9606 
9615 
9624 
9630 
9635 
9640 
9655 
9665 
9672 
9673 // endregion -- End HTTP client
9674 
9675 /***************************************************************************/
9676 // region Job queue
9686 
9695 
9700 
9705 
9706 // endregion -- End job queue
9707 
9708 /***************************************************************************/
9709 // region Miscellaneous
9717 
9756  'paths' => [],
9757  'modules' => [],
9758  'global' => [
9759  # Timeout in seconds
9760  'timeout' => 360,
9761  # 'domain' is set to $wgCanonicalServer in Setup.php
9762  'forwardCookies' => false,
9763  'HTTPProxy' => null
9764  ]
9765 ];
9766 
9787  'default' => [
9788  'class' => EventRelayerNull::class,
9789  ]
9790 ];
9791 
9809 $wgPingback = false;
9810 
9818 
9828 
9838 
9848 
9858 
9868 
9879 
9880 /*
9881  * This file uses VisualStudio style region/endregion fold markers which are
9882  * recognised by PHPStorm. If modelines are enabled, the following editor
9883  * configuration will also enable folding in vim, if it is in the last 5 lines
9884  * of the file. We also use "@name" which creates sections in Doxygen.
9885  *
9886  * vim: foldmarker=//\ region,//\ endregion foldmethod=marker
9887  */
9888 // endregion
$wgSend404Code
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
Definition: DefaultSettings.php:3964
$wgConf
$wgConf
$wgConf hold the site configuration.
Definition: DefaultSettings.php:60
$wgNonincludableNamespaces
$wgNonincludableNamespaces
Pages in namespaces in this array can not be used as templates.
Definition: DefaultSettings.php:6211
$wgEventRelayerConfig
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
Definition: DefaultSettings.php:9786
$wgInterwikiScopes
$wgInterwikiScopes
Specify number of domains to check for messages.
Definition: DefaultSettings.php:4826
$wgActionFilteredLogs
$wgActionFilteredLogs
List of log types that can be filtered by action types.
Definition: DefaultSettings.php:9058
$wgHiddenPrefs
$wgHiddenPrefs
An array of preferences to not show for the user.
Definition: DefaultSettings.php:5744
$wgMemCachedServers
$wgMemCachedServers
The list of MemCached servers and port numbers.
Definition: DefaultSettings.php:3016
$wgAppleTouchIcon
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
Definition: DefaultSettings.php:411
$wgDjvuTxt
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
Definition: DefaultSettings.php:1804
$wgSharedUploadDirectory
string $wgSharedUploadDirectory
Shortcut for the 'directory' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:764
$wgCdnMaxageStale
$wgCdnMaxageStale
Cache timeout when delivering a stale ParserCache response due to PoolCounter contention.
Definition: DefaultSettings.php:3277
$wgAdditionalMailParams
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
Definition: DefaultSettings.php:1941
$wgFeedLimit
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
Definition: DefaultSettings.php:8078
$wgDebugRedirects
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
Definition: DefaultSettings.php:7260
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:7937
$wgAllowJavaUploads
$wgAllowJavaUploads
Allow Java archive uploads.
Definition: DefaultSettings.php:1151
$wgPhpCli
$wgPhpCli
Executable path of the PHP cli binary.
Definition: DefaultSettings.php:9536
$wgActions
$wgActions
Array of allowed values for the "title=foo&action=<action>" parameter.
Definition: DefaultSettings.php:9183
$wgUpdateCompatibleMetadata
$wgUpdateCompatibleMetadata
Shortcut for the 'updateCompatibleMetadata' setting of $wgLocalFileRepo.
Definition: DefaultSettings.php:969
$wgUseAutomaticEditSummaries
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
Definition: DefaultSettings.php:7811
$wgAuthManagerConfig
$wgAuthManagerConfig
Configure AuthManager.
Definition: DefaultSettings.php:5333
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:9809
$wgElementTiming
bool $wgElementTiming
Enable Element Timing.
Definition: DefaultSettings.php:9847
$wgAPIListModules
$wgAPIListModules
API Query list module extensions.
Definition: DefaultSettings.php:9353
$wgUseTagFilter
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined.
Definition: DefaultSettings.php:8159
$wgProxyWhitelist
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
Definition: DefaultSettings.php:6484
$wgLocalVirtualHosts
$wgLocalVirtualHosts
Local virtual hosts.
Definition: DefaultSettings.php:9654
$wgSitemapNamespacesPriorities
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Definition: DefaultSettings.php:7733
$wgNamespaceContentModels
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
Definition: DefaultSettings.php:2452
$wgMaxCredits
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
Definition: DefaultSettings.php:8342
$wgUseCdn
$wgUseCdn
Enable/disable CDN.
Definition: DefaultSettings.php:3230
$wgAPIMaxUncachedDiffs
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
Definition: DefaultSettings.php:9371
$wgChangeCredentialsBlacklist
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
Definition: DefaultSettings.php:5484
$wgProxyList
$wgProxyList
Big list of banned IP addresses.
Definition: DefaultSettings.php:6478
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:1652
$wgLocalDatabases
string[] $wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Definition: DefaultSettings.php:2350
$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:6971
$wgRestAPIAdditionalRouteFiles
$wgRestAPIAdditionalRouteFiles
Additional REST API Route files.
Definition: DefaultSettings.php:9478
$wgMaximalPasswordLength
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
Definition: DefaultSettings.php:5519
$wgIncludeLegacyJavaScript
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
Definition: DefaultSettings.php:4460
$wgDBserver
$wgDBserver
Database host name or IP address.
Definition: DefaultSettings.php:2085
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:4754
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:72
MEDIATYPE_AUDIO
const MEDIATYPE_AUDIO
Definition: defines.php:32
$wgBotPasswordsDatabase
string bool $wgBotPasswordsDatabase
Database name for the bot_passwords table.
Definition: DefaultSettings.php:6843
$wgRCLinkDays
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7945
$wgMangleFlashPolicy
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
Definition: DefaultSettings.php:3993
$wgMimeType
$wgMimeType
The default Content-Type header.
Definition: DefaultSettings.php:3739
$wgCdnServers
$wgCdnServers
List of proxy servers to purge on changes; default port is 80.
Definition: DefaultSettings.php:3328
$wgMaxArticleSize
$wgMaxArticleSize
Maximum article size in kibibytes.
Definition: DefaultSettings.php:2654
$wgAPIModules
$wgAPIModules
API module extensions.
Definition: DefaultSettings.php:9317
$wgDisabledVariants
$wgDisabledVariants
Disabled variants array of language variant conversion.
Definition: DefaultSettings.php:3613
$wgFixDoubleRedirects
$wgFixDoubleRedirects
Fix double redirects after a page move.
Definition: DefaultSettings.php:4760
$wgNewPasswordExpiry
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
Definition: DefaultSettings.php:1900
$wgJobTypeConf
$wgJobTypeConf
Map of job types to configuration arrays.
Definition: DefaultSettings.php:8780
$wgPageCreationLog
$wgPageCreationLog
Maintain a log of page creations at Special:Log/create?
Definition: DefaultSettings.php:9128
$wgExemptFromUserRobotsControl
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
Definition: DefaultSettings.php:9253
$wgHKDFAlgorithm
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:7048
$wgStyleSheetPath
$wgStyleSheetPath
URL of the server.
Definition: DefaultSettings.php:229
$wgResourceLoaderEnableJSProfiler
$wgResourceLoaderEnableJSProfiler
When enabled, execution of JavaScript modules is profiled client-side.
Definition: DefaultSettings.php:4505
$wgExternalStores
$wgExternalStores
External stores allow including content from non database sources following URL links.
Definition: DefaultSettings.php:2502
$wgResponsiveImages
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
Definition: DefaultSettings.php:1770
$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
Definition: DefaultSettings.php:3173
$wgRestPath
$wgRestPath
The URL path to the REST API Defaults to "{$wgScriptPath}/rest.php".
Definition: DefaultSettings.php:221
$wgAuthManagerAutoConfig
$wgAuthManagerAutoConfig
Definition: DefaultSettings.php:5339
$wgAjaxLicensePreview
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
Definition: DefaultSettings.php:9422
SiteConfiguration
This is a class for holding configuration settings, particularly for multi-wiki sites.
Definition: SiteConfiguration.php:121
$wgDebugRawPage
$wgDebugRawPage
If true, log debugging data from action=raw and load.php.
Definition: DefaultSettings.php:7267
$wgCanonicalNamespaceNames
$wgCanonicalNamespaceNames
Canonical namespace names.
Definition: DefaultSettings.php:4571
$wgTmpDirectory
$wgTmpDirectory
The local filesystem path to a temporary directory.
Definition: DefaultSettings.php:454
$wgRightsText
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
Definition: DefaultSettings.php:8323
$wgEnotifMinorEdits
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
Definition: DefaultSettings.php:2018
$wgDBname
$wgDBname
Current wiki database name.
Definition: DefaultSettings.php:2060
$wgRevokePermissions
$wgRevokePermissions
Permission keys revoked from users in each group.
Definition: DefaultSettings.php:6111
$wgMaximumMovedPages
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
Definition: DefaultSettings.php:2723
$wgHTMLFormAllowTableFormat
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
Definition: DefaultSettings.php:3758
$wgCopyUploadsDomains
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
Definition: DefaultSettings.php:983
$wgBlockAllowsUTEdit
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
Definition: DefaultSettings.php:5835
$wgEdititis
$wgEdititis
Display user edit counts in various prominent places.
Definition: DefaultSettings.php:3951
$wgSharedTables
$wgSharedTables
Definition: DefaultSettings.php:2225
$wgSharedSchema
$wgSharedSchema
Definition: DefaultSettings.php:2231
$wgExternalInterwikiFragmentMode
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
Definition: DefaultSettings.php:3892
$wgLegacyEncoding
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
Definition: DefaultSettings.php:3544
$wgFeedCacheTimeout
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
Definition: DefaultSettings.php:8088
$wgJpegPixelFormat
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
Definition: DefaultSettings.php:1320
$wgShowUpdatedMarker
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
Definition: DefaultSettings.php:8147
$wgRedirectOnLogin
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
Definition: DefaultSettings.php:9716
$wgMimeInfoFile
$wgMimeInfoFile
Sets the MIME type info file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1594
$wgLogHeaders
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Definition: DefaultSettings.php:8982
$wgStatsdSamplingRates
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Definition: DefaultSettings.php:7554
$wgExiftool
$wgExiftool
Path to exiftool binary.
Definition: DefaultSettings.php:1342
$wgLegalTitleChars
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
Definition: DefaultSettings.php:4656
$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:8757
$wgDiff3
$wgDiff3
Path to the GNU diff3 utility.
Definition: DefaultSettings.php:7783
$wgIncludejQueryMigrate
$wgIncludejQueryMigrate
Whether to load the jquery.migrate library.
Definition: DefaultSettings.php:4471
$wgExperiencedUserMemberSince
$wgExperiencedUserMemberSince
Number of days the user must exist before becoming "experienced".
Definition: DefaultSettings.php:5147
$wgPasswordDefault
$wgPasswordDefault
Default password type to use when hashing user passwords.
Definition: DefaultSettings.php:5536
$wgSearchTypeAlternatives
$wgSearchTypeAlternatives
Alternative search types.
Definition: DefaultSettings.php:2162
$wgUsersNotifiedOnAllChanges
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
Definition: DefaultSettings.php:2044
$wgWhitelistReadRegexp
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
Definition: DefaultSettings.php:5921
$wgMaxTemplateDepth
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Definition: DefaultSettings.php:4884
$wgSharpenParameter
$wgSharpenParameter
Sharpening parameter to ImageMagick.
Definition: DefaultSettings.php:1267
$wgEnotifFromEditor
bool $wgEnotifFromEditor
Allow sending of e-mail notifications with the editor's address as sender.
Definition: DefaultSettings.php:1960
$wgScript
$wgScript
The URL path to index.php.
Definition: DefaultSettings.php:206
$wgDBport
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
Definition: DefaultSettings.php:2090
$wgCookiePath
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
Definition: DefaultSettings.php:7150
$wgHTCPMulticastTTL
$wgHTCPMulticastTTL
HTCP multicast TTL.
Definition: DefaultSettings.php:3414
$wgDBtype
$wgDBtype
Database type.
Definition: DefaultSettings.php:2105
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:2629
true
return true
Definition: router.php:90
$wgWatchlistExpiryMaxDuration
string null $wgWatchlistExpiryMaxDuration
Relative maximum duration for watchlist expiries, as accepted by strtotime().
Definition: DefaultSettings.php:8293
$wgTranscludeCacheExpiry
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in object cache.
Definition: DefaultSettings.php:5070
$wgSharedDB
$wgSharedDB
Shared database for multiple wikis.
Definition: DefaultSettings.php:2214
$wgPasswordResetRoutes
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
Definition: DefaultSettings.php:5614
$wgSVGMaxSize
$wgSVGMaxSize
Don't scale a SVG larger than this.
Definition: DefaultSettings.php:1378
$wgHideInterlanguageLinks
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
Definition: DefaultSettings.php:3464
$wgProhibitedFileExtensions
$wgProhibitedFileExtensions
Files with these extensions will never be allowed as uploads.
Definition: DefaultSettings.php:1114
$wgRemoveCredentialsBlacklist
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
Definition: DefaultSettings.php:5497
$wgLocalFileRepo
$wgLocalFileRepo
File repository structures.
Definition: DefaultSettings.php:699
$wgWANObjectCaches
$wgWANObjectCaches
Advanced WAN object cache configuration.
Definition: DefaultSettings.php:2896
$wgSharedUploadDBname
bool string $wgSharedUploadDBname
Shortcut for the ForeignDBRepo 'dbName' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:809
$wgDjvuPostProcessor
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
Definition: DefaultSettings.php:1811
$wgVersion
$wgVersion
MediaWiki version number.
Definition: DefaultSettings.php:77
$wgAmericanDates
$wgAmericanDates
Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'.
Definition: DefaultSettings.php:3564
$wgAutoblockExpiry
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
Definition: DefaultSettings.php:5826
$wgUploadMaintenance
$wgUploadMaintenance
To disable file delete/restore temporarily.
Definition: DefaultSettings.php:537
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles
Extension messages files.
Definition: DefaultSettings.php:8483
$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:7030
$wgShowCreditsIfMax
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
Definition: DefaultSettings.php:8348
$wgShellboxSecretKey
string null $wgShellboxSecretKey
The secret key for HMAC verification of Shellbox requests.
Definition: DefaultSettings.php:9581
$wgSoftBlockRanges
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
Definition: DefaultSettings.php:6493
$wgBotPasswordsCluster
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
Definition: DefaultSettings.php:6833
$wgNoFollowDomainExceptions
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
Definition: DefaultSettings.php:5029
$wgCategoryMagicGallery
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
Definition: DefaultSettings.php:8831
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:73
$wgSpecialPageCacheUpdates
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
Definition: DefaultSettings.php:8801
MW_VERSION
const MW_VERSION
The running version of MediaWiki.
Definition: Defines.php:36
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition: DefaultSettings.php:8510
$wgShowHostnames
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
Definition: DefaultSettings.php:7437
$wgEmailAuthentication
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
Definition: DefaultSettings.php:1973
$wgParserOutputHooks
$wgParserOutputHooks
Parser output hooks.
Definition: DefaultSettings.php:8533
$wgDeprecationReleaseLimit
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
Definition: DefaultSettings.php:7457
$wgMaxUploadSize
$wgMaxUploadSize
Max size for uploads, in bytes.
Definition: DefaultSettings.php:1030
$wgDebugAPI
$wgDebugAPI
Definition: DefaultSettings.php:9279
$wgUseMediaWikiUIEverywhere
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
Definition: DefaultSettings.php:3766
$wgDBmwschema
$wgDBmwschema
Current wiki database schema name.
Definition: DefaultSettings.php:2070
$wgDefaultUserOptions
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
Definition: DefaultSettings.php:5676
$wgExternalServers
$wgExternalServers
An array of external MySQL servers.
Definition: DefaultSettings.php:2518
$wgMessageCacheType
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
Definition: DefaultSettings.php:2766
$wgServiceWiringFiles
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Definition: DefaultSettings.php:8696
$wgMaxMsgCacheEntrySize
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
Definition: DefaultSettings.php:3581
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:5471
$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:3558
$wgReferrerPolicy
array string bool $wgReferrerPolicy
Value for the referrer policy meta tag.
Definition: DefaultSettings.php:431
$wgDiff
$wgDiff
Path to the GNU diff utility.
Definition: DefaultSettings.php:7788
$wgFileExtensions
$wgFileExtensions
This is the list of preferred extensions for uploading files.
Definition: DefaultSettings.php:1105
$wgEnableUserEmail
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
Definition: DefaultSettings.php:1861
$wgRequestTimeLimit
int null $wgRequestTimeLimit
Set a limit on server request wall clock time.
Definition: DefaultSettings.php:2591
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:2639
$wgDisableTitleConversion
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
Definition: DefaultSettings.php:3591
$wgUnwatchedPageSecret
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
Definition: DefaultSettings.php:7922
$wgHideIdentifiableRedirects
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
Definition: DefaultSettings.php:5933
$wgCopyUploadTimeout
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
Definition: DefaultSettings.php:1008
$wgParserEnableLegacyMediaDOM
$wgParserEnableLegacyMediaDOM
Enable legacy media HTML structure in the output from the Parser.
Definition: DefaultSettings.php:4982
$wgExtensionAssetsPath
$wgExtensionAssetsPath
The URL path of the extensions directory.
Definition: DefaultSettings.php:243
$wgInterwikiCache
bool array string $wgInterwikiCache
Interwiki cache, either as an associative array or a path to a constant database (....
Definition: DefaultSettings.php:4818
$wgMultiContentRevisionSchemaMigrationStage
int $wgMultiContentRevisionSchemaMigrationStage
RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables).
Definition: DefaultSettings.php:2389
$wgExportAllowAll
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
Definition: DefaultSettings.php:8429
$wgEnotifWatchlist
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
Definition: DefaultSettings.php:1978
$wgAjaxUploadDestCheck
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
Definition: DefaultSettings.php:9417
$wgLBFactoryConf
$wgLBFactoryConf
Load balancer factory configuration To set up a multi-primary wiki farm, set the class here to someth...
Definition: DefaultSettings.php:2298
$wgEnableCanonicalServerLink
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
Definition: DefaultSettings.php:3983
$wgVerifyMimeTypeIE
$wgVerifyMimeTypeIE
Determines whether extra checks for IE type detection should be applied.
Definition: DefaultSettings.php:1577
$wgShortPagesNamespaceExclusions
$wgShortPagesNamespaceExclusions
Optional array of namespaces which should be excluded from Special:ShortPages.
Definition: DefaultSettings.php:4716
$wgLogActions
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
Definition: DefaultSettings.php:9002
$wgAPIUselessQueryPages
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Definition: DefaultSettings.php:9395
$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:7206
$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:3882
$wgAllowSchemaUpdates
$wgAllowSchemaUpdates
Allow schema updates.
Definition: DefaultSettings.php:2649
$wgDisableTextSearch
$wgDisableTextSearch
Set this to true to disable the full text search feature.
Definition: DefaultSettings.php:7607
$wgArticleRobotPolicies
$wgArticleRobotPolicies
Robot policies per article.
Definition: DefaultSettings.php:9241
$wgCacheDirectory
$wgCacheDirectory
Directory for caching data in the local filesystem.
Definition: DefaultSettings.php:2739
$wgSidebarCacheExpiry
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
Definition: DefaultSettings.php:3147
$wgOpenSearchTemplate
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:7631
$wgThumbnailBuckets
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
Definition: DefaultSettings.php:1670
$wgTransactionalTimeLimit
$wgTransactionalTimeLimit
The request time limit for "slow" write requests that should not be interrupted due to the risk of da...
Definition: DefaultSettings.php:2602
$wgBreakFrames
$wgBreakFrames
Break out of framesets.
Definition: DefaultSettings.php:6896
$wgDefaultExternalStore
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
Definition: DefaultSettings.php:2534
$wgDebugLogPrefix
$wgDebugLogPrefix
Prefix for debug log lines.
Definition: DefaultSettings.php:7253
$wgStrictFileExtensions
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
Definition: DefaultSettings.php:1166
$wgCdnMaxAge
$wgCdnMaxAge
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Definition: DefaultSettings.php:3261
$wgSharedThumbnailScriptPath
string $wgSharedThumbnailScriptPath
Shortcut for the 'thumbScriptUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:1087
$wgForeignUploadTargets
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
Definition: DefaultSettings.php:838
AV_SCAN_ABORTED
const AV_SCAN_ABORTED
Definition: Defines.php:97
$wgLogo
$wgLogo
The URL path of the wiki logo.
Definition: DefaultSettings.php:314
$wgStructuredChangeFiltersLiveUpdatePollingRate
$wgStructuredChangeFiltersLiveUpdatePollingRate
Polling rate, in seconds, used by the 'live update' and 'view newest' features of the RCFilters app o...
Definition: DefaultSettings.php:8047
$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:6392
$wgOpenSearchTemplates
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:7641
$wgUseRCPatrol
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
Definition: DefaultSettings.php:8040
$wgEnableOpenSearchSuggest
$wgEnableOpenSearchSuggest
This was previously a used to force empty responses from ApiOpenSearch with the 'suggest' parameter s...
Definition: DefaultSettings.php:7652
$wgLogoHD
array false $wgLogoHD
Array with URL paths to HD versions of the wiki logo.
Definition: DefaultSettings.php:398
$wgUseNPPatrol
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
Definition: DefaultSettings.php:8056
$wgDjvuRenderer
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
Definition: DefaultSettings.php:1797
$wgJobRunRate
$wgJobRunRate
Number of jobs to perform per request.
Definition: DefaultSettings.php:9685
$wgMetaNamespace
$wgMetaNamespace
Name of the project namespace.
Definition: DefaultSettings.php:4555
$wgDBpassword
$wgDBpassword
Database user's password.
Definition: DefaultSettings.php:2100
$wgDBprefix
$wgDBprefix
Current wiki database table name prefix.
Definition: DefaultSettings.php:2080
$wgFetchCommonsDescriptions
bool $wgFetchCommonsDescriptions
Shortcut for the 'fetchDescription' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:799
$wgStylePath
$wgStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:228
$wgThumbnailMinimumBucketDistance
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
Definition: DefaultSettings.php:1687
$wgAllowSiteCSSOnRestrictedPages
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
Definition: DefaultSettings.php:4532
$wgExtensionEntryPointListFiles
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
Definition: DefaultSettings.php:8517
$wgReadOnlyWatchedItemStore
bool $wgReadOnlyWatchedItemStore
Set this to true to put the wiki watchlists into read-only mode.
Definition: DefaultSettings.php:7849
$wgUseSiteJs
$wgUseSiteJs
Use the site's Javascript page?
Definition: DefaultSettings.php:6885
$wgPutIPinRC
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
Definition: DefaultSettings.php:6629
$wgUploadStashScalerBaseUrl
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
Definition: DefaultSettings.php:474
$wgThumbnailEpoch
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
Definition: DefaultSettings.php:1446
$wgCrossSiteAJAXdomainExceptions
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
Definition: DefaultSettings.php:9451
$wgFeaturePolicyReportOnly
array $wgFeaturePolicyReportOnly
List of Feature Policy Reporting types to enable.
Definition: DefaultSettings.php:9878
NS_MAIN
const NS_MAIN
Definition: Defines.php:64
$wgShellboxUrl
$wgShellboxUrl
Definition: DefaultSettings.php:9557
$wgWhitelistRead
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
Definition: DefaultSettings.php:5893
$wgMaxNameChars
$wgMaxNameChars
Maximum number of bytes in username.
Definition: DefaultSettings.php:5648
$wgResourceLoaderStorageVersion
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
Definition: DefaultSettings.php:4519
$wgDBerrorLog
$wgDBerrorLog
File to log database errors to.
Definition: DefaultSettings.php:2315
$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:1917
$wgUploadStashMaxAge
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
Definition: DefaultSettings.php:522
$wgRepositoryBaseUrl
$wgRepositoryBaseUrl
Shortcut for the 'descBaseUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:790
$wgEnableWANCacheReaper
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
Definition: DefaultSettings.php:2914
$wgAllowExternalReqID
$wgAllowExternalReqID
Whether to respect/honour the request ID provided by the incoming request via the X-Request-Id header...
Definition: DefaultSettings.php:9671
$wgExperiencedUserEdits
$wgExperiencedUserEdits
Number of edits the user must have before becoming "experienced".
Definition: DefaultSettings.php:5141
$wgHTTPConnectTimeout
float int $wgHTTPConnectTimeout
Timeout for connections done internally (in seconds).
Definition: DefaultSettings.php:9605
$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:134
$wgSearchHighlightBoundaries
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
Definition: DefaultSettings.php:7619
$wgPropagateErrors
$wgPropagateErrors
If true, the MediaWiki error handler passes errors/warnings to the default error handler after loggin...
Definition: DefaultSettings.php:7432
$wgUseInstantCommons
$wgUseInstantCommons
Use Wikimedia Commons as a foreign file repository.
Definition: DefaultSettings.php:725
$wgMediaHandlers
$wgMediaHandlers
Plugins for media file type handling.
Definition: DefaultSettings.php:1207
$wgDBadminuser
$wgDBadminuser
Separate username for maintenance tasks.
Definition: DefaultSettings.php:2130
$wgResourceModules
$wgResourceModules
Define extra client-side modules to be registered with ResourceLoader.
Definition: DefaultSettings.php:4308
$wgResourceLoaderValidateJS
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
Definition: DefaultSettings.php:4495
$wgAPIRequestLog
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
Definition: DefaultSettings.php:9384
$wgMediaInTargetLanguage
$wgMediaInTargetLanguage
Whether thumbnails should be generated in target language (usually, same as page language),...
Definition: DefaultSettings.php:1394
$wgAutopromote
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
Definition: DefaultSettings.php:6303
$wgContentHandlerTextFallback
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
Definition: DefaultSettings.php:2465
$wgAllowImageTag
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
Definition: DefaultSettings.php:4954
$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:5168
$wgShowDebug
$wgShowDebug
Display debug data at the bottom of the main content area.
Definition: DefaultSettings.php:7408
$wgRightsPage
$wgRightsPage
Override for copyright metadata.
Definition: DefaultSettings.php:8308
$wgHTTPProxy
$wgHTTPProxy
Proxy to use for CURL requests.
Definition: DefaultSettings.php:9639
$wgRawHtml
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
Definition: DefaultSettings.php:4989
$wgEnableScaryTranscluding
$wgEnableScaryTranscluding
Enable interwiki transcluding.
Definition: DefaultSettings.php:5064
$wgAttemptFailureEpoch
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
Definition: DefaultSettings.php:1454
$wgEnotifUseRealName
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
Definition: DefaultSettings.php:2038
$wgDBservers
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
Definition: DefaultSettings.php:2286
$wgRCChangedSizeThreshold
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
Definition: DefaultSettings.php:8141
$wgAllowUserCss
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
Definition: DefaultSettings.php:6872
CONTENT_MODEL_JSON
const CONTENT_MODEL_JSON
Definition: Defines.php:212
$wgHashedSharedUploadDirectory
bool $wgHashedSharedUploadDirectory
Shortcut for the 'hashLevels' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:782
$wgDBDefaultGroup
$wgDBDefaultGroup
Default group to use when getting database connections.
Definition: DefaultSettings.php:2182
$wgAdaptiveMessageCache
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
Definition: DefaultSettings.php:3048
$wgResourceLoaderMaxage
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
Definition: DefaultSettings.php:4435
$wgSVGConverterPath
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
Definition: DefaultSettings.php:1373
$wgRawHtmlMessages
string[] $wgRawHtmlMessages
List of messages which might contain raw HTML.
Definition: DefaultSettings.php:3673
$wgFooterLinkCacheExpiry
$wgFooterLinkCacheExpiry
Expiry time for the footer link cache, in seconds, or 0 if disabled.
Definition: DefaultSettings.php:3154
$wgNoReplyAddress
$wgNoReplyAddress
Reply-To address for e-mail notifications.
Definition: DefaultSettings.php:1848
$wgParserTestMediaHandlers
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
Definition: DefaultSettings.php:1223
$wgHooks
$wgHooks
Global list of hooks.
Definition: DefaultSettings.php:8683
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:77
$wgProfiler
$wgProfiler
Profiler configuration.
Definition: DefaultSettings.php:7525
$wgRecentChangesFlags
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Definition: DefaultSettings.php:8229
$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:5526
$wgGrantPermissions
array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
Definition: DefaultSettings.php:6668
$wgSQLiteDataDir
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
Definition: DefaultSettings.php:2187
$wgWatchlistPurgeRate
float $wgWatchlistPurgeRate
Chance of expired watchlist items being purged on any page edit.
Definition: DefaultSettings.php:8277
$wgLoginLanguageSelector
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
Definition: DefaultSettings.php:3639
$wgUploadSizeWarning
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
Definition: DefaultSettings.php:1179
$wgEmergencyContact
$wgEmergencyContact
Site admin email address.
Definition: DefaultSettings.php:1831
$wgAuthenticationTokenVersion
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
Definition: DefaultSettings.php:5782
$wgContentHandlers
$wgContentHandlers
Plugins for page content model handling.
Definition: DefaultSettings.php:2426
$wgAllowRequiringEmailForResets
$wgAllowRequiringEmailForResets
Temporary feature flag that controls whether users will see a checkbox allowing them to require provi...
Definition: DefaultSettings.php:5815
$wgFooterIcons
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
Definition: DefaultSettings.php:3924
$wgXmlDumpSchemaVersion
$wgXmlDumpSchemaVersion
The schema to use per default when generating XML dumps.
Definition: DefaultSettings.php:8443
$wgAntivirusRequired
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
Definition: DefaultSettings.php:1562
$wgMainCacheType
$wgMainCacheType
Main cache type.
Definition: DefaultSettings.php:2758
$wgRevertedTagMaxDepth
int $wgRevertedTagMaxDepth
Maximum depth (revision count) of reverts that will have their reverted edits marked with the mw-reve...
Definition: DefaultSettings.php:5183
$wgPreprocessorCacheThreshold
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
Definition: DefaultSettings.php:5059
$wgLinkHolderBatchSize
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
Definition: DefaultSettings.php:2718
$wgLockManagers
$wgLockManagers
Array of configuration arrays for each lock manager.
Definition: DefaultSettings.php:951
$wgFilterLogTypes
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
Definition: DefaultSettings.php:8944
$wgLanguageConverterCacheType
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
Definition: DefaultSettings.php:2793
$wgCentralIdLookupProvider
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
Definition: DefaultSettings.php:5210
$wgUseImageMagick
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
Definition: DefaultSettings.php:1251
$wgExtraSignatureNamespaces
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
Definition: DefaultSettings.php:4725
$wgFallbackSkin
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
Definition: DefaultSettings.php:3835
$wgUseFileCache
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Definition: DefaultSettings.php:3117
$wgCacheVaryCookies
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
Definition: DefaultSettings.php:7211
$wgCrossSiteAJAXdomains
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
Definition: DefaultSettings.php:9444
$wgDefaultLanguageVariant
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
Definition: DefaultSettings.php:3596
$wgCachePrefix
$wgCachePrefix
Overwrite the caching key prefix with custom value.
Definition: DefaultSettings.php:7587
$wgAPICacheHelpTimeout
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
Definition: DefaultSettings.php:9389
$wgEnableSidebarCache
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
Definition: DefaultSettings.php:3142
$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:7693
$wgEnableSpecialMute
$wgEnableSpecialMute
Set to true to enable the Special Mute page.
Definition: DefaultSettings.php:1871
CACHE_MEMCACHED
const CACHE_MEMCACHED
Definition: Defines.php:88
$wgAllowExternalImagesFrom
$wgAllowExternalImagesFrom
If the above is false, you can specify an exception here.
Definition: DefaultSettings.php:4930
$wgStatsdMetricPrefix
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
Definition: DefaultSettings.php:7546
$wgUploadThumbnailRenderMap
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
Definition: DefaultSettings.php:1698
$wgQueryPageDefaultLimit
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
Definition: DefaultSettings.php:6635
$wgHtml5Version
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
Definition: DefaultSettings.php:3749
$wgDebugLogGroups
$wgDebugLogGroups
Map of string log group names to log destinations.
Definition: DefaultSettings.php:7376
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:74
$wgUseDatabaseMessages
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
Definition: DefaultSettings.php:3576
$wgLoadScript
$wgLoadScript
The URL path to load.php.
Definition: DefaultSettings.php:214
$wgMimeTypeFile
$wgMimeTypeFile
Sets the MIME type definition file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1588
$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:1415
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:5053
$wgAntivirusSetup
$wgAntivirusSetup
Configuration for different virus scanners.
Definition: DefaultSettings.php:1544
$wgApiFrameOptions
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
Definition: DefaultSettings.php:6929
$wgObjectCaches
$wgObjectCaches
Advanced object cache configuration.
Definition: DefaultSettings.php:2808
$wgEnableUserEmailMuteList
$wgEnableUserEmailMuteList
Set to true to enable user-to-user e-mail mutelist.
Definition: DefaultSettings.php:1878
$wgSharedPrefix
$wgSharedPrefix
Definition: DefaultSettings.php:2219
$wgExportAllowHistory
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
Definition: DefaultSettings.php:8394
$wgHTCPRouting
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
Definition: DefaultSettings.php:3408
$wgLogExceptionBacktrace
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
Definition: DefaultSettings.php:7426
$wgRCFeeds
$wgRCFeeds
Configuration for feeds to which notifications about recent changes will be sent.
Definition: DefaultSettings.php:8007
$wgMimeDetectorCommand
$wgMimeDetectorCommand
Sets an external MIME detector program.
Definition: DefaultSettings.php:1607
APCOND_EDITCOUNT
const APCOND_EDITCOUNT
Definition: Defines.php:178
$wgParserCacheExpireTime
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
Definition: DefaultSettings.php:2966
$wgPasswordReminderResendTime
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
Definition: DefaultSettings.php:1895
$wgChronologyProtectorStash
string null $wgChronologyProtectorStash
The object store type for the ChronologyProtector store.
Definition: DefaultSettings.php:2960
$wgJobSerialCommitThreshold
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
Definition: DefaultSettings.php:8772
$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:557
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:3162
$wgInvalidRedirectTargets
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
Definition: DefaultSettings.php:4744
$wgOverrideUcfirstCharacters
array $wgOverrideUcfirstCharacters
List of Unicode characters for which capitalization is overridden in Language::ucfirst.
Definition: DefaultSettings.php:3728
$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:9378
$wgUserrightsInterwikiDelimiter
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
Definition: DefaultSettings.php:5762
$wgVaryOnXFP
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
Definition: DefaultSettings.php:3240
$wgImplicitGroups
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
Definition: DefaultSettings.php:6116
$wgCdnMaxageSubstitute
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
Definition: DefaultSettings.php:3309
$wgPreviewOnOpenNamespaces
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
Definition: DefaultSettings.php:7795
$wgInterwikiMagic
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Definition: DefaultSettings.php:3459
$wgLogTypes
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
Definition: DefaultSettings.php:8897
$wgExtendedLoginCookieExpiration
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
Definition: DefaultSettings.php:7138
$wgMaxJobDBWriteDuration
int bool $wgMaxJobDBWriteDuration
Max time (in seconds) a job-generated transaction can spend in writes.
Definition: DefaultSettings.php:2712
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:4411
$wgParserCacheType
$wgParserCacheType
The cache type for storing article HTML.
Definition: DefaultSettings.php:2774
$wgNativeImageLazyLoading
array $wgNativeImageLazyLoading
Toggles native image lazy loading, via the "loading" attribute.
Definition: DefaultSettings.php:1217
$wgOriginTrials
array $wgOriginTrials
Origin Trials tokens.
Definition: DefaultSettings.php:9817
$wgLocalisationCacheConf
$wgLocalisationCacheConf
Localisation cache configuration.
Definition: DefaultSettings.php:3081
$wgUseCombinedLoginLink
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
Definition: DefaultSettings.php:3946
$wgUseCopyrightUpload
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
Definition: DefaultSettings.php:8333
$wgMaxPPExpandDepth
$wgMaxPPExpandDepth
Definition: DefaultSettings.php:4889
$wgEnableEmail
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
Definition: DefaultSettings.php:1855
$wgUseCategoryBrowser
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
Definition: DefaultSettings.php:8825
$wgImgAuthPath
$wgImgAuthPath
The base path for img_auth.php.
Definition: DefaultSettings.php:286
$wgEnableDnsBlacklist
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
Definition: DefaultSettings.php:6443
$wgLogos
array false $wgLogos
Specification for different versions of the wiki logo.
Definition: DefaultSettings.php:366
$wgDefaultSkin
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
Definition: DefaultSettings.php:3828
$wgUpdateRowsPerQuery
$wgUpdateRowsPerQuery
Number of rows to update per query.
Definition: DefaultSettings.php:9704
$wgReservedUsernames
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
Definition: DefaultSettings.php:5655
$wgEnableMagicLinks
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
Definition: DefaultSettings.php:5078
$wgInterlanguageLinkCodeMap
$wgInterlanguageLinkCodeMap
Map of interlanguage link codes to language codes.
Definition: DefaultSettings.php:3488
MEDIATYPE_BITMAP
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgSessionName
$wgSessionName
Override to customise the session name.
Definition: DefaultSettings.php:7216
$wgParserTestFiles
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
Definition: DefaultSettings.php:7576
$wgMaxInterlacingAreas
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
Definition: DefaultSettings.php:1262
$wgImportSources
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
Definition: DefaultSettings.php:8378
$wgCopyUploadProxy
$wgCopyUploadProxy
Proxy to use for copy upload requests.
Definition: DefaultSettings.php:996
$wgAllowedCorsHeaders
$wgAllowedCorsHeaders
List of allowed headers for cross-origin API requests.
Definition: DefaultSettings.php:9456
$wgAPIMetaModules
$wgAPIMetaModules
API Query meta module extensions.
Definition: DefaultSettings.php:9335
$wgFileBackends
$wgFileBackends
File backend structure configuration.
Definition: DefaultSettings.php:939
$wgDjvuOutputExtension
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
Definition: DefaultSettings.php:1816
$wgNamespaceProtection
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
Definition: DefaultSettings.php:6200
$wgExternalLinkTarget
$wgExternalLinkTarget
Set a default target for external links, e.g.
Definition: DefaultSettings.php:5000
$wgMaxShellTime
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
Definition: DefaultSettings.php:9500
$wgPageInfoTransclusionLimit
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
Definition: DefaultSettings.php:7561
$wgEnableSearchContributorsByIP
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
Definition: DefaultSettings.php:7740
$wgSoftwareTags
array $wgSoftwareTags
List of core tags to enable.
Definition: DefaultSettings.php:8180
$wgMimeTypeExclusions
$wgMimeTypeExclusions
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
Definition: DefaultSettings.php:1131
$wgDeleteRevisionsLimit
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
Definition: DefaultSettings.php:6377
$wgMemCachedTimeout
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
Definition: DefaultSettings.php:3027
$wgUpdateRowsPerJob
$wgUpdateRowsPerJob
Number of rows to update per job.
Definition: DefaultSettings.php:9699
$wgHTTPTimeout
float int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
Definition: DefaultSettings.php:9595
$wgCommandLineDarkBg
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
Definition: DefaultSettings.php:7832
$wgRCShowWatchingUsers
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
Definition: DefaultSettings.php:8129
$wgSignatureAllowedLintErrors
$wgSignatureAllowedLintErrors
List of lint error codes which don't cause signature validation to fail.
Definition: DefaultSettings.php:5642
$wgRememberMe
string $wgRememberMe
Configures RememberMe authentication request added by AuthManager.
Definition: DefaultSettings.php:5412
$wgExtensionCredits
$wgExtensionCredits
Add information about an installed extension, keyed by its type.
Definition: DefaultSettings.php:8646
$wgImportTargetNamespace
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
Definition: DefaultSettings.php:8387
$wgCookieHttpOnly
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
Definition: DefaultSettings.php:7184
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:3338
$wgCompressRevisions
$wgCompressRevisions
We can also compress text stored in the 'text' table.
Definition: DefaultSettings.php:2489
$wgExportAllowListContributors
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
Definition: DefaultSettings.php:8406
$wgFeedClasses
$wgFeedClasses
Available feeds objects.
Definition: DefaultSettings.php:8115
$wgAutoConfirmAge
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
Definition: DefaultSettings.php:6233
$wgDebugLogFile
$wgDebugLogFile
Filename for debug logging.
Definition: DefaultSettings.php:7248
$wgUseFilePatrol
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
Definition: DefaultSettings.php:8067
$wgDisableLangConversion
$wgDisableLangConversion
Whether to enable language variant conversion.
Definition: DefaultSettings.php:3586
$wgRemoveGroups
$wgRemoveGroups
Definition: DefaultSettings.php:6365
$wgSearchForwardUrl
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
Definition: DefaultSettings.php:7710
$wgAPIMaxResultSize
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
Definition: DefaultSettings.php:9365
$wgCanonicalServer
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
Definition: DefaultSettings.php:119
$wgHashedUploadDirectory
bool $wgHashedUploadDirectory
Shortcut for setting hashLevels=2 in $wgLocalFileRepo.
Definition: DefaultSettings.php:1095
$wgPriorityHints
bool $wgPriorityHints
Enable client-side Priority Hints.
Definition: DefaultSettings.php:9827
$wgMemoryLimit
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
Definition: DefaultSettings.php:2660
$wgUniversalEditButton
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
Definition: DefaultSettings.php:7804
$wgConfigRegistry
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set,...
Definition: DefaultSettings.php:68
$wgDatabaseReplicaLagWarning
$wgDatabaseReplicaLagWarning
If lag is higher than $wgDatabaseReplicaLagWarning, show a warning in some special pages (like watchl...
Definition: DefaultSettings.php:2359
$wgValidSkinNames
$wgValidSkinNames
List of valid skin names.
Definition: DefaultSettings.php:8564
$wgUseSharedUploads
bool $wgUseSharedUploads
Shortcut for adding an entry to $wgForeignFileRepos.
Definition: DefaultSettings.php:755
$wgMaxAnimatedGifArea
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
Definition: DefaultSettings.php:1423
$wgInterwikiExpiry
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
Definition: DefaultSettings.php:4798
$wgAutopromoteOnceLogInRC
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
Definition: DefaultSettings.php:6336
$wgPageLanguageUseDB
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
Definition: DefaultSettings.php:2552
$wgCachePages
$wgCachePages
Allow client-side caching of pages.
Definition: DefaultSettings.php:3094
$wgTranslateNumerals
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
Definition: DefaultSettings.php:3570
$wgSVGMetadataCutoff
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Definition: DefaultSettings.php:1384
$wgAllowUserCssPrefs
$wgAllowUserCssPrefs
Allow style-related user-preferences?
Definition: DefaultSettings.php:6880
$wgExtraLanguageNames
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Definition: DefaultSettings.php:3493
$wgDBcompress
$wgDBcompress
Whether to use compression in DB connection.
Definition: DefaultSettings.php:2125
$wgMaxShellFileSize
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KiB ImageMagick convert for example can ...
Definition: DefaultSettings.php:9495
$wgRangeContributionsCIDRLimit
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Definition: DefaultSettings.php:9167
$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
Definition: DefaultSettings.php:7613
$wgEnotifUserTalk
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
Definition: DefaultSettings.php:1987
$wgJobTypesExcludedFromDefaultQueue
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
Definition: DefaultSettings.php:8746
$wgSessionPbkdf2Iterations
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
Definition: DefaultSettings.php:3011
$wgCookieExpiration
$wgCookieExpiration
Default cookie lifetime, in seconds.
Definition: DefaultSettings.php:7130
$wgShowRollbackEditCount
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
Definition: DefaultSettings.php:3975
$wgImgAuthUrlPathMap
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Definition: DefaultSettings.php:573
$wgNamespaceAliases
$wgNamespaceAliases
Define extra namespace aliases.
Definition: DefaultSettings.php:4630
$wgForcedRawSMaxage
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
Definition: DefaultSettings.php:3316
$wgHTTPMaxConnectTimeout
float int $wgHTTPMaxConnectTimeout
The maximum HTTP connect timeout in seconds.
Definition: DefaultSettings.php:9623
$wgShellRestrictionMethod
string bool $wgShellRestrictionMethod
Method to use to restrict shell commands.
Definition: DefaultSettings.php:9552
CONTENT_MODEL_UNKNOWN
const CONTENT_MODEL_UNKNOWN
Definition: Defines.php:213
$wgGitBin
$wgGitBin
Fully specified path to git binary.
Definition: DefaultSettings.php:7874
$wgFileCacheDepth
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
Definition: DefaultSettings.php:3125
$wgNoFollowNsExceptions
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
Definition: DefaultSettings.php:5014
$wgUrlProtocols
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
Definition: DefaultSettings.php:4901
$wgLocalTZoffset
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
Definition: DefaultSettings.php:3715
$wgExportMaxHistory
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
Definition: DefaultSettings.php:8401
$wgExportFromNamespaces
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
Definition: DefaultSettings.php:8424
$wgExtensionDirectory
$wgExtensionDirectory
Filesystem extensions directory.
Definition: DefaultSettings.php:250
$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:5008
$wgMainPageIsDomainRoot
bool $wgMainPageIsDomainRoot
Option to whether serve the main page as the domain root.
Definition: DefaultSettings.php:500
$wgMaxUserDBWriteDuration
int bool $wgMaxUserDBWriteDuration
Max time (in seconds) a user-generated transaction can spend in writes.
Definition: DefaultSettings.php:2703
$wgServerName
$wgServerName
Server name.
Definition: DefaultSettings.php:126
$wgRateLimits
$wgRateLimits
Simple rate limiter options to brake edit floods.
Definition: DefaultSettings.php:6540
$wgVueDevelopmentMode
$wgVueDevelopmentMode
Whether to use the development version of Vue.js.
Definition: DefaultSettings.php:4543
$wgResourceLoaderStorageEnabled
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
Definition: DefaultSettings.php:4511
$wgUsePrivateIPs
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
Definition: DefaultSettings.php:3419
$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:8921
$wgForceHTTPS
bool $wgForceHTTPS
If this is true, when an insecure HTTP request is received, always redirect to HTTPS.
Definition: DefaultSettings.php:167
$wgMaxRedirectLinksRetrieved
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
Definition: DefaultSettings.php:9158
$wgCookieDomain
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
Definition: DefaultSettings.php:7144
$wgImageMagickConvertCommand
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
Definition: DefaultSettings.php:1256
$wgLocalInterwikis
$wgLocalInterwikis
Array for local interwiki values, for each of the interwiki prefixes that point to the current wiki.
Definition: DefaultSettings.php:4793
$wgDeletedDirectory
$wgDeletedDirectory
What directory to place deleted uploads in.
Definition: DefaultSettings.php:552
CACHE_DB
const CACHE_DB
Definition: Defines.php:87
$wgEnablePartialActionBlocks
bool $wgEnablePartialActionBlocks
Flag to enable partial blocks against performing certain actions.
Definition: DefaultSettings.php:5871
$wgIgnoreImageErrors
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
Definition: DefaultSettings.php:1467
$wgSharpenReductionThreshold
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
Definition: DefaultSettings.php:1272
$wgCacheSharedUploads
bool $wgCacheSharedUploads
Shortcut for the ForeignDBRepo 'hasSharedCache' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:827
$wgMetaNamespaceTalk
$wgMetaNamespaceTalk
Name of the project talk namespace.
Definition: DefaultSettings.php:4564
$wgServer
$wgServer
URL of the server.
Definition: DefaultSettings.php:110
$wgActiveUserDays
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
Definition: DefaultSettings.php:5115
$wgUploadDialog
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
Definition: DefaultSettings.php:849
$wgRCMaxAge
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:7907
$wgEnotifRevealEditorAddress
bool $wgEnotifRevealEditorAddress
Allow sending of e-mail notifications with the editor's address in "Reply-To".
Definition: DefaultSettings.php:2003
$wgSummarySpamRegex
$wgSummarySpamRegex
Same as the above except for edit summaries.
Definition: DefaultSettings.php:6436
$wgLanguageCode
$wgLanguageCode
Site language code.
Definition: DefaultSettings.php:3443
$wgEnableParserLimitReporting
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
Definition: DefaultSettings.php:8538
$wgExportMaxLinkDepth
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
Definition: DefaultSettings.php:8419
$wgSitename
$wgSitename
Name of the site.
Definition: DefaultSettings.php:82
$wgReadOnly
$wgReadOnly
Set this to a string to put the wiki into read-only mode.
Definition: DefaultSettings.php:7842
$wgDevelopmentWarnings
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
Definition: DefaultSettings.php:7450
$wgRightsIcon
$wgRightsIcon
Override for copyright metadata.
Definition: DefaultSettings.php:8328
$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:3775
$wgFeedDiffCutoff
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
Definition: DefaultSettings.php:8094
$wgPasswordAttemptThrottle
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
Definition: DefaultSettings.php:6649
$wgDirectoryMode
$wgDirectoryMode
Default value for chmoding of new directories.
Definition: DefaultSettings.php:1762
$wgBlockDisablesLogin
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
Definition: DefaultSettings.php:5863
$wgRCShowChangedSize
$wgRCShowChangedSize
Show the amount of changed characters in recent changes.
Definition: DefaultSettings.php:8134
$wgExtensionFunctions
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
Definition: DefaultSettings.php:8455
$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:2544
$wgUploadBaseUrl
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
Definition: DefaultSettings.php:461
$wgNamespaceRobotPolicies
$wgNamespaceRobotPolicies
Robot policies per namespaces.
Definition: DefaultSettings.php:9213
$wgTiffThumbnailType
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
Definition: DefaultSettings.php:1438
$wgSearchType
$wgSearchType
Search type.
Definition: DefaultSettings.php:2148
$wgParserCacheUseJson
$wgParserCacheUseJson
Enable JSON serialization for ParserCache.
Definition: DefaultSettings.php:3206
$wgAddGroups
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
Definition: DefaultSettings.php:6360
$wgSearchSuggestCacheExpiry
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
Definition: DefaultSettings.php:7668
$wgDisableOutputCompression
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
Definition: DefaultSettings.php:3852
$wgSMTP
$wgSMTP
SMTP Mode.
Definition: DefaultSettings.php:1936
$wgUploadDirectory
$wgUploadDirectory
The filesystem path of the images directory.
Definition: DefaultSettings.php:299
$wgUploadThumbnailRenderHttpCustomHost
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
Definition: DefaultSettings.php:1718
$wgSitemapNamespaces
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
Definition: DefaultSettings.php:7717
$wgIllegalFileChars
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
Definition: DefaultSettings.php:546
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:3822
$wgAllowHTMLEmail
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
Definition: DefaultSettings.php:1947
$wgDBTableOptions
$wgDBTableOptions
MySQL table options to use during installation or update.
Definition: DefaultSettings.php:2167
CONTENT_MODEL_WIKITEXT
const CONTENT_MODEL_WIKITEXT
Definition: Defines.php:208
$wgTrivialMimeDetection
$wgTrivialMimeDetection
Switch for trivial MIME detection.
Definition: DefaultSettings.php:1614
$wgSignatureValidation
$wgSignatureValidation
Behavior of signature validation.
Definition: DefaultSettings.php:5634
NS_USER
const NS_USER
Definition: Defines.php:66
$wgCustomConvertCommand
$wgCustomConvertCommand
Use another resizing converter, e.g.
Definition: DefaultSettings.php:1292
$wgShellboxUrls
string false null[] $wgShellboxUrls
Shell commands can be run on a remote server using Shellbox.
Definition: DefaultSettings.php:9572
$wgDeleteRevisionsBatchSize
$wgDeleteRevisionsBatchSize
Page deletions with > this number of revisions will use the job queue.
Definition: DefaultSettings.php:6383
$wgInvalidUsernameCharacters
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
Definition: DefaultSettings.php:5751
$wgAutoloadClasses
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
Definition: DefaultSettings.php:8577
$wgFavicon
$wgFavicon
The URL path of the shortcut icon.
Definition: DefaultSettings.php:404
$wgCSPReportOnlyHeader
bool array $wgCSPReportOnlyHeader
Controls Content-Security-Policy-Report-Only header.
Definition: DefaultSettings.php:6961
$wgLearnerEdits
$wgLearnerEdits
The following variables define 3 user experience levels:
Definition: DefaultSettings.php:5129
$wgLogActionsHandlers
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
Definition: DefaultSettings.php:9010
$wgEnableAsyncUploads
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
Definition: DefaultSettings.php:532
$wgUploadNavigationUrl
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
Definition: DefaultSettings.php:1058
$wgOverrideHostname
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
Definition: DefaultSettings.php:7444
$wgResourceBasePath
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
Definition: DefaultSettings.php:4417
$wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
Definition: DefaultSettings.php:3660
$wgSiteTypes
$wgSiteTypes
Register handlers for specific types of sites.
Definition: DefaultSettings.php:4855
$wgMinUploadChunkSize
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
Definition: DefaultSettings.php:1046
$wgContentNamespaces
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Definition: DefaultSettings.php:4708
$wgPriorityHintsRatio
float $wgPriorityHintsRatio
Ratio of requests that should get Priority Hints when the feature is enabled.
Definition: DefaultSettings.php:9837
$wgBrowserFormatDetection
string $wgBrowserFormatDetection
Override ability of certains browsers to attempt to autodetect dataformats in pages.
Definition: DefaultSettings.php:3813
$wgJobClasses
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
Definition: DefaultSettings.php:8707
$wgEmailConfirmToEdit
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
Definition: DefaultSettings.php:5927
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:3479
$wgCopyUploadsFromSpecialUpload
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
Definition: DefaultSettings.php:990
$wgRunJobsAsync
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
Definition: DefaultSettings.php:9694
$wgLocalHTTPProxy
string bool $wgLocalHTTPProxy
Proxy to use to requests to domains in $wgLocalVirtualHosts.
Definition: DefaultSettings.php:9664
$wgMaxShellWallClockTime
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
Definition: DefaultSettings.php:9506
$wgCascadingRestrictionLevels
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
Definition: DefaultSettings.php:6177
$wgArticlePath
$wgArticlePath
The URL path for primary article page views.
Definition: DefaultSettings.php:266
$wgSessionCacheType
$wgSessionCacheType
The cache backend for storing session data.
Definition: DefaultSettings.php:2783
$wgRestAllowCrossOriginCookieAuth
bool $wgRestAllowCrossOriginCookieAuth
Allows authenticated cross-origin requests to the REST API with session cookies.
Definition: DefaultSettings.php:7013
$wgSquidPurgeUseHostHeader
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgCdnServers.
Definition: DefaultSettings.php:3360
$wgJpegTran
$wgJpegTran
used for lossless jpeg rotation
Definition: DefaultSettings.php:1299
$wgDisableCookieCheck
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
Definition: DefaultSettings.php:7170
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:7674
$wgMWLoggerDefaultSpi
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
Definition: DefaultSettings.php:7399
$wgCacheEpoch
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Definition: DefaultSettings.php:3104
$wgShellCgroup
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
Definition: DefaultSettings.php:9531
$wgAjaxExportList
$wgAjaxExportList
List of Ajax-callable functions.
Definition: DefaultSettings.php:9412
$wgUserEmailConfirmationTokenExpiry
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
Definition: DefaultSettings.php:1905
$wgGitInfoCacheDirectory
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
Definition: DefaultSettings.php:3110
$wgImageLimits
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
Definition: DefaultSettings.php:1638
$wgExternalDiffEngine
string false $wgExternalDiffEngine
Name of the external diff engine to use.
Definition: DefaultSettings.php:2573
$wgDiffEngine
string null $wgDiffEngine
Specify the difference engine to use.
Definition: DefaultSettings.php:2567
$wgCriticalSectionTimeLimit
float $wgCriticalSectionTimeLimit
The maximum time critical sections are allowed to stay open.
Definition: DefaultSettings.php:2619
$wgResourceLoaderUseObjectCacheForDeps
$wgResourceLoaderUseObjectCacheForDeps
Use the main stash instead of the module_deps table for indirect dependency tracking.
Definition: DefaultSettings.php:4446
$wgAutoConfirmCount
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
Definition: DefaultSettings.php:6244
$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:3004
$wgCentralIdLookupProviders
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
Definition: DefaultSettings.php:5196
$wgActionPaths
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
Definition: DefaultSettings.php:490
$wgBlockCIDRLimit
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
Definition: DefaultSettings.php:5851
$wgMiserMode
$wgMiserMode
Disable database-intensive features.
Definition: DefaultSettings.php:2624
$wgGitRepositoryViewers
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
Definition: DefaultSettings.php:7889
$wgTidyConfig
$wgTidyConfig
Configuration for HTML postprocessing tool.
Definition: DefaultSettings.php:4974
$wgEnableJavaScriptTest
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
Definition: DefaultSettings.php:7581
$wgPoolCounterConf
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
Definition: DefaultSettings.php:2694
$wgLoggedOutMaxAge
$wgLoggedOutMaxAge
Cache TTL for the user agent sent as max-age, for logged out users.
Definition: DefaultSettings.php:3286
$wgUseTinyRGBForJPGThumbnails
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
Definition: DefaultSettings.php:1734
$wgAvailableRights
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Definition: DefaultSettings.php:6371
MEDIATYPE_VIDEO
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgSemiprotectedRestrictionLevels
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
Definition: DefaultSettings.php:6191
$wgDisableUploadScriptChecks
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
Definition: DefaultSettings.php:1174
$wgCookieSetOnAutoblock
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
Definition: DefaultSettings.php:7225
$wgRateLimitsExcludedIPs
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
Definition: DefaultSettings.php:6622
$wgCapitalLinks
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Definition: DefaultSettings.php:4665
$wgReadOnlyFile
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
Definition: DefaultSettings.php:7858
$wgApplyIpBlocksToXff
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
Definition: DefaultSettings.php:6500
$wgThumbnailScriptPath
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
Definition: DefaultSettings.php:1078
$wgRCEngines
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
Definition: DefaultSettings.php:8014
$wgCSPHeader
bool array $wgCSPHeader
Controls Content-Security-Policy header [Experimental].
Definition: DefaultSettings.php:6953
$wgEditPageFrameOptions
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
Definition: DefaultSettings.php:6917
CONTENT_MODEL_TEXT
const CONTENT_MODEL_TEXT
Definition: Defines.php:211
$wgGroupPermissions
$wgGroupPermissions
Permission keys given to users in each group.
Definition: DefaultSettings.php:5959
$wgDebugComments
$wgDebugComments
Send debug data to an HTML comment in the output.
Definition: DefaultSettings.php:7277
$wgExiv2Command
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
Definition: DefaultSettings.php:1335
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition: DefaultSettings.php:3454
$wgLocaltimezone
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Definition: DefaultSettings.php:3704
$wgPagePropLinkInvalidations
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
Definition: DefaultSettings.php:8812
$wgHttpsPort
$wgHttpsPort
For installations where the canonical server is HTTP but HTTPS is optionally supported,...
Definition: DefaultSettings.php:147
$wgCleanSignatures
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
Definition: DefaultSettings.php:4911
$wgOpenSearchDescriptionLength
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Definition: DefaultSettings.php:7663
$wgShowExceptionDetails
$wgShowExceptionDetails
If set to true, uncaught exceptions will print the exception message and a complete stack trace to ou...
Definition: DefaultSettings.php:7421
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:1757
$wgVerifyMimeType
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Definition: DefaultSettings.php:1567
$wgExtraGenderNamespaces
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
Definition: DefaultSettings.php:4607
$wgQueryCacheLimit
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
Definition: DefaultSettings.php:2634
$wgInterwikiFallbackSite
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
Definition: DefaultSettings.php:4831
$wgReauthenticateTime
int[] $wgReauthenticateTime
Time frame for re-authentication.
Definition: DefaultSettings.php:5452
$wgSharedUploadDBprefix
string $wgSharedUploadDBprefix
Shortcut for the ForeignDBRepo 'tablePrefix' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:818
$wgCookieSecure
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
Definition: DefaultSettings.php:7162
$wgSessionProviders
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
Definition: DefaultSettings.php:5792
$wgSiteNotice
$wgSiteNotice
Site notice shown at the top of each page.
Definition: DefaultSettings.php:3800
$wgCapitalLinkOverrides
$wgCapitalLinkOverrides
Definition: DefaultSettings.php:4680
$wgAllowCrossOrigin
bool $wgAllowCrossOrigin
Allow anonymous cross origin requests.
Definition: DefaultSettings.php:6997
$wgTrackingCategories
$wgTrackingCategories
Array holding default tracking category names.
Definition: DefaultSettings.php:8880
$wgRestrictionLevels
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
Definition: DefaultSettings.php:6166
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:6468
$wgEnableUploads
$wgEnableUploads
Allow users to upload files.
Definition: DefaultSettings.php:517
$wgRenderHashAppend
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
Definition: DefaultSettings.php:3131
$wgLearnerMemberSince
$wgLearnerMemberSince
Number of days the user must exist before becoming a learner.
Definition: DefaultSettings.php:5135
$wgAdvertisedFeedTypes
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
Definition: DefaultSettings.php:8124
$wgSVGConverters
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
Definition: DefaultSettings.php:1353
$wgExtensionInfoMTime
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
Definition: DefaultSettings.php:3190
$wgGroupsRemoveFromSelf
$wgGroupsRemoveFromSelf
Definition: DefaultSettings.php:6144
$wgAllowCopyUploads
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
Definition: DefaultSettings.php:976
$wgTextModelsToParse
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Definition: DefaultSettings.php:2477
$wgAPIPropModules
$wgAPIPropModules
API Query prop module extensions.
Definition: DefaultSettings.php:9344
$wgOverrideSiteFeed
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
Definition: DefaultSettings.php:8108
$wgResourceLoaderMaxQueryLength
int $wgResourceLoaderMaxQueryLength
ResourceLoader will not generate URLs whose query string is more than this many characters long,...
Definition: DefaultSettings.php:4486
$wgSkipSkins
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
Definition: DefaultSettings.php:3847
$wgCategoryCollation
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
Definition: DefaultSettings.php:8863
$wgLogNames
$wgLogNames
Lists the message key string for each log type.
Definition: DefaultSettings.php:8959
$wgEnotifImpersonal
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
Definition: DefaultSettings.php:2027
$wgFileCacheDirectory
$wgFileCacheDirectory
Directory where the cached page will be saved.
Definition: DefaultSettings.php:305
$wgCookieSetOnIpBlock
$wgCookieSetOnIpBlock
Whether to set a cookie when a logged-out user is blocked.
Definition: DefaultSettings.php:7234
$wgUploadPath
$wgUploadPath
The URL path for the images directory.
Definition: DefaultSettings.php:272
$wgMaxTocLevel
$wgMaxTocLevel
Maximum indent level of toc.
Definition: DefaultSettings.php:4870
$wgMaxRedirects
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Definition: DefaultSettings.php:4732
$wgSpecialSearchFormOptions
array $wgSpecialSearchFormOptions
Options for Special:Search completion widget form created by SearchFormWidget class.
Definition: DefaultSettings.php:7751
$wgRedirectSources
$wgRedirectSources
If local interwikis are set up which allow redirects, set this regexp to restrict URLs which will be ...
Definition: DefaultSettings.php:4848
$wgDjvuDump
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
Definition: DefaultSettings.php:1790
$wgRestrictionTypes
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
Definition: DefaultSettings.php:6153
$wgSearchRunSuggestedQuery
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
Definition: DefaultSettings.php:7771
$wgArticleCountMethod
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Definition: DefaultSettings.php:5106
$wgEnableBotPasswords
bool $wgEnableBotPasswords
Whether to enable bot passwords.
Definition: DefaultSettings.php:6826
$wgXhtmlNamespaces
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
Definition: DefaultSettings.php:3791
$wgHTTPMaxTimeout
float int $wgHTTPMaxTimeout
The maximum HTTP request timeout in seconds.
Definition: DefaultSettings.php:9614
$wgMaxSigChars
$wgMaxSigChars
Maximum number of Unicode characters in signature.
Definition: DefaultSettings.php:5622
$wgDBuser
$wgDBuser
Database username.
Definition: DefaultSettings.php:2095
$wgDBerrorLogTZ
$wgDBerrorLogTZ
Timezone to use in the error log.
Definition: DefaultSettings.php:2335
$wgJpegQuality
$wgJpegQuality
When scaling a JPEG thumbnail, this is the quality we request from the backend.
Definition: DefaultSettings.php:1329
$wgPasswordPolicy
$wgPasswordPolicy
Password policy for the wiki.
Definition: DefaultSettings.php:5274
$wgReportToEndpoints
array $wgReportToEndpoints
List of endpoints for the Reporting API.
Definition: DefaultSettings.php:9867
$wgDataCenterUpdateStickTTL
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
Definition: DefaultSettings.php:2310
$wgDebugDumpSql
$wgDebugDumpSql
Write SQL queries to the debug log.
Definition: DefaultSettings.php:7286
$wgAllowSlowParserFunctions
$wgAllowSlowParserFunctions
Enable slow parser functions.
Definition: DefaultSettings.php:2644
$wgUploadMissingFileUrl
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
Definition: DefaultSettings.php:1065
$wgResourceModuleSkinStyles
$wgResourceModuleSkinStyles
Add extra skin-specific styles to a resource module.
Definition: DefaultSettings.php:4399
$wgMinimalPasswordLength
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
Definition: DefaultSettings.php:5506
$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:6139
$wgRCFilterByAge
$wgRCFilterByAge
Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be store...
Definition: DefaultSettings.php:7931
$wgSpecialPages
$wgSpecialPages
Special page list.
Definition: DefaultSettings.php:8572
$wgDebugToolbar
$wgDebugToolbar
Display the new debugging toolbar.
Definition: DefaultSettings.php:7596
$wgAntivirus
$wgAntivirus
Internal name of virus scanner.
Definition: DefaultSettings.php:1508
$wgDisableQueryPageUpdate
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
Definition: DefaultSettings.php:9146
$wgTrustedMediaFormats
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
Definition: DefaultSettings.php:1191
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:7040
$wgHTTPImportTimeout
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
Definition: DefaultSettings.php:9629
$wgRestrictDisplayTitle
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
Definition: DefaultSettings.php:5047
$wgAutoloadAttemptLowercase
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
Definition: DefaultSettings.php:8586
$wgPasswordSender
$wgPasswordSender
Sender email address for e-mail notifications.
Definition: DefaultSettings.php:1841
$wgPHPSessionHandling
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
Definition: DefaultSettings.php:2995
$wgAllowDisplayTitle
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Definition: DefaultSettings.php:5040
$wgUseSiteCss
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
Definition: DefaultSettings.php:6890
$wgExtraLanguageCodes
$wgExtraLanguageCodes
List of mappings from one language code to another.
Definition: DefaultSettings.php:3508
$wgAPIFormatModules
$wgAPIFormatModules
API format module extensions.
Definition: DefaultSettings.php:9326
$wgRegisterInternalExternals
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
Definition: DefaultSettings.php:5035
$wgSecretKey
$wgSecretKey
This should always be customised in LocalSettings.php.
Definition: DefaultSettings.php:6858
$wgScriptPath
$wgScriptPath
The path we should point to.
Definition: DefaultSettings.php:178
$wgNamespacesWithSubpages
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
Definition: DefaultSettings.php:4686
$wgOldRevisionParserCacheExpireTime
$wgOldRevisionParserCacheExpireTime
The expiry time for the parser cache for old revisions, in seconds.
Definition: DefaultSettings.php:2972
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:1620
$wgPasswordConfig
$wgPasswordConfig
Configuration for built-in password types.
Definition: DefaultSettings.php:5557
$wgDBadminpassword
$wgDBadminpassword
Separate password for maintenance tasks.
Definition: DefaultSettings.php:2135
$wgUseAjax
$wgUseAjax
Enable AJAX framework.
Definition: DefaultSettings.php:9405
$wgDBssl
$wgDBssl
Whether to use SSL in DB connection.
Definition: DefaultSettings.php:2115
$wgWatchersMaxAge
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
Definition: DefaultSettings.php:7914
$wgGrantPermissionGroups
array $wgGrantPermissionGroups
Map of grants to their UI grouping.
Definition: DefaultSettings.php:6784
$wgVariantArticlePath
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
Definition: DefaultSettings.php:3632
$wgMaxShellMemory
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KiB.
Definition: DefaultSettings.php:9489
$wgResourceLoaderDebug
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
Definition: DefaultSettings.php:4453
$wgUseImageResize
$wgUseImageResize
Whether to enable server-side image thumbnailing.
Definition: DefaultSettings.php:1241
$wgWatchlistExpiry
bool $wgWatchlistExpiry
Whether to enable the watchlist expiry feature.
Definition: DefaultSettings.php:8264
$wgForeignFileRepos
$wgForeignFileRepos
Enable the use of files from one or more other wikis.
Definition: DefaultSettings.php:714
$wgAccountCreationThrottle
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
Definition: DefaultSettings.php:6415
$wgEnotifMaxRecips
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
Definition: DefaultSettings.php:2033
$wgUploadThumbnailRenderMethod
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
Definition: DefaultSettings.php:1711
$wgLocalStylePath
$wgLocalStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:236
$wgSpecialVersionShowHooks
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
Definition: DefaultSettings.php:7413
$wgMemCachedPersistent
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
Definition: DefaultSettings.php:3022
$wgShowEXIF
$wgShowEXIF
Show Exif data, on by default if available.
Definition: DefaultSettings.php:964
$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:7762
$wgMaxPPNodeCount
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
Definition: DefaultSettings.php:4876
$wgSecureLogin
$wgSecureLogin
This is to let user authenticate using https when they come from http.
Definition: DefaultSettings.php:5770
$wgGenerateThumbnailOnParse
bool $wgGenerateThumbnailOnParse
Render thumbnails while parsing wikitext.
Definition: DefaultSettings.php:1489
$wgCookiePrefix
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
Definition: DefaultSettings.php:7177
$wgUserEmailUseReplyTo
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
Definition: DefaultSettings.php:1889
$wgAPIMaxDBRows
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
Definition: DefaultSettings.php:9359
$wgMainStash
$wgMainStash
The object store type of the main stash.
Definition: DefaultSettings.php:2943
$wgCookieSameSite
string null $wgCookieSameSite
The SameSite cookie attribute used for login cookies.
Definition: DefaultSettings.php:7196
$wgStyleDirectory
$wgStyleDirectory
Filesystem stylesheets directory.
Definition: DefaultSettings.php:257
$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:7869
$wgSVGConverter
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Definition: DefaultSettings.php:1368
$wgSessionSecret
$wgSessionSecret
Secret for session storage.
Definition: DefaultSettings.php:7021
$wgDefaultRobotPolicy
$wgDefaultRobotPolicy
Default robot policy.
Definition: DefaultSettings.php:9197
$wgAllowUserJs
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
Definition: DefaultSettings.php:6865
$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:8203
$wgTrxProfilerLimits
$wgTrxProfilerLimits
Performance expectations for DB usage.
Definition: DefaultSettings.php:7293
SCHEMA_COMPAT_NEW
const SCHEMA_COMPAT_NEW
Definition: Defines.php:276
$wgExtraNamespaces
$wgExtraNamespaces
Additional namespaces.
Definition: DefaultSettings.php:4599
$wgUploadThumbnailRenderHttpCustomDomain
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HT...
Definition: DefaultSettings.php:1726
$wgCategoryPagingLimit
$wgCategoryPagingLimit
Paging limit for categories.
Definition: DefaultSettings.php:8836
$wgNewUserLog
$wgNewUserLog
Maintain a log of newusers at Special:Log/newusers?
Definition: DefaultSettings.php:9122
$wgNamespacesToBeSearchedDefault
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
Definition: DefaultSettings.php:7685
$wgUsePigLatinVariant
$wgUsePigLatinVariant
Whether to enable the pig Latin variant of English (en-x-piglatin), used to ease variant development ...
Definition: DefaultSettings.php:3602
$wgMainWANCache
$wgMainWANCache
Main Wide-Area-Network cache type.
Definition: DefaultSettings.php:2869
$wgImagePreconnect
$wgImagePreconnect
On pages containing images, tell the user agent to pre-connect to hosts from $wgForeignFileRepos.
Definition: DefaultSettings.php:1779
$wgGalleryOptions
$wgGalleryOptions
Parameters for the "<gallery>" tag.
Definition: DefaultSettings.php:1750
$wgAutopromoteOnce
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
Definition: DefaultSettings.php:6328
$wgJobQueueIncludeInMaxLagFactor
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Definition: DefaultSettings.php:8795
$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:3302
$wgEnableAutoRotation
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
Definition: DefaultSettings.php:1501
$wgDatabaseReplicaLagCritical
$wgDatabaseReplicaLagCritical
Definition: DefaultSettings.php:2366
$wgVirtualRestConfig
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
Definition: DefaultSettings.php:9755
$wgCheckFileExtensions
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
Definition: DefaultSettings.php:1158
$wgAllUnicodeFixes
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
Definition: DefaultSettings.php:3532
$wgInternalServer
$wgInternalServer
Internal server name as known to CDN, if different.
Definition: DefaultSettings.php:3250
$wgDisableAnonTalk
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
Definition: DefaultSettings.php:8153
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:4785
$wgUseLocalMessageCache
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
Definition: DefaultSettings.php:3040
$wgStatsdServer
$wgStatsdServer
Destination of statsd metrics.
Definition: DefaultSettings.php:7537
$wgCountCategorizedImagesAsUsed
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
Definition: DefaultSettings.php:9152
$wgDummyLanguageCodes
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
Definition: DefaultSettings.php:3523
$wgPasswordExpirationDays
$wgPasswordExpirationDays
The number of days that a user's password is good for.
Definition: DefaultSettings.php:1911
$wgRCWatchCategoryMembership
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
Definition: DefaultSettings.php:8030
$wgObjectCacheSessionExpiry
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
Definition: DefaultSettings.php:2977
$wgFeed
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
Definition: DefaultSettings.php:8072
$wgAsyncHTTPTimeout
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
Definition: DefaultSettings.php:9634
$wgRightsUrl
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
Definition: DefaultSettings.php:8315
$wgAllowExternalImages
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
Definition: DefaultSettings.php:4916
$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:197
$wgImageMagickTempDir
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
Definition: DefaultSettings.php:1278
$wgSQLMode
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
Definition: DefaultSettings.php:2175
$wgEnableImageWhitelist
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki allow list of regular expression fragmen...
Definition: DefaultSettings.php:4943
CACHE_NONE
const CACHE_NONE
Definition: Defines.php:86
$wgThumbPath
$wgThumbPath
The base path for thumb_handler.php.
Definition: DefaultSettings.php:294
$wgExportPagelistLimit
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
Definition: DefaultSettings.php:8437
$wgSpamRegex
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
Definition: DefaultSettings.php:6431
$wgSharedUploadPath
string $wgSharedUploadPath
Shortcut for the 'url' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:773
$wgOpenSearchDefaultLimit
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
Definition: DefaultSettings.php:7658
$wgReportToExpiry
int $wgReportToExpiry
Expiry of the endpoint definition for the Reporting API.
Definition: DefaultSettings.php:9857
$wgCdnMaxageLagged
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
Definition: DefaultSettings.php:3269
$wgShowArchiveThumbnails
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
Definition: DefaultSettings.php:1494
$wgAllowSpecialInclusion
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
Definition: DefaultSettings.php:9139
$wgActorTableSchemaMigrationStage
int $wgActorTableSchemaMigrationStage
Actor table schema migration stage, for migration from the temporary table revision_actor_temp to the...
Definition: DefaultSettings.php:2411