MediaWiki  master
DefaultSettings.php
Go to the documentation of this file.
1 <?php
46 if ( !defined( 'MEDIAWIKI' ) ) {
47  echo "This file is part of MediaWiki and is not a valid entry point\n";
48  die( 1 );
49 }
50 
59 
67  'main' => 'GlobalVarConfig::newInstance'
68 ];
69 
76 
80 $wgSitename = 'MediaWiki';
81 
82 /***************************************************************************/
83 // region Server URLs and file paths
108 $wgServer = false;
109 
118 
125 
133 
146 
166 
176 $wgScriptPath = '/wiki';
177 
195 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
196  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
197  ( strpos( PHP_SAPI, 'isapi' ) === false );
198 
204 $wgScript = false;
205 
213 
219 $wgRestPath = false;
220 
226 $wgStylePath = false;
228 
235 
242 
248 $wgExtensionDirectory = "{$IP}/extensions";
249 
255 $wgStyleDirectory = "{$IP}/skins";
256 
265 
271 
285 
292 $wgThumbPath = false;
293 
298 
304 
312 $wgLogo = false;
313 
364 $wgLogos = false;
365 
396 $wgLogoHD = false;
397 
402 $wgFavicon = '/favicon.ico';
403 
410 
430 
453 
460 
473 
489 
499 
500 // endregion -- end of server URLs and file paths
501 
502 /***************************************************************************/
503 // region Files and file uploads
516 
520 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
521 
531 
536 
544 $wgIllegalFileChars = ":\\/\\\\";
545 
551 
556 
572 
676 
691 
702 
732 
741 
750 
759 
766 $wgRepositoryBaseUrl = 'https://commons.wikimedia.org/wiki/File:';
767 
776 
786 
795 
804 
815 
826  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
827  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
828  // matching replacement to the 'filepage' format key below to make use of these.
829  'fields' => [
830  'description' => true,
831  'date' => false,
832  'categories' => false,
833  ],
834  // Suffix of localisation messages used to describe the license under which the uploaded file will
835  // be released. The same value may be set for both 'local' and 'foreign' uploads.
836  'licensemessages' => [
837  // The 'local' messages are used for local uploads on this wiki:
838  // * upload-form-label-own-work-message-generic-local
839  // * upload-form-label-not-own-work-message-generic-local
840  // * upload-form-label-not-own-work-local-generic-local
841  'local' => 'generic-local',
842  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
843  // * upload-form-label-own-work-message-generic-foreign
844  // * upload-form-label-not-own-work-message-generic-foreign
845  // * upload-form-label-not-own-work-local-generic-foreign
846  'foreign' => 'generic-foreign',
847  ],
848  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
849  // string value, in which case it is used for both kinds of uploads. Available replacements:
850  // * $HOST - domain name from which a cross-wiki upload originates
851  // * $PAGENAME - wiki page name from which an upload originates
852  'comment' => [
853  'local' => '',
854  'foreign' => '',
855  ],
856  // Format of the file page wikitext to be generated from the fields input by the user.
857  'format' => [
858  // Wrapper for the whole page. Available replacements:
859  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
860  // enabled), wrapped as defined below in the 'description' key
861  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
862  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
863  // * $AUTHOR - linked user name, may be extended in the future
864  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
865  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
866  // field is enabled), or if no input, as defined below in the 'uncategorized' key
867  'filepage' => '$DESCRIPTION',
868  // Wrapped for file description. Available replacements:
869  // * $LANGUAGE - source wiki's content language
870  // * $TEXT - input by the user
871  'description' => '$TEXT',
872  'ownwork' => '',
873  'license' => '',
874  'uncategorized' => '',
875  ],
876 ];
877 
916 
928 
940 $wgShowEXIF = function_exists( 'exif_read_data' );
941 
948 
955 
962 
969 
975 
987 
1008 $wgMaxUploadSize = 1024 * 1024 * 100;
1009 
1025 
1037 
1044 
1057 
1066 
1074 
1083 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
1084 
1091  # HTML may contain cookie-stealing JavaScript and web bugs
1092  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
1093  # PHP scripts may execute arbitrary code on the server
1094  'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'phar',
1095  # Other types that may be interpreted by some servers
1096  'shtml', 'jhtml', 'pl', 'py', 'cgi',
1097  # May contain harmful executables for Windows victims
1098  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl'
1099 ];
1100 
1106  # HTML may contain cookie-stealing JavaScript and web bugs
1107  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
1108  # PHP scripts may execute arbitrary code on the server
1109  'application/x-php', 'text/x-php',
1110  # Other types that may be interpreted by some servers
1111  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
1112  # Client-side hazards on Internet Explorer
1113  'text/scriptlet', 'application/x-msdownload',
1114  # Windows metafile, client-side vulnerability on some systems
1115  'application/x-msmetafile',
1116 ];
1117 
1124 
1131 
1139 
1147 
1152 
1164  MEDIATYPE_BITMAP, // all bitmap formats
1165  MEDIATYPE_AUDIO, // all audio formats
1166  MEDIATYPE_VIDEO, // all plain video formats
1167  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
1168  "application/pdf", // PDF files
1169  # "application/x-shockwave-flash", //flash/shockwave movie
1170 ];
1171 
1180 
1190 
1196  'image/jpeg' => 'MockBitmapHandler',
1197  'image/png' => 'MockBitmapHandler',
1198  'image/gif' => 'MockBitmapHandler',
1199  'image/tiff' => 'MockBitmapHandler',
1200  'image/webp' => 'MockBitmapHandler',
1201  'image/x-ms-bmp' => 'MockBitmapHandler',
1202  'image/x-bmp' => 'MockBitmapHandler',
1203  'image/x-xcf' => 'MockBitmapHandler',
1204  'image/svg+xml' => 'MockSvgHandler',
1205  'image/vnd.djvu' => 'MockDjVuHandler',
1206 ];
1207 
1214 
1224 
1228 $wgImageMagickConvertCommand = '/usr/bin/convert';
1229 
1235 
1240 
1245 
1251 
1265 
1271 $wgJpegTran = '/usr/bin/jpegtran';
1272 
1293 
1302 
1307 $wgExiv2Command = '/usr/bin/exiv2';
1308 
1314 $wgExiftool = '/usr/bin/exiftool';
1315 
1326  'ImageMagick' =>
1327  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1328  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1329  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1330  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1331  . '$output $input',
1332  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1333  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1334  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1335 ];
1336 
1340 $wgSVGConverter = 'ImageMagick';
1341 
1346 
1351 
1357 
1367 
1382 
1390 
1405 
1412 $wgThumbnailEpoch = '20030516000000';
1413 
1421 
1434 
1456 
1461 
1468 
1475 
1511 
1512  # setup for clamav
1513  'clamav' => [
1514  'command' => 'clamscan --no-summary ',
1515  'codemap' => [
1516  "0" => AV_NO_VIRUS, # no virus
1517  "1" => AV_VIRUS_FOUND, # virus found
1518  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1519  "*" => AV_SCAN_FAILED, # else scan failed
1520  ],
1521  'messagepattern' => '/.*?:(.*)/sim',
1522  ],
1523 ];
1524 
1529 
1534 
1544 
1554 $wgMimeTypeFile = 'internal';
1555 
1560 $wgMimeInfoFile = 'internal';
1561 
1574 
1581 
1587  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1588  'svg' => 'image/svg+xml',
1589  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1590  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1591  'html' => 'text/html', // application/xhtml+xml?
1592 ];
1593 
1605  [ 320, 240 ],
1606  [ 640, 480 ],
1607  [ 800, 600 ],
1608  [ 1024, 768 ],
1609  [ 1280, 1024 ],
1610  [ 2560, 2048 ],
1611 ];
1612 
1619  120,
1620  150,
1621  180,
1622  200,
1623  250,
1624  300
1625 ];
1626 
1637 
1654 
1665 
1678 
1685 
1693 
1701 
1717 
1724 
1729 
1737 
1746 
1747 /***************************************************************************/
1748 // region DJVU settings
1757 
1764 
1770 $wgDjvuTxt = null;
1771 
1787 
1793 $wgDjvuPostProcessor = 'pnmtojpeg';
1794 
1799 
1800 // endregion -- end of DJvu
1801 
1802 // endregion -- end of file uploads
1803 
1804 /***************************************************************************/
1805 // region Email settings
1814 
1824 
1831 
1838 
1844 
1854 
1861 
1872 
1878 
1882 $wgNewPasswordExpiry = 3600 * 24 * 7;
1883 
1888 
1894 
1899 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1900 
1918 $wgSMTP = false;
1919 
1924 
1930 
1943 
1944 // TODO move UPO to preferences probably ?
1945 # If set to true, users get a corresponding option in their preferences and can choose to
1946 # enable or disable at their discretion
1947 # If set to false, the corresponding input form on the user preference page is suppressed
1948 # It call this to be a "user-preferences-option (UPO)"
1949 
1956 
1961 
1970 
1986 
2001 
2010 
2016 
2021 
2027 
2028 // endregion -- end of email settings
2029 
2030 /***************************************************************************/
2031 // region Database settings
2042 $wgDBname = 'my_wiki';
2043 
2053 
2063 
2067 $wgDBserver = 'localhost';
2068 
2072 $wgDBport = 5432;
2073 
2077 $wgDBuser = 'wikiuser';
2078 
2083 
2087 $wgDBtype = 'mysql';
2088 
2097 $wgDBssl = false;
2098 
2108 
2113 
2118 
2131 
2145 
2149 $wgDBTableOptions = 'ENGINE=InnoDB, DEFAULT CHARSET=binary';
2150 
2158 
2165 
2170 
2197 
2202 
2207 $wgSharedTables = [ 'user', 'user_properties' ];
2208 
2214 
2269 
2280 $wgLBFactoryConf = [ 'class' => \Wikimedia\Rdbms\LBFactorySimple::class ];
2281 
2293 
2298 
2318 
2333 
2342 
2349 
2372 
2373 // endregion -- End of DB settings
2374 
2375 /***************************************************************************/
2376 // region Content handlers and storage
2387  // the usual case
2388  CONTENT_MODEL_WIKITEXT => WikitextContentHandler::class,
2389  // dumb version, no syntax highlighting
2390  CONTENT_MODEL_JAVASCRIPT => JavaScriptContentHandler::class,
2391  // simple implementation, for use by extensions, etc.
2392  CONTENT_MODEL_JSON => JsonContentHandler::class,
2393  // dumb version, no syntax highlighting
2394  CONTENT_MODEL_CSS => CssContentHandler::class,
2395  // plain text, for use by extensions, etc.
2396  CONTENT_MODEL_TEXT => TextContentHandler::class,
2397  // fallback for unknown models, from imports or extensions that were removed
2398  CONTENT_MODEL_UNKNOWN => FallbackContentHandler::class,
2399 ];
2400 
2413 
2426 
2438  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
2439  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
2440  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
2441 ];
2442 
2450 
2463 
2479 
2495 
2505 
2513 
2528 
2534 
2535 // endregion -- end of Content handlers and storage
2536 
2537 /***************************************************************************/
2538 // region Performance hacks and limits
2552 
2563 
2580 
2585 
2590 
2595 
2600 
2605 
2610 
2615 
2621 
2655 
2664 
2673 
2679 
2684 
2685 // endregion -- end performance hacks
2686 
2687 /***************************************************************************/
2688 // region Cache settings
2700 
2719 
2727 
2735 
2744 
2754 
2769  CACHE_NONE => [ 'class' => EmptyBagOStuff::class, 'reportDupes' => false ],
2770  CACHE_DB => [ 'class' => SqlBagOStuff::class, 'loggroup' => 'SQLBagOStuff' ],
2771 
2772  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2773  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2774  CACHE_MEMCACHED => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2775 
2776  'db-replicated' => [
2777  'class' => ReplicatedBagOStuff::class,
2778  'readFactory' => [
2779  'factory' => 'ObjectCache::newFromParams',
2780  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => true ] ]
2781  ],
2782  'writeFactory' => [
2783  'factory' => 'ObjectCache::newFromParams',
2784  'args' => [ [ 'class' => SqlBagOStuff::class, 'replicaOnly' => false ] ]
2785  ],
2786  'loggroup' => 'SQLBagOStuff',
2787  'reportDupes' => false
2788  ],
2789  'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2790  'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ],
2791  'hash' => [ 'class' => HashBagOStuff::class, 'reportDupes' => false ],
2792 
2793  // Deprecated since 1.35.
2794  // - To configure a wg*CacheType variable to use the local server cache,
2795  // use CACHE_ACCEL instead, which will select these automatically.
2796  // - To access the object for the local server cache at run-time,
2797  // use MediaWikiServices::getLocalServerObjectCache()
2798  // instead of e.g. ObjectCache::getInstance( 'apcu' ).
2799  // - To instantiate a new one of these explicitly, do so directly
2800  // by using `new APCUBagOStuff( [ … ] )`
2801  // - To instantiate a new one of these including auto-detection and fallback,
2802  // use ObjectCache::makeLocalServerCache().
2803  'apc' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2804  'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2805  'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ],
2806 ];
2807 
2830 
2857  CACHE_NONE => [
2858  'class' => WANObjectCache::class,
2859  'cacheId' => CACHE_NONE,
2860  ]
2861 ];
2862 
2875 
2903 $wgMainStash = 'db-replicated';
2904 
2921 
2927 
2933 
2938 
2956 
2965 
2972 
2976 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2977 
2983 
2988 
3001 
3009 
3042  'class' => LocalisationCache::class,
3043  'store' => 'detect',
3044  'storeClass' => false,
3045  'storeDirectory' => false,
3046  'storeServer' => [],
3047  'forceRecache' => false,
3048  'manualRecache' => false,
3049 ];
3050 
3055 
3064 $wgCacheEpoch = '20030516000000';
3065 
3071 
3078 
3086 
3092 
3103 
3108 
3115 
3122 $wgUseGzip = false;
3123 
3134 
3151 
3167 
3168 // endregion -- end of cache settings
3169 
3170 /***************************************************************************/
3171 // region HTTP proxy (CDN) settings
3190 $wgUseCdn = false;
3191 
3201 
3211 
3222 
3230 
3238 
3247 
3263 
3270 
3277 
3289 
3299 
3321 
3369 
3375 
3380 
3381 // endregion -- end of HTTP proxy settings
3382 
3383 /***************************************************************************/
3384 // region Language, regional and character encoding settings
3404 
3410 
3421 
3426 
3431 
3446 
3455 
3460 
3475  // Language codes of macro languages, which get mapped to the main language
3476  'bh' => 'bho', // Bihari language family
3477  'no' => 'nb', // Norwegian language family
3478 
3479  // Language variants which get mapped to the main language
3480  'simple' => 'en', // Simple English
3481 ];
3482 
3490 
3499 
3511 
3525 
3531 
3537 
3543 
3548 
3553 
3558 
3563 
3569 
3580 
3599 
3606 
3627 
3640  'copyright',
3641  'history_copyright',
3642  'googlesearch',
3643  'feedback-terms',
3644  'feedback-termsofuse',
3645 ];
3646 
3671 
3682 
3695 
3696 // endregion -- End of language/charset settings
3697 
3698 /***************************************************************************/
3699 // region Output format and skin settings
3705 $wgMimeType = 'text/html';
3706 
3716 
3725 
3733 
3742 
3758 
3767 
3776 
3781 $wgDefaultSkin = 'vector';
3782 
3788 $wgFallbackSkin = 'fallback';
3789 
3801 
3806 
3835 $wgFragmentMode = [ 'legacy', 'html5' ];
3836 
3846 
3878  "copyright" => [
3879  "copyright" => [], // placeholder for the built in copyright icon
3880  ],
3881  "poweredby" => [
3882  "mediawiki" => [
3883  // Defaults to point at
3884  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3885  // plus srcset for 1.5x, 2x resolution variants.
3886  "src" => null,
3887  "url" => "https://www.mediawiki.org/",
3888  "alt" => "Powered by MediaWiki",
3889  ]
3890  ],
3891 ];
3892 
3900 
3904 $wgEdititis = false;
3905 
3918 
3929 
3937 
3947 
3948 // endregion -- End of output format settings
3949 
3950 /***************************************************************************/
3951 // region ResourceLoader settings
4262 
4353 
4365 
4371 
4389  'versioned' => 30 * 24 * 60 * 60, // 30 days
4390  'unversioned' => 5 * 60, // 5 minutes
4391 ];
4392 
4400 
4407 
4414 
4425 
4440 
4449 
4459 
4465 
4473 
4486 
4497 
4498 // endregion -- End of ResourceLoader settings
4499 
4500 /***************************************************************************/
4501 // region Page titles and redirects
4509 
4518 
4525 
4553 
4561 
4584 
4609 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
4610 
4619 
4634 
4640  NS_TALK => true,
4641  NS_USER => true,
4642  NS_USER_TALK => true,
4643  NS_PROJECT => true,
4644  NS_PROJECT_TALK => true,
4645  NS_FILE_TALK => true,
4646  NS_MEDIAWIKI => true,
4647  NS_MEDIAWIKI_TALK => true,
4648  NS_TEMPLATE => true,
4649  NS_TEMPLATE_TALK => true,
4650  NS_HELP => true,
4651  NS_HELP_TALK => true,
4653 ];
4654 
4662 
4670 
4679 
4686 
4697 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4698 
4708 
4714 
4715 // endregion -- End of title and interwiki settings
4716 
4717 /***************************************************************************/
4718 // region Interwiki links and sites
4739 
4747 
4752 
4772 
4780 
4785 
4802 
4809  'mediawiki' => MediaWikiSite::class,
4810 ];
4811 
4812 // endregion -- Interwiki links and sites
4813 
4814 /***************************************************************************/
4815 // region Parser settings
4824 
4830 
4838 
4843 
4855  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4856  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4857  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4858  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4859 ];
4860 
4865 
4870 
4884 
4897 
4908 
4928 
4935 
4941 $wgRawHtml = false;
4942 
4953 
4961 
4967 
4981 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4982 
4988 
4993 
5000 
5006 
5012 
5017 
5023 
5031  'ISBN' => false,
5032  'PMID' => false,
5033  'RFC' => false
5034 ];
5035 
5036 // endregion -- end of parser settings
5037 
5038 /***************************************************************************/
5039 // region Statistics and content analysis
5059 
5068 
5082 
5088 
5094 
5100 
5121 
5136 
5137 // endregion -- End of statistics and content analysis
5138 
5139 /***************************************************************************/
5140 // region User accounts, authentication
5149  'local' => [ 'class' => LocalIdLookup::class ],
5150 ];
5151 
5157 
5222  'policies' => [
5223  'bureaucrat' => [
5224  'MinimalPasswordLength' => 10,
5225  'MinimumPasswordLengthToLogin' => 1,
5226  ],
5227  'sysop' => [
5228  'MinimalPasswordLength' => 10,
5229  'MinimumPasswordLengthToLogin' => 1,
5230  ],
5231  'interface-admin' => [
5232  'MinimalPasswordLength' => 10,
5233  'MinimumPasswordLengthToLogin' => 1,
5234  ],
5235  'bot' => [
5236  'MinimalPasswordLength' => 10,
5237  'MinimumPasswordLengthToLogin' => 1,
5238  ],
5239  'default' => [
5240  'MinimalPasswordLength' => [ 'value' => 1, 'suggestChangeOnLogin' => true ],
5241  'PasswordCannotMatchUsername' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
5242  'PasswordCannotBeSubstringInUsername' => [
5243  'value' => true,
5244  'suggestChangeOnLogin' => true
5245  ],
5246  'PasswordCannotMatchDefaults' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
5247  'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true ],
5248  'PasswordNotInCommonList' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
5249  ],
5250  ],
5251  'checks' => [
5252  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
5253  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
5254  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
5255  'PasswordCannotBeSubstringInUsername' =>
5256  'PasswordPolicyChecks::checkPasswordCannotBeSubstringInUsername',
5257  'PasswordCannotMatchDefaults' => 'PasswordPolicyChecks::checkPasswordCannotMatchDefaults',
5258  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
5259  'PasswordNotInCommonList' => 'PasswordPolicyChecks::checkPasswordNotInCommonList',
5260  ],
5261 ];
5262 
5283 
5289  'preauth' => [
5290  MediaWiki\Auth\ThrottlePreAuthenticationProvider::class => [
5291  'class' => MediaWiki\Auth\ThrottlePreAuthenticationProvider::class,
5292  'sort' => 0,
5293  ],
5294  ],
5295  'primaryauth' => [
5296  // TemporaryPasswordPrimaryAuthenticationProvider should come before
5297  // any other PasswordAuthenticationRequest-based
5298  // PrimaryAuthenticationProvider (or at least any that might return
5299  // FAIL rather than ABSTAIN for a wrong password), or password reset
5300  // won't work right. Do not remove this (or change the key) or
5301  // auto-configuration of other such providers in extensions will
5302  // probably auto-insert themselves in the wrong place.
5303  MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class => [
5304  'class' => MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::class,
5305  'services' => [
5306  'DBLoadBalancer',
5307  ],
5308  'args' => [ [
5309  // Fall through to LocalPasswordPrimaryAuthenticationProvider
5310  'authoritative' => false,
5311  ] ],
5312  'sort' => 0,
5313  ],
5314  MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class => [
5315  'class' => MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class,
5316  'services' => [
5317  'DBLoadBalancer',
5318  ],
5319  'args' => [ [
5320  // Last one should be authoritative, or else the user will get
5321  // a less-than-helpful error message (something like "supplied
5322  // authentication info not supported" rather than "wrong
5323  // password") if it too fails.
5324  'authoritative' => true,
5325  ] ],
5326  'sort' => 100,
5327  ],
5328  ],
5329  'secondaryauth' => [
5330  MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class => [
5331  'class' => MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProvider::class,
5332  'sort' => 0,
5333  ],
5334  MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class => [
5335  'class' => MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::class,
5336  'sort' => 100,
5337  ],
5338  // Linking during login is experimental, enable at your own risk - T134952
5339  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
5340  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
5341  // 'sort' => 100,
5342  // ],
5343  MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class => [
5344  'class' => MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider::class,
5345  'services' => [
5346  'DBLoadBalancer',
5347  ],
5348  'sort' => 200,
5349  ],
5350  ],
5351 ];
5352 
5361 $wgRememberMe = 'choose'; // RememberMeAuthenticationRequest::CHOOSE_REMEMBER
5362 
5402  'default' => 300,
5403 ];
5404 
5421  'default' => true,
5422 ];
5423 
5434  \MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::class
5435 ];
5436 
5447  \MediaWiki\Auth\PasswordAuthenticationRequest::class,
5448 ];
5449 
5456 
5469 
5476 
5486 
5507  'A' => [
5508  'class' => MWOldPassword::class,
5509  ],
5510  'B' => [
5511  'class' => MWSaltedPassword::class,
5512  ],
5513  'pbkdf2-legacyA' => [
5514  'class' => LayeredParameterizedPassword::class,
5515  'types' => [
5516  'A',
5517  'pbkdf2',
5518  ],
5519  ],
5520  'pbkdf2-legacyB' => [
5521  'class' => LayeredParameterizedPassword::class,
5522  'types' => [
5523  'B',
5524  'pbkdf2',
5525  ],
5526  ],
5527  'bcrypt' => [
5528  'class' => BcryptPassword::class,
5529  'cost' => 9,
5530  ],
5531  'pbkdf2' => [
5532  'class' => Pbkdf2Password::class,
5533  'algo' => 'sha512',
5534  'cost' => '30000',
5535  'length' => '64',
5536  ],
5537  'argon2' => [
5538  'class' => Argon2Password::class,
5539 
5540  // Algorithm used:
5541  // * 'argon2i' is optimized against side-channel attacks (PHP 7.2+)
5542  // * 'argon2id' is optimized against both side-channel and GPU cracking (PHP 7.3+)
5543  // * 'auto' to use best available algorithm. If you're using more than one server, be
5544  // careful when you're mixing PHP versions because newer PHP might generate hashes that
5545  // older versions might would not understand.
5546  'algo' => 'auto',
5547 
5548  // The parameters below are the same as options accepted by password_hash().
5549  // Set them to override that function's defaults.
5550  //
5551  // 'memory_cost' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
5552  // 'time_cost' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
5553  // 'threads' => PASSWORD_ARGON2_DEFAULT_THREADS,
5554  ],
5555 ];
5556 
5564  'username' => true,
5565  'email' => true,
5566 ];
5567 
5572 
5584 
5591 $wgSignatureAllowedLintErrors = [ 'obsolete-tag' ];
5592 
5598 
5605  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
5606  'Conversion script', // Used for the old Wikipedia software upgrade
5607  'Maintenance script', // Maintenance scripts which perform editing, image import script
5608  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
5609  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
5610  'Unknown user', // Used in WikiImporter & RevisionStore for revisions with no author and in User for invalid user id
5611  'msg:double-redirect-fixer', // Automatic double redirect fix
5612  'msg:usermessage-editor', // Default user for leaving user messages
5613  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
5614  'msg:sorbs', // For $wgEnableDnsBlacklist etc.
5615  'msg:spambot_username', // Used by cleanupSpam.php
5616  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
5617 ];
5618 
5626  'ccmeonemails' => 0,
5627  'date' => 'default',
5628  'diffonly' => 0,
5629  'disablemail' => 0,
5630  'editfont' => 'monospace',
5631  'editondblclick' => 0,
5632  'editsectiononrightclick' => 0,
5633  'email-allow-new-users' => 1,
5634  'enotifminoredits' => 0,
5635  'enotifrevealaddr' => 0,
5636  'enotifusertalkpages' => 1,
5637  'enotifwatchlistpages' => 1,
5638  'extendwatchlist' => 1,
5639  'fancysig' => 0,
5640  'forceeditsummary' => 0,
5641  'gender' => 'unknown',
5642  'hideminor' => 0,
5643  'hidepatrolled' => 0,
5644  'hidecategorization' => 1,
5645  'imagesize' => 2,
5646  'minordefault' => 0,
5647  'newpageshidepatrolled' => 0,
5648  'nickname' => '',
5649  'pst-cssjs' => 1,
5650  'norollbackdiff' => 0,
5651  'numberheadings' => 0,
5652  'previewonfirst' => 0,
5653  'previewontop' => 1,
5654  'rcdays' => 7,
5655  'rcenhancedfilters-disable' => 0,
5656  'rclimit' => 50,
5657  'search-match-redirect' => true,
5658  'showhiddencats' => 0,
5659  'shownumberswatching' => 1,
5660  'showrollbackconfirmation' => 0,
5661  'skin' => false,
5662  'stubthreshold' => 0,
5663  'thumbsize' => 5,
5664  'underline' => 2,
5665  'uselivepreview' => 0,
5666  'usenewrc' => 1,
5667  'watchcreations' => 1,
5668  'watchdefault' => 1,
5669  'watchdeletion' => 0,
5670  'watchuploads' => 1,
5671  'watchlistdays' => 7.0,
5672  'watchlisthideanons' => 0,
5673  'watchlisthidebots' => 0,
5674  'watchlisthideliu' => 0,
5675  'watchlisthideminor' => 0,
5676  'watchlisthideown' => 0,
5677  'watchlisthidepatrolled' => 0,
5678  'watchlisthidecategorization' => 1,
5679  'watchlistreloadautomatically' => 0,
5680  'watchlistunwatchlinks' => 0,
5681  'watchmoves' => 0,
5682  'watchrollback' => 0,
5683  'wlenhancedfilters-disable' => 0,
5684  'wllimit' => 250,
5685  'useeditwarning' => 1,
5686  'prefershttps' => 1,
5687  'requireemail' => 0,
5688 ];
5689 
5694 
5701 
5712 
5720 
5732 
5742  MediaWiki\Session\CookieSessionProvider::class => [
5743  'class' => MediaWiki\Session\CookieSessionProvider::class,
5744  'args' => [ [
5745  'priority' => 30,
5746  'callUserSetCookiesHook' => true,
5747  ] ],
5748  ],
5749  MediaWiki\Session\BotPasswordSessionProvider::class => [
5750  'class' => MediaWiki\Session\BotPasswordSessionProvider::class,
5751  'args' => [ [
5752  'priority' => 75,
5753  ] ],
5754  ],
5755 ];
5756 
5765 
5766 // endregion -- end user accounts
5767 
5768 /***************************************************************************/
5769 // region User rights, access control and monitoring
5776 
5785 
5801  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5802  'IPv6' => 19,
5803 ];
5804 
5813 
5821 
5843 
5871 
5877 
5883 
5909 
5911 // Implicit group for all visitors
5912 $wgGroupPermissions['*']['createaccount'] = true;
5913 $wgGroupPermissions['*']['read'] = true;
5914 $wgGroupPermissions['*']['edit'] = true;
5915 $wgGroupPermissions['*']['createpage'] = true;
5916 $wgGroupPermissions['*']['createtalk'] = true;
5917 $wgGroupPermissions['*']['writeapi'] = true;
5918 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5919 $wgGroupPermissions['*']['editmywatchlist'] = true;
5920 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5921 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5922 $wgGroupPermissions['*']['editmyoptions'] = true;
5923 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5924 
5925 // Implicit group for all logged-in accounts
5926 $wgGroupPermissions['user']['move'] = true;
5927 $wgGroupPermissions['user']['move-subpages'] = true;
5928 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5929 $wgGroupPermissions['user']['move-categorypages'] = true;
5930 $wgGroupPermissions['user']['movefile'] = true;
5931 $wgGroupPermissions['user']['read'] = true;
5932 $wgGroupPermissions['user']['edit'] = true;
5933 $wgGroupPermissions['user']['createpage'] = true;
5934 $wgGroupPermissions['user']['createtalk'] = true;
5935 $wgGroupPermissions['user']['writeapi'] = true;
5936 $wgGroupPermissions['user']['upload'] = true;
5937 $wgGroupPermissions['user']['reupload'] = true;
5938 $wgGroupPermissions['user']['reupload-shared'] = true;
5939 $wgGroupPermissions['user']['minoredit'] = true;
5940 $wgGroupPermissions['user']['editmyusercss'] = true;
5941 $wgGroupPermissions['user']['editmyuserjson'] = true;
5942 $wgGroupPermissions['user']['editmyuserjs'] = true;
5943 $wgGroupPermissions['user']['editmyuserjsredirect'] = true;
5944 $wgGroupPermissions['user']['purge'] = true;
5945 $wgGroupPermissions['user']['sendemail'] = true;
5946 $wgGroupPermissions['user']['applychangetags'] = true;
5947 $wgGroupPermissions['user']['changetags'] = true;
5948 $wgGroupPermissions['user']['editcontentmodel'] = true;
5949 
5950 // Implicit group for accounts that pass $wgAutoConfirmAge and $wgAutoConfirmCount
5951 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5952 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5953 
5954 // Users with bot privilege can have their edits hidden
5955 // from various log pages by default
5956 $wgGroupPermissions['bot']['bot'] = true;
5957 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5958 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5959 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5960 $wgGroupPermissions['bot']['autopatrol'] = true;
5961 $wgGroupPermissions['bot']['suppressredirect'] = true;
5962 $wgGroupPermissions['bot']['apihighlimits'] = true;
5963 $wgGroupPermissions['bot']['writeapi'] = true;
5964 
5965 // Most extra permission abilities go to this group
5966 $wgGroupPermissions['sysop']['block'] = true;
5967 $wgGroupPermissions['sysop']['createaccount'] = true;
5968 $wgGroupPermissions['sysop']['delete'] = true;
5969 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5970 $wgGroupPermissions['sysop']['bigdelete'] = true;
5971 // can view deleted history entries, but not see or restore the text
5972 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5973 // can view deleted revision text
5974 $wgGroupPermissions['sysop']['deletedtext'] = true;
5975 $wgGroupPermissions['sysop']['undelete'] = true;
5976 $wgGroupPermissions['sysop']['editinterface'] = true;
5977 $wgGroupPermissions['sysop']['editsitejson'] = true;
5978 $wgGroupPermissions['sysop']['edituserjson'] = true;
5979 $wgGroupPermissions['sysop']['import'] = true;
5980 $wgGroupPermissions['sysop']['importupload'] = true;
5981 $wgGroupPermissions['sysop']['move'] = true;
5982 $wgGroupPermissions['sysop']['move-subpages'] = true;
5983 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5984 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5985 $wgGroupPermissions['sysop']['patrol'] = true;
5986 $wgGroupPermissions['sysop']['autopatrol'] = true;
5987 $wgGroupPermissions['sysop']['protect'] = true;
5988 $wgGroupPermissions['sysop']['editprotected'] = true;
5989 $wgGroupPermissions['sysop']['rollback'] = true;
5990 $wgGroupPermissions['sysop']['upload'] = true;
5991 $wgGroupPermissions['sysop']['reupload'] = true;
5992 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5993 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5994 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5995 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5996 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5997 $wgGroupPermissions['sysop']['blockemail'] = true;
5998 $wgGroupPermissions['sysop']['markbotedits'] = true;
5999 $wgGroupPermissions['sysop']['apihighlimits'] = true;
6000 $wgGroupPermissions['sysop']['browsearchive'] = true;
6001 $wgGroupPermissions['sysop']['noratelimit'] = true;
6002 $wgGroupPermissions['sysop']['movefile'] = true;
6003 $wgGroupPermissions['sysop']['unblockself'] = true;
6004 $wgGroupPermissions['sysop']['suppressredirect'] = true;
6005 # $wgGroupPermissions['sysop']['pagelang'] = true;
6006 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
6007 $wgGroupPermissions['sysop']['mergehistory'] = true;
6008 $wgGroupPermissions['sysop']['managechangetags'] = true;
6009 $wgGroupPermissions['sysop']['deletechangetags'] = true;
6010 
6011 $wgGroupPermissions['interface-admin']['editinterface'] = true;
6012 $wgGroupPermissions['interface-admin']['editsitecss'] = true;
6013 $wgGroupPermissions['interface-admin']['editsitejson'] = true;
6014 $wgGroupPermissions['interface-admin']['editsitejs'] = true;
6015 $wgGroupPermissions['interface-admin']['editusercss'] = true;
6016 $wgGroupPermissions['interface-admin']['edituserjson'] = true;
6017 $wgGroupPermissions['interface-admin']['edituserjs'] = true;
6018 
6019 // Permission to change users' group assignments
6020 $wgGroupPermissions['bureaucrat']['userrights'] = true;
6021 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
6022 // Permission to change users' groups assignments across wikis
6023 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
6024 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
6025 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
6026 
6027 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
6028 # $wgGroupPermissions['sysop']['deleterevision'] = true;
6029 // To hide usernames from users and Sysops
6030 $wgGroupPermissions['suppress']['hideuser'] = true;
6031 // To hide revisions/log items from users and Sysops
6032 $wgGroupPermissions['suppress']['suppressrevision'] = true;
6033 // To view revisions/log items hidden from users and Sysops
6034 $wgGroupPermissions['suppress']['viewsuppressed'] = true;
6035 // For private suppression log access
6036 $wgGroupPermissions['suppress']['suppressionlog'] = true;
6037 // Basic rights for revision delete
6038 $wgGroupPermissions['suppress']['deleterevision'] = true;
6039 $wgGroupPermissions['suppress']['deletelogentry'] = true;
6040 
6047 # $wgGroupPermissions['developer']['siteadmin'] = true;
6048 
6061 
6065 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
6066 
6089 
6094 
6102 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
6103 
6115 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
6116 
6127 
6141 
6150 
6161 
6183 
6194 
6253  'autoconfirmed' => [ '&',
6256  ],
6257 ];
6258 
6278  'onEdit' => [],
6279 ];
6280 
6286 
6310 
6315 
6321 
6327 
6333 
6342 
6365  'count' => 0,
6366  'seconds' => 86400,
6367 ] ];
6368 
6381 
6386 
6393 
6417 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
6418 
6428 
6434 
6443 
6450 
6490  // Page edits
6491  'edit' => [
6492  'ip' => [ 8, 60 ],
6493  'newbie' => [ 8, 60 ],
6494  'user' => [ 90, 60 ],
6495  ],
6496  // Page moves
6497  'move' => [
6498  'newbie' => [ 2, 120 ],
6499  'user' => [ 8, 60 ],
6500  ],
6501  // File uploads
6502  'upload' => [
6503  'ip' => [ 8, 60 ],
6504  'newbie' => [ 8, 60 ],
6505  ],
6506  // Page rollbacks
6507  'rollback' => [
6508  'user' => [ 10, 60 ],
6509  'newbie' => [ 5, 120 ]
6510  ],
6511  // Triggering password resets emails
6512  'mailpassword' => [
6513  'ip' => [ 5, 3600 ],
6514  ],
6515  // Emailing other users using MediaWiki
6516  'emailuser' => [
6517  'ip' => [ 5, 86400 ],
6518  'newbie' => [ 5, 86400 ],
6519  'user' => [ 20, 86400 ],
6520  ],
6521  'changeemail' => [
6522  'ip-all' => [ 10, 3600 ],
6523  'user' => [ 4, 86400 ]
6524  ],
6525  // since 1.33 - rate limit email confirmations
6526  'confirmemail' => [
6527  'ip-all' => [ 10, 3600 ],
6528  'user' => [ 4, 86400 ]
6529  ],
6530  // Purging pages
6531  'purge' => [
6532  'ip' => [ 30, 60 ],
6533  'user' => [ 30, 60 ],
6534  ],
6535  // Purges of link tables
6536  'linkpurge' => [
6537  'ip' => [ 30, 60 ],
6538  'user' => [ 30, 60 ],
6539  ],
6540  // Files rendered via thumb.php or thumb_handler.php
6541  'renderfile' => [
6542  'ip' => [ 700, 30 ],
6543  'user' => [ 700, 30 ],
6544  ],
6545  // Same as above but for non-standard thumbnails
6546  'renderfile-nonstandard' => [
6547  'ip' => [ 70, 30 ],
6548  'user' => [ 70, 30 ],
6549  ],
6550  // Stashing edits into cache before save
6551  'stashedit' => [
6552  'ip' => [ 30, 60 ],
6553  'newbie' => [ 30, 60 ],
6554  ],
6555  // Adding or removing change tags
6556  'changetag' => [
6557  'ip' => [ 8, 60 ],
6558  'newbie' => [ 8, 60 ],
6559  ],
6560  // Changing the content model of a page
6561  'editcontentmodel' => [
6562  'newbie' => [ 2, 120 ],
6563  'user' => [ 8, 60 ],
6564  ],
6565 ];
6566 
6572 
6579 
6585 
6599  // Short term limit
6600  [ 'count' => 5, 'seconds' => 300 ],
6601  // Long term limit. We need to balance the risk
6602  // of somebody using this as a DoS attack to lock someone
6603  // out of their account, and someone doing a brute force attack.
6604  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
6605 ];
6606 
6618 
6619 // @TODO: clean up grants
6620 // @TODO: auto-include read/editsemiprotected rights?
6621 
6622 $wgGrantPermissions['basic']['autocreateaccount'] = true;
6623 $wgGrantPermissions['basic']['autoconfirmed'] = true;
6624 $wgGrantPermissions['basic']['autopatrol'] = true;
6625 $wgGrantPermissions['basic']['editsemiprotected'] = true;
6626 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
6627 $wgGrantPermissions['basic']['nominornewtalk'] = true;
6628 $wgGrantPermissions['basic']['patrolmarks'] = true;
6629 $wgGrantPermissions['basic']['purge'] = true;
6630 $wgGrantPermissions['basic']['read'] = true;
6631 $wgGrantPermissions['basic']['writeapi'] = true;
6632 
6633 $wgGrantPermissions['highvolume']['bot'] = true;
6634 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
6635 $wgGrantPermissions['highvolume']['noratelimit'] = true;
6636 $wgGrantPermissions['highvolume']['markbotedits'] = true;
6637 
6638 $wgGrantPermissions['import']['import'] = true;
6639 $wgGrantPermissions['import']['importupload'] = true;
6640 
6641 $wgGrantPermissions['editpage']['edit'] = true;
6642 $wgGrantPermissions['editpage']['minoredit'] = true;
6643 $wgGrantPermissions['editpage']['applychangetags'] = true;
6644 $wgGrantPermissions['editpage']['changetags'] = true;
6645 $wgGrantPermissions['editpage']['editcontentmodel'] = true;
6646 
6647 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
6648 $wgGrantPermissions['editprotected']['editprotected'] = true;
6649 
6650 // FIXME: Rename editmycssjs to editmyconfig
6651 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
6652 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
6653 $wgGrantPermissions['editmycssjs']['editmyuserjson'] = true;
6654 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
6655 
6656 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
6657 $wgGrantPermissions['editmyoptions']['editmyuserjson'] = true;
6658 
6659 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
6660 $wgGrantPermissions['editinterface']['editinterface'] = true;
6661 $wgGrantPermissions['editinterface']['edituserjson'] = true;
6662 $wgGrantPermissions['editinterface']['editsitejson'] = true;
6663 
6664 $wgGrantPermissions['editsiteconfig'] = $wgGrantPermissions['editinterface'];
6665 $wgGrantPermissions['editsiteconfig']['editusercss'] = true;
6666 $wgGrantPermissions['editsiteconfig']['edituserjs'] = true;
6667 $wgGrantPermissions['editsiteconfig']['editsitecss'] = true;
6668 $wgGrantPermissions['editsiteconfig']['editsitejs'] = true;
6669 
6670 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
6671 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
6672 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
6673 $wgGrantPermissions['createeditmovepage']['delete-redirect'] = true;
6674 $wgGrantPermissions['createeditmovepage']['move'] = true;
6675 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
6676 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
6677 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
6678 $wgGrantPermissions['createeditmovepage']['suppressredirect'] = true;
6679 
6680 $wgGrantPermissions['uploadfile']['upload'] = true;
6681 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
6682 
6683 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
6684 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
6685 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
6686 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
6687 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
6688 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
6689 
6690 $wgGrantPermissions['patrol']['patrol'] = true;
6691 
6692 $wgGrantPermissions['rollback']['rollback'] = true;
6693 
6694 $wgGrantPermissions['blockusers']['block'] = true;
6695 $wgGrantPermissions['blockusers']['blockemail'] = true;
6696 
6697 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
6698 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
6699 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
6700 
6701 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
6702 
6703 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
6704  $wgGrantPermissions['viewdeleted'];
6705 $wgGrantPermissions['delete']['delete'] = true;
6706 $wgGrantPermissions['delete']['bigdelete'] = true;
6707 $wgGrantPermissions['delete']['deletelogentry'] = true;
6708 $wgGrantPermissions['delete']['deleterevision'] = true;
6709 $wgGrantPermissions['delete']['undelete'] = true;
6710 
6711 $wgGrantPermissions['oversight']['suppressrevision'] = true;
6712 $wgGrantPermissions['oversight']['viewsuppressed'] = true;
6713 
6714 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
6715 $wgGrantPermissions['protect']['protect'] = true;
6716 
6717 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
6718 
6719 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
6720 
6721 $wgGrantPermissions['sendemail']['sendemail'] = true;
6722 
6723 $wgGrantPermissions['createaccount']['createaccount'] = true;
6724 
6725 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
6726 
6727 $wgGrantPermissions['mergehistory']['mergehistory'] = true;
6728 
6734  // Hidden grants are implicitly present
6735  'basic' => 'hidden',
6736 
6737  'editpage' => 'page-interaction',
6738  'createeditmovepage' => 'page-interaction',
6739  'editprotected' => 'page-interaction',
6740  'patrol' => 'page-interaction',
6741 
6742  'uploadfile' => 'file-interaction',
6743  'uploadeditmovefile' => 'file-interaction',
6744 
6745  'sendemail' => 'email',
6746 
6747  'viewmywatchlist' => 'watchlist-interaction',
6748  'editviewmywatchlist' => 'watchlist-interaction',
6749 
6750  'editmycssjs' => 'customization',
6751  'editmyoptions' => 'customization',
6752 
6753  'editinterface' => 'administration',
6754  'editsiteconfig' => 'administration',
6755  'rollback' => 'administration',
6756  'blockusers' => 'administration',
6757  'delete' => 'administration',
6758  'viewdeleted' => 'administration',
6759  'viewrestrictedlogs' => 'administration',
6760  'protect' => 'administration',
6761  'oversight' => 'administration',
6762  'createaccount' => 'administration',
6763  'mergehistory' => 'administration',
6764  'import' => 'administration',
6765 
6766  'highvolume' => 'high-volume',
6767 
6768  'privateinfo' => 'private-information',
6769 ];
6770 
6776 
6783 
6793 
6794 // endregion -- end of user rights settings
6795 
6796 /***************************************************************************/
6797 // region Security
6800 // This section is for miscellaneous security settings.
6801 // For password restrictions and encryption settings, see the section
6802 // "User accounts, authentication".
6803 
6808 
6815 
6822 
6830 
6835 
6840 
6846 
6867 
6879 
6903 
6911 
6921  'https://3hub.co' => true,
6922  'https://morepro.info' => true,
6923  'https://p.ato.mx' => true,
6924  'https://s.ato.mx' => true,
6925  'https://adserver.adtech.de' => true,
6926  'https://ums.adtechus.com' => true,
6927  'https://cas.criteo.com' => true,
6928  'https://cat.nl.eu.criteo.com' => true,
6929  'https://atpixel.alephd.com' => true,
6930  'https://rtb.metrigo.com' => true,
6931  'https://d5p.de17a.com' => true,
6932  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
6933  'https://ad.lkqd.net/vpaid/vpaid.js?fusion=1.0' => true,
6934  'https://t.lkqd.net/t' => true,
6935  'chrome-extension' => true,
6936 ];
6937 
6947 
6963 
6971 
6980 
6990 
6997 $wgHKDFAlgorithm = 'sha256';
6998 
7004 $wgAllowUserJs = false;
7005 
7011 $wgAllowUserCss = false;
7012 
7019 $wgAllowUserCssPrefs = true;
7020 
7024 $wgUseSiteJs = true;
7025 
7029 $wgUseSiteCss = true;
7030 
7035 $wgBreakFrames = false;
7036 
7056 $wgEditPageFrameOptions = 'DENY';
7057 
7068 $wgApiFrameOptions = 'DENY';
7069 
7070 // endregion -- end of security
7071 
7072 /***************************************************************************/
7073 // region Cookie settings
7079 $wgCookieExpiration = 30 * 86400;
7080 
7088 
7094 
7100 
7111 $wgCookieSecure = 'detect';
7112 
7120 
7127 
7134 
7146 
7156 
7161 
7166 
7175 
7184 
7185 // endregion -- end of cookie settings
7186 
7187 /***************************************************************************/
7188 // region Profiling, testing and debugging
7190 // See $wgProfiler for how to enable profiling.
7191 
7198 
7203 
7210 
7217 
7227 
7236 
7243  // HTTP GET/HEAD requests.
7244  // Primary queries should not happen on GET requests
7245  'GET' => [
7246  'masterConns' => 0,
7247  'writes' => 0,
7248  'readQueryTime' => 5,
7249  'readQueryRows' => 10000
7250  ],
7251  // HTTP POST requests.
7252  // Primary reads and writes will happen for a subset of these.
7253  'POST' => [
7254  'readQueryTime' => 5,
7255  'writeQueryTime' => 1,
7256  'readQueryRows' => 100000,
7257  'maxAffected' => 1000
7258  ],
7259  'POST-nonwrite' => [
7260  'writes' => 0,
7261  'readQueryTime' => 5,
7262  'readQueryRows' => 10000
7263  ],
7264  // Deferred updates that run after HTTP response is sent for GET requests
7265  'PostSend-GET' => [
7266  'readQueryTime' => 5,
7267  'writeQueryTime' => 1,
7268  'readQueryRows' => 10000,
7269  'maxAffected' => 1000,
7270  // Log primary queries under the post-send entry point as they are discouraged
7271  'masterConns' => 0,
7272  'writes' => 0,
7273  ],
7274  // Deferred updates that run after HTTP response is sent for POST requests
7275  'PostSend-POST' => [
7276  'readQueryTime' => 5,
7277  'writeQueryTime' => 1,
7278  'readQueryRows' => 100000,
7279  'maxAffected' => 1000
7280  ],
7281  // Background job runner
7282  'JobRunner' => [
7283  'readQueryTime' => 30,
7284  'writeQueryTime' => 5,
7285  'readQueryRows' => 100000,
7286  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
7287  ],
7288  // Command-line scripts
7289  'Maintenance' => [
7290  'writeQueryTime' => 5,
7291  'maxAffected' => 1000
7292  ]
7293 ];
7294 
7326 
7349  'class' => \MediaWiki\Logger\LegacySpi::class,
7350 ];
7351 
7358 
7363 
7373 
7381 
7393 
7398 
7404 
7409 
7416 
7422 
7429 
7484 
7496 
7505 
7513 
7520 
7535 
7540 
7546 
7555 
7556 // endregion -- end of profiling, testing and debugging
7557 
7558 /***************************************************************************/
7559 // region Search
7566 
7572 
7577 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
7578 
7590 
7600  'application/x-suggestions+json' => false,
7601  'application/x-suggestions+xml' => false,
7602 ];
7603 
7611 
7617 
7622 
7627 
7633 
7644  NS_MAIN => true,
7645 ];
7646 
7652 
7669 
7676 
7692 
7699 
7710 
7721 
7730 
7731 // endregion -- end of search settings
7732 
7733 /***************************************************************************/
7734 // region Edit user interface
7741 $wgDiff3 = '/usr/bin/diff3';
7742 
7746 $wgDiff = '/usr/bin/diff';
7747 
7754  NS_CATEGORY => true
7755 ];
7756 
7763 
7770 
7771 // endregion -- end edit UI
7772 
7773 /***************************************************************************/
7774 // region Maintenance
7776 // See also $wgSiteNotice
7777 
7782 if ( !isset( $wgCommandLineMode ) ) {
7783  $wgCommandLineMode = false;
7784 }
7791 
7801 
7808 
7817 
7828 
7832 $wgGitBin = '/usr/bin/git';
7833 
7848  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
7849  'https://gerrit.wikimedia.org/g/%R/+/%H',
7850  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
7851  'https://gerrit.wikimedia.org/g/%R/+/%H',
7852 ];
7853 
7854 // endregion -- End of maintenance
7855 
7856 /***************************************************************************/
7857 // region Recent changes, new pages, watchlist and history
7865 $wgRCMaxAge = 90 * 24 * 3600;
7866 
7872 $wgWatchersMaxAge = 180 * 24 * 3600;
7873 
7881 
7890 
7895 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
7896 
7903 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
7904 
7966 
7973  'redis' => RedisPubSubFeedEngine::class,
7974  'udp' => UDPRCFeedEngine::class,
7975 ];
7976 
7989 
7999 
8006 
8015 
8026 
8030 $wgFeed = true;
8031 
8037 
8047 
8053 
8067 
8074  'rss' => RSSFeed::class,
8075  'atom' => AtomFeed::class,
8076 ];
8077 
8083 
8088 
8093 
8100 
8106 
8112 
8118 
8139  'mw-contentmodelchange' => true,
8140  'mw-new-redirect' => true,
8141  'mw-removed-redirect' => true,
8142  'mw-changed-redirect-target' => true,
8143  'mw-blank' => true,
8144  'mw-replace' => true,
8145  'mw-rollback' => true,
8146  'mw-undo' => true,
8147  'mw-manual-revert' => true,
8148  'mw-reverted' => true,
8149  'mw-server-side-upload' => true,
8150  'mw-add-media' => false,
8151  'mw-remove-media' => false,
8152 ];
8153 
8162 
8188  'newpage' => [
8189  'letter' => 'newpageletter',
8190  'title' => 'recentchanges-label-newpage',
8191  'legend' => 'recentchanges-legend-newpage',
8192  'grouping' => 'any',
8193  ],
8194  'minor' => [
8195  'letter' => 'minoreditletter',
8196  'title' => 'recentchanges-label-minor',
8197  'legend' => 'recentchanges-legend-minor',
8198  'class' => 'minoredit',
8199  'grouping' => 'all',
8200  ],
8201  'bot' => [
8202  'letter' => 'boteditletter',
8203  'title' => 'recentchanges-label-bot',
8204  'legend' => 'recentchanges-legend-bot',
8205  'class' => 'botedit',
8206  'grouping' => 'all',
8207  ],
8208  'unpatrolled' => [
8209  'letter' => 'unpatrolledletter',
8210  'title' => 'recentchanges-label-unpatrolled',
8211  'legend' => 'recentchanges-legend-unpatrolled',
8212  'grouping' => 'any',
8213  ],
8214 ];
8215 
8223 
8236 
8252 
8253 // endregion -- end RC/watchlist
8254 
8255 /***************************************************************************/
8256 // region Copyright and credits settings
8267 
8274 
8282 
8287 
8292 
8301 
8307 
8308 // endregion -- end of copyright and credits settings
8309 
8310 /***************************************************************************/
8311 // region Import / Export
8337 
8346 
8353 
8360 
8365 
8378 
8383 
8388 
8396 
8402 
8403 // endregion -- end of import/export
8404 
8405 /***************************************************************************/
8406 // region Extensions
8414 
8442 
8469 
8476 
8492 
8497 
8523 
8531 
8536 
8545 
8605 
8642 
8655  __DIR__ . '/ServiceWiring.php'
8656 ];
8657 
8666  'deletePage' => DeletePageJob::class,
8667  'refreshLinks' => RefreshLinksJob::class,
8668  'deleteLinks' => DeleteLinksJob::class,
8669  'htmlCacheUpdate' => HTMLCacheUpdateJob::class,
8670  'sendMail' => EmaillingJob::class,
8671  'enotifNotify' => EnotifNotifyJob::class,
8672  'fixDoubleRedirect' => DoubleRedirectJob::class,
8673  'AssembleUploadChunks' => AssembleUploadChunksJob::class,
8674  'PublishStashedFile' => PublishStashedFileJob::class,
8675  'ThumbnailRender' => ThumbnailRenderJob::class,
8676  'recentChangesUpdate' => RecentChangesUpdateJob::class,
8677  'refreshLinksPrioritized' => RefreshLinksJob::class,
8678  'refreshLinksDynamic' => RefreshLinksJob::class,
8679  'activityUpdateJob' => ActivityUpdateJob::class,
8680  'categoryMembershipChange' => CategoryMembershipChangeJob::class,
8681  'clearUserWatchlist' => ClearUserWatchlistJob::class,
8682  'watchlistExpiry' => WatchlistExpiryJob::class,
8683  'cdnPurge' => CdnPurgeJob::class,
8684  'userGroupExpiry' => UserGroupExpiryJob::class,
8685  'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class,
8686  'userOptionsUpdate' => UserOptionsUpdateJob::class,
8687  'revertedTagUpdate' => RevertedTagUpdateJob::class,
8688  'enqueue' => EnqueueJob::class, // local queue for multi-DC setups
8689  'null' => NullJob::class,
8690  'userEditCountInit' => UserEditCountInitJob::class,
8691 ];
8692 
8704 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
8705 
8716 
8731 
8739  'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
8740 ];
8741 
8754 
8760  'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
8761 ];
8762 
8771  'hiddencat' => 'categorylinks',
8772 ];
8773 
8774 // endregion -- End extensions
8775 
8776 /***************************************************************************/
8777 // region Categories
8784 
8790 
8795 
8821 $wgCategoryCollation = 'uppercase';
8822 
8839 
8840 // endregion -- End categories
8841 
8842 /***************************************************************************/
8843 // region Logging
8856  '',
8857  'block',
8858  'protect',
8859  'rights',
8860  'delete',
8861  'upload',
8862  'move',
8863  'import',
8864  'patrol',
8865  'merge',
8866  'suppress',
8867  'tag',
8868  'managetags',
8869  'contentmodel',
8870 ];
8871 
8880  'suppress' => 'suppressionlog'
8881 ];
8882 
8903  'patrol' => true,
8904  'tag' => true,
8905  'newusers' => false,
8906 ];
8907 
8918  '' => 'all-logs-page',
8919  'block' => 'blocklogpage',
8920  'protect' => 'protectlogpage',
8921  'rights' => 'rightslog',
8922  'delete' => 'dellogpage',
8923  'upload' => 'uploadlogpage',
8924  'move' => 'movelogpage',
8925  'import' => 'importlogpage',
8926  'patrol' => 'patrol-log-page',
8927  'merge' => 'mergelog',
8928  'suppress' => 'suppressionlog',
8929 ];
8930 
8941  '' => 'alllogstext',
8942  'block' => 'blocklogtext',
8943  'delete' => 'dellogpagetext',
8944  'import' => 'importlogpagetext',
8945  'merge' => 'mergelogpagetext',
8946  'move' => 'movelogpagetext',
8947  'patrol' => 'patrol-log-header',
8948  'protect' => 'protectlogtext',
8949  'rights' => 'rightslogtext',
8950  'suppress' => 'suppressionlogtext',
8951  'upload' => 'uploadlogpagetext',
8952 ];
8953 
8961 
8969  'block/block' => BlockLogFormatter::class,
8970  'block/reblock' => BlockLogFormatter::class,
8971  'block/unblock' => BlockLogFormatter::class,
8972  'contentmodel/change' => ContentModelLogFormatter::class,
8973  'contentmodel/new' => ContentModelLogFormatter::class,
8974  'delete/delete' => DeleteLogFormatter::class,
8975  'delete/delete_redir' => DeleteLogFormatter::class,
8976  'delete/delete_redir2' => DeleteLogFormatter::class,
8977  'delete/event' => DeleteLogFormatter::class,
8978  'delete/restore' => DeleteLogFormatter::class,
8979  'delete/revision' => DeleteLogFormatter::class,
8980  'import/interwiki' => ImportLogFormatter::class,
8981  'import/upload' => ImportLogFormatter::class,
8982  'managetags/activate' => LogFormatter::class,
8983  'managetags/create' => LogFormatter::class,
8984  'managetags/deactivate' => LogFormatter::class,
8985  'managetags/delete' => LogFormatter::class,
8986  'merge/merge' => MergeLogFormatter::class,
8987  'move/move' => MoveLogFormatter::class,
8988  'move/move_redir' => MoveLogFormatter::class,
8989  'patrol/patrol' => PatrolLogFormatter::class,
8990  'patrol/autopatrol' => PatrolLogFormatter::class,
8991  'protect/modify' => ProtectLogFormatter::class,
8992  'protect/move_prot' => ProtectLogFormatter::class,
8993  'protect/protect' => ProtectLogFormatter::class,
8994  'protect/unprotect' => ProtectLogFormatter::class,
8995  'rights/autopromote' => RightsLogFormatter::class,
8996  'rights/rights' => RightsLogFormatter::class,
8997  'suppress/block' => BlockLogFormatter::class,
8998  'suppress/delete' => DeleteLogFormatter::class,
8999  'suppress/event' => DeleteLogFormatter::class,
9000  'suppress/reblock' => BlockLogFormatter::class,
9001  'suppress/revision' => DeleteLogFormatter::class,
9002  'tag/update' => TagLogFormatter::class,
9003  'upload/overwrite' => UploadLogFormatter::class,
9004  'upload/revert' => UploadLogFormatter::class,
9005  'upload/upload' => UploadLogFormatter::class,
9006 ];
9007 
9017  'block' => [
9018  'block' => [ 'block' ],
9019  'reblock' => [ 'reblock' ],
9020  'unblock' => [ 'unblock' ],
9021  ],
9022  'contentmodel' => [
9023  'change' => [ 'change' ],
9024  'new' => [ 'new' ],
9025  ],
9026  'delete' => [
9027  'delete' => [ 'delete' ],
9028  'delete_redir' => [ 'delete_redir', 'delete_redir2' ],
9029  'restore' => [ 'restore' ],
9030  'event' => [ 'event' ],
9031  'revision' => [ 'revision' ],
9032  ],
9033  'import' => [
9034  'interwiki' => [ 'interwiki' ],
9035  'upload' => [ 'upload' ],
9036  ],
9037  'managetags' => [
9038  'create' => [ 'create' ],
9039  'delete' => [ 'delete' ],
9040  'activate' => [ 'activate' ],
9041  'deactivate' => [ 'deactivate' ],
9042  ],
9043  'move' => [
9044  'move' => [ 'move' ],
9045  'move_redir' => [ 'move_redir' ],
9046  ],
9047  'newusers' => [
9048  'create' => [ 'create', 'newusers' ],
9049  'create2' => [ 'create2' ],
9050  'autocreate' => [ 'autocreate' ],
9051  'byemail' => [ 'byemail' ],
9052  ],
9053  'protect' => [
9054  'protect' => [ 'protect' ],
9055  'modify' => [ 'modify' ],
9056  'unprotect' => [ 'unprotect' ],
9057  'move_prot' => [ 'move_prot' ],
9058  ],
9059  'rights' => [
9060  'rights' => [ 'rights' ],
9061  'autopromote' => [ 'autopromote' ],
9062  ],
9063  'suppress' => [
9064  'event' => [ 'event' ],
9065  'revision' => [ 'revision' ],
9066  'delete' => [ 'delete' ],
9067  'block' => [ 'block' ],
9068  'reblock' => [ 'reblock' ],
9069  ],
9070  'upload' => [
9071  'upload' => [ 'upload' ],
9072  'overwrite' => [ 'overwrite' ],
9073  'revert' => [ 'revert' ],
9074  ],
9075 ];
9076 
9081 
9087 
9088 // endregion -- end logging
9089 
9090 /***************************************************************************/
9091 // region Special pages (general and miscellaneous)
9098 
9105 
9111 
9117 
9126  'IPv4' => 16,
9127  'IPv6' => 32,
9128 ];
9129 
9130 // endregion -- end special pages
9131 
9132 /***************************************************************************/
9133 // region Actions
9147  'credits' => true,
9148  'delete' => true,
9149  'edit' => true,
9150  'editchangetags' => SpecialPageAction::class,
9151  'history' => true,
9152  'info' => true,
9153  'markpatrolled' => true,
9154  'mcrundo' => McrUndoAction::class,
9155  'mcrrestore' => McrRestoreAction::class,
9156  'protect' => true,
9157  'purge' => true,
9158  'raw' => true,
9159  'render' => true,
9160  'revert' => true,
9161  'revisiondelete' => SpecialPageAction::class,
9162  'rollback' => true,
9163  'submit' => true,
9164  'unprotect' => true,
9165  'unwatch' => true,
9166  'view' => true,
9167  'watch' => true,
9168 ];
9169 
9170 // endregion -- end actions
9171 
9172 /***************************************************************************/
9173 // region Robot (search engine crawler) policy
9175 // See also $wgNoFollowLinks.
9176 
9182 $wgDefaultRobotPolicy = 'index,follow';
9183 
9199 
9227 
9239 
9240 // endregion End robot policy
9241 
9242 /***************************************************************************/
9243 // region AJAX, Action API and REST API
9264 $wgDebugAPI = false;
9265 
9303 
9312 
9321 
9330 
9339 
9345 
9351 
9357 
9364 
9370 
9375 
9381  'MIMEsearch', // aiprop=mime
9382  'LinkSearch', // list=exturlusage
9383 ];
9384 
9390 $wgUseAjax = true;
9391 
9398 
9403 
9408 
9416 
9438 
9445 
9450  /* simple headers (see spec) */
9451  'Accept',
9452  'Accept-Language',
9453  'Content-Language',
9454  'Content-Type',
9455  /* non-authorable headers in XHR, which are however requested by some UAs */
9456  'Accept-Encoding',
9457  'DNT',
9458  'Origin',
9459  /* MediaWiki whitelist */
9460  'User-Agent',
9461  'Api-User-Agent',
9462  /* Allowing caching preflight requests, see T269636 */
9463  'Access-Control-Max-Age',
9464 ];
9465 
9472 
9473 // endregion -- End AJAX and API
9474 
9475 /***************************************************************************/
9476 // region Shell and process control
9483 
9489 
9494 
9500 
9525 
9529 $wgPhpCli = '/usr/bin/php';
9530 
9565 $wgShellLocale = 'C.UTF-8';
9566 
9582 
9594 
9603 
9604 // endregion -- end Shell and process control
9605 
9606 /***************************************************************************/
9607 // region HTTP client
9617 
9627 
9636 
9645 
9651 
9656 
9661 
9676 
9683 
9684 // endregion -- End HTTP client
9685 
9686 /***************************************************************************/
9687 // region Job queue
9697 
9706 
9711 
9716 
9717 // endregion -- End job queue
9718 
9719 /***************************************************************************/
9720 // region Miscellaneous
9728 
9767  'paths' => [],
9768  'modules' => [],
9769  'global' => [
9770  # Timeout in seconds
9771  'timeout' => 360,
9772  # 'domain' is set to $wgCanonicalServer in Setup.php
9773  'forwardCookies' => false,
9774  'HTTPProxy' => null
9775  ]
9776 ];
9777 
9798  'default' => [
9799  'class' => EventRelayerNull::class,
9800  ]
9801 ];
9802 
9820 $wgPingback = false;
9821 
9829 
9839 
9849 
9859 
9869 
9879 
9890 
9891 /*
9892  * This file uses VisualStudio style region/endregion fold markers which are
9893  * recognised by PHPStorm. If modelines are enabled, the following editor
9894  * configuration will also enable folding in vim, if it is in the last 5 lines
9895  * of the file. We also use "@name" which creates sections in Doxygen.
9896  *
9897  * vim: foldmarker=//\ region,//\ endregion foldmethod=marker
9898  */
9899 // endregion
$wgSend404Code
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
Definition: DefaultSettings.php:3917
$wgConf
$wgConf
$wgConf hold the site configuration.
Definition: DefaultSettings.php:58
$wgNonincludableNamespaces
$wgNonincludableNamespaces
Pages in namespaces in this array can not be used as templates.
Definition: DefaultSettings.php:6160
$wgEventRelayerConfig
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
Definition: DefaultSettings.php:9797
$wgInterwikiScopes
$wgInterwikiScopes
Specify number of domains to check for messages.
Definition: DefaultSettings.php:4779
$wgActionFilteredLogs
$wgActionFilteredLogs
List of log types that can be filtered by action types.
Definition: DefaultSettings.php:9016
$wgHiddenPrefs
$wgHiddenPrefs
An array of preferences to not show for the user.
Definition: DefaultSettings.php:5693
$wgMemCachedServers
$wgMemCachedServers
The list of MemCached servers and port numbers.
Definition: DefaultSettings.php:2976
$wgAppleTouchIcon
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
Definition: DefaultSettings.php:409
$wgDjvuTxt
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
Definition: DefaultSettings.php:1770
$wgSharedUploadDirectory
string $wgSharedUploadDirectory
Shortcut for the 'directory' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:740
$wgCdnMaxageStale
$wgCdnMaxageStale
Cache timeout when delivering a stale ParserCache response due to PoolCounter contention.
Definition: DefaultSettings.php:3237
$wgAdditionalMailParams
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
Definition: DefaultSettings.php:1923
$wgFeedLimit
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
Definition: DefaultSettings.php:8036
$wgDebugRedirects
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
Definition: DefaultSettings.php:7209
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:7895
$wgAllowJavaUploads
$wgAllowJavaUploads
Allow Java archive uploads.
Definition: DefaultSettings.php:1123
$wgPhpCli
$wgPhpCli
Executable path of the PHP cli binary.
Definition: DefaultSettings.php:9529
$wgActions
$wgActions
Array of allowed values for the "title=foo&action=<action>" parameter.
Definition: DefaultSettings.php:9146
$wgUpdateCompatibleMetadata
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
Definition: DefaultSettings.php:947
$wgUseAutomaticEditSummaries
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
Definition: DefaultSettings.php:7769
$wgAuthManagerConfig
$wgAuthManagerConfig
Configure AuthManager.
Definition: DefaultSettings.php:5282
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:9820
$wgElementTiming
bool $wgElementTiming
Enable Element Timing.
Definition: DefaultSettings.php:9858
$wgAPIListModules
$wgAPIListModules
API Query list module extensions.
Definition: DefaultSettings.php:9338
$wgUseTagFilter
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined.
Definition: DefaultSettings.php:8117
$wgProxyWhitelist
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
Definition: DefaultSettings.php:6433
$wgLocalVirtualHosts
$wgLocalVirtualHosts
Local virtual hosts.
Definition: DefaultSettings.php:9675
$wgSitemapNamespacesPriorities
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Definition: DefaultSettings.php:7691
$wgNamespaceContentModels
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
Definition: DefaultSettings.php:2412
$wgMaxCredits
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
Definition: DefaultSettings.php:8300
$wgUseCdn
$wgUseCdn
Enable/disable CDN.
Definition: DefaultSettings.php:3190
$wgAPIMaxUncachedDiffs
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
Definition: DefaultSettings.php:9356
$wgChangeCredentialsBlacklist
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
Definition: DefaultSettings.php:5433
$wgProxyList
$wgProxyList
Big list of banned IP addresses.
Definition: DefaultSettings.php:6427
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:1618
$wgLocalDatabases
string[] $wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Definition: DefaultSettings.php:2332
$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:6920
$wgRestAPIAdditionalRouteFiles
$wgRestAPIAdditionalRouteFiles
Additional REST API Route files.
Definition: DefaultSettings.php:9471
$wgMaximalPasswordLength
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
Definition: DefaultSettings.php:5468
$wgIncludeLegacyJavaScript
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
Definition: DefaultSettings.php:4413
$wgShowSQLErrors
$wgShowSQLErrors
Whether to show "we're sorry, but there has been a database error" pages.
Definition: DefaultSettings.php:7372
$wgDBserver
$wgDBserver
Database host name or IP address.
Definition: DefaultSettings.php:2067
$wgFileBlacklist
$wgFileBlacklist
Files with these extensions will never be allowed as uploads.
Definition: DefaultSettings.php:1090
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:4707
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:6792
$wgRCLinkDays
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:7903
$wgMangleFlashPolicy
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
Definition: DefaultSettings.php:3946
$wgMimeType
$wgMimeType
The default Content-Type header.
Definition: DefaultSettings.php:3705
$wgCdnServers
$wgCdnServers
List of proxy servers to purge on changes; default port is 80.
Definition: DefaultSettings.php:3288
$wgMaxArticleSize
$wgMaxArticleSize
Maximum article size in kilobytes.
Definition: DefaultSettings.php:2614
$wgAPIModules
$wgAPIModules
API module extensions.
Definition: DefaultSettings.php:9302
$wgDisabledVariants
$wgDisabledVariants
Disabled variants array of language variant conversion.
Definition: DefaultSettings.php:3579
$wgFixDoubleRedirects
$wgFixDoubleRedirects
Fix double redirects after a page move.
Definition: DefaultSettings.php:4713
$wgNewPasswordExpiry
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
Definition: DefaultSettings.php:1882
$wgJobTypeConf
$wgJobTypeConf
Map of job types to configuration arrays.
Definition: DefaultSettings.php:8738
$wgPageCreationLog
$wgPageCreationLog
Maintain a log of page creations at Special:Log/create?
Definition: DefaultSettings.php:9086
$wgExemptFromUserRobotsControl
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
Definition: DefaultSettings.php:9238
$wgHKDFAlgorithm
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:6997
$wgStyleSheetPath
$wgStyleSheetPath
URL of the server.
Definition: DefaultSettings.php:227
$wgResourceLoaderEnableJSProfiler
$wgResourceLoaderEnableJSProfiler
When enabled, execution of JavaScript modules is profiled client-side.
Definition: DefaultSettings.php:4458
$wgExternalStores
$wgExternalStores
External stores allow including content from non database sources following URL links.
Definition: DefaultSettings.php:2462
$wgResponsiveImages
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
Definition: DefaultSettings.php:1736
$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
Definition: DefaultSettings.php:3133
$wgRestPath
$wgRestPath
The URL path to the REST API Defaults to "{$wgScriptPath}/rest.php".
Definition: DefaultSettings.php:219
$wgAuthManagerAutoConfig
$wgAuthManagerAutoConfig
Definition: DefaultSettings.php:5288
$wgAjaxLicensePreview
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
Definition: DefaultSettings.php:9407
SiteConfiguration
This is a class for holding configuration settings, particularly for multi-wiki sites.
Definition: SiteConfiguration.php:121
$wgDebugRawPage
$wgDebugRawPage
If true, log debugging data from action=raw and load.php.
Definition: DefaultSettings.php:7216
$wgCanonicalNamespaceNames
$wgCanonicalNamespaceNames
Canonical namespace names.
Definition: DefaultSettings.php:4524
$wgTmpDirectory
$wgTmpDirectory
The local filesystem path to a temporary directory.
Definition: DefaultSettings.php:452
$wgRightsText
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
Definition: DefaultSettings.php:8281
$wgEnotifMinorEdits
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
Definition: DefaultSettings.php:2000
$wgDBname
$wgDBname
Current wiki database name.
Definition: DefaultSettings.php:2042
$wgRevokePermissions
$wgRevokePermissions
Permission keys revoked from users in each group.
Definition: DefaultSettings.php:6060
$wgMaximumMovedPages
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
Definition: DefaultSettings.php:2683
$wgHTMLFormAllowTableFormat
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
Definition: DefaultSettings.php:3724
$wgCopyUploadsDomains
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
Definition: DefaultSettings.php:961
$wgBlockAllowsUTEdit
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
Definition: DefaultSettings.php:5784
$wgEdititis
$wgEdititis
Display user edit counts in various prominent places.
Definition: DefaultSettings.php:3904
$wgSharedTables
$wgSharedTables
Definition: DefaultSettings.php:2207
$wgSharedSchema
$wgSharedSchema
Definition: DefaultSettings.php:2213
$wgExternalInterwikiFragmentMode
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
Definition: DefaultSettings.php:3845
$wgLegacyEncoding
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
Definition: DefaultSettings.php:3510
$wgFeedCacheTimeout
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
Definition: DefaultSettings.php:8046
$wgJpegPixelFormat
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
Definition: DefaultSettings.php:1292
$wgShowUpdatedMarker
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
Definition: DefaultSettings.php:8105
$wgRedirectOnLogin
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
Definition: DefaultSettings.php:9727
$wgMimeInfoFile
$wgMimeInfoFile
Sets the MIME type info file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1560
$wgLogHeaders
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Definition: DefaultSettings.php:8940
$wgStatsdSamplingRates
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Definition: DefaultSettings.php:7512
$wgExiftool
$wgExiftool
Path to exiftool binary.
Definition: DefaultSettings.php:1314
$wgLegalTitleChars
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
Definition: DefaultSettings.php:4609
$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:8715
$wgDiff3
$wgDiff3
Path to the GNU diff3 utility.
Definition: DefaultSettings.php:7741
$wgIncludejQueryMigrate
$wgIncludejQueryMigrate
Whether to load the jquery.migrate library.
Definition: DefaultSettings.php:4424
$wgExperiencedUserMemberSince
$wgExperiencedUserMemberSince
Number of days the user must exist before becoming "experienced".
Definition: DefaultSettings.php:5099
$wgPasswordDefault
$wgPasswordDefault
Default password type to use when hashing user passwords.
Definition: DefaultSettings.php:5485
$wgSearchTypeAlternatives
$wgSearchTypeAlternatives
Alternative search types.
Definition: DefaultSettings.php:2144
$wgUsersNotifiedOnAllChanges
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
Definition: DefaultSettings.php:2026
$wgWhitelistReadRegexp
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
Definition: DefaultSettings.php:5870
$wgMaxTemplateDepth
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Definition: DefaultSettings.php:4837
$wgSharpenParameter
$wgSharpenParameter
Sharpening parameter to ImageMagick.
Definition: DefaultSettings.php:1239
$wgEnotifFromEditor
bool $wgEnotifFromEditor
Allow sending of e-mail notifications with the editor's address as sender.
Definition: DefaultSettings.php:1942
$wgScript
$wgScript
The URL path to index.php.
Definition: DefaultSettings.php:204
$wgDBport
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
Definition: DefaultSettings.php:2072
$wgCookiePath
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
Definition: DefaultSettings.php:7099
$wgHTCPMulticastTTL
$wgHTCPMulticastTTL
HTCP multicast TTL.
Definition: DefaultSettings.php:3374
$wgDBtype
$wgDBtype
Database type.
Definition: DefaultSettings.php:2087
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:2589
true
return true
Definition: router.php:90
$wgWatchlistExpiryMaxDuration
string null $wgWatchlistExpiryMaxDuration
Relative maximum duration for watchlist expiries, as accepted by strtotime().
Definition: DefaultSettings.php:8251
$wgTranscludeCacheExpiry
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in object cache.
Definition: DefaultSettings.php:5022
$wgSharedDB
$wgSharedDB
Shared database for multiple wikis.
Definition: DefaultSettings.php:2196
$wgPasswordResetRoutes
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
Definition: DefaultSettings.php:5563
$wgSVGMaxSize
$wgSVGMaxSize
Don't scale a SVG larger than this.
Definition: DefaultSettings.php:1350
$wgHideInterlanguageLinks
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
Definition: DefaultSettings.php:3430
$wgRemoveCredentialsBlacklist
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
Definition: DefaultSettings.php:5446
$wgLocalFileRepo
$wgLocalFileRepo
File repository structures.
Definition: DefaultSettings.php:675
$wgWANObjectCaches
$wgWANObjectCaches
Advanced WAN object cache configuration.
Definition: DefaultSettings.php:2856
$wgSharedUploadDBname
bool string $wgSharedUploadDBname
Shortcut for the ForeignDBRepo 'dbName' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:785
$wgDjvuPostProcessor
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
Definition: DefaultSettings.php:1793
$wgVersion
$wgVersion
MediaWiki version number.
Definition: DefaultSettings.php:75
$wgAmericanDates
$wgAmericanDates
Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'.
Definition: DefaultSettings.php:3530
$wgAutoblockExpiry
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
Definition: DefaultSettings.php:5775
$wgUploadMaintenance
$wgUploadMaintenance
To disable file delete/restore temporarily.
Definition: DefaultSettings.php:535
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles
Extension messages files.
Definition: DefaultSettings.php:8441
$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:6979
$wgShowCreditsIfMax
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
Definition: DefaultSettings.php:8306
$wgShellboxSecretKey
string null $wgShellboxSecretKey
The secret key for HMAC verification of Shellbox requests.
Definition: DefaultSettings.php:9602
$wgSoftBlockRanges
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
Definition: DefaultSettings.php:6442
$wgBotPasswordsCluster
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
Definition: DefaultSettings.php:6782
$wgNoFollowDomainExceptions
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
Definition: DefaultSettings.php:4981
$wgCategoryMagicGallery
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
Definition: DefaultSettings.php:8789
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:73
$wgSpecialPageCacheUpdates
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
Definition: DefaultSettings.php:8759
MW_VERSION
const MW_VERSION
The running version of MediaWiki.
Definition: Defines.php:36
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition: DefaultSettings.php:8468
$wgShowHostnames
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
Definition: DefaultSettings.php:7408
$wgEmailAuthentication
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
Definition: DefaultSettings.php:1955
$wgParserOutputHooks
$wgParserOutputHooks
Parser output hooks.
Definition: DefaultSettings.php:8491
$wgDeprecationReleaseLimit
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
Definition: DefaultSettings.php:7428
$wgMaxUploadSize
$wgMaxUploadSize
Max size for uploads, in bytes.
Definition: DefaultSettings.php:1008
$wgDebugAPI
$wgDebugAPI
Definition: DefaultSettings.php:9264
$wgUseMediaWikiUIEverywhere
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
Definition: DefaultSettings.php:3732
$wgDBmwschema
$wgDBmwschema
Current wiki database schema name.
Definition: DefaultSettings.php:2052
$wgDefaultUserOptions
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
Definition: DefaultSettings.php:5625
$wgExternalServers
$wgExternalServers
An array of external MySQL servers.
Definition: DefaultSettings.php:2478
$wgMessageCacheType
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
Definition: DefaultSettings.php:2726
$wgServiceWiringFiles
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Definition: DefaultSettings.php:8654
$wgMaxMsgCacheEntrySize
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
Definition: DefaultSettings.php:3547
$wgAllowSecuritySensitiveOperationIfCannotReauthenticate
bool[] $wgAllowSecuritySensitiveOperationIfCannotReauthenticate
Whether to allow security-sensitive operations when re-authentication is not possible.
Definition: DefaultSettings.php:5420
$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:3524
$wgReferrerPolicy
array string bool $wgReferrerPolicy
Value for the referrer policy meta tag.
Definition: DefaultSettings.php:429
$wgDiff
$wgDiff
Path to the GNU diff utility.
Definition: DefaultSettings.php:7746
$wgFileExtensions
$wgFileExtensions
This is the list of preferred extensions for uploading files.
Definition: DefaultSettings.php:1083
$wgEnableUserEmail
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
Definition: DefaultSettings.php:1843
$wgShellboxUrl
string null $wgShellboxUrl
Shell commands can be run on a remote server using Shellbox.
Definition: DefaultSettings.php:9593
$wgRequestTimeLimit
int null $wgRequestTimeLimit
Set a limit on server request wall clock time.
Definition: DefaultSettings.php:2551
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:2599
$wgDisableTitleConversion
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
Definition: DefaultSettings.php:3557
$wgUseNewMediaStructure
$wgUseNewMediaStructure
Emit using the new media structure described at, https://www.mediawiki.org/wiki/Parsing/Media_structu...
Definition: DefaultSettings.php:4934
$wgUnwatchedPageSecret
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
Definition: DefaultSettings.php:7880
$wgHideIdentifiableRedirects
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
Definition: DefaultSettings.php:5882
$wgCopyUploadTimeout
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
Definition: DefaultSettings.php:986
$wgLangObjCacheSize
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
Definition: DefaultSettings.php:3409
$wgExtensionAssetsPath
$wgExtensionAssetsPath
The URL path of the extensions directory.
Definition: DefaultSettings.php:241
$wgInterwikiCache
bool array string $wgInterwikiCache
Interwiki cache, either as an associative array or a path to a constant database (....
Definition: DefaultSettings.php:4771
$wgMultiContentRevisionSchemaMigrationStage
int $wgMultiContentRevisionSchemaMigrationStage
RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables).
Definition: DefaultSettings.php:2371
$wgExportAllowAll
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
Definition: DefaultSettings.php:8387
$wgEnotifWatchlist
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
Definition: DefaultSettings.php:1960
$wgAjaxUploadDestCheck
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
Definition: DefaultSettings.php:9402
$wgMimeTypeBlacklist
$wgMimeTypeBlacklist
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
Definition: DefaultSettings.php:1105
$wgLBFactoryConf
$wgLBFactoryConf
Load balancer factory configuration To set up a multi-primary wiki farm, set the class here to someth...
Definition: DefaultSettings.php:2280
$wgEnableCanonicalServerLink
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
Definition: DefaultSettings.php:3936
$wgVerifyMimeTypeIE
$wgVerifyMimeTypeIE
Determines whether extra checks for IE type detection should be applied.
Definition: DefaultSettings.php:1543
$wgLogActions
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
Definition: DefaultSettings.php:8960
$wgAPIUselessQueryPages
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Definition: DefaultSettings.php:9380
$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:7155
$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:3835
$wgAllowSchemaUpdates
$wgAllowSchemaUpdates
Allow schema updates.
Definition: DefaultSettings.php:2609
$wgDisableTextSearch
$wgDisableTextSearch
Set this to true to disable the full text search feature.
Definition: DefaultSettings.php:7565
$wgArticleRobotPolicies
$wgArticleRobotPolicies
Robot policies per article.
Definition: DefaultSettings.php:9226
$wgCacheDirectory
$wgCacheDirectory
Directory for caching data in the local filesystem.
Definition: DefaultSettings.php:2699
$wgSidebarCacheExpiry
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
Definition: DefaultSettings.php:3107
$wgOpenSearchTemplate
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:7589
$wgThumbnailBuckets
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
Definition: DefaultSettings.php:1636
$wgTransactionalTimeLimit
$wgTransactionalTimeLimit
The request time limit for "slow" write requests that should not be interrupted due to the risk of da...
Definition: DefaultSettings.php:2562
$wgBreakFrames
$wgBreakFrames
Break out of framesets.
Definition: DefaultSettings.php:6845
$wgDefaultExternalStore
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
Definition: DefaultSettings.php:2494
$wgDebugLogPrefix
$wgDebugLogPrefix
Prefix for debug log lines.
Definition: DefaultSettings.php:7202
$wgStrictFileExtensions
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
Definition: DefaultSettings.php:1138
$wgCdnMaxAge
$wgCdnMaxAge
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Definition: DefaultSettings.php:3221
$wgSharedThumbnailScriptPath
string $wgSharedThumbnailScriptPath
Shortcut for the 'thumbScriptUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:1065
$wgForeignUploadTargets
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
Definition: DefaultSettings.php:814
AV_SCAN_ABORTED
const AV_SCAN_ABORTED
Definition: Defines.php:97
$wgLogo
$wgLogo
The URL path of the wiki logo.
Definition: DefaultSettings.php:312
$wgStructuredChangeFiltersLiveUpdatePollingRate
$wgStructuredChangeFiltersLiveUpdatePollingRate
Polling rate, in seconds, used by the 'live update' and 'view newest' features of the RCFilters app o...
Definition: DefaultSettings.php:8005
$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:6341
$wgOpenSearchTemplates
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:7599
$wgUseRCPatrol
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
Definition: DefaultSettings.php:7998
$wgEnableOpenSearchSuggest
$wgEnableOpenSearchSuggest
This was previously a used to force empty responses from ApiOpenSearch with the 'suggest' parameter s...
Definition: DefaultSettings.php:7610
$wgLogoHD
array false $wgLogoHD
Array with URL paths to HD versions of the wiki logo.
Definition: DefaultSettings.php:396
$wgUseNPPatrol
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
Definition: DefaultSettings.php:8014
$wgDjvuRenderer
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
Definition: DefaultSettings.php:1763
$wgJobRunRate
$wgJobRunRate
Number of jobs to perform per request.
Definition: DefaultSettings.php:9696
$wgMetaNamespace
$wgMetaNamespace
Name of the project namespace.
Definition: DefaultSettings.php:4508
$wgDBpassword
$wgDBpassword
Database user's password.
Definition: DefaultSettings.php:2082
$wgDBprefix
$wgDBprefix
Current wiki database table name prefix.
Definition: DefaultSettings.php:2062
$wgFetchCommonsDescriptions
bool $wgFetchCommonsDescriptions
Shortcut for the 'fetchDescription' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:775
$wgStylePath
$wgStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:226
$wgThumbnailMinimumBucketDistance
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
Definition: DefaultSettings.php:1653
$wgAllowSiteCSSOnRestrictedPages
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
Definition: DefaultSettings.php:4485
$wgExtensionEntryPointListFiles
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
Definition: DefaultSettings.php:8475
$wgReadOnlyWatchedItemStore
bool $wgReadOnlyWatchedItemStore
Set this to true to put the wiki watchlists into read-only mode.
Definition: DefaultSettings.php:7807
$wgUseSiteJs
$wgUseSiteJs
Use the site's Javascript page?
Definition: DefaultSettings.php:6834
$wgPutIPinRC
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
Definition: DefaultSettings.php:6578
$wgUploadStashScalerBaseUrl
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
Definition: DefaultSettings.php:472
$wgThumbnailEpoch
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
Definition: DefaultSettings.php:1412
$wgCrossSiteAJAXdomainExceptions
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
Definition: DefaultSettings.php:9444
$wgFeaturePolicyReportOnly
array $wgFeaturePolicyReportOnly
List of Feature Policy Reporting types to enable.
Definition: DefaultSettings.php:9889
NS_MAIN
const NS_MAIN
Definition: Defines.php:64
$wgWhitelistRead
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
Definition: DefaultSettings.php:5842
$wgMaxNameChars
$wgMaxNameChars
Maximum number of bytes in username.
Definition: DefaultSettings.php:5597
$wgResourceLoaderStorageVersion
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
Definition: DefaultSettings.php:4472
$wgDBerrorLog
$wgDBerrorLog
File to log database errors to.
Definition: DefaultSettings.php:2297
$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:1899
$wgUploadStashMaxAge
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
Definition: DefaultSettings.php:520
$wgRepositoryBaseUrl
$wgRepositoryBaseUrl
Shortcut for the 'descBaseUrl' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:766
$wgEnableWANCacheReaper
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
Definition: DefaultSettings.php:2874
$wgAllowExternalReqID
$wgAllowExternalReqID
Whether to respect/honour the request ID provided by the incoming request via the X-Request-Id header...
Definition: DefaultSettings.php:9682
$wgExperiencedUserEdits
$wgExperiencedUserEdits
Number of edits the user must have before becoming "experienced".
Definition: DefaultSettings.php:5093
$wgHTTPConnectTimeout
float int $wgHTTPConnectTimeout
Timeout for connections done internally (in seconds).
Definition: DefaultSettings.php:9626
$wgAssumeProxiesUseDefaultProtocolPorts
bool $wgAssumeProxiesUseDefaultProtocolPorts
When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the w...
Definition: DefaultSettings.php:132
$wgSearchHighlightBoundaries
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
Definition: DefaultSettings.php:7577
$wgPropagateErrors
$wgPropagateErrors
If true, the MediaWiki error handler passes errors/warnings to the default error handler after loggin...
Definition: DefaultSettings.php:7403
$wgUseInstantCommons
$wgUseInstantCommons
Use Wikimedia Commons as a foreign file repository.
Definition: DefaultSettings.php:701
$wgMediaHandlers
$wgMediaHandlers
Plugins for media file type handling.
Definition: DefaultSettings.php:1179
$wgDBadminuser
$wgDBadminuser
Separate username for maintenance tasks.
Definition: DefaultSettings.php:2112
$wgResourceModules
$wgResourceModules
Define extra client-side modules to be registered with ResourceLoader.
Definition: DefaultSettings.php:4261
$wgResourceLoaderValidateJS
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
Definition: DefaultSettings.php:4448
$wgAPIRequestLog
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
Definition: DefaultSettings.php:9369
$wgMediaInTargetLanguage
$wgMediaInTargetLanguage
Whether thumbnails should be generated in target language (usually, same as page language),...
Definition: DefaultSettings.php:1366
$wgAutopromote
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
Definition: DefaultSettings.php:6252
$wgContentHandlerTextFallback
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
Definition: DefaultSettings.php:2425
$wgAllowImageTag
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
Definition: DefaultSettings.php:4907
$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:5120
$wgShowDebug
$wgShowDebug
Display debug data at the bottom of the main content area.
Definition: DefaultSettings.php:7357
$wgRightsPage
$wgRightsPage
Override for copyright metadata.
Definition: DefaultSettings.php:8266
$wgHTTPProxy
$wgHTTPProxy
Proxy to use for CURL requests.
Definition: DefaultSettings.php:9660
$wgRawHtml
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
Definition: DefaultSettings.php:4941
$wgEnableScaryTranscluding
$wgEnableScaryTranscluding
Enable interwiki transcluding.
Definition: DefaultSettings.php:5016
$wgAttemptFailureEpoch
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
Definition: DefaultSettings.php:1420
$wgEnotifUseRealName
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
Definition: DefaultSettings.php:2020
$wgDBservers
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
Definition: DefaultSettings.php:2268
$wgRCChangedSizeThreshold
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
Definition: DefaultSettings.php:8099
$wgAllowUserCss
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
Definition: DefaultSettings.php:6821
CONTENT_MODEL_JSON
const CONTENT_MODEL_JSON
Definition: Defines.php:212
$wgHashedSharedUploadDirectory
bool $wgHashedSharedUploadDirectory
Shortcut for the 'hashLevels' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:758
$wgDBDefaultGroup
$wgDBDefaultGroup
Default group to use when getting database connections.
Definition: DefaultSettings.php:2164
$wgAdaptiveMessageCache
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
Definition: DefaultSettings.php:3008
$wgResourceLoaderMaxage
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
Definition: DefaultSettings.php:4388
$wgSVGConverterPath
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
Definition: DefaultSettings.php:1345
$wgRawHtmlMessages
string[] $wgRawHtmlMessages
List of messages which might contain raw HTML.
Definition: DefaultSettings.php:3639
$wgFooterLinkCacheExpiry
$wgFooterLinkCacheExpiry
Expiry time for the footer link cache, in seconds, or 0 if disabled.
Definition: DefaultSettings.php:3114
$wgNoReplyAddress
$wgNoReplyAddress
Reply-To address for e-mail notifications.
Definition: DefaultSettings.php:1830
$wgParserTestMediaHandlers
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
Definition: DefaultSettings.php:1195
$wgHooks
$wgHooks
Global list of hooks.
Definition: DefaultSettings.php:8641
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:77
$wgProfiler
$wgProfiler
Profiler configuration.
Definition: DefaultSettings.php:7483
$wgRecentChangesFlags
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Definition: DefaultSettings.php:8187
$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:5475
$wgGrantPermissions
array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
Definition: DefaultSettings.php:6617
$wgSQLiteDataDir
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
Definition: DefaultSettings.php:2169
$wgWatchlistPurgeRate
float $wgWatchlistPurgeRate
Chance of expired watchlist items being purged on any page edit.
Definition: DefaultSettings.php:8235
$wgLoginLanguageSelector
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
Definition: DefaultSettings.php:3605
$wgUploadSizeWarning
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
Definition: DefaultSettings.php:1151
$wgEmergencyContact
$wgEmergencyContact
Site admin email address.
Definition: DefaultSettings.php:1813
$wgAuthenticationTokenVersion
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
Definition: DefaultSettings.php:5731
$wgContentHandlers
$wgContentHandlers
Plugins for page content model handling.
Definition: DefaultSettings.php:2386
$wgAllowRequiringEmailForResets
$wgAllowRequiringEmailForResets
Temporary feature flag that controls whether users will see a checkbox allowing them to require provi...
Definition: DefaultSettings.php:5764
$wgFooterIcons
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
Definition: DefaultSettings.php:3877
$wgXmlDumpSchemaVersion
$wgXmlDumpSchemaVersion
The schema to use per default when generating XML dumps.
Definition: DefaultSettings.php:8401
$wgAntivirusRequired
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
Definition: DefaultSettings.php:1528
$wgMainCacheType
$wgMainCacheType
Main cache type.
Definition: DefaultSettings.php:2718
$wgRevertedTagMaxDepth
int $wgRevertedTagMaxDepth
Maximum depth (revision count) of reverts that will have their reverted edits marked with the mw-reve...
Definition: DefaultSettings.php:5135
$wgPreprocessorCacheThreshold
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
Definition: DefaultSettings.php:5011
$wgLinkHolderBatchSize
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
Definition: DefaultSettings.php:2678
$wgLockManagers
$wgLockManagers
Array of configuration arrays for each lock manager.
Definition: DefaultSettings.php:927
$wgFilterLogTypes
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
Definition: DefaultSettings.php:8902
$wgLanguageConverterCacheType
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
Definition: DefaultSettings.php:2753
$wgCentralIdLookupProvider
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
Definition: DefaultSettings.php:5156
$wgUseImageMagick
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
Definition: DefaultSettings.php:1223
$wgExtraSignatureNamespaces
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
Definition: DefaultSettings.php:4678
$wgFallbackSkin
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
Definition: DefaultSettings.php:3788
$wgUseFileCache
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Definition: DefaultSettings.php:3077
$wgCacheVaryCookies
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
Definition: DefaultSettings.php:7160
$wgCrossSiteAJAXdomains
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
Definition: DefaultSettings.php:9437
$wgDefaultLanguageVariant
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
Definition: DefaultSettings.php:3562
$wgCachePrefix
$wgCachePrefix
Overwrite the caching key prefix with custom value.
Definition: DefaultSettings.php:7545
$wgAPICacheHelpTimeout
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
Definition: DefaultSettings.php:9374
$wgEnableSidebarCache
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
Definition: DefaultSettings.php:3102
$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:7651
$wgEnableSpecialMute
$wgEnableSpecialMute
Set to true to enable the Special Mute page.
Definition: DefaultSettings.php:1853
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:4883
$wgStatsdMetricPrefix
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
Definition: DefaultSettings.php:7504
$wgUploadThumbnailRenderMap
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
Definition: DefaultSettings.php:1664
$wgQueryPageDefaultLimit
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
Definition: DefaultSettings.php:6584
$wgDjvuToXML
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3....
Definition: DefaultSettings.php:1786
$wgHtml5Version
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
Definition: DefaultSettings.php:3715
$wgDebugLogGroups
$wgDebugLogGroups
Map of string log group names to log destinations.
Definition: DefaultSettings.php:7325
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:74
$wgUseDatabaseMessages
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
Definition: DefaultSettings.php:3542
$wgLoadScript
$wgLoadScript
The URL path to load.php.
Definition: DefaultSettings.php:212
$wgMimeTypeFile
$wgMimeTypeFile
Sets the MIME type definition file to use by includes/libs/mime/MimeAnalyzer.php.
Definition: DefaultSettings.php:1554
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:5005
$wgAntivirusSetup
$wgAntivirusSetup
Configuration for different virus scanners.
Definition: DefaultSettings.php:1510
$wgApiFrameOptions
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
Definition: DefaultSettings.php:6878
$wgObjectCaches
$wgObjectCaches
Advanced object cache configuration.
Definition: DefaultSettings.php:2768
$wgSharedPrefix
$wgSharedPrefix
Definition: DefaultSettings.php:2201
$wgExportAllowHistory
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
Definition: DefaultSettings.php:8352
$wgHTCPRouting
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
Definition: DefaultSettings.php:3368
$wgLogExceptionBacktrace
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
Definition: DefaultSettings.php:7397
$wgRCFeeds
$wgRCFeeds
Configuration for feeds to which notifications about recent changes will be sent.
Definition: DefaultSettings.php:7965
$wgMimeDetectorCommand
$wgMimeDetectorCommand
Sets an external MIME detector program.
Definition: DefaultSettings.php:1573
APCOND_EDITCOUNT
const APCOND_EDITCOUNT
Definition: Defines.php:178
$wgParserCacheExpireTime
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
Definition: DefaultSettings.php:2926
$wgPasswordReminderResendTime
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
Definition: DefaultSettings.php:1877
$wgChronologyProtectorStash
string null $wgChronologyProtectorStash
The object store type for the ChronologyProtector store.
Definition: DefaultSettings.php:2920
$wgJobSerialCommitThreshold
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
Definition: DefaultSettings.php:8730
$wgImgAuthDetails
$wgImgAuthDetails
Set this to true if you use img_auth and want the user to see details on why access failed.
Definition: DefaultSettings.php:555
AV_NO_VIRUS
const AV_NO_VIRUS
Definition: Defines.php:95
$wgUseGzip
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
Definition: DefaultSettings.php:3122
$wgInvalidRedirectTargets
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
Definition: DefaultSettings.php:4697
$wgOverrideUcfirstCharacters
array $wgOverrideUcfirstCharacters
List of Unicode characters for which capitalization is overridden in Language::ucfirst.
Definition: DefaultSettings.php:3694
$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:9363
$wgUserrightsInterwikiDelimiter
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
Definition: DefaultSettings.php:5711
$wgVaryOnXFP
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
Definition: DefaultSettings.php:3200
$wgImplicitGroups
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
Definition: DefaultSettings.php:6065
$wgCdnMaxageSubstitute
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
Definition: DefaultSettings.php:3269
$wgPreviewOnOpenNamespaces
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
Definition: DefaultSettings.php:7753
$wgInterwikiMagic
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Definition: DefaultSettings.php:3425
$wgLogTypes
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
Definition: DefaultSettings.php:8855
$wgExtendedLoginCookieExpiration
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
Definition: DefaultSettings.php:7087
$wgMaxJobDBWriteDuration
int bool $wgMaxJobDBWriteDuration
Max time (in seconds) a job-generated transaction can spend in writes.
Definition: DefaultSettings.php:2672
XML_DUMP_SCHEMA_VERSION_11
const XML_DUMP_SCHEMA_VERSION_11
Definition: Defines.php:303
$wgResourceLoaderSources
$wgResourceLoaderSources
Extensions should register foreign module sources here.
Definition: DefaultSettings.php:4364
$wgParserCacheType
$wgParserCacheType
The cache type for storing article HTML.
Definition: DefaultSettings.php:2734
$wgNativeImageLazyLoading
array $wgNativeImageLazyLoading
Toggles native image lazy loading, via the "loading" attribute.
Definition: DefaultSettings.php:1189
$wgOriginTrials
array $wgOriginTrials
Origin Trials tokens.
Definition: DefaultSettings.php:9828
$wgLocalisationCacheConf
$wgLocalisationCacheConf
Localisation cache configuration.
Definition: DefaultSettings.php:3041
$wgMaxImageArea
$wgMaxImageArea
The maximum number of pixels a source image can have if it is to be scaled down by a scaler that requ...
Definition: DefaultSettings.php:1381
$wgUseCombinedLoginLink
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
Definition: DefaultSettings.php:3899
$wgUseCopyrightUpload
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
Definition: DefaultSettings.php:8291
$wgMaxPPExpandDepth
$wgMaxPPExpandDepth
Definition: DefaultSettings.php:4842
$wgEnableEmail
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
Definition: DefaultSettings.php:1837
$wgUseCategoryBrowser
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
Definition: DefaultSettings.php:8783
$wgImgAuthPath
$wgImgAuthPath
The base path for img_auth.php.
Definition: DefaultSettings.php:284
$wgEnableDnsBlacklist
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
Definition: DefaultSettings.php:6392
$wgLogos
array false $wgLogos
Specification for different versions of the wiki logo.
Definition: DefaultSettings.php:364
$wgDefaultSkin
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
Definition: DefaultSettings.php:3781
$wgUpdateRowsPerQuery
$wgUpdateRowsPerQuery
Number of rows to update per query.
Definition: DefaultSettings.php:9715
$wgReservedUsernames
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
Definition: DefaultSettings.php:5604
$wgEnableMagicLinks
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
Definition: DefaultSettings.php:5030
$wgInterlanguageLinkCodeMap
$wgInterlanguageLinkCodeMap
Map of interlanguage link codes to language codes.
Definition: DefaultSettings.php:3454
MEDIATYPE_BITMAP
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgSessionName
$wgSessionName
Override to customise the session name.
Definition: DefaultSettings.php:7165
$wgParserTestFiles
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
Definition: DefaultSettings.php:7534
$wgMaxInterlacingAreas
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
Definition: DefaultSettings.php:1234
$wgImportSources
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
Definition: DefaultSettings.php:8336
$wgCopyUploadProxy
$wgCopyUploadProxy
Proxy to use for copy upload requests.
Definition: DefaultSettings.php:974
$wgAllowedCorsHeaders
$wgAllowedCorsHeaders
List of allowed headers for cross-origin API requests.
Definition: DefaultSettings.php:9449
$wgAPIMetaModules
$wgAPIMetaModules
API Query meta module extensions.
Definition: DefaultSettings.php:9320
$wgFileBackends
$wgFileBackends
File backend structure configuration.
Definition: DefaultSettings.php:915
$wgDjvuOutputExtension
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
Definition: DefaultSettings.php:1798
$wgNamespaceProtection
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
Definition: DefaultSettings.php:6149
$wgExternalLinkTarget
$wgExternalLinkTarget
Set a default target for external links, e.g.
Definition: DefaultSettings.php:4952
$wgMaxShellTime
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
Definition: DefaultSettings.php:9493
$wgPageInfoTransclusionLimit
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
Definition: DefaultSettings.php:7519
$wgEnableSearchContributorsByIP
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
Definition: DefaultSettings.php:7698
$wgSoftwareTags
array $wgSoftwareTags
List of core tags to enable.
Definition: DefaultSettings.php:8138
$wgDeleteRevisionsLimit
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
Definition: DefaultSettings.php:6326
$wgMemCachedTimeout
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
Definition: DefaultSettings.php:2987
$wgUpdateRowsPerJob
$wgUpdateRowsPerJob
Number of rows to update per job.
Definition: DefaultSettings.php:9710
$wgHTTPTimeout
float int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
Definition: DefaultSettings.php:9616
$wgCommandLineDarkBg
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
Definition: DefaultSettings.php:7790
$wgRCShowWatchingUsers
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
Definition: DefaultSettings.php:8087
$wgSignatureAllowedLintErrors
$wgSignatureAllowedLintErrors
List of lint error codes which don't cause signature validation to fail.
Definition: DefaultSettings.php:5591
$wgRememberMe
string $wgRememberMe
Configures RememberMe authentication request added by AuthManager.
Definition: DefaultSettings.php:5361
$wgExtensionCredits
$wgExtensionCredits
Add information about an installed extension, keyed by its type.
Definition: DefaultSettings.php:8604
$wgImportTargetNamespace
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
Definition: DefaultSettings.php:8345
$wgCookieHttpOnly
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
Definition: DefaultSettings.php:7133
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:3298
$wgCompressRevisions
$wgCompressRevisions
We can also compress text stored in the 'text' table.
Definition: DefaultSettings.php:2449
$wgExportAllowListContributors
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
Definition: DefaultSettings.php:8364
$wgFeedClasses
$wgFeedClasses
Available feeds objects.
Definition: DefaultSettings.php:8073
$wgAutoConfirmAge
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
Definition: DefaultSettings.php:6182
$wgDebugLogFile
$wgDebugLogFile
Filename for debug logging.
Definition: DefaultSettings.php:7197
$wgUseFilePatrol
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
Definition: DefaultSettings.php:8025
$wgEnableUserEmailBlacklist
$wgEnableUserEmailBlacklist
Set to true to enable user-to-user e-mail blacklist.
Definition: DefaultSettings.php:1860
$wgDisableLangConversion
$wgDisableLangConversion
Whether to enable language variant conversion.
Definition: DefaultSettings.php:3552
$wgRemoveGroups
$wgRemoveGroups
Definition: DefaultSettings.php:6314
$wgSearchForwardUrl
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
Definition: DefaultSettings.php:7668
$wgShowDBErrorBacktrace
$wgShowDBErrorBacktrace
If true, show a backtrace for database errors.
Definition: DefaultSettings.php:7392
$wgAPIMaxResultSize
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
Definition: DefaultSettings.php:9350
$wgCanonicalServer
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
Definition: DefaultSettings.php:117
$wgHashedUploadDirectory
bool $wgHashedUploadDirectory
Shortcut for setting hashLevels=2 in $wgLocalFileRepo.
Definition: DefaultSettings.php:1073
$wgPriorityHints
bool $wgPriorityHints
Enable client-side Priority Hints.
Definition: DefaultSettings.php:9838
$wgMemoryLimit
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
Definition: DefaultSettings.php:2620
$wgUniversalEditButton
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
Definition: DefaultSettings.php:7762
$wgConfigRegistry
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set,...
Definition: DefaultSettings.php:66
$wgDatabaseReplicaLagWarning
$wgDatabaseReplicaLagWarning
If lag is higher than $wgDatabaseReplicaLagWarning, show a warning in some special pages (like watchl...
Definition: DefaultSettings.php:2341
$wgValidSkinNames
$wgValidSkinNames
List of valid skin names.
Definition: DefaultSettings.php:8522
$wgUseSharedUploads
bool $wgUseSharedUploads
Shortcut for adding an entry to $wgForeignFileRepos.
Definition: DefaultSettings.php:731
$wgMaxAnimatedGifArea
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
Definition: DefaultSettings.php:1389
$wgInterwikiExpiry
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
Definition: DefaultSettings.php:4751
$wgAutopromoteOnceLogInRC
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
Definition: DefaultSettings.php:6285
$wgPageLanguageUseDB
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
Definition: DefaultSettings.php:2512
$wgCachePages
$wgCachePages
Allow client-side caching of pages.
Definition: DefaultSettings.php:3054
$wgTranslateNumerals
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
Definition: DefaultSettings.php:3536
$wgSVGMetadataCutoff
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Definition: DefaultSettings.php:1356
$wgAllowUserCssPrefs
$wgAllowUserCssPrefs
Allow style-related user-preferences?
Definition: DefaultSettings.php:6829
$wgExtraLanguageNames
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Definition: DefaultSettings.php:3459
$wgDBcompress
$wgDBcompress
Whether to use compression in DB connection.
Definition: DefaultSettings.php:2107
$wgMaxShellFileSize
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KB ImageMagick convert for example can b...
Definition: DefaultSettings.php:9488
$wgRangeContributionsCIDRLimit
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Definition: DefaultSettings.php:9125
$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
Definition: DefaultSettings.php:7571
$wgEnotifUserTalk
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
Definition: DefaultSettings.php:1969
$wgJobTypesExcludedFromDefaultQueue
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
Definition: DefaultSettings.php:8704
$wgSessionPbkdf2Iterations
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
Definition: DefaultSettings.php:2971
$wgCookieExpiration
$wgCookieExpiration
Default cookie lifetime, in seconds.
Definition: DefaultSettings.php:7079
$wgShowRollbackEditCount
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
Definition: DefaultSettings.php:3928
$wgImgAuthUrlPathMap
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Definition: DefaultSettings.php:571
$wgNamespaceAliases
$wgNamespaceAliases
Define extra namespace aliases.
Definition: DefaultSettings.php:4583
$wgForcedRawSMaxage
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
Definition: DefaultSettings.php:3276
$wgHTTPMaxConnectTimeout
float int $wgHTTPMaxConnectTimeout
The maximum HTTP connect timeout in seconds.
Definition: DefaultSettings.php:9644
$wgShellRestrictionMethod
string bool $wgShellRestrictionMethod
Method to use to restrict shell commands.
Definition: DefaultSettings.php:9581
CONTENT_MODEL_UNKNOWN
const CONTENT_MODEL_UNKNOWN
Definition: Defines.php:213
$wgGitBin
$wgGitBin
Fully specified path to git binary.
Definition: DefaultSettings.php:7832
$wgFileCacheDepth
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
Definition: DefaultSettings.php:3085
$wgNoFollowNsExceptions
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
Definition: DefaultSettings.php:4966
$wgUrlProtocols
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
Definition: DefaultSettings.php:4854
$wgLocalTZoffset
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
Definition: DefaultSettings.php:3681
$wgExportMaxHistory
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
Definition: DefaultSettings.php:8359
$wgExportFromNamespaces
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
Definition: DefaultSettings.php:8382
$wgExtensionDirectory
$wgExtensionDirectory
Filesystem extensions directory.
Definition: DefaultSettings.php:248
$wgNoFollowLinks
$wgNoFollowLinks
If true, external URL links in wiki text will be given the rel="nofollow" attribute as a hint to sear...
Definition: DefaultSettings.php:4960
$wgMainPageIsDomainRoot
bool $wgMainPageIsDomainRoot
Option to whether serve the main page as the domain root.
Definition: DefaultSettings.php:498
$wgMaxUserDBWriteDuration
int bool $wgMaxUserDBWriteDuration
Max time (in seconds) a user-generated transaction can spend in writes.
Definition: DefaultSettings.php:2663
$wgServerName
$wgServerName
Server name.
Definition: DefaultSettings.php:124
$wgRateLimits
$wgRateLimits
Simple rate limiter options to brake edit floods.
Definition: DefaultSettings.php:6489
$wgVueDevelopmentMode
$wgVueDevelopmentMode
Whether to use the development version of Vue.js.
Definition: DefaultSettings.php:4496
$wgResourceLoaderStorageEnabled
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
Definition: DefaultSettings.php:4464
$wgUsePrivateIPs
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
Definition: DefaultSettings.php:3379
$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:8879
$wgForceHTTPS
bool $wgForceHTTPS
If this is true, when an insecure HTTP request is received, always redirect to HTTPS.
Definition: DefaultSettings.php:165
$wgMaxRedirectLinksRetrieved
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
Definition: DefaultSettings.php:9116
$wgCookieDomain
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
Definition: DefaultSettings.php:7093
$wgImageMagickConvertCommand
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
Definition: DefaultSettings.php:1228
$wgLocalInterwikis
$wgLocalInterwikis
Array for local interwiki values, for each of the interwiki prefixes that point to the current wiki.
Definition: DefaultSettings.php:4746
$wgDeletedDirectory
$wgDeletedDirectory
What directory to place deleted uploads in.
Definition: DefaultSettings.php:550
CACHE_DB
const CACHE_DB
Definition: Defines.php:87
$wgEnablePartialActionBlocks
bool $wgEnablePartialActionBlocks
Flag to enable partial blocks against performing certain actions.
Definition: DefaultSettings.php:5820
$wgIgnoreImageErrors
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
Definition: DefaultSettings.php:1433
$wgSharpenReductionThreshold
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
Definition: DefaultSettings.php:1244
$wgCacheSharedUploads
bool $wgCacheSharedUploads
Shortcut for the ForeignDBRepo 'hasSharedCache' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:803
$wgMetaNamespaceTalk
$wgMetaNamespaceTalk
Name of the project talk namespace.
Definition: DefaultSettings.php:4517
$wgServer
$wgServer
URL of the server.
Definition: DefaultSettings.php:108
$wgActiveUserDays
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
Definition: DefaultSettings.php:5067
$wgUploadDialog
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
Definition: DefaultSettings.php:825
$wgRCMaxAge
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:7865
$wgEnotifRevealEditorAddress
bool $wgEnotifRevealEditorAddress
Allow sending of e-mail notifications with the editor's address in "Reply-To".
Definition: DefaultSettings.php:1985
$wgSummarySpamRegex
$wgSummarySpamRegex
Same as the above except for edit summaries.
Definition: DefaultSettings.php:6385
$wgLanguageCode
$wgLanguageCode
Site language code.
Definition: DefaultSettings.php:3403
$wgEnableParserLimitReporting
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
Definition: DefaultSettings.php:8496
$wgExportMaxLinkDepth
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
Definition: DefaultSettings.php:8377
$wgSitename
$wgSitename
Name of the site.
Definition: DefaultSettings.php:80
$wgReadOnly
$wgReadOnly
Set this to a string to put the wiki into read-only mode.
Definition: DefaultSettings.php:7800
$wgDevelopmentWarnings
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
Definition: DefaultSettings.php:7421
$wgRightsIcon
$wgRightsIcon
Override for copyright metadata.
Definition: DefaultSettings.php:8286
$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:3741
$wgFeedDiffCutoff
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
Definition: DefaultSettings.php:8052
$wgPasswordAttemptThrottle
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
Definition: DefaultSettings.php:6598
$wgDirectoryMode
$wgDirectoryMode
Default value for chmoding of new directories.
Definition: DefaultSettings.php:1728
$wgBlockDisablesLogin
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
Definition: DefaultSettings.php:5812
$wgRCShowChangedSize
$wgRCShowChangedSize
Show the amount of changed characters in recent changes.
Definition: DefaultSettings.php:8092
$wgExtensionFunctions
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
Definition: DefaultSettings.php:8413
$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:2504
$wgUploadBaseUrl
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
Definition: DefaultSettings.php:459
$wgNamespaceRobotPolicies
$wgNamespaceRobotPolicies
Robot policies per namespaces.
Definition: DefaultSettings.php:9198
$wgTiffThumbnailType
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
Definition: DefaultSettings.php:1404
$wgSearchType
$wgSearchType
Search type.
Definition: DefaultSettings.php:2130
$wgParserCacheUseJson
$wgParserCacheUseJson
Enable JSON serialization for ParserCache.
Definition: DefaultSettings.php:3166
$wgAddGroups
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
Definition: DefaultSettings.php:6309
$wgSearchSuggestCacheExpiry
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
Definition: DefaultSettings.php:7626
$wgDisableOutputCompression
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
Definition: DefaultSettings.php:3805
$wgSMTP
$wgSMTP
SMTP Mode.
Definition: DefaultSettings.php:1918
$wgUploadDirectory
$wgUploadDirectory
The filesystem path of the images directory.
Definition: DefaultSettings.php:297
$wgUploadThumbnailRenderHttpCustomHost
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
Definition: DefaultSettings.php:1684
$wgSitemapNamespaces
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
Definition: DefaultSettings.php:7675
$wgIllegalFileChars
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
Definition: DefaultSettings.php:544
AV_SCAN_FAILED
const AV_SCAN_FAILED
Definition: Defines.php:98
$wgSkinMetaTags
$wgSkinMetaTags
An array of open graph tags which should be added by all skins.
Definition: DefaultSettings.php:3775
$wgAllowHTMLEmail
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
Definition: DefaultSettings.php:1929
$wgDBTableOptions
$wgDBTableOptions
MySQL table options to use during installation or update.
Definition: DefaultSettings.php:2149
CONTENT_MODEL_WIKITEXT
const CONTENT_MODEL_WIKITEXT
Definition: Defines.php:208
$wgTrivialMimeDetection
$wgTrivialMimeDetection
Switch for trivial MIME detection.
Definition: DefaultSettings.php:1580
$wgSignatureValidation
$wgSignatureValidation
Behavior of signature validation.
Definition: DefaultSettings.php:5583
NS_USER
const NS_USER
Definition: Defines.php:66
$wgCustomConvertCommand
$wgCustomConvertCommand
Use another resizing converter, e.g.
Definition: DefaultSettings.php:1264
$wgDeleteRevisionsBatchSize
$wgDeleteRevisionsBatchSize
Page deletions with > this number of revisions will use the job queue.
Definition: DefaultSettings.php:6332
$wgInvalidUsernameCharacters
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
Definition: DefaultSettings.php:5700
$wgAutoloadClasses
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
Definition: DefaultSettings.php:8535
$wgFavicon
$wgFavicon
The URL path of the shortcut icon.
Definition: DefaultSettings.php:402
$wgCSPReportOnlyHeader
bool array $wgCSPReportOnlyHeader
Controls Content-Security-Policy-Report-Only header.
Definition: DefaultSettings.php:6910
$wgLearnerEdits
$wgLearnerEdits
The following variables define 3 user experience levels:
Definition: DefaultSettings.php:5081
$wgLogActionsHandlers
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
Definition: DefaultSettings.php:8968
$wgEnableAsyncUploads
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
Definition: DefaultSettings.php:530
$wgUploadNavigationUrl
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
Definition: DefaultSettings.php:1036
$wgOverrideHostname
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
Definition: DefaultSettings.php:7415
$wgResourceBasePath
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
Definition: DefaultSettings.php:4370
$wgShortPagesNamespaceBlacklist
$wgShortPagesNamespaceBlacklist
Optional array of namespaces which should be blacklisted from Special:ShortPages Only pages inside $w...
Definition: DefaultSettings.php:4669
$wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
Definition: DefaultSettings.php:3626
$wgSiteTypes
$wgSiteTypes
Register handlers for specific types of sites.
Definition: DefaultSettings.php:4808
$wgMinUploadChunkSize
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
Definition: DefaultSettings.php:1024
$wgContentNamespaces
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Definition: DefaultSettings.php:4661
$wgPriorityHintsRatio
float $wgPriorityHintsRatio
Ratio of requests that should get Priority Hints when the feature is enabled.
Definition: DefaultSettings.php:9848
$wgJobClasses
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
Definition: DefaultSettings.php:8665
$wgEmailConfirmToEdit
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
Definition: DefaultSettings.php:5876
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:3445
$wgCopyUploadsFromSpecialUpload
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
Definition: DefaultSettings.php:968
$wgRunJobsAsync
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
Definition: DefaultSettings.php:9705
$wgMaxShellWallClockTime
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
Definition: DefaultSettings.php:9499
$wgCascadingRestrictionLevels
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
Definition: DefaultSettings.php:6126
$wgArticlePath
$wgArticlePath
The URL path for primary article page views.
Definition: DefaultSettings.php:264
$wgSessionCacheType
$wgSessionCacheType
The cache backend for storing session data.
Definition: DefaultSettings.php:2743
$wgRestAllowCrossOriginCookieAuth
bool $wgRestAllowCrossOriginCookieAuth
Allows authenticated cross-origin requests to the REST API with session cookies.
Definition: DefaultSettings.php:6962
$wgSquidPurgeUseHostHeader
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgCdnServers.
Definition: DefaultSettings.php:3320
$wgJpegTran
$wgJpegTran
used for lossless jpeg rotation
Definition: DefaultSettings.php:1271
$wgDisableCookieCheck
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
Definition: DefaultSettings.php:7119
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:7632
$wgMWLoggerDefaultSpi
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
Definition: DefaultSettings.php:7348
$wgCacheEpoch
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Definition: DefaultSettings.php:3064
$wgShellCgroup
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
Definition: DefaultSettings.php:9524
$wgAjaxExportList
$wgAjaxExportList
List of Ajax-callable functions.
Definition: DefaultSettings.php:9397
$wgUserEmailConfirmationTokenExpiry
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
Definition: DefaultSettings.php:1887
$wgGitInfoCacheDirectory
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
Definition: DefaultSettings.php:3070
$wgImageLimits
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
Definition: DefaultSettings.php:1604
$wgExternalDiffEngine
string false $wgExternalDiffEngine
Name of the external diff engine to use.
Definition: DefaultSettings.php:2533
$wgDiffEngine
string null $wgDiffEngine
Specify the difference engine to use.
Definition: DefaultSettings.php:2527
$wgCriticalSectionTimeLimit
float $wgCriticalSectionTimeLimit
The maximum time critical sections are allowed to stay open.
Definition: DefaultSettings.php:2579
$wgResourceLoaderUseObjectCacheForDeps
$wgResourceLoaderUseObjectCacheForDeps
Use the main stash instead of the module_deps table for indirect dependency tracking.
Definition: DefaultSettings.php:4399
$wgAutoConfirmCount
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
Definition: DefaultSettings.php:6193
$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:2964
$wgCentralIdLookupProviders
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
Definition: DefaultSettings.php:5148
$wgActionPaths
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
Definition: DefaultSettings.php:488
$wgBlockCIDRLimit
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
Definition: DefaultSettings.php:5800
$wgMiserMode
$wgMiserMode
Disable database-intensive features.
Definition: DefaultSettings.php:2584
$wgGitRepositoryViewers
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
Definition: DefaultSettings.php:7847
$wgTidyConfig
$wgTidyConfig
Configuration for HTML postprocessing tool.
Definition: DefaultSettings.php:4927
$wgEnableJavaScriptTest
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
Definition: DefaultSettings.php:7539
$wgPoolCounterConf
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
Definition: DefaultSettings.php:2654
$wgLoggedOutMaxAge
$wgLoggedOutMaxAge
Cache TTL for the user agent sent as max-age, for logged out users.
Definition: DefaultSettings.php:3246
$wgUseTinyRGBForJPGThumbnails
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
Definition: DefaultSettings.php:1700
$wgAvailableRights
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Definition: DefaultSettings.php:6320
MEDIATYPE_VIDEO
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgSemiprotectedRestrictionLevels
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
Definition: DefaultSettings.php:6140
$wgDisableUploadScriptChecks
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
Definition: DefaultSettings.php:1146
$wgCookieSetOnAutoblock
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
Definition: DefaultSettings.php:7174
$wgRateLimitsExcludedIPs
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
Definition: DefaultSettings.php:6571
$wgCapitalLinks
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Definition: DefaultSettings.php:4618
$wgReadOnlyFile
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
Definition: DefaultSettings.php:7816
$wgApplyIpBlocksToXff
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
Definition: DefaultSettings.php:6449
$wgThumbnailScriptPath
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
Definition: DefaultSettings.php:1056
$wgRCEngines
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
Definition: DefaultSettings.php:7972
$wgCSPHeader
bool array $wgCSPHeader
Controls Content-Security-Policy header [Experimental].
Definition: DefaultSettings.php:6902
$wgEditPageFrameOptions
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
Definition: DefaultSettings.php:6866
CONTENT_MODEL_TEXT
const CONTENT_MODEL_TEXT
Definition: Defines.php:211
$wgGroupPermissions
$wgGroupPermissions
Permission keys given to users in each group.
Definition: DefaultSettings.php:5908
$wgDebugComments
$wgDebugComments
Send debug data to an HTML comment in the output.
Definition: DefaultSettings.php:7226
$wgExiv2Command
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
Definition: DefaultSettings.php:1307
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition: DefaultSettings.php:3420
$wgLocaltimezone
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Definition: DefaultSettings.php:3670
$wgPagePropLinkInvalidations
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
Definition: DefaultSettings.php:8770
$wgAjaxEditStash
$wgAjaxEditStash
Have clients send edits to be prepared when filling in edit summaries.
Definition: DefaultSettings.php:9415
$wgHttpsPort
$wgHttpsPort
For installations where the canonical server is HTTP but HTTPS is optionally supported,...
Definition: DefaultSettings.php:145
$wgCleanSignatures
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
Definition: DefaultSettings.php:4864
$wgOpenSearchDescriptionLength
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Definition: DefaultSettings.php:7621
$wgShowExceptionDetails
$wgShowExceptionDetails
If set to true, uncaught exceptions will print the exception message and a complete stack trace to ou...
Definition: DefaultSettings.php:7380
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:1723
$wgVerifyMimeType
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Definition: DefaultSettings.php:1533
$wgExtraGenderNamespaces
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
Definition: DefaultSettings.php:4560
$wgQueryCacheLimit
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
Definition: DefaultSettings.php:2594
$wgInterwikiFallbackSite
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
Definition: DefaultSettings.php:4784
$wgReauthenticateTime
int[] $wgReauthenticateTime
Time frame for re-authentication.
Definition: DefaultSettings.php:5401
$wgSharedUploadDBprefix
string $wgSharedUploadDBprefix
Shortcut for the ForeignDBRepo 'tablePrefix' setting in $wgForeignFileRepos.
Definition: DefaultSettings.php:794
$wgCookieSecure
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
Definition: DefaultSettings.php:7111
$wgSessionProviders
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
Definition: DefaultSettings.php:5741
$wgSiteNotice
$wgSiteNotice
Site notice shown at the top of each page.
Definition: DefaultSettings.php:3766
$wgCapitalLinkOverrides
$wgCapitalLinkOverrides
Definition: DefaultSettings.php:4633
$wgAllowCrossOrigin
bool $wgAllowCrossOrigin
Allow anonymous cross origin requests.
Definition: DefaultSettings.php:6946
$wgTrackingCategories
$wgTrackingCategories
Array holding default tracking category names.
Definition: DefaultSettings.php:8838
$wgShellLocale
$wgShellLocale
Locale for LC_ALL, to provide a known environment for locale-sensitive operations.
Definition: DefaultSettings.php:9565
$wgRestrictionLevels
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
Definition: DefaultSettings.php:6115
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:6417
$wgEnableUploads
$wgEnableUploads
Allow users to upload files.
Definition: DefaultSettings.php:515
$wgRenderHashAppend
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
Definition: DefaultSettings.php:3091
$wgLearnerMemberSince
$wgLearnerMemberSince
Number of days the user must exist before becoming a learner.
Definition: DefaultSettings.php:5087
$wgAdvertisedFeedTypes
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
Definition: DefaultSettings.php:8082
$wgSVGConverters
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
Definition: DefaultSettings.php:1325
$wgExtensionInfoMTime
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
Definition: DefaultSettings.php:3150
$wgGroupsRemoveFromSelf
$wgGroupsRemoveFromSelf
Definition: DefaultSettings.php:6093
$wgAllowCopyUploads
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
Definition: DefaultSettings.php:954
$wgTextModelsToParse
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Definition: DefaultSettings.php:2437
$wgAPIPropModules
$wgAPIPropModules
API Query prop module extensions.
Definition: DefaultSettings.php:9329
$wgOverrideSiteFeed
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
Definition: DefaultSettings.php:8066
$wgResourceLoaderMaxQueryLength
int $wgResourceLoaderMaxQueryLength
ResourceLoader will not generate URLs whose query string is more than this many characters long,...
Definition: DefaultSettings.php:4439
$wgSkipSkins
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
Definition: DefaultSettings.php:3800
$wgCategoryCollation
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
Definition: DefaultSettings.php:8821
$wgLogNames
$wgLogNames
Lists the message key string for each log type.
Definition: DefaultSettings.php:8917
$wgEnotifImpersonal
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
Definition: DefaultSettings.php:2009
$wgFileCacheDirectory
$wgFileCacheDirectory
Directory where the cached page will be saved.
Definition: DefaultSettings.php:303
$wgCookieSetOnIpBlock
$wgCookieSetOnIpBlock
Whether to set a cookie when a logged-out user is blocked.
Definition: DefaultSettings.php:7183
$wgUploadPath
$wgUploadPath
The URL path for the images directory.
Definition: DefaultSettings.php:270
$wgMaxTocLevel
$wgMaxTocLevel
Maximum indent level of toc.
Definition: DefaultSettings.php:4823
$wgMaxRedirects
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Definition: DefaultSettings.php:4685
$wgSpecialSearchFormOptions
array $wgSpecialSearchFormOptions
Options for Special:Search completion widget form created by SearchFormWidget class.
Definition: DefaultSettings.php:7709
$wgRedirectSources
$wgRedirectSources
If local interwikis are set up which allow redirects, set this regexp to restrict URLs which will be ...
Definition: DefaultSettings.php:4801
$wgDjvuDump
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
Definition: DefaultSettings.php:1756
$wgRestrictionTypes
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
Definition: DefaultSettings.php:6102
$wgSearchRunSuggestedQuery
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
Definition: DefaultSettings.php:7729
$wgArticleCountMethod
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Definition: DefaultSettings.php:5058
$wgEnableBotPasswords
bool $wgEnableBotPasswords
Whether to enable bot passwords.
Definition: DefaultSettings.php:6775
$wgXhtmlNamespaces
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
Definition: DefaultSettings.php:3757
$wgHTTPMaxTimeout
float int $wgHTTPMaxTimeout
The maximum HTTP request timeout in seconds.
Definition: DefaultSettings.php:9635
$wgMaxSigChars
$wgMaxSigChars
Maximum number of Unicode characters in signature.
Definition: DefaultSettings.php:5571
$wgDBuser
$wgDBuser
Database username.
Definition: DefaultSettings.php:2077
$wgDBerrorLogTZ
$wgDBerrorLogTZ
Timezone to use in the error log.
Definition: DefaultSettings.php:2317
$wgJpegQuality
$wgJpegQuality
When scaling a JPEG thumbnail, this is the quality we request from the backend.
Definition: DefaultSettings.php:1301
$wgPasswordPolicy
$wgPasswordPolicy
Password policy for the wiki.
Definition: DefaultSettings.php:5221
$wgReportToEndpoints
array $wgReportToEndpoints
List of endpoints for the Reporting API.
Definition: DefaultSettings.php:9878
$wgDataCenterUpdateStickTTL
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
Definition: DefaultSettings.php:2292
$wgDebugDumpSql
$wgDebugDumpSql
Write SQL queries to the debug log.
Definition: DefaultSettings.php:7235
$wgAllowSlowParserFunctions
$wgAllowSlowParserFunctions
Enable slow parser functions.
Definition: DefaultSettings.php:2604
$wgUploadMissingFileUrl
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
Definition: DefaultSettings.php:1043
$wgResourceModuleSkinStyles
$wgResourceModuleSkinStyles
Add extra skin-specific styles to a resource module.
Definition: DefaultSettings.php:4352
$wgMinimalPasswordLength
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
Definition: DefaultSettings.php:5455
$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:6088
$wgRCFilterByAge
$wgRCFilterByAge
Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be store...
Definition: DefaultSettings.php:7889
$wgSpecialPages
$wgSpecialPages
Special page list.
Definition: DefaultSettings.php:8530
$wgDebugToolbar
$wgDebugToolbar
Display the new debugging toolbar.
Definition: DefaultSettings.php:7554
$wgAntivirus
$wgAntivirus
Internal name of virus scanner.
Definition: DefaultSettings.php:1474
$wgDisableQueryPageUpdate
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
Definition: DefaultSettings.php:9104
$wgTrustedMediaFormats
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
Definition: DefaultSettings.php:1163
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:6989
$wgHTTPImportTimeout
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
Definition: DefaultSettings.php:9650
$wgRestrictDisplayTitle
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
Definition: DefaultSettings.php:4999
$wgAutoloadAttemptLowercase
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
Definition: DefaultSettings.php:8544
$wgPasswordSender
$wgPasswordSender
Sender email address for e-mail notifications.
Definition: DefaultSettings.php:1823
$wgPHPSessionHandling
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
Definition: DefaultSettings.php:2955
$wgAllowDisplayTitle
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Definition: DefaultSettings.php:4992
$wgUseSiteCss
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
Definition: DefaultSettings.php:6839
$wgExtraLanguageCodes
$wgExtraLanguageCodes
List of mappings from one language code to another.
Definition: DefaultSettings.php:3474
$wgAPIFormatModules
$wgAPIFormatModules
API format module extensions.
Definition: DefaultSettings.php:9311
$wgRegisterInternalExternals
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
Definition: DefaultSettings.php:4987
$wgSecretKey
$wgSecretKey
This should always be customised in LocalSettings.php.
Definition: DefaultSettings.php:6807
$wgScriptPath
$wgScriptPath
The path we should point to.
Definition: DefaultSettings.php:176
$wgNamespacesWithSubpages
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
Definition: DefaultSettings.php:4639
$wgOldRevisionParserCacheExpireTime
$wgOldRevisionParserCacheExpireTime
The expiry time for the parser cache for old revisions, in seconds.
Definition: DefaultSettings.php:2932
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:1586
$wgPasswordConfig
$wgPasswordConfig
Configuration for built-in password types.
Definition: DefaultSettings.php:5506
$wgDBadminpassword
$wgDBadminpassword
Separate password for maintenance tasks.
Definition: DefaultSettings.php:2117
$wgUseAjax
$wgUseAjax
Enable AJAX framework.
Definition: DefaultSettings.php:9390
$wgDBssl
$wgDBssl
Whether to use SSL in DB connection.
Definition: DefaultSettings.php:2097
$wgWatchersMaxAge
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
Definition: DefaultSettings.php:7872
$wgGrantPermissionGroups
array $wgGrantPermissionGroups
Map of grants to their UI grouping.
Definition: DefaultSettings.php:6733
$wgVariantArticlePath
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
Definition: DefaultSettings.php:3598
$wgMaxShellMemory
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KB.
Definition: DefaultSettings.php:9482
$wgResourceLoaderDebug
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
Definition: DefaultSettings.php:4406
$wgUseImageResize
$wgUseImageResize
Whether to enable server-side image thumbnailing.
Definition: DefaultSettings.php:1213
$wgWatchlistExpiry
bool $wgWatchlistExpiry
Whether to enable the watchlist expiry feature.
Definition: DefaultSettings.php:8222
$wgForeignFileRepos
$wgForeignFileRepos
Enable the use of files from one or more other wikis.
Definition: DefaultSettings.php:690
$wgAccountCreationThrottle
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
Definition: DefaultSettings.php:6364
$wgEnotifMaxRecips
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
Definition: DefaultSettings.php:2015
$wgUploadThumbnailRenderMethod
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
Definition: DefaultSettings.php:1677
$wgLocalStylePath
$wgLocalStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:234
$wgSpecialVersionShowHooks
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
Definition: DefaultSettings.php:7362
$wgMemCachedPersistent
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
Definition: DefaultSettings.php:2982
$wgShowEXIF
$wgShowEXIF
Show Exif data, on by default if available.
Definition: DefaultSettings.php:940
$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:7720
$wgMaxPPNodeCount
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
Definition: DefaultSettings.php:4829
$wgSecureLogin
$wgSecureLogin
This is to let user authenticate using https when they come from http.
Definition: DefaultSettings.php:5719
$wgGenerateThumbnailOnParse
bool $wgGenerateThumbnailOnParse
Render thumbnails while parsing wikitext.
Definition: DefaultSettings.php:1455
$wgCookiePrefix
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
Definition: DefaultSettings.php:7126
$wgUserEmailUseReplyTo
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
Definition: DefaultSettings.php:1871
$wgAPIMaxDBRows
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
Definition: DefaultSettings.php:9344
$wgMainStash
$wgMainStash
The object store type of the main stash.
Definition: DefaultSettings.php:2903
$wgCookieSameSite
string null $wgCookieSameSite
The SameSite cookie attribute used for login cookies.
Definition: DefaultSettings.php:7145
$wgStyleDirectory
$wgStyleDirectory
Filesystem stylesheets directory.
Definition: DefaultSettings.php:255
$wgUpgradeKey
$wgUpgradeKey
When you run the web-based upgrade utility, it will tell you what to set this to in order to authoriz...
Definition: DefaultSettings.php:7827
$wgSVGConverter
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Definition: DefaultSettings.php:1340
$wgSessionSecret
$wgSessionSecret
Secret for session storage.
Definition: DefaultSettings.php:6970
$wgDefaultRobotPolicy
$wgDefaultRobotPolicy
Default robot policy.
Definition: DefaultSettings.php:9182
$wgAllowUserJs
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
Definition: DefaultSettings.php:6814
$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:8161
$wgTrxProfilerLimits
$wgTrxProfilerLimits
Performance expectations for DB usage.
Definition: DefaultSettings.php:7242
SCHEMA_COMPAT_NEW
const SCHEMA_COMPAT_NEW
Definition: Defines.php:265
$wgExtraNamespaces
$wgExtraNamespaces
Additional namespaces.
Definition: DefaultSettings.php:4552
$wgUploadThumbnailRenderHttpCustomDomain
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HT...
Definition: DefaultSettings.php:1692
$wgCategoryPagingLimit
$wgCategoryPagingLimit
Paging limit for categories.
Definition: DefaultSettings.php:8794
$wgNewUserLog
$wgNewUserLog
Maintain a log of newusers at Special:Log/newusers?
Definition: DefaultSettings.php:9080
$wgNamespacesToBeSearchedDefault
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
Definition: DefaultSettings.php:7643
$wgUsePigLatinVariant
$wgUsePigLatinVariant
Whether to enable the pig Latin variant of English (en-x-piglatin), used to ease variant development ...
Definition: DefaultSettings.php:3568
$wgMainWANCache
$wgMainWANCache
Main Wide-Area-Network cache type.
Definition: DefaultSettings.php:2829
$wgImagePreconnect
$wgImagePreconnect
On pages containing images, tell the user agent to pre-connect to hosts from $wgForeignFileRepos.
Definition: DefaultSettings.php:1745
$wgGalleryOptions
$wgGalleryOptions
Parameters for the "<gallery>" tag.
Definition: DefaultSettings.php:1716
$wgAutopromoteOnce
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
Definition: DefaultSettings.php:6277
$wgJobQueueIncludeInMaxLagFactor
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Definition: DefaultSettings.php:8753
$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:3262
$wgEnableAutoRotation
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
Definition: DefaultSettings.php:1467
$wgDatabaseReplicaLagCritical
$wgDatabaseReplicaLagCritical
Definition: DefaultSettings.php:2348
$wgVirtualRestConfig
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
Definition: DefaultSettings.php:9766
$wgCheckFileExtensions
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
Definition: DefaultSettings.php:1130
$wgAllUnicodeFixes
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
Definition: DefaultSettings.php:3498
$wgInternalServer
$wgInternalServer
Internal server name as known to CDN, if different.
Definition: DefaultSettings.php:3210
$wgDisableAnonTalk
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
Definition: DefaultSettings.php:8111
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:4738
$wgUseLocalMessageCache
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
Definition: DefaultSettings.php:3000
$wgStatsdServer
$wgStatsdServer
Destination of statsd metrics.
Definition: DefaultSettings.php:7495
$wgCountCategorizedImagesAsUsed
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
Definition: DefaultSettings.php:9110
$wgDummyLanguageCodes
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
Definition: DefaultSettings.php:3489
$wgPasswordExpirationDays
$wgPasswordExpirationDays
The number of days that a user's password is good for.
Definition: DefaultSettings.php:1893
$wgRCWatchCategoryMembership
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
Definition: DefaultSettings.php:7988
$wgObjectCacheSessionExpiry
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
Definition: DefaultSettings.php:2937
$wgFeed
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
Definition: DefaultSettings.php:8030
$wgAsyncHTTPTimeout
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
Definition: DefaultSettings.php:9655
$wgRightsUrl
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
Definition: DefaultSettings.php:8273
$wgAllowExternalImages
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
Definition: DefaultSettings.php:4869
$wgUsePathInfo
$wgUsePathInfo
Whether to support URLs like index.php/Page_title These often break when PHP is set up in CGI mode.
Definition: DefaultSettings.php:195
$wgImageMagickTempDir
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
Definition: DefaultSettings.php:1250
$wgSQLMode
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
Definition: DefaultSettings.php:2157
$wgEnableImageWhitelist
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki allow list of regular expression fragmen...
Definition: DefaultSettings.php:4896
CACHE_NONE
const CACHE_NONE
Definition: Defines.php:86
$wgThumbPath
$wgThumbPath
The base path for thumb_handler.php.
Definition: DefaultSettings.php:292
$wgExportPagelistLimit
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
Definition: DefaultSettings.php:8395
$wgSpamRegex
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
Definition: DefaultSettings.php:6380
$wgSharedUploadPath
string $wgSharedUploadPath
Shortcut for the 'url' setting of $wgForeignFileRepos.
Definition: DefaultSettings.php:749
$wgOpenSearchDefaultLimit
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
Definition: DefaultSettings.php:7616
$wgReportToExpiry
int $wgReportToExpiry
Expiry of the endpoint definition for the Reporting API.
Definition: DefaultSettings.php:9868
$wgCdnMaxageLagged
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
Definition: DefaultSettings.php:3229
$wgShowArchiveThumbnails
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
Definition: DefaultSettings.php:1460
$wgAllowSpecialInclusion
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
Definition: DefaultSettings.php:9097