MediaWiki  REL1_31
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 
89 
107 
116 
123 
124 /************************************************************************/
148 
158 $wgScriptPath = '/wiki';
159 
177 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
178  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
179  ( strpos( PHP_SAPI, 'isapi' ) === false );
180 
183 /************************************************************************/
206 $wgScript = false;
207 
215 
221 $wgStylePath = false;
223 
230 
237 
243 $wgExtensionDirectory = "{$IP}/extensions";
244 
250 $wgStyleDirectory = "{$IP}/skins";
251 
260 
266 
271 
277 
282 $wgLogo = false;
283 
310 $wgLogoHD = false;
311 
316 $wgFavicon = '/favicon.ico';
317 
324 
344 
360 
367 
376 
392 
395 /************************************************************************/
404 
408 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
409 
414 
424 
432 $wgIllegalFileChars = ":\\/\\\\";
433 
439 
444 
460 
540 
545 
552 
563 
574  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
575  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
576  // matching replacement to the 'filepage' format key below to make use of these.
577  'fields' => [
578  'description' => true,
579  'date' => false,
580  'categories' => false,
581  ],
582  // Suffix of localisation messages used to describe the license under which the uploaded file will
583  // be released. The same value may be set for both 'local' and 'foreign' uploads.
584  'licensemessages' => [
585  // The 'local' messages are used for local uploads on this wiki:
586  // * upload-form-label-own-work-message-generic-local
587  // * upload-form-label-not-own-work-message-generic-local
588  // * upload-form-label-not-own-work-local-generic-local
589  'local' => 'generic-local',
590  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
591  // * upload-form-label-own-work-message-generic-foreign
592  // * upload-form-label-not-own-work-message-generic-foreign
593  // * upload-form-label-not-own-work-local-generic-foreign
594  'foreign' => 'generic-foreign',
595  ],
596  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
597  // string value, in which case it is used for both kinds of uploads. Available replacements:
598  // * $HOST - domain name from which a cross-wiki upload originates
599  // * $PAGENAME - wiki page name from which an upload originates
600  'comment' => [
601  'local' => '',
602  'foreign' => '',
603  ],
604  // Format of the file page wikitext to be generated from the fields input by the user.
605  'format' => [
606  // Wrapper for the whole page. Available replacements:
607  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
608  // enabled), wrapped as defined below in the 'description' key
609  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
610  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
611  // * $AUTHOR - linked user name, may be extended in the future
612  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
613  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
614  // field is enabled), or if no input, as defined below in the 'uncategorized' key
615  'filepage' => '$DESCRIPTION',
616  // Wrapped for file description. Available replacements:
617  // * $LANGUAGE - source wiki's content language
618  // * $TEXT - input by the user
619  'description' => '$TEXT',
620  'ownwork' => '',
621  'license' => '',
622  'uncategorized' => '',
623  ],
624 ];
625 
663 
679 
691 $wgShowEXIF = function_exists( 'exif_read_data' );
692 
699 
714 
719 
724 
729 
735 
740 
746 
753 
760 
767 
773 
785 
802 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB
803 
811 
823 
830 
843 
848 
863 
870 
879 $wgRepositoryBaseUrl = "https://commons.wikimedia.org/wiki/File:";
880 
889 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
890 
897  # HTML may contain cookie-stealing JavaScript and web bugs
898  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
899  # PHP scripts may execute arbitrary code on the server
900  'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
901  # Other types that may be interpreted by some servers
902  'shtml', 'jhtml', 'pl', 'py', 'cgi',
903  # May contain harmful executables for Windows victims
904  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ];
905 
911  # HTML may contain cookie-stealing JavaScript and web bugs
912  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
913  # PHP scripts may execute arbitrary code on the server
914  'application/x-php', 'text/x-php',
915  # Other types that may be interpreted by some servers
916  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
917  # Client-side hazards on Internet Explorer
918  'text/scriptlet', 'application/x-msdownload',
919  # Windows metafile, client-side vulnerability on some systems
920  'application/x-msmetafile',
921 ];
922 
929 
936 
944 
952 
957 
969  MEDIATYPE_BITMAP, // all bitmap formats
970  MEDIATYPE_AUDIO, // all audio formats
971  MEDIATYPE_VIDEO, // all plain video formats
972  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
973  "application/pdf", // PDF files
974  # "application/x-shockwave-flash", //flash/shockwave movie
975 ];
976 
985 
991  'image/jpeg' => 'MockBitmapHandler',
992  'image/png' => 'MockBitmapHandler',
993  'image/gif' => 'MockBitmapHandler',
994  'image/tiff' => 'MockBitmapHandler',
995  'image/webp' => 'MockBitmapHandler',
996  'image/x-ms-bmp' => 'MockBitmapHandler',
997  'image/x-bmp' => 'MockBitmapHandler',
998  'image/x-xcf' => 'MockBitmapHandler',
999  'image/svg+xml' => 'MockSvgHandler',
1000  'image/vnd.djvu' => 'MockDjVuHandler',
1001 ];
1002 
1011  // the usual case
1013  // dumb version, no syntax highlighting
1015  // simple implementation, for use by extensions, etc.
1017  // dumb version, no syntax highlighting
1019  // plain text, for use by extensions, etc.
1021 ];
1022 
1029 
1039 
1043 $wgImageMagickConvertCommand = '/usr/bin/convert';
1044 
1050 
1055 
1060 
1066 
1080 
1086 $wgJpegTran = '/usr/bin/jpegtran';
1087 
1108 
1113 $wgExiv2Command = '/usr/bin/exiv2';
1114 
1120 $wgExiftool = '/usr/bin/exiftool';
1121 
1132  'ImageMagick' =>
1133  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1134  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1135  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1136  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1137  . '$output $input',
1138  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1139  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1140  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1141 ];
1142 
1146 $wgSVGConverter = 'ImageMagick';
1147 
1152 
1157 
1163 
1176 
1191 
1199 
1214 
1221 $wgThumbnailEpoch = '20030516000000';
1222 
1230 
1243 
1252 
1257 
1264 
1271 
1307 
1308  # setup for clamav
1309  'clamav' => [
1310  'command' => 'clamscan --no-summary ',
1311  'codemap' => [
1312  "0" => AV_NO_VIRUS, # no virus
1313  "1" => AV_VIRUS_FOUND, # virus found
1314  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1315  "*" => AV_SCAN_FAILED, # else scan failed
1316  ],
1317  'messagepattern' => '/.*?:(.*)/sim',
1318  ],
1319 ];
1320 
1325 
1330 
1336 $wgMimeTypeFile = 'includes/mime.types';
1337 
1342 $wgMimeInfoFile = 'includes/mime.info';
1343 
1356 
1363 
1369  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1370  'svg' => 'image/svg+xml',
1371  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1372  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1373  'html' => 'text/html', // application/xhtml+xml?
1374 ];
1375 
1385  [ 320, 240 ],
1386  [ 640, 480 ],
1387  [ 800, 600 ],
1388  [ 1024, 768 ],
1389  [ 1280, 1024 ]
1390 ];
1391 
1398  120,
1399  150,
1400  180,
1401  200,
1402  250,
1403  300
1404 ];
1405 
1416 
1433 
1445 
1458 
1465 
1473 
1481 
1497 
1504 
1509 
1521 
1533 
1540 
1546 $wgDjvuTxt = null;
1547 
1563 
1569 $wgDjvuPostProcessor = 'pnmtojpeg';
1570 
1575  # end of DJvu }
1577  # end of file uploads }
1579 
1580 /************************************************************************/
1591 
1600 
1606 $wgPasswordSenderName = 'MediaWiki Mail';
1607 
1614 
1621 
1627 
1634 
1645 
1651 
1655 $wgNewPasswordExpiry = 3600 * 24 * 7;
1656 
1661 
1667 
1672 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1673 
1691 $wgSMTP = false;
1692 
1697 
1703 
1709 
1710 // TODO move UPO to preferences probably ?
1711 # If set to true, users get a corresponding option in their preferences and can choose to
1712 # enable or disable at their discretion
1713 # If set to false, the corresponding input form on the user preference page is suppressed
1714 # It call this to be a "user-preferences-option (UPO)"
1715 
1722 
1727 
1736 
1742 
1757 
1766 
1772 
1777 
1783  # end of email settings
1785 
1786 /************************************************************************/
1794 $wgDBserver = 'localhost';
1795 
1799 $wgDBport = 5432;
1800 
1804 $wgDBname = 'my_wiki';
1805 
1809 $wgDBuser = 'wikiuser';
1810 
1815 
1819 $wgDBtype = 'mysql';
1820 
1829 $wgDBssl = false;
1830 
1840 
1845 
1850 
1858 
1867 
1872 
1876 $wgDBTableOptions = 'ENGINE=InnoDB';
1877 
1885 
1890 
1895 
1922 
1927 
1931 $wgSharedTables = [ 'user', 'user_properties' ];
1932 
1938 
1995 
2007 
2015 
2020 
2040 
2059 $wgDBmysql5 = false;
2060 
2088 
2095 
2102 
2107 
2112  # End of DB settings }
2114 
2115 /************************************************************************/
2127 
2140 
2156 
2172 
2180  # end text storage }
2182 
2183 /************************************************************************/
2192 
2197 
2202 
2207 
2212 
2217 
2222 
2228 
2236  # end performance hacks }
2238 
2239 /************************************************************************/
2253 
2272 
2280 
2288 
2295 
2305 
2320  CACHE_NONE => [ 'class' => EmptyBagOStuff::class, 'reportDupes' => false ],
2321  CACHE_DB => [ 'class' => SqlBagOStuff::class, 'loggroup' => 'SQLBagOStuff' ],
2322 
2323  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2324  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2325  CACHE_MEMCACHED => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2326 
2327  'db-replicated' => [
2328  'class' => ReplicatedBagOStuff::class,
2329  'readFactory' => [
2330  'class' => SqlBagOStuff::class,
2331  'args' => [ [ 'slaveOnly' => true ] ]
2332  ],
2333  'writeFactory' => [
2334  'class' => SqlBagOStuff::class,
2335  'args' => [ [ 'slaveOnly' => false ] ]
2336  ],
2337  'loggroup' => 'SQLBagOStuff',
2338  'reportDupes' => false
2339  ],
2340 
2341  'apc' => [ 'class' => APCBagOStuff::class, 'reportDupes' => false ],
2342  'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2343  'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ],
2344  'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2345  'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ],
2346  'hash' => [ 'class' => HashBagOStuff::class, 'reportDupes' => false ],
2347 ];
2348 
2365 
2382  CACHE_NONE => [
2383  'class' => WANObjectCache::class,
2384  'cacheId' => CACHE_NONE,
2385  'channels' => []
2386  ]
2387  /* Example of a simple single data-center cache:
2388  'memcached-php' => [
2389  'class' => WANObjectCache::class,
2390  'cacheId' => 'memcached-php',
2391  'channels' => [ 'purge' => 'wancache-main-memcached-purge' ]
2392  ]
2393  */
2394 ];
2395 
2408 
2423 $wgMainStash = 'db-replicated';
2424 
2430 
2435 
2440 
2445 
2463 
2470 
2475 
2479 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2480 
2486 
2491 
2504 
2512 
2536  'class' => LocalisationCache::class,
2537  'store' => 'detect',
2538  'storeClass' => false,
2539  'storeDirectory' => false,
2540  'manualRecache' => false,
2541 ];
2542 
2547 
2556 $wgCacheEpoch = '20030516000000';
2557 
2563 
2574 
2581 
2589 
2595 
2601 
2612 
2617 
2624 $wgUseGzip = false;
2625 
2633 
2644 
2661  # end of cache settings
2663 
2664 /************************************************************************/
2681 $wgUseSquid = false;
2682 
2686 $wgUseESI = false;
2687 
2694 
2704 
2714 
2723 
2730 
2746 
2753 
2760 
2770 
2778 
2799 
2852 
2858 
2863  # end of HTTP proxy settings
2865 
2866 /************************************************************************/
2888 
2894 
2905 
2910 
2915 
2930 
2935 
2950  'bh' => 'bho', // Bihari language family
2951  'no' => 'nb', // Norwegian language family
2952  'simple' => 'en', // Simple English
2953 ];
2954 
2962 
2972 
2983 
2995 
3007 
3012 
3026 
3032 
3038 
3044 
3049 
3054 
3059 
3064 
3069 
3075 
3086 
3105 
3112 
3133 
3158 
3169  # End of language/charset settings
3171 
3172 /*************************************************************************/
3180 $wgMimeType = 'text/html';
3181 
3190 
3199 
3207 $wgHtml5 = true;
3208 
3218 
3227 
3235 
3244 
3260 
3269 
3274 
3279 $wgDefaultSkin = 'vector';
3280 
3286 $wgFallbackSkin = 'fallback';
3287 
3294 
3299 
3306 
3313 
3321 
3326 
3331 
3337 
3358 
3370 
3375 
3384 
3415 $wgFragmentMode = [ 'legacy', 'html5' ];
3416 
3426 
3458  "copyright" => [
3459  "copyright" => [], // placeholder for the built in copyright icon
3460  ],
3461  "poweredby" => [
3462  "mediawiki" => [
3463  // Defaults to point at
3464  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3465  // plus srcset for 1.5x, 2x resolution variants.
3466  "src" => null,
3467  "url" => "//www.mediawiki.org/",
3468  "alt" => "Powered by MediaWiki",
3469  ]
3470  ],
3471 ];
3472 
3480 
3484 $wgEdititis = false;
3485 
3498 
3509 
3517 
3527  # End of output format settings }
3529 
3530 /*************************************************************************/
3553 
3643 
3655 
3661 
3679  'versioned' => [
3680  'server' => 30 * 24 * 60 * 60, // 30 days
3681  'client' => 30 * 24 * 60 * 60, // 30 days
3682  ],
3683  'unversioned' => [
3684  'server' => 5 * 60, // 5 minutes
3685  'client' => 5 * 60, // 5 minutes
3686  ],
3687 ];
3688 
3695 
3702 
3729 
3744 
3753 
3763 
3793  'deviceWidthTablet' => '720px',
3794 ];
3795 
3810  "$IP/resources/src/mediawiki.less/",
3811 ];
3812 
3818 
3826 
3839  # End of ResourceLoader settings }
3841 
3842 /*************************************************************************/
3852 
3861 
3889 
3897 
3917 
3942 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
3943 
3950 
3960 
3965 
3990 
3998 
4003  # end of Interwiki caching settings.
4005 
4014 $wgSitesCacheFile = false;
4015  # end of SiteStore caching settings.
4017 
4033 $wgRedirectSources = false;
4034 
4043 
4059 
4065  NS_TALK => true,
4066  NS_USER => true,
4067  NS_USER_TALK => true,
4068  NS_PROJECT => true,
4069  NS_PROJECT_TALK => true,
4070  NS_FILE_TALK => true,
4071  NS_MEDIAWIKI => true,
4072  NS_MEDIAWIKI_TALK => true,
4073  NS_TEMPLATE => true,
4074  NS_TEMPLATE_TALK => true,
4075  NS_HELP => true,
4076  NS_HELP_TALK => true,
4078 ];
4079 
4096 
4104 
4112 
4121 
4128 
4139 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4140  # End of title and interwiki settings }
4142 
4143 /************************************************************************/
4171  'class' => Parser::class,
4172  # 'preprocessorClass' => Preprocessor_Hash::class,
4173 ];
4174 
4179 
4185 
4196 
4204 
4209 
4221  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4222  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4223  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4224  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4225 ];
4226 
4231 
4236 
4250 
4261 
4271 
4297 $wgTidyConfig = [ 'driver' => 'RemexHtml' ];
4298 
4303 $wgUseTidy = false;
4304 
4309 $wgTidyBin = 'tidy';
4310 
4315 $wgTidyConf = $IP . '/includes/tidy/tidy.conf';
4316 
4322 
4327 $wgTidyInternal = extension_loaded( 'tidy' );
4328 
4334 
4340 $wgRawHtml = false;
4341 
4352 
4360 
4366 
4380 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4381 
4386 
4393 
4399 
4405 
4410 
4416 
4424  'ISBN' => false,
4425  'PMID' => false,
4426  'RFC' => false
4427 ];
4428  # end of parser settings }
4430 
4431 /************************************************************************/
4453 
4462  # End of statistics }
4464 
4465 /************************************************************************/
4476  'local' => [ 'class' => LocalIdLookup::class ],
4477 ];
4478 
4484 
4510  'policies' => [
4511  'bureaucrat' => [
4512  'MinimalPasswordLength' => 8,
4513  'MinimumPasswordLengthToLogin' => 1,
4514  'PasswordCannotMatchUsername' => true,
4515  'PasswordCannotBePopular' => 25,
4516  ],
4517  'sysop' => [
4518  'MinimalPasswordLength' => 8,
4519  'MinimumPasswordLengthToLogin' => 1,
4520  'PasswordCannotMatchUsername' => true,
4521  'PasswordCannotBePopular' => 25,
4522  ],
4523  'bot' => [
4524  'MinimalPasswordLength' => 8,
4525  'MinimumPasswordLengthToLogin' => 1,
4526  'PasswordCannotMatchUsername' => true,
4527  ],
4528  'default' => [
4529  'MinimalPasswordLength' => 1,
4530  'PasswordCannotMatchUsername' => true,
4531  'PasswordCannotMatchBlacklist' => true,
4532  'MaximalPasswordLength' => 4096,
4533  ],
4534  ],
4535  'checks' => [
4536  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4537  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4538  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4539  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4540  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4541  'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4542  ],
4543 ];
4544 
4565 
4571  'preauth' => [
4574  'sort' => 0,
4575  ],
4578  'sort' => 0,
4579  ],
4580  ],
4581  'primaryauth' => [
4582  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4583  // any other PasswordAuthenticationRequest-based
4584  // PrimaryAuthenticationProvider (or at least any that might return
4585  // FAIL rather than ABSTAIN for a wrong password), or password reset
4586  // won't work right. Do not remove this (or change the key) or
4587  // auto-configuration of other such providers in extensions will
4588  // probably auto-insert themselves in the wrong place.
4591  'args' => [ [
4592  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4593  'authoritative' => false,
4594  ] ],
4595  'sort' => 0,
4596  ],
4599  'args' => [ [
4600  // Last one should be authoritative, or else the user will get
4601  // a less-than-helpful error message (something like "supplied
4602  // authentication info not supported" rather than "wrong
4603  // password") if it too fails.
4604  'authoritative' => true,
4605  ] ],
4606  'sort' => 100,
4607  ],
4608  ],
4609  'secondaryauth' => [
4612  'sort' => 0,
4613  ],
4616  'sort' => 100,
4617  ],
4618  // Linking during login is experimental, enable at your own risk - T134952
4619  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4620  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4621  // 'sort' => 100,
4622  // ],
4625  'sort' => 200,
4626  ],
4627  ],
4628 ];
4629 
4669  'default' => 300,
4670 ];
4671 
4688  'default' => true,
4689 ];
4690 
4702 ];
4703 
4715 ];
4716 
4722 
4729 
4742 
4749 
4756 
4777  'A' => [
4778  'class' => MWOldPassword::class,
4779  ],
4780  'B' => [
4781  'class' => MWSaltedPassword::class,
4782  ],
4783  'pbkdf2-legacyA' => [
4785  'types' => [
4786  'A',
4787  'pbkdf2',
4788  ],
4789  ],
4790  'pbkdf2-legacyB' => [
4792  'types' => [
4793  'B',
4794  'pbkdf2',
4795  ],
4796  ],
4797  'bcrypt' => [
4798  'class' => BcryptPassword::class,
4799  'cost' => 9,
4800  ],
4801  'pbkdf2' => [
4802  'class' => Pbkdf2Password::class,
4803  'algo' => 'sha512',
4804  'cost' => '30000',
4805  'length' => '64',
4806  ],
4807 ];
4808 
4816  'username' => true,
4817  'email' => true,
4818 ];
4819 
4824 
4830 
4836  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
4837  'Conversion script', // Used for the old Wikipedia software upgrade
4838  'Maintenance script', // Maintenance scripts which perform editing, image import script
4839  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
4840  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
4841  'Unknown user', // Used in WikiImporter when importing revisions with no author
4842  'msg:double-redirect-fixer', // Automatic double redirect fix
4843  'msg:usermessage-editor', // Default user for leaving user messages
4844  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
4845  'msg:sorbs', // For $wgEnableDnsBlacklist etc.
4846  'msg:spambot_username', // Used by cleanupSpam.php
4847  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
4848 ];
4849 
4857  'ccmeonemails' => 0,
4858  'cols' => 80, // @deprecated since 1.29 No longer used in core
4859  'date' => 'default',
4860  'diffonly' => 0,
4861  'disablemail' => 0,
4862  'editfont' => 'monospace',
4863  'editondblclick' => 0,
4864  'editsectiononrightclick' => 0,
4865  'email-allow-new-users' => 1,
4866  'enotifminoredits' => 0,
4867  'enotifrevealaddr' => 0,
4868  'enotifusertalkpages' => 1,
4869  'enotifwatchlistpages' => 1,
4870  'extendwatchlist' => 1,
4871  'fancysig' => 0,
4872  'forceeditsummary' => 0,
4873  'gender' => 'unknown',
4874  'hideminor' => 0,
4875  'hidepatrolled' => 0,
4876  'hidecategorization' => 1,
4877  'imagesize' => 2,
4878  'minordefault' => 0,
4879  'newpageshidepatrolled' => 0,
4880  'nickname' => '',
4881  'norollbackdiff' => 0,
4882  'numberheadings' => 0,
4883  'previewonfirst' => 0,
4884  'previewontop' => 1,
4885  'rcdays' => 7,
4886  'rcenhancedfilters' => 0,
4887  'rcenhancedfilters-disable' => 0,
4888  'rclimit' => 50,
4889  'rows' => 25, // @deprecated since 1.29 No longer used in core
4890  'showhiddencats' => 0,
4891  'shownumberswatching' => 1,
4892  'showtoolbar' => 1,
4893  'skin' => false,
4894  'stubthreshold' => 0,
4895  'thumbsize' => 5,
4896  'underline' => 2,
4897  'uselivepreview' => 0,
4898  'usenewrc' => 1,
4899  'watchcreations' => 1,
4900  'watchdefault' => 1,
4901  'watchdeletion' => 0,
4902  'watchuploads' => 1,
4903  'watchlistdays' => 3.0,
4904  'watchlisthideanons' => 0,
4905  'watchlisthidebots' => 0,
4906  'watchlisthideliu' => 0,
4907  'watchlisthideminor' => 0,
4908  'watchlisthideown' => 0,
4909  'watchlisthidepatrolled' => 0,
4910  'watchlisthidecategorization' => 1,
4911  'watchlistreloadautomatically' => 0,
4912  'watchlistunwatchlinks' => 0,
4913  'watchmoves' => 0,
4914  'watchrollback' => 0,
4915  'wllimit' => 250,
4916  'useeditwarning' => 1,
4917  'prefershttps' => 1,
4918 ];
4919 
4924 
4931 
4942 
4950 
4962 
4974  'args' => [ [
4975  'priority' => 30,
4976  'callUserSetCookiesHook' => true,
4977  ] ],
4978  ],
4981  'args' => [ [
4982  'priority' => 75,
4983  ] ],
4984  ],
4985 ];
4986  # end user accounts }
4988 
4989 /************************************************************************/
4998 
5003 
5008 
5024  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5025  'IPv6' => 19,
5026 ];
5027 
5036 
5058 
5086 
5092 
5098 
5124 
5126 // Implicit group for all visitors
5127 $wgGroupPermissions['*']['createaccount'] = true;
5128 $wgGroupPermissions['*']['read'] = true;
5129 $wgGroupPermissions['*']['edit'] = true;
5130 $wgGroupPermissions['*']['createpage'] = true;
5131 $wgGroupPermissions['*']['createtalk'] = true;
5132 $wgGroupPermissions['*']['writeapi'] = true;
5133 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5134 $wgGroupPermissions['*']['editmywatchlist'] = true;
5135 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5136 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5137 $wgGroupPermissions['*']['editmyoptions'] = true;
5138 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5139 
5140 // Implicit group for all logged-in accounts
5141 $wgGroupPermissions['user']['move'] = true;
5142 $wgGroupPermissions['user']['move-subpages'] = true;
5143 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5144 $wgGroupPermissions['user']['move-categorypages'] = true;
5145 $wgGroupPermissions['user']['movefile'] = true;
5146 $wgGroupPermissions['user']['read'] = true;
5147 $wgGroupPermissions['user']['edit'] = true;
5148 $wgGroupPermissions['user']['createpage'] = true;
5149 $wgGroupPermissions['user']['createtalk'] = true;
5150 $wgGroupPermissions['user']['writeapi'] = true;
5151 $wgGroupPermissions['user']['upload'] = true;
5152 $wgGroupPermissions['user']['reupload'] = true;
5153 $wgGroupPermissions['user']['reupload-shared'] = true;
5154 $wgGroupPermissions['user']['minoredit'] = true;
5155 $wgGroupPermissions['user']['editmyusercss'] = true;
5156 $wgGroupPermissions['user']['editmyuserjson'] = true;
5157 $wgGroupPermissions['user']['editmyuserjs'] = true;
5158 $wgGroupPermissions['user']['purge'] = true;
5159 $wgGroupPermissions['user']['sendemail'] = true;
5160 $wgGroupPermissions['user']['applychangetags'] = true;
5161 $wgGroupPermissions['user']['changetags'] = true;
5162 $wgGroupPermissions['user']['editcontentmodel'] = true;
5163 
5164 // Implicit group for accounts that pass $wgAutoConfirmAge
5165 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5166 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5167 
5168 // Users with bot privilege can have their edits hidden
5169 // from various log pages by default
5170 $wgGroupPermissions['bot']['bot'] = true;
5171 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5172 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5173 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5174 $wgGroupPermissions['bot']['autopatrol'] = true;
5175 $wgGroupPermissions['bot']['suppressredirect'] = true;
5176 $wgGroupPermissions['bot']['apihighlimits'] = true;
5177 $wgGroupPermissions['bot']['writeapi'] = true;
5178 
5179 // Most extra permission abilities go to this group
5180 $wgGroupPermissions['sysop']['block'] = true;
5181 $wgGroupPermissions['sysop']['createaccount'] = true;
5182 $wgGroupPermissions['sysop']['delete'] = true;
5183 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5184 $wgGroupPermissions['sysop']['bigdelete'] = true;
5185 // can view deleted history entries, but not see or restore the text
5186 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5187 // can view deleted revision text
5188 $wgGroupPermissions['sysop']['deletedtext'] = true;
5189 $wgGroupPermissions['sysop']['undelete'] = true;
5190 $wgGroupPermissions['sysop']['editinterface'] = true;
5191 $wgGroupPermissions['sysop']['editusercss'] = true;
5192 $wgGroupPermissions['sysop']['edituserjson'] = true;
5193 $wgGroupPermissions['sysop']['edituserjs'] = true;
5194 $wgGroupPermissions['sysop']['import'] = true;
5195 $wgGroupPermissions['sysop']['importupload'] = true;
5196 $wgGroupPermissions['sysop']['move'] = true;
5197 $wgGroupPermissions['sysop']['move-subpages'] = true;
5198 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5199 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5200 $wgGroupPermissions['sysop']['patrol'] = true;
5201 $wgGroupPermissions['sysop']['autopatrol'] = true;
5202 $wgGroupPermissions['sysop']['protect'] = true;
5203 $wgGroupPermissions['sysop']['editprotected'] = true;
5204 $wgGroupPermissions['sysop']['rollback'] = true;
5205 $wgGroupPermissions['sysop']['upload'] = true;
5206 $wgGroupPermissions['sysop']['reupload'] = true;
5207 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5208 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5209 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5210 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5211 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5212 $wgGroupPermissions['sysop']['blockemail'] = true;
5213 $wgGroupPermissions['sysop']['markbotedits'] = true;
5214 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5215 $wgGroupPermissions['sysop']['browsearchive'] = true;
5216 $wgGroupPermissions['sysop']['noratelimit'] = true;
5217 $wgGroupPermissions['sysop']['movefile'] = true;
5218 $wgGroupPermissions['sysop']['unblockself'] = true;
5219 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5220 # $wgGroupPermissions['sysop']['pagelang'] = true;
5221 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5222 $wgGroupPermissions['sysop']['mergehistory'] = true;
5223 $wgGroupPermissions['sysop']['managechangetags'] = true;
5224 $wgGroupPermissions['sysop']['deletechangetags'] = true;
5225 
5226 // Permission to change users' group assignments
5227 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5228 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5229 // Permission to change users' groups assignments across wikis
5230 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5231 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5232 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5233 
5234 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5235 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5236 // To hide usernames from users and Sysops
5237 # $wgGroupPermissions['suppress']['hideuser'] = true;
5238 // To hide revisions/log items from users and Sysops
5239 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5240 // To view revisions/log items hidden from users and Sysops
5241 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5242 // For private suppression log access
5243 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5244 
5251 # $wgGroupPermissions['developer']['siteadmin'] = true;
5252 
5265 
5269 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5270 
5293 
5298 
5306 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5307 
5319 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5320 
5331 
5345 
5354 
5365 
5387 
5398 
5457  'autoconfirmed' => [ '&',
5460  ],
5461 ];
5462 
5482  'onEdit' => [],
5483 ];
5484 
5490 
5514 
5519 
5525 
5531 
5540 
5563  'count' => 0,
5564  'seconds' => 86400,
5565 ] ];
5566 
5579 
5584 
5591 
5615 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
5616 
5622 
5631 
5638 
5678  // Page edits
5679  'edit' => [
5680  'ip' => [ 8, 60 ],
5681  'newbie' => [ 8, 60 ],
5682  'user' => [ 90, 60 ],
5683  ],
5684  // Page moves
5685  'move' => [
5686  'newbie' => [ 2, 120 ],
5687  'user' => [ 8, 60 ],
5688  ],
5689  // File uploads
5690  'upload' => [
5691  'ip' => [ 8, 60 ],
5692  'newbie' => [ 8, 60 ],
5693  ],
5694  // Page rollbacks
5695  'rollback' => [
5696  'user' => [ 10, 60 ],
5697  'newbie' => [ 5, 120 ]
5698  ],
5699  // Triggering password resets emails
5700  'mailpassword' => [
5701  'ip' => [ 5, 3600 ],
5702  ],
5703  // Emailing other users using MediaWiki
5704  'emailuser' => [
5705  'ip' => [ 5, 86400 ],
5706  'newbie' => [ 5, 86400 ],
5707  'user' => [ 20, 86400 ],
5708  ],
5709  'changeemail' => [
5710  'ip-all' => [ 10, 3600 ],
5711  'user' => [ 4, 86400 ]
5712  ],
5713  // Purging pages
5714  'purge' => [
5715  'ip' => [ 30, 60 ],
5716  'user' => [ 30, 60 ],
5717  ],
5718  // Purges of link tables
5719  'linkpurge' => [
5720  'ip' => [ 30, 60 ],
5721  'user' => [ 30, 60 ],
5722  ],
5723  // Files rendered via thumb.php or thumb_handler.php
5724  'renderfile' => [
5725  'ip' => [ 700, 30 ],
5726  'user' => [ 700, 30 ],
5727  ],
5728  // Same as above but for non-standard thumbnails
5729  'renderfile-nonstandard' => [
5730  'ip' => [ 70, 30 ],
5731  'user' => [ 70, 30 ],
5732  ],
5733  // Stashing edits into cache before save
5734  'stashedit' => [
5735  'ip' => [ 30, 60 ],
5736  'newbie' => [ 30, 60 ],
5737  ],
5738  // Adding or removing change tags
5739  'changetag' => [
5740  'ip' => [ 8, 60 ],
5741  'newbie' => [ 8, 60 ],
5742  ],
5743  // Changing the content model of a page
5744  'editcontentmodel' => [
5745  'newbie' => [ 2, 120 ],
5746  'user' => [ 8, 60 ],
5747  ],
5748 ];
5749 
5755 
5762 
5768 
5782  // Short term limit
5783  [ 'count' => 5, 'seconds' => 300 ],
5784  // Long term limit. We need to balance the risk
5785  // of somebody using this as a DoS attack to lock someone
5786  // out of their account, and someone doing a brute force attack.
5787  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
5788 ];
5789 
5801 
5802 // @TODO: clean up grants
5803 // @TODO: auto-include read/editsemiprotected rights?
5804 
5805 $wgGrantPermissions['basic']['autoconfirmed'] = true;
5806 $wgGrantPermissions['basic']['autopatrol'] = true;
5807 $wgGrantPermissions['basic']['editsemiprotected'] = true;
5808 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
5809 $wgGrantPermissions['basic']['nominornewtalk'] = true;
5810 $wgGrantPermissions['basic']['patrolmarks'] = true;
5811 $wgGrantPermissions['basic']['purge'] = true;
5812 $wgGrantPermissions['basic']['read'] = true;
5813 $wgGrantPermissions['basic']['skipcaptcha'] = true;
5814 $wgGrantPermissions['basic']['writeapi'] = true;
5815 
5816 $wgGrantPermissions['highvolume']['bot'] = true;
5817 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
5818 $wgGrantPermissions['highvolume']['noratelimit'] = true;
5819 $wgGrantPermissions['highvolume']['markbotedits'] = true;
5820 
5821 $wgGrantPermissions['editpage']['edit'] = true;
5822 $wgGrantPermissions['editpage']['minoredit'] = true;
5823 $wgGrantPermissions['editpage']['applychangetags'] = true;
5824 $wgGrantPermissions['editpage']['changetags'] = true;
5825 
5826 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
5827 $wgGrantPermissions['editprotected']['editprotected'] = true;
5828 
5829 // FIXME: Rename editmycssjs to editmyconfig
5830 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
5831 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
5832 $wgGrantPermissions['editmycssjs']['editmyuserjson'] = true;
5833 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
5834 
5835 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
5836 
5837 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
5838 $wgGrantPermissions['editinterface']['editinterface'] = true;
5839 $wgGrantPermissions['editinterface']['editusercss'] = true;
5840 $wgGrantPermissions['editinterface']['edituserjson'] = true;
5841 $wgGrantPermissions['editinterface']['edituserjs'] = true;
5842 
5843 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
5844 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
5845 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
5846 $wgGrantPermissions['createeditmovepage']['move'] = true;
5847 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
5848 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
5849 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
5850 
5851 $wgGrantPermissions['uploadfile']['upload'] = true;
5852 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
5853 
5854 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
5855 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
5856 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
5857 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
5858 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
5859 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
5860 
5861 $wgGrantPermissions['patrol']['patrol'] = true;
5862 
5863 $wgGrantPermissions['rollback']['rollback'] = true;
5864 
5865 $wgGrantPermissions['blockusers']['block'] = true;
5866 $wgGrantPermissions['blockusers']['blockemail'] = true;
5867 
5868 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
5869 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
5870 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
5871 
5872 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
5873 
5874 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
5875  $wgGrantPermissions['viewdeleted'];
5876 $wgGrantPermissions['delete']['delete'] = true;
5877 $wgGrantPermissions['delete']['bigdelete'] = true;
5878 $wgGrantPermissions['delete']['deletelogentry'] = true;
5879 $wgGrantPermissions['delete']['deleterevision'] = true;
5880 $wgGrantPermissions['delete']['undelete'] = true;
5881 
5882 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
5883 $wgGrantPermissions['protect']['protect'] = true;
5884 
5885 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
5886 
5887 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
5888 
5889 $wgGrantPermissions['sendemail']['sendemail'] = true;
5890 
5891 $wgGrantPermissions['createaccount']['createaccount'] = true;
5892 
5893 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
5894 
5900  // Hidden grants are implicitly present
5901  'basic' => 'hidden',
5902 
5903  'editpage' => 'page-interaction',
5904  'createeditmovepage' => 'page-interaction',
5905  'editprotected' => 'page-interaction',
5906  'patrol' => 'page-interaction',
5907 
5908  'uploadfile' => 'file-interaction',
5909  'uploadeditmovefile' => 'file-interaction',
5910 
5911  'sendemail' => 'email',
5912 
5913  'viewmywatchlist' => 'watchlist-interaction',
5914  'editviewmywatchlist' => 'watchlist-interaction',
5915 
5916  'editmycssjs' => 'customization',
5917  'editmyoptions' => 'customization',
5918 
5919  'editinterface' => 'administration',
5920  'rollback' => 'administration',
5921  'blockusers' => 'administration',
5922  'delete' => 'administration',
5923  'viewdeleted' => 'administration',
5924  'viewrestrictedlogs' => 'administration',
5925  'protect' => 'administration',
5926  'createaccount' => 'administration',
5927 
5928  'highvolume' => 'high-volume',
5929 
5930  'privateinfo' => 'private-information',
5931 ];
5932 
5938 
5945 
5955  # end of user rights settings
5957 
5958 /************************************************************************/
5967 
5978  # end of proxy scanner settings
5980 
5981 /************************************************************************/
5989 $wgCookieExpiration = 30 * 86400;
5990 
5998 
6004 
6010 
6021 $wgCookieSecure = 'detect';
6022 
6030 
6037 
6044 
6056 
6066 
6071 
6076 
6085  # end of cookie settings }
6087 
6088 /************************************************************************/
6099 $wgUseTeX = false;
6100  # end LaTeX }
6102 
6103 /************************************************************************/
6117 
6122 
6129 
6136 
6146 
6156 
6163  // HTTP GET/HEAD requests.
6164  // Master queries should not happen on GET requests
6165  'GET' => [
6166  'masterConns' => 0,
6167  'writes' => 0,
6168  'readQueryTime' => 5
6169  ],
6170  // HTTP POST requests.
6171  // Master reads and writes will happen for a subset of these.
6172  'POST' => [
6173  'readQueryTime' => 5,
6174  'writeQueryTime' => 1,
6175  'maxAffected' => 1000
6176  ],
6177  'POST-nonwrite' => [
6178  'masterConns' => 0,
6179  'writes' => 0,
6180  'readQueryTime' => 5
6181  ],
6182  // Deferred updates that run after HTTP response is sent for GET requests
6183  'PostSend-GET' => [
6184  'readQueryTime' => 5,
6185  'writeQueryTime' => 1,
6186  'maxAffected' => 1000,
6187  // Log master queries under the post-send entry point as they are discouraged
6188  'masterConns' => 0,
6189  'writes' => 0,
6190  ],
6191  // Deferred updates that run after HTTP response is sent for POST requests
6192  'PostSend-POST' => [
6193  'readQueryTime' => 5,
6194  'writeQueryTime' => 1,
6195  'maxAffected' => 1000
6196  ],
6197  // Background job runner
6198  'JobRunner' => [
6199  'readQueryTime' => 30,
6200  'writeQueryTime' => 5,
6201  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
6202  ],
6203  // Command-line scripts
6204  'Maintenance' => [
6205  'writeQueryTime' => 5,
6206  'maxAffected' => 1000
6207  ]
6208 ];
6209 
6241 
6265 ];
6266 
6273 
6279 
6284 
6289 
6296 
6304 
6314 
6319 
6325 
6330 
6337 
6343 
6350 
6356 
6364 
6376 
6385 
6393  'wanobjectcache:*' => 0.001
6394 ];
6395 
6402 
6410 
6425 
6430 
6436 
6445  # end of profiling, testing and debugging }
6447 
6448 /************************************************************************/
6457 
6463 
6468 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6469 
6481 
6491  'application/x-suggestions+json' => false,
6492  'application/x-suggestions+xml' => false,
6493 ];
6494 
6502 
6508 
6513 
6518 
6524 
6535  NS_MAIN => true,
6536 ];
6537 
6543 
6560 
6567 
6574 
6590 
6597  # end of search settings
6599 
6600 /************************************************************************/
6609 $wgDiff3 = '/usr/bin/diff3';
6610 
6614 $wgDiff = '/usr/bin/diff';
6615 
6622  NS_CATEGORY => true
6623 ];
6624 
6631 
6638  # end edit UI }
6640 
6641 /************************************************************************/
6651 if ( !isset( $wgCommandLineMode ) ) {
6652  $wgCommandLineMode = false;
6653 }
6660 
6670 
6677 
6686 
6697 
6701 $wgGitBin = '/usr/bin/git';
6702 
6717  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6718  'https://gerrit.wikimedia.org/g/%R/+/%H',
6719  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6720  'https://gerrit.wikimedia.org/g/%R/+/%H',
6721 ];
6722  # End of maintenance }
6724 
6725 /************************************************************************/
6735 $wgRCMaxAge = 90 * 24 * 3600;
6736 
6742 $wgWatchersMaxAge = 180 * 24 * 3600;
6743 
6751 
6760 
6765 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
6766 
6771 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
6772 
6827 
6834  'redis' => RedisPubSubFeedEngine::class,
6835  'udp' => UDPRCFeedEngine::class,
6836 ];
6837 
6850 
6860 
6872 
6879 
6886 
6895 
6906 
6910 $wgFeed = true;
6911 
6917 
6927 
6933 
6947 
6954  'rss' => RSSFeed::class,
6955  'atom' => AtomFeed::class,
6956 ];
6957 
6963 
6968 
6973 
6980 
6986 
6992 
6998 
7014  'mw-contentmodelchange' => true,
7015  'mw-new-redirect' => true,
7016  'mw-removed-redirect' => true,
7017  'mw-changed-redirect-target' => true,
7018  'mw-blank' => true,
7019  'mw-replace' => true,
7020  'mw-rollback' => true,
7021  'mw-undo' => true,
7022 ];
7023 
7032 
7058  'newpage' => [
7059  'letter' => 'newpageletter',
7060  'title' => 'recentchanges-label-newpage',
7061  'legend' => 'recentchanges-legend-newpage',
7062  'grouping' => 'any',
7063  ],
7064  'minor' => [
7065  'letter' => 'minoreditletter',
7066  'title' => 'recentchanges-label-minor',
7067  'legend' => 'recentchanges-legend-minor',
7068  'class' => 'minoredit',
7069  'grouping' => 'all',
7070  ],
7071  'bot' => [
7072  'letter' => 'boteditletter',
7073  'title' => 'recentchanges-label-bot',
7074  'legend' => 'recentchanges-legend-bot',
7075  'class' => 'botedit',
7076  'grouping' => 'all',
7077  ],
7078  'unpatrolled' => [
7079  'letter' => 'unpatrolledletter',
7080  'title' => 'recentchanges-label-unpatrolled',
7081  'legend' => 'recentchanges-legend-unpatrolled',
7082  'grouping' => 'any',
7083  ],
7084 ];
7085  # end RC/watchlist }
7087 
7088 /************************************************************************/
7101 
7108 
7116 
7121 
7126 
7135 
7141  # end of copyright and credits settings }
7143 
7144 /************************************************************************/
7172 
7181 
7188 
7195 
7200 
7213 
7218 
7223 
7231  # end of import/export }
7233 
7234 /*************************************************************************/
7244 
7272 
7299 
7306 
7322 
7327 
7337 
7345 
7350 
7357 
7411 
7417 $wgAuth = null;
7418 
7454 
7467  __DIR__ . '/ServiceWiring.php'
7468 ];
7469 
7477  'refreshLinks' => RefreshLinksJob::class,
7478  'deleteLinks' => DeleteLinksJob::class,
7479  'htmlCacheUpdate' => HTMLCacheUpdateJob::class,
7480  'sendMail' => EmaillingJob::class,
7481  'enotifNotify' => EnotifNotifyJob::class,
7482  'fixDoubleRedirect' => DoubleRedirectJob::class,
7483  'AssembleUploadChunks' => AssembleUploadChunksJob::class,
7484  'PublishStashedFile' => PublishStashedFileJob::class,
7485  'ThumbnailRender' => ThumbnailRenderJob::class,
7486  'recentChangesUpdate' => RecentChangesUpdateJob::class,
7487  'refreshLinksPrioritized' => RefreshLinksJob::class,
7488  'refreshLinksDynamic' => RefreshLinksJob::class,
7489  'activityUpdateJob' => ActivityUpdateJob::class,
7490  'categoryMembershipChange' => CategoryMembershipChangeJob::class,
7491  'clearUserWatchlist' => ClearUserWatchlistJob::class,
7492  'cdnPurge' => CdnPurgeJob::class,
7493  'userGroupExpiry' => UserGroupExpiryJob::class,
7494  'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class,
7495  'enqueue' => EnqueueJob::class, // local queue for multi-DC setups
7496  'null' => NullJob::class,
7497 ];
7498 
7510 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7511 
7522 
7537 
7545  'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
7546 ];
7547 
7554 ];
7555 
7568 
7574  'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
7575 ];
7576 
7585  'hiddencat' => 'categorylinks',
7586 ];
7587  # End extensions }
7589 
7590 /*************************************************************************/
7599 
7605 
7610 
7636 $wgCategoryCollation = 'uppercase';
7637  # End categories }
7639 
7640 /*************************************************************************/
7652  '',
7653  'block',
7654  'protect',
7655  'rights',
7656  'delete',
7657  'upload',
7658  'move',
7659  'import',
7660  'patrol',
7661  'merge',
7662  'suppress',
7663  'tag',
7664  'managetags',
7665  'contentmodel',
7666 ];
7667 
7676  'suppress' => 'suppressionlog'
7677 ];
7678 
7699  'patrol' => true,
7700  'tag' => true,
7701 ];
7702 
7713  '' => 'all-logs-page',
7714  'block' => 'blocklogpage',
7715  'protect' => 'protectlogpage',
7716  'rights' => 'rightslog',
7717  'delete' => 'dellogpage',
7718  'upload' => 'uploadlogpage',
7719  'move' => 'movelogpage',
7720  'import' => 'importlogpage',
7721  'patrol' => 'patrol-log-page',
7722  'merge' => 'mergelog',
7723  'suppress' => 'suppressionlog',
7724 ];
7725 
7736  '' => 'alllogstext',
7737  'block' => 'blocklogtext',
7738  'delete' => 'dellogpagetext',
7739  'import' => 'importlogpagetext',
7740  'merge' => 'mergelogpagetext',
7741  'move' => 'movelogpagetext',
7742  'patrol' => 'patrol-log-header',
7743  'protect' => 'protectlogtext',
7744  'rights' => 'rightslogtext',
7745  'suppress' => 'suppressionlogtext',
7746  'upload' => 'uploadlogpagetext',
7747 ];
7748 
7756 
7764  'block/block' => BlockLogFormatter::class,
7765  'block/reblock' => BlockLogFormatter::class,
7766  'block/unblock' => BlockLogFormatter::class,
7767  'contentmodel/change' => ContentModelLogFormatter::class,
7768  'contentmodel/new' => ContentModelLogFormatter::class,
7769  'delete/delete' => DeleteLogFormatter::class,
7770  'delete/delete_redir' => DeleteLogFormatter::class,
7771  'delete/event' => DeleteLogFormatter::class,
7772  'delete/restore' => DeleteLogFormatter::class,
7773  'delete/revision' => DeleteLogFormatter::class,
7774  'import/interwiki' => ImportLogFormatter::class,
7775  'import/upload' => ImportLogFormatter::class,
7776  'managetags/activate' => LogFormatter::class,
7777  'managetags/create' => LogFormatter::class,
7778  'managetags/deactivate' => LogFormatter::class,
7779  'managetags/delete' => LogFormatter::class,
7780  'merge/merge' => MergeLogFormatter::class,
7781  'move/move' => MoveLogFormatter::class,
7782  'move/move_redir' => MoveLogFormatter::class,
7783  'patrol/patrol' => PatrolLogFormatter::class,
7784  'patrol/autopatrol' => PatrolLogFormatter::class,
7785  'protect/modify' => ProtectLogFormatter::class,
7786  'protect/move_prot' => ProtectLogFormatter::class,
7787  'protect/protect' => ProtectLogFormatter::class,
7788  'protect/unprotect' => ProtectLogFormatter::class,
7789  'rights/autopromote' => RightsLogFormatter::class,
7790  'rights/rights' => RightsLogFormatter::class,
7791  'suppress/block' => BlockLogFormatter::class,
7792  'suppress/delete' => DeleteLogFormatter::class,
7793  'suppress/event' => DeleteLogFormatter::class,
7794  'suppress/reblock' => BlockLogFormatter::class,
7795  'suppress/revision' => DeleteLogFormatter::class,
7796  'tag/update' => TagLogFormatter::class,
7797  'upload/overwrite' => UploadLogFormatter::class,
7798  'upload/revert' => UploadLogFormatter::class,
7799  'upload/upload' => UploadLogFormatter::class,
7800 ];
7801 
7811  'block' => [
7812  'block' => [ 'block' ],
7813  'reblock' => [ 'reblock' ],
7814  'unblock' => [ 'unblock' ],
7815  ],
7816  'contentmodel' => [
7817  'change' => [ 'change' ],
7818  'new' => [ 'new' ],
7819  ],
7820  'delete' => [
7821  'delete' => [ 'delete' ],
7822  'delete_redir' => [ 'delete_redir' ],
7823  'restore' => [ 'restore' ],
7824  'event' => [ 'event' ],
7825  'revision' => [ 'revision' ],
7826  ],
7827  'import' => [
7828  'interwiki' => [ 'interwiki' ],
7829  'upload' => [ 'upload' ],
7830  ],
7831  'managetags' => [
7832  'create' => [ 'create' ],
7833  'delete' => [ 'delete' ],
7834  'activate' => [ 'activate' ],
7835  'deactivate' => [ 'deactivate' ],
7836  ],
7837  'move' => [
7838  'move' => [ 'move' ],
7839  'move_redir' => [ 'move_redir' ],
7840  ],
7841  'newusers' => [
7842  'create' => [ 'create', 'newusers' ],
7843  'create2' => [ 'create2' ],
7844  'autocreate' => [ 'autocreate' ],
7845  'byemail' => [ 'byemail' ],
7846  ],
7847  'patrol' => [
7848  'patrol' => [ 'patrol' ],
7849  'autopatrol' => [ 'autopatrol' ],
7850  ],
7851  'protect' => [
7852  'protect' => [ 'protect' ],
7853  'modify' => [ 'modify' ],
7854  'unprotect' => [ 'unprotect' ],
7855  'move_prot' => [ 'move_prot' ],
7856  ],
7857  'rights' => [
7858  'rights' => [ 'rights' ],
7859  'autopromote' => [ 'autopromote' ],
7860  ],
7861  'suppress' => [
7862  'event' => [ 'event' ],
7863  'revision' => [ 'revision' ],
7864  'delete' => [ 'delete' ],
7865  'block' => [ 'block' ],
7866  'reblock' => [ 'reblock' ],
7867  ],
7868  'upload' => [
7869  'upload' => [ 'upload' ],
7870  'overwrite' => [ 'overwrite' ],
7871  ],
7872 ];
7873 
7878  # end logging }
7880 
7881 /*************************************************************************/
7890 
7896 
7902 
7908  # end special pages }
7910 
7911 /*************************************************************************/
7927  'credits' => true,
7928  'delete' => true,
7929  'edit' => true,
7930  'editchangetags' => SpecialPageAction::class,
7931  'history' => true,
7932  'info' => true,
7933  'markpatrolled' => true,
7934  'protect' => true,
7935  'purge' => true,
7936  'raw' => true,
7937  'render' => true,
7938  'revert' => true,
7939  'revisiondelete' => SpecialPageAction::class,
7940  'rollback' => true,
7941  'submit' => true,
7942  'unprotect' => true,
7943  'unwatch' => true,
7944  'view' => true,
7945  'watch' => true,
7946 ];
7947  # end actions }
7949 
7950 /*************************************************************************/
7961 $wgDefaultRobotPolicy = 'index,follow';
7962 
7978 
8006 
8018  # End robot policy }
8020 
8021 /************************************************************************/
8038 
8047 
8062 $wgDebugAPI = false;
8063 
8101 
8110 
8119 
8128 
8137 
8143 
8149 
8155 
8162 
8168 
8173 
8179  'MIMEsearch', // aiprop=mime
8180  'LinkSearch', // list=exturlusage
8181  'FileDuplicateSearch', // prop=duplicatefiles
8182 ];
8183 
8189 $wgUseAjax = true;
8190 
8197 
8202 
8207 
8213 
8235 
8242  # End AJAX and API }
8244 
8245 /************************************************************************/
8254 
8260 
8265 
8271 
8296 
8300 $wgPhpCli = '/usr/bin/php';
8301 
8336 $wgShellLocale = 'C.UTF-8';
8337 
8353  # End shell }
8355 
8356 /************************************************************************/
8366 
8372 
8377 
8382 
8397 
8403  # End HTTP client }
8405 
8406 /************************************************************************/
8418 
8427 
8432 
8437  # End job queue }
8439 
8440 /************************************************************************/
8452 
8466 
8476 
8482 
8488 
8493 
8499 
8505 
8539 
8544 
8554 
8566 
8581 
8593  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
8594  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
8595  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
8596 ];
8597 
8604  'mediawiki' => MediaWikiSite::class,
8605 ];
8606 
8613 
8621 
8629 
8638 
8648 
8655 $wgHKDFAlgorithm = 'sha256';
8656 
8664 
8703  'paths' => [],
8704  'modules' => [],
8705  'global' => [
8706  # Timeout in seconds
8707  'timeout' => 360,
8708  # 'domain' is set to $wgCanonicalServer in Setup.php
8709  'forwardCookies' => false,
8710  'HTTPProxy' => null
8711  ]
8712 ];
8713 
8722 
8734 $wgPopularPasswordFile = __DIR__ . '/../serialized/commonpasswords.cdb';
8735 
8736 /*
8737  * Max time (in seconds) a user-generated transaction can spend in writes.
8738  * If exceeded, the transaction is rolled back with an error instead of being committed.
8739  *
8740  * @var int|bool Disabled if false
8741  * @since 1.27
8742  */
8744 
8745 /*
8746  * Max time (in seconds) a job-generated transaction can spend in writes.
8747  * If exceeded, the transaction is rolled back with an error instead of being committed.
8748  *
8749  * @var int|bool Disabled if false
8750  * @since 1.30
8751  */
8753 
8774  'default' => [
8775  'class' => EventRelayerNull::class,
8776  ]
8777 ];
8778 
8796 $wgPingback = false;
8797 
8807  'https://3hub.co' => true,
8808  'https://morepro.info' => true,
8809  'https://p.ato.mx' => true,
8810  'https://s.ato.mx' => true,
8811  'https://adserver.adtech.de' => true,
8812  'https://ums.adtechus.com' => true,
8813  'https://cas.criteo.com' => true,
8814  'https://cat.nl.eu.criteo.com' => true,
8815  'https://atpixel.alephd.com' => true,
8816  'https://rtb.metrigo.com' => true,
8817  'https://d5p.de17a.com' => true,
8818  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
8819 ];
8820 
8829  'IPv4' => 16,
8830  'IPv6' => 32,
8831 ];
8832 
8849 
8868 
8875 
8882 
$wgSend404Code
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
Definition: DefaultSettings.php:3497
$wgProfileLimit
$wgProfileLimit
Only record profiling info for pages that took longer than this.
Definition: DefaultSettings.php:6355
$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:5364
$wgEventRelayerConfig
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
Definition: DefaultSettings.php:8773
$wgInterwikiScopes
$wgInterwikiScopes
Specify number of domains to check for messages.
Definition: DefaultSettings.php:3997
$wgActionFilteredLogs
$wgActionFilteredLogs
List of log types that can be filtered by action types.
Definition: DefaultSettings.php:7810
$wgHiddenPrefs
$wgHiddenPrefs
An array of preferences to not show for the user.
Definition: DefaultSettings.php:4923
$wgMemCachedServers
$wgMemCachedServers
The list of MemCached servers and port numbers.
Definition: DefaultSettings.php:2479
$wgAppleTouchIcon
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
Definition: DefaultSettings.php:323
AV_NO_VIRUS
const AV_NO_VIRUS
Definition: Defines.php:121
$wgDjvuTxt
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
Definition: DefaultSettings.php:1546
$wgLocalInterwiki
$wgLocalInterwiki
The interwiki prefix of the current wiki, or false if it doesn't have one.
Definition: DefaultSettings.php:3949
$wgJsMimeType
$wgJsMimeType
Previously used as content type in HTML script tags.
Definition: DefaultSettings.php:3189
$wgAdditionalMailParams
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
Definition: DefaultSettings.php:1696
$wgFeedLimit
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
Definition: DefaultSettings.php:6916
$wgDebugRedirects
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
Definition: DefaultSettings.php:6128
$wgRCLinkLimits
$wgRCLinkLimits
List of Limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:6765
$wgAllowJavaUploads
$wgAllowJavaUploads
Allow Java archive uploads.
Definition: DefaultSettings.php:928
$wgPhpCli
$wgPhpCli
Executable path of the PHP cli binary.
Definition: DefaultSettings.php:8300
CONTENT_MODEL_JSON
const CONTENT_MODEL_JSON
Definition: Defines.php:249
$wgActions
$wgActions
Array of allowed values for the "title=foo&action=<action>" parameter.
Definition: DefaultSettings.php:7926
$wgUpdateCompatibleMetadata
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
Definition: DefaultSettings.php:698
$wgUseAutomaticEditSummaries
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
Definition: DefaultSettings.php:6637
$wgAuthManagerConfig
$wgAuthManagerConfig
Configure AuthManager.
Definition: DefaultSettings.php:4564
$wgPingback
bool $wgPingback
Share data about this installation with MediaWiki developers.
Definition: DefaultSettings.php:8796
$wgSiteStatsAsyncFactor
$wgSiteStatsAsyncFactor
Set this to an integer to only do synchronous site_stats updates one every this many updates.
Definition: DefaultSettings.php:6409
$wgAPIListModules
$wgAPIListModules
API Query list module extensions.
Definition: DefaultSettings.php:8136
$wgUseTagFilter
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined in ...
Definition: DefaultSettings.php:6997
$wgProxyWhitelist
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
Definition: DefaultSettings.php:5621
$wgLocalVirtualHosts
$wgLocalVirtualHosts
Local virtual hosts.
Definition: DefaultSettings.php:8396
$wgSitemapNamespacesPriorities
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Definition: DefaultSettings.php:6589
$wgHTTPConnectTimeout
$wgHTTPConnectTimeout
Timeout for connections done internally (in seconds) Only works for curl.
Definition: DefaultSettings.php:8402
$wgNamespaceContentModels
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
Definition: DefaultSettings.php:8553
$wgMaxCredits
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
Definition: DefaultSettings.php:7134
$wgAPIMaxUncachedDiffs
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
Definition: DefaultSettings.php:8154
$wgChangeCredentialsBlacklist
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
Definition: DefaultSettings.php:4700
$wgProxyList
$wgProxyList
Big list of banned IP addresses.
Definition: DefaultSettings.php:5977
$wgThumbLimits
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
Definition: DefaultSettings.php:1397
$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:8806
$wgMaximalPasswordLength
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
Definition: DefaultSettings.php:4741
$wgIncludeLegacyJavaScript
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
Definition: DefaultSettings.php:3701
$wgShowSQLErrors
$wgShowSQLErrors
Whether to show "we're sorry, but there has been a database error" pages.
Definition: DefaultSettings.php:6295
$wgDBserver
$wgDBserver
Database host name or IP address.
Definition: DefaultSettings.php:1794
$wgFileBlacklist
$wgFileBlacklist
Files with these extensions will never be allowed as uploads.
Definition: DefaultSettings.php:896
$wgDisableHardRedirects
$wgDisableHardRedirects
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected f...
Definition: DefaultSettings.php:8475
NS_HELP
const NS_HELP
Definition: Defines.php:86
MEDIATYPE_AUDIO
const MEDIATYPE_AUDIO
Definition: defines.php:32
$wgBotPasswordsDatabase
string bool $wgBotPasswordsDatabase
Database name for the bot_passwords table.
Definition: DefaultSettings.php:5954
$wgRCLinkDays
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:6771
$wgMangleFlashPolicy
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
Definition: DefaultSettings.php:3526
$wgMimeType
$wgMimeType
The default Content-Type header.
Definition: DefaultSettings.php:3180
$wgMaxArticleSize
$wgMaxArticleSize
Maximum article size in kilobytes.
Definition: DefaultSettings.php:2221
$wgAPIModules
$wgAPIModules
API module extensions.
Definition: DefaultSettings.php:8100
$wgResourceLoaderMaxQueryLength
$wgResourceLoaderMaxQueryLength
If set to a positive number, ResourceLoader will not generate URLs whose query string is more than th...
Definition: DefaultSettings.php:3743
$wgProfileOnly
$wgProfileOnly
Don't put non-profiling info into log file.
Definition: DefaultSettings.php:6363
$wgExperimentalHtmlIds
$wgExperimentalHtmlIds
Abandoned experiment with HTML5-style ID escaping.
Definition: DefaultSettings.php:3383
$wgDisabledVariants
$wgDisabledVariants
Disabled variants array of language variant conversion.
Definition: DefaultSettings.php:3085
$wgSysopEmailBans
$wgSysopEmailBans
Allow sysops to ban users from accessing Emailuser.
Definition: DefaultSettings.php:5007
$wgFixDoubleRedirects
$wgFixDoubleRedirects
Fix double redirects after a page move.
Definition: DefaultSettings.php:8498
$wgNewPasswordExpiry
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
Definition: DefaultSettings.php:1655
$wgJobTypeConf
$wgJobTypeConf
Map of job types to configuration arrays.
Definition: DefaultSettings.php:7544
$wgExemptFromUserRobotsControl
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
Definition: DefaultSettings.php:8017
$wgHKDFAlgorithm
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:8655
$wgStyleSheetPath
$wgStyleSheetPath
The URL path to index.php.
Definition: DefaultSettings.php:222
$wgExternalStores
$wgExternalStores
External stores allow including content from non database sources following URL links.
Definition: DefaultSettings.php:2139
$wgResponsiveImages
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
Definition: DefaultSettings.php:1520
$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
Definition: DefaultSettings.php:2643
$wgAuthManagerAutoConfig
$wgAuthManagerAutoConfig
Definition: DefaultSettings.php:4570
$wgAjaxLicensePreview
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
Definition: DefaultSettings.php:8206
SiteConfiguration
This is a class for holding configuration settings, particularly for multi-wiki sites.
Definition: SiteConfiguration.php:124
$wgDebugRawPage
$wgDebugRawPage
If true, log debugging data from action=raw and load.php.
Definition: DefaultSettings.php:6135
$wgTmpDirectory
$wgTmpDirectory
The local filesystem path to a temporary directory.
Definition: DefaultSettings.php:359
$wgRightsText
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
Definition: DefaultSettings.php:7115
$wgEnotifMinorEdits
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
Definition: DefaultSettings.php:1756
$wgDBname
$wgDBname
Name of the database.
Definition: DefaultSettings.php:1804
$wgRevokePermissions
$wgRevokePermissions
Permission keys revoked from users in each group.
Definition: DefaultSettings.php:5264
$wgMaximumMovedPages
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
Definition: DefaultSettings.php:8492
AV_SCAN_FAILED
const AV_SCAN_FAILED
Definition: Defines.php:124
array
the array() calling protocol came about after MediaWiki 1.4rc1.
$wgHTMLFormAllowTableFormat
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
Definition: DefaultSettings.php:3226
$wgCopyUploadsDomains
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
Definition: DefaultSettings.php:759
$wgBlockAllowsUTEdit
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
Definition: DefaultSettings.php:5002
$wgEdititis
$wgEdititis
Display user edit counts in various prominent places.
Definition: DefaultSettings.php:3484
$wgSharedTables
$wgSharedTables
Definition: DefaultSettings.php:1931
$wgSharedSchema
$wgSharedSchema
Definition: DefaultSettings.php:1937
$wgExternalInterwikiFragmentMode
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
Definition: DefaultSettings.php:3425
$wgLegacyEncoding
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
Definition: DefaultSettings.php:3006
$wgFeedCacheTimeout
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
Definition: DefaultSettings.php:6926
$wgJpegPixelFormat
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
Definition: DefaultSettings.php:1107
$wgShowUpdatedMarker
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
Definition: DefaultSettings.php:6985
$wgRedirectOnLogin
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
Definition: DefaultSettings.php:8504
NS_TEMPLATE_TALK
const NS_TEMPLATE_TALK
Definition: Defines.php:85
$wgMimeInfoFile
$wgMimeInfoFile
Sets the MIME type info file to use by MimeMagic.php.
Definition: DefaultSettings.php:1342
$wgLogHeaders
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Definition: DefaultSettings.php:7735
$wgStatsdSamplingRates
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Definition: DefaultSettings.php:6392
$wgExiftool
$wgExiftool
Path to exiftool binary.
Definition: DefaultSettings.php:1120
$wgLegalTitleChars
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
Definition: DefaultSettings.php:3942
$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:7521
$wgDiff3
$wgDiff3
Path to the GNU diff3 utility.
Definition: DefaultSettings.php:6609
$wgExperiencedUserMemberSince
$wgExperiencedUserMemberSince
Name of the external diff engine to use.
Definition: DefaultSettings.php:8848
$wgPasswordDefault
$wgPasswordDefault
Default password type to use when hashing user passwords.
Definition: DefaultSettings.php:4755
$wgSearchTypeAlternatives
$wgSearchTypeAlternatives
Alternative search types Sometimes you want to support multiple search engines for testing.
Definition: DefaultSettings.php:1866
$wgParserConf
$wgParserConf
Parser configuration.
Definition: DefaultSettings.php:4170
$wgUsersNotifiedOnAllChanges
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
Definition: DefaultSettings.php:1782
$wgWhitelistReadRegexp
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
Definition: DefaultSettings.php:5085
$wgMaxTemplateDepth
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Definition: DefaultSettings.php:4203
$wgSharpenParameter
$wgSharpenParameter
Sharpening parameter to ImageMagick.
Definition: DefaultSettings.php:1054
text
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
Definition: design.txt:18
$wgScript
$wgScript
The URL path to index.php.
Definition: DefaultSettings.php:206
$wgSessionsInObjectCache
$wgSessionsInObjectCache
Definition: DefaultSettings.php:2434
CACHE_NONE
const CACHE_NONE
Definition: Defines.php:112
$wgDBport
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
Definition: DefaultSettings.php:1799
$wgCookiePath
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
Definition: DefaultSettings.php:6009
$wgHTCPMulticastTTL
$wgHTCPMulticastTTL
HTCP multicast TTL.
Definition: DefaultSettings.php:2857
$wgDBtype
$wgDBtype
Database type.
Definition: DefaultSettings.php:1819
$wgCommentTableSchemaMigrationStage
int $wgCommentTableSchemaMigrationStage
Comment table schema migration stage.
Definition: DefaultSettings.php:8874
$wgDisableQueryPages
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
Definition: DefaultSettings.php:2196
$wgTranscludeCacheExpiry
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in transcache database table.
Definition: DefaultSettings.php:4415
$wgSharedDB
$wgSharedDB
Shared database for multiple wikis.
Definition: DefaultSettings.php:1921
$wgPasswordResetRoutes
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
Definition: DefaultSettings.php:4815
$wgSVGMaxSize
$wgSVGMaxSize
Don't scale a SVG larger than this.
Definition: DefaultSettings.php:1156
$wgHideInterlanguageLinks
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
Definition: DefaultSettings.php:2914
$wgRemoveCredentialsBlacklist
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
Definition: DefaultSettings.php:4713
$wgLocalFileRepo
$wgLocalFileRepo
File repository structures.
Definition: DefaultSettings.php:539
CONTENT_MODEL_CSS
const CONTENT_MODEL_CSS
Definition: Defines.php:247
$wgWANObjectCaches
$wgWANObjectCaches
Advanced WAN object cache configuration.
Definition: DefaultSettings.php:2381
$wgDjvuPostProcessor
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
Definition: DefaultSettings.php:1569
$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:3031
CACHE_MEMCACHED
const CACHE_MEMCACHED
Definition: Defines.php:114
$wgAutoblockExpiry
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
Definition: DefaultSettings.php:4997
$wgUploadMaintenance
$wgUploadMaintenance
To disable file delete/restore temporarily.
Definition: DefaultSettings.php:8543
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles
Extension messages files.
Definition: DefaultSettings.php:7271
$wgSessionInsecureSecrets
$wgSessionInsecureSecrets
If for some reason you can't install the PHP OpenSSL or mcrypt extensions, you can set this to true t...
Definition: DefaultSettings.php:8637
$wgShowCreditsIfMax
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
Definition: DefaultSettings.php:7140
$wgSoftBlockRanges
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
Definition: DefaultSettings.php:5630
$wgBotPasswordsCluster
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
Definition: DefaultSettings.php:5944
$wgNoFollowDomainExceptions
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
Definition: DefaultSettings.php:4380
$wgUseTwoButtonsSearchForm
$wgUseTwoButtonsSearchForm
Search form behavior.
Definition: DefaultSettings.php:6566
$wgCategoryMagicGallery
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
Definition: DefaultSettings.php:7604
$wgSpecialPageCacheUpdates
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
Definition: DefaultSettings.php:7573
MW_VERSION
const MW_VERSION
The running version of MediaWiki.
Definition: Defines.php:40
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition: DefaultSettings.php:7298
$wgShowHostnames
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
Definition: DefaultSettings.php:6329
$wgEmailAuthentication
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
Definition: DefaultSettings.php:1721
$wgSharedUploadDBprefix
$wgSharedUploadDBprefix
Optional table prefix used in database.
Definition: DefaultSettings.php:739
$wgDeprecationReleaseLimit
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
Definition: DefaultSettings.php:6349
$wgMaxUploadSize
$wgMaxUploadSize
Max size for uploads, in bytes.
Definition: DefaultSettings.php:802
$wgDebugAPI
$wgDebugAPI
Definition: DefaultSettings.php:8062
$wgUseMediaWikiUIEverywhere
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
Definition: DefaultSettings.php:3234
$wgDBmwschema
$wgDBmwschema
Mediawiki schema.
Definition: DefaultSettings.php:1889
$wgUseTeX
$wgUseTeX
To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package a...
Definition: DefaultSettings.php:6099
$wgDefaultUserOptions
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
Definition: DefaultSettings.php:4856
$wgExternalServers
$wgExternalServers
An array of external MySQL servers.
Definition: DefaultSettings.php:2155
$wgMessageCacheType
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
Definition: DefaultSettings.php:2279
$wgDBmysql5
$wgDBmysql5
Set to true to engage MySQL 4.1/5.0 charset-related features; for now will just cause sending of 'SET...
Definition: DefaultSettings.php:2059
$wgServiceWiringFiles
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Definition: DefaultSettings.php:7466
$wgMaxMsgCacheEntrySize
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
Definition: DefaultSettings.php:3053
CACHE_ACCEL
const CACHE_ACCEL
Definition: Defines.php:115
$wgAllowSecuritySensitiveOperationIfCannotReauthenticate
bool[] $wgAllowSecuritySensitiveOperationIfCannotReauthenticate
Whether to allow security-sensitive operations when re-authentication is not possible.
Definition: DefaultSettings.php:4687
$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:3025
$wgReferrerPolicy
array string bool $wgReferrerPolicy
Value for the referrer policy meta tag.
Definition: DefaultSettings.php:343
$wgGenerateThumbnailOnParse
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
Definition: DefaultSettings.php:1251
$wgDiff
$wgDiff
Path to the GNU diff utility.
Definition: DefaultSettings.php:6614
$wgJobQueueAggregator
$wgJobQueueAggregator
Which aggregator to use for tracking which queues have jobs.
Definition: DefaultSettings.php:7552
$wgFileExtensions
$wgFileExtensions
This is the list of preferred extensions for uploading files.
Definition: DefaultSettings.php:889
APCOND_EDITCOUNT
const APCOND_EDITCOUNT
Definition: Defines.php:215
$wgEnableUserEmail
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
Definition: DefaultSettings.php:1626
$wgEnotifRevealEditorAddress
$wgEnotifRevealEditorAddress
Set the Reply-to address in notifications to the editor's address, if user allowed this in the prefer...
Definition: DefaultSettings.php:1741
$wgUseSharedUploads
$wgUseSharedUploads
If you operate multiple wikis, you can define a shared upload path here.
Definition: DefaultSettings.php:713
$wgWantedPagesThreshold
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
Definition: DefaultSettings.php:2206
$wgDisableTitleConversion
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
Definition: DefaultSettings.php:3063
$wgUnwatchedPageSecret
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
Definition: DefaultSettings.php:6750
$wgResourceLoaderLESSImportPaths
$wgResourceLoaderLESSImportPaths
Default import paths for LESS modules.
Definition: DefaultSettings.php:3809
$wgHideIdentifiableRedirects
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
Definition: DefaultSettings.php:5097
$wgCopyUploadTimeout
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
Definition: DefaultSettings.php:784
$wgLangObjCacheSize
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
Definition: DefaultSettings.php:2893
$wgExtensionAssetsPath
$wgExtensionAssetsPath
The URL path of the extensions directory.
Definition: DefaultSettings.php:236
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:84
$wgInterwikiCache
bool array string $wgInterwikiCache
Interwiki cache, either as an associative array or a path to a constant database (....
Definition: DefaultSettings.php:3989
$wgExportAllowAll
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
Definition: DefaultSettings.php:7222
$wgEnotifWatchlist
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
Definition: DefaultSettings.php:1726
$wgAjaxUploadDestCheck
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
Definition: DefaultSettings.php:8201
$wgMimeTypeBlacklist
$wgMimeTypeBlacklist
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
Definition: DefaultSettings.php:910
APCOND_AGE
const APCOND_AGE
Definition: Defines.php:216
$wgLBFactoryConf
$wgLBFactoryConf
Load balancer factory configuration To set up a multi-master wiki farm, set the class here to somethi...
Definition: DefaultSettings.php:2006
$wgEnableCanonicalServerLink
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
Definition: DefaultSettings.php:3516
$wgLogActions
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
Definition: DefaultSettings.php:7755
$wgUseSquid
$wgUseSquid
Enable/disable CDN.
Definition: DefaultSettings.php:2681
$wgAPIUselessQueryPages
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Definition: DefaultSettings.php:8178
$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:6065
$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:3415
$wgHashedSharedUploadDirectory
$wgHashedSharedUploadDirectory
Set the following to false especially if you have a set of files that need to be accessible by all wi...
Definition: DefaultSettings.php:869
$wgAllowSchemaUpdates
$wgAllowSchemaUpdates
Allow schema updates.
Definition: DefaultSettings.php:2216
$wgDebugTidy
$wgDebugTidy
Put tidy warnings in HTML comments Only works for internal tidy.
Definition: DefaultSettings.php:4333
$wgDisableTextSearch
$wgDisableTextSearch
Set this to true to disable the full text search feature.
Definition: DefaultSettings.php:6456
$wgArticleRobotPolicies
$wgArticleRobotPolicies
Robot policies per article.
Definition: DefaultSettings.php:8005
$wgCacheDirectory
$wgCacheDirectory
Directory for caching data in the local filesystem.
Definition: DefaultSettings.php:2252
$wgSidebarCacheExpiry
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
Definition: DefaultSettings.php:2616
$wgOpenSearchTemplate
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6480
CONTENT_MODEL_WIKITEXT
const CONTENT_MODEL_WIKITEXT
Definition: Defines.php:245
$wgThumbnailBuckets
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
Definition: DefaultSettings.php:1415
$wgHTTPTimeout
int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
Definition: DefaultSettings.php:8365
$wgTransactionalTimeLimit
$wgTransactionalTimeLimit
The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...
Definition: DefaultSettings.php:2235
$wgBreakFrames
$wgBreakFrames
Break out of framesets.
Definition: DefaultSettings.php:3336
$wgDefaultExternalStore
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
Definition: DefaultSettings.php:2171
$wgDebugLogPrefix
$wgDebugLogPrefix
Prefix for debug log lines.
Definition: DefaultSettings.php:6121
$wgDBOracleDRCP
$wgDBOracleDRCP
Set true to enable Oracle DCRP (supported from 11gR1 onward)
Definition: DefaultSettings.php:2087
$wgStrictFileExtensions
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
Definition: DefaultSettings.php:943
$wgContentHandlerUseDB
$wgContentHandlerUseDB
Set to false to disable use of the database fields introduced by the ContentHandler facility.
Definition: DefaultSettings.php:8580
$wgForeignUploadTargets
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
Definition: DefaultSettings.php:562
cache
you have access to all of the normal MediaWiki so you can get a DB use the cache
Definition: maintenance.txt:55
$wgLogo
$wgLogo
The URL path of the wiki logo.
Definition: DefaultSettings.php:282
$wgStructuredChangeFiltersLiveUpdatePollingRate
$wgStructuredChangeFiltersLiveUpdatePollingRate
Polling rate, in seconds, used by the 'live update' and 'view newest' features of the RCFilters app o...
Definition: DefaultSettings.php:6885
$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:5539
$wgEnableParserCache
$wgEnableParserCache
Kept for extension compatibility; see $wgParserCacheType.
Definition: DefaultSettings.php:2594
$wgOpenSearchTemplates
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6490
$wgUseRCPatrol
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
Definition: DefaultSettings.php:6859
$wgEnableOpenSearchSuggest
$wgEnableOpenSearchSuggest
Enable OpenSearch suggestions requested by MediaWiki.
Definition: DefaultSettings.php:6501
$wgUseNPPatrol
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
Definition: DefaultSettings.php:6894
$wgDjvuRenderer
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
Definition: DefaultSettings.php:1539
$wgJobRunRate
$wgJobRunRate
Number of jobs to perform per request.
Definition: DefaultSettings.php:8417
$wgMetaNamespace
$wgMetaNamespace
Name of the project namespace.
Definition: DefaultSettings.php:3851
$wgDBpassword
$wgDBpassword
Database user's password.
Definition: DefaultSettings.php:1814
$wgFixMalayalamUnicode
$wgFixMalayalamUnicode
Set this to true to replace ZWJ-based chillu sequences in Malayalam text with their Unicode 5....
Definition: DefaultSettings.php:2982
$wgDBprefix
$wgDBprefix
Table name prefix.
Definition: DefaultSettings.php:1871
true
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return true
Definition: hooks.txt:2006
$wgStylePath
$wgStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:221
$wgThumbnailMinimumBucketDistance
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
Definition: DefaultSettings.php:1432
$wgAllowSiteCSSOnRestrictedPages
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
Definition: DefaultSettings.php:3838
$wgExtensionEntryPointListFiles
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
Definition: DefaultSettings.php:7305
$wgReadOnlyWatchedItemStore
bool $wgReadOnlyWatchedItemStore
Set this to true to put the wiki watchlists into read-only mode.
Definition: DefaultSettings.php:6676
php
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
Definition: injection.txt:37
$wgUseSiteJs
$wgUseSiteJs
Use the site's Javascript page?
Definition: DefaultSettings.php:3325
$wgPutIPinRC
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
Definition: DefaultSettings.php:5761
pages
The ContentHandler facility adds support for arbitrary content types on wiki pages
Definition: contenthandler.txt:1
$wgClockSkewFudge
$wgClockSkewFudge
Clock skew or the one-second resolution of time() can occasionally cause cache problems when the user...
Definition: DefaultSettings.php:2632
AV_SCAN_ABORTED
const AV_SCAN_ABORTED
Definition: Defines.php:123
$wgUploadStashScalerBaseUrl
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
Definition: DefaultSettings.php:375
$wgThumbnailEpoch
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
Definition: DefaultSettings.php:1221
$wgCrossSiteAJAXdomainExceptions
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
Definition: DefaultSettings.php:8241
$wgWhitelistRead
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
Definition: DefaultSettings.php:5057
$wgMaxNameChars
$wgMaxNameChars
Maximum number of bytes in username.
Definition: DefaultSettings.php:4829
$wgResourceLoaderStorageVersion
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
Definition: DefaultSettings.php:3825
$wgDBerrorLog
$wgDBerrorLog
File to log database errors to.
Definition: DefaultSettings.php:2019
$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:1672
$wgUploadStashMaxAge
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
Definition: DefaultSettings.php:408
$wgPasswordSenderName
$wgPasswordSenderName
Sender name for e-mail notifications.
Definition: DefaultSettings.php:1606
$wgRepositoryBaseUrl
$wgRepositoryBaseUrl
Base URL for a repository wiki.
Definition: DefaultSettings.php:879
$wgEnableWANCacheReaper
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
Definition: DefaultSettings.php:2407
$wgExperiencedUserEdits
$wgExperiencedUserEdits
Name of the external diff engine to use.
Definition: DefaultSettings.php:8847
SiteStore
Definition: SiteStore.php:29
$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:88
$wgSearchHighlightBoundaries
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
Definition: DefaultSettings.php:6468
$wgPropagateErrors
$wgPropagateErrors
If true, the MediaWiki error handler passes errors/warnings to the default error handler after loggin...
Definition: DefaultSettings.php:6324
NS_MAIN
const NS_MAIN
Definition: Defines.php:74
$wgUseInstantCommons
$wgUseInstantCommons
Use Commons as a remote file repository.
Definition: DefaultSettings.php:551
$wgMediaHandlers
$wgMediaHandlers
Plugins for media file type handling.
Definition: DefaultSettings.php:984
$wgDBadminuser
$wgDBadminuser
Separate username for maintenance tasks.
Definition: DefaultSettings.php:1844
$wgResourceModules
$wgResourceModules
Client-side resource modules.
Definition: DefaultSettings.php:3552
$wgResourceLoaderValidateJS
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
Definition: DefaultSettings.php:3752
$wgAPIRequestLog
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
Definition: DefaultSettings.php:8167
file
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing we can concentrate it all in an extension file
Definition: hooks.txt:106
$wgHashedUploadDirectory
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
Definition: DefaultSettings.php:862
$wgAutopromote
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
Definition: DefaultSettings.php:5456
$wgContentHandlerTextFallback
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
Definition: DefaultSettings.php:8565
$wgAllowImageTag
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
Definition: DefaultSettings.php:4270
$wgShowDebug
$wgShowDebug
Display debug data at the bottom of the main content area.
Definition: DefaultSettings.php:6272
$wgRightsPage
$wgRightsPage
Override for copyright metadata.
Definition: DefaultSettings.php:7100
$wgHTTPProxy
$wgHTTPProxy
Proxy to use for CURL requests.
Definition: DefaultSettings.php:8381
$wgRawHtml
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
Definition: DefaultSettings.php:4340
$wgEnableScaryTranscluding
$wgEnableScaryTranscluding
Enable interwiki transcluding.
Definition: DefaultSettings.php:4409
$wgAttemptFailureEpoch
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
Definition: DefaultSettings.php:1229
$wgEnotifUseRealName
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
Definition: DefaultSettings.php:1776
$wgDBservers
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
Definition: DefaultSettings.php:1994
$wgRCChangedSizeThreshold
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
Definition: DefaultSettings.php:6979
$wgAllowUserCss
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
Definition: DefaultSettings.php:3312
$wgAdaptiveMessageCache
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
Definition: DefaultSettings.php:2511
$wgResourceLoaderMaxage
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
Definition: DefaultSettings.php:3678
$wgSVGConverterPath
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
Definition: DefaultSettings.php:1151
$wgNoReplyAddress
$wgNoReplyAddress
Reply-To address for e-mail notifications.
Definition: DefaultSettings.php:1613
$wgDBWindowsAuthentication
$wgDBWindowsAuthentication
Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server.
Definition: DefaultSettings.php:2111
$wgParserTestMediaHandlers
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
Definition: DefaultSettings.php:990
$wgHooks
$wgHooks
Global list of hooks.
Definition: DefaultSettings.php:7453
$wgSharedUploadPath
$wgSharedUploadPath
Full path on the web server where shared uploads can be found.
Definition: DefaultSettings.php:718
$wgRecentChangesFlags
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Definition: DefaultSettings.php:7057
$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:4748
$wgGrantPermissions
array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
Definition: DefaultSettings.php:5800
$wgSQLiteDataDir
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
Definition: DefaultSettings.php:1894
$wgUseKeyHeader
$wgUseKeyHeader
Send the Key HTTP header for better caching.
Definition: DefaultSettings.php:2693
$wgSquidServersNoPurge
$wgSquidServersNoPurge
As above, except these servers aren't purged on page changes; use to set a list of trusted proxies,...
Definition: DefaultSettings.php:2777
NS_PROJECT
const NS_PROJECT
Definition: Defines.php:78
$wgLoginLanguageSelector
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
Definition: DefaultSettings.php:3111
$wgUploadSizeWarning
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
Definition: DefaultSettings.php:956
$wgEmergencyContact
$wgEmergencyContact
Site admin email address.
Definition: DefaultSettings.php:1590
user
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such and we might be restricted by PHP settings such as safe mode or open_basedir We cannot assume that the software even has read access anywhere useful Many shared hosts run all users web applications under the same user
Wikitext formatted, in the key only.
Definition: distributors.txt:25
$wgAuthenticationTokenVersion
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
Definition: DefaultSettings.php:4961
$wgContentHandlers
$wgContentHandlers
Plugins for page content model handling.
Definition: DefaultSettings.php:1010
$wgFooterIcons
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
Definition: DefaultSettings.php:3457
$wgMaxUserDBWriteDuration
$wgMaxUserDBWriteDuration
Name of the external diff engine to use.
Definition: DefaultSettings.php:8743
$wgAntivirusRequired
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
Definition: DefaultSettings.php:1324
$wgPreprocessorCacheThreshold
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
Definition: DefaultSettings.php:4404
$wgLinkHolderBatchSize
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
Definition: DefaultSettings.php:8481
$wgLockManagers
$wgLockManagers
Array of configuration arrays for each lock manager.
Definition: DefaultSettings.php:678
$wgFilterLogTypes
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
Definition: DefaultSettings.php:7698
$wgLanguageConverterCacheType
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
Definition: DefaultSettings.php:2304
$wgCentralIdLookupProvider
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
Definition: DefaultSettings.php:4483
$wgUseImageMagick
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
Definition: DefaultSettings.php:1038
$wgExtraSignatureNamespaces
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
Definition: DefaultSettings.php:4120
$wgFallbackSkin
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
Definition: DefaultSettings.php:3286
$wgUseFileCache
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Definition: DefaultSettings.php:2580
$wgCacheVaryCookies
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
Definition: DefaultSettings.php:6070
$wgCrossSiteAJAXdomains
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
Definition: DefaultSettings.php:8234
$wgDefaultLanguageVariant
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
Definition: DefaultSettings.php:3068
$wgCachePrefix
$wgCachePrefix
Overwrite the caching key prefix with custom value.
Definition: DefaultSettings.php:6435
$wgAPICacheHelpTimeout
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
Definition: DefaultSettings.php:8172
$wgEnableSidebarCache
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
Definition: DefaultSettings.php:2611
$wgCommandLineMode
global $wgCommandLineMode
Definition: DevelopmentSettings.php:28
$wgDisableInternalSearch
$wgDisableInternalSearch
Disable the internal MySQL-based search, to allow it to be implemented by an extension instead.
Definition: DefaultSettings.php:6542
copyright
in the Source form of any Derivative Works that You all copyright
Definition: APACHE-LICENSE-2.0.txt:102
$wgAllowExternalImagesFrom
$wgAllowExternalImagesFrom
If the above is false, you can specify an exception here.
Definition: DefaultSettings.php:4249
$wgStyleVersion
$wgStyleVersion
Bump this number when changing the global style sheets and JavaScript.
Definition: DefaultSettings.php:2573
$wgStatsdMetricPrefix
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
Definition: DefaultSettings.php:6384
$wgUploadThumbnailRenderMap
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
Definition: DefaultSettings.php:1444
$wgQueryPageDefaultLimit
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
Definition: DefaultSettings.php:5767
$wgDjvuToXML
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3....
Definition: DefaultSettings.php:1562
$wgHtml5Version
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
Definition: DefaultSettings.php:3217
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:83
$wgDebugLogGroups
$wgDebugLogGroups
Map of string log group names to log destinations.
Definition: DefaultSettings.php:6240
$wgUseDatabaseMessages
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
Definition: DefaultSettings.php:3043
$wgLoadScript
$wgLoadScript
The URL path to load.php.
Definition: DefaultSettings.php:214
$wgMimeTypeFile
$wgMimeTypeFile
Sets the MIME type definition file to use by MimeMagic.php.
Definition: DefaultSettings.php:1336
title
title
Definition: parserTests.txt:219
$wgExpensiveParserFunctionLimit
$wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
Definition: DefaultSettings.php:4398
$wgAntivirusSetup
$wgAntivirusSetup
Configuration for different virus scanners.
Definition: DefaultSettings.php:1306
$wgApiFrameOptions
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
Definition: DefaultSettings.php:3369
$wgObjectCaches
$wgObjectCaches
Advanced object cache configuration.
Definition: DefaultSettings.php:2319
$wgSharedPrefix
$wgSharedPrefix
Definition: DefaultSettings.php:1926
$wgExportAllowHistory
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
Definition: DefaultSettings.php:7187
$wgHTCPRouting
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
Definition: DefaultSettings.php:2851
$wgLogExceptionBacktrace
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
Definition: DefaultSettings.php:6318
$wgRCFeeds
$wgRCFeeds
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:6826
$wgFetchCommonsDescriptions
$wgFetchCommonsDescriptions
Fetch commons image description pages and display them on the local wiki?
Definition: DefaultSettings.php:723
$wgMimeDetectorCommand
$wgMimeDetectorCommand
Sets an external MIME detector program.
Definition: DefaultSettings.php:1355
$wgFixArabicUnicode
$wgFixArabicUnicode
Set this to true to replace Arabic presentation forms with their standard forms in the U+0600-U+06FF ...
Definition: DefaultSettings.php:2971
$wgParserCacheExpireTime
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
Definition: DefaultSettings.php:2429
$wgPasswordReminderResendTime
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
Definition: DefaultSettings.php:1650
$wgJobSerialCommitThreshold
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
Definition: DefaultSettings.php:7536
$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:443
$wgUseGzip
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
Definition: DefaultSettings.php:2624
$wgInvalidRedirectTargets
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
Definition: DefaultSettings.php:4139
$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:8161
$wgUserrightsInterwikiDelimiter
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
Definition: DefaultSettings.php:4941
$wgVaryOnXFP
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
Definition: DefaultSettings.php:2703
$wgImplicitGroups
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
Definition: DefaultSettings.php:5269
$wgCdnMaxageSubstitute
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
Definition: DefaultSettings.php:2752
$wgPreviewOnOpenNamespaces
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
Definition: DefaultSettings.php:6621
$wgInterwikiMagic
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Definition: DefaultSettings.php:2909
$wgLogTypes
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
Definition: DefaultSettings.php:7651
$wgExtendedLoginCookieExpiration
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
Definition: DefaultSettings.php:5997
$wgPasswordSalt
$wgPasswordSalt
For compatibility with old installations set to false.
Definition: DefaultSettings.php:4721
$wgResourceLoaderSources
$wgResourceLoaderSources
Extensions should register foreign module sources here.
Definition: DefaultSettings.php:3654
AV_VIRUS_FOUND
const AV_VIRUS_FOUND
Definition: Defines.php:122
$wgParserCacheType
$wgParserCacheType
The cache type for storing article HTML.
Definition: DefaultSettings.php:2287
$wgLocalisationCacheConf
$wgLocalisationCacheConf
Localisation cache configuration.
Definition: DefaultSettings.php:2535
$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:1190
$wgUseCombinedLoginLink
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
Definition: DefaultSettings.php:3479
$wgUseCopyrightUpload
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
Definition: DefaultSettings.php:7125
$wgMaxPPExpandDepth
$wgMaxPPExpandDepth
Definition: DefaultSettings.php:4208
$wgEnableEmail
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
Definition: DefaultSettings.php:1620
$wgUseCategoryBrowser
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
Definition: DefaultSettings.php:7598
$wgEnableDnsBlacklist
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
Definition: DefaultSettings.php:5590
$wgDefaultSkin
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
Definition: DefaultSettings.php:3279
$wgUpdateRowsPerQuery
$wgUpdateRowsPerQuery
Number of rows to update per query.
Definition: DefaultSettings.php:8436
$wgReservedUsernames
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
Definition: DefaultSettings.php:4835
$wgEnableMagicLinks
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
Definition: DefaultSettings.php:4423
MEDIATYPE_BITMAP
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgSessionName
$wgSessionName
Override to customise the session name.
Definition: DefaultSettings.php:6075
$wgParserTestFiles
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
Definition: DefaultSettings.php:6424
$wgMaxInterlacingAreas
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
Definition: DefaultSettings.php:1049
$wgImportSources
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
Definition: DefaultSettings.php:7171
$wgCopyUploadProxy
$wgCopyUploadProxy
Proxy to use for copy upload requests.
Definition: DefaultSettings.php:772
$wgAPIMetaModules
$wgAPIMetaModules
API Query meta module extensions.
Definition: DefaultSettings.php:8118
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:88
$wgFileBackends
$wgFileBackends
File backend structure configuration.
Definition: DefaultSettings.php:662
settings
globals will be eliminated from MediaWiki replaced by an application object which would be passed to constructors Whether that would be an convenient solution remains to be but certainly PHP makes such object oriented programming models easier than they were in previous versions For the time being MediaWiki programmers will have to work in an environment with some global context At the time of globals were initialised on startup by MediaWiki of these were configuration settings
Definition: globals.txt:37
$wgDjvuOutputExtension
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
Definition: DefaultSettings.php:1574
$wgMemCachedDebug
$wgMemCachedDebug
If enabled, will send MemCached debugging information to $wgDebugLogFile.
Definition: DefaultSettings.php:2474
$wgNamespaceProtection
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
Definition: DefaultSettings.php:5353
$wgExternalLinkTarget
$wgExternalLinkTarget
Set a default target for external links, e.g.
Definition: DefaultSettings.php:4351
$wgMaxJobDBWriteDuration
$wgMaxJobDBWriteDuration
Name of the external diff engine to use.
Definition: DefaultSettings.php:8752
$wgMaxShellTime
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
Definition: DefaultSettings.php:8264
$wgPageInfoTransclusionLimit
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
Definition: DefaultSettings.php:6401
$wgEnableSearchContributorsByIP
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
Definition: DefaultSettings.php:6596
$wgSoftwareTags
array $wgSoftwareTags
List of core tags to enable.
Definition: DefaultSettings.php:7013
$wgDeleteRevisionsLimit
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
Definition: DefaultSettings.php:5530
$wgMemCachedTimeout
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
Definition: DefaultSettings.php:2490
$wgUpdateRowsPerJob
$wgUpdateRowsPerJob
Number of rows to update per job.
Definition: DefaultSettings.php:8431
$wgCommandLineDarkBg
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
Definition: DefaultSettings.php:6659
$wgRCShowWatchingUsers
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
Definition: DefaultSettings.php:6967
$wgExtensionCredits
$wgExtensionCredits
An array of information about installed extensions keyed by their type.
Definition: DefaultSettings.php:7410
$wgImportTargetNamespace
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
Definition: DefaultSettings.php:7180
$wgCookieHttpOnly
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
Definition: DefaultSettings.php:6043
$wgCompressRevisions
$wgCompressRevisions
We can also compress text stored in the 'text' table.
Definition: DefaultSettings.php:2126
$wgExportAllowListContributors
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
Definition: DefaultSettings.php:7199
$wgFeedClasses
$wgFeedClasses
Available feeds objects.
Definition: DefaultSettings.php:6953
$wgAutoConfirmAge
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
Definition: DefaultSettings.php:5386
$wgDebugLogFile
$wgDebugLogFile
Filename for debug logging.
Definition: DefaultSettings.php:6116
$wgUseFilePatrol
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
Definition: DefaultSettings.php:6905
$wgEnableUserEmailBlacklist
$wgEnableUserEmailBlacklist
Set to true to enable user-to-user e-mail blacklist.
Definition: DefaultSettings.php:1633
$wgDisableLangConversion
$wgDisableLangConversion
Whether to enable language variant conversion.
Definition: DefaultSettings.php:3058
$wgRemoveGroups
$wgRemoveGroups
Definition: DefaultSettings.php:5518
$wgSearchForwardUrl
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
Definition: DefaultSettings.php:6559
$wgShowDBErrorBacktrace
$wgShowDBErrorBacktrace
If true, show a backtrace for database errors.
Definition: DefaultSettings.php:6313
$wgAPIMaxResultSize
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
Definition: DefaultSettings.php:8148
$wgCanonicalServer
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
Definition: DefaultSettings.php:115
$wgSkipSkin
$wgSkipSkin
Definition: DefaultSettings.php:3298
$wgMemoryLimit
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
Definition: DefaultSettings.php:2227
$wgUniversalEditButton
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
Definition: DefaultSettings.php:6630
$wgCacheSharedUploads
$wgCacheSharedUploads
Cache shared metadata in memcached.
Definition: DefaultSettings.php:745
$wgConfigRegistry
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set,...
Definition: DefaultSettings.php:66
$wgLocalDatabases
$wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Definition: DefaultSettings.php:2094
$wgExternalDiffEngine
$wgExternalDiffEngine
Name of the external diff engine to use.
Definition: DefaultSettings.php:8451
$wgValidSkinNames
$wgValidSkinNames
List of valid skin names.
Definition: DefaultSettings.php:7336
$wgMaxAnimatedGifArea
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
Definition: DefaultSettings.php:1198
MIGRATION_OLD
const MIGRATION_OLD
Definition: Defines.php:302
will
</td >< td > &</td >< td > t want your writing to be edited mercilessly and redistributed at will
Definition: All_system_messages.txt:914
$wgInterwikiExpiry
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
Definition: DefaultSettings.php:3964
$wgAutopromoteOnceLogInRC
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
Definition: DefaultSettings.php:5489
$wgPageLanguageUseDB
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
Definition: DefaultSettings.php:8663
$wgCachePages
$wgCachePages
Allow client-side caching of pages.
Definition: DefaultSettings.php:2546
$wgResourceLoaderLESSVars
$wgResourceLoaderLESSVars
Global LESS variables.
Definition: DefaultSettings.php:3785
$wgTranslateNumerals
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
Definition: DefaultSettings.php:3037
$wgSVGMetadataCutoff
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Definition: DefaultSettings.php:1162
$wgAllowUserCssPrefs
$wgAllowUserCssPrefs
Allow style-related user-preferences?
Definition: DefaultSettings.php:3320
$wgDebugTimestamps
$wgDebugTimestamps
Prefix debug messages with relative timestamp.
Definition: DefaultSettings.php:6278
$wgExtraLanguageNames
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Definition: DefaultSettings.php:2934
$wgDBcompress
$wgDBcompress
Whether to use compression in DB connection.
Definition: DefaultSettings.php:1839
$wgMaxShellFileSize
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KB ImageMagick convert for example can b...
Definition: DefaultSettings.php:8259
$wgRangeContributionsCIDRLimit
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Definition: DefaultSettings.php:8828
$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
Definition: DefaultSettings.php:6462
performance
MediaWiki has optional support for a high performance
Definition: memcached.txt:1
$wgEnotifUserTalk
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
Definition: DefaultSettings.php:1735
$wgJobTypesExcludedFromDefaultQueue
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
Definition: DefaultSettings.php:7510
$wgMsgCacheExpiry
$wgMsgCacheExpiry
Expiry time for the message cache key.
Definition: DefaultSettings.php:3048
$wgSessionPbkdf2Iterations
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
Definition: DefaultSettings.php:2469
$wgCookieExpiration
$wgCookieExpiration
Default cookie lifetime, in seconds.
Definition: DefaultSettings.php:5989
$wgShowRollbackEditCount
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
Definition: DefaultSettings.php:3508
$wgImgAuthUrlPathMap
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Definition: DefaultSettings.php:459
$wgNamespaceAliases
$wgNamespaceAliases
Namespace aliases.
Definition: DefaultSettings.php:3916
$wgForcedRawSMaxage
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
Definition: DefaultSettings.php:2759
$wgShellRestrictionMethod
string bool $wgShellRestrictionMethod
Method to use to restrict shell commands.
Definition: DefaultSettings.php:8352
$wgSessionHandler
$wgSessionHandler
Definition: DefaultSettings.php:2444
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:77
$wgDebugPrintHttpHeaders
$wgDebugPrintHttpHeaders
Print HTTP headers for every request in the debug information.
Definition: DefaultSettings.php:6283
$wgTidyConf
$wgTidyConf
The path to the tidy config file.
Definition: DefaultSettings.php:4315
$wgSlaveLagWarning
$wgSlaveLagWarning
If lag is higher than $wgSlaveLagWarning, show a warning in some special pages (like watchlist).
Definition: DefaultSettings.php:2101
$wgGitBin
$wgGitBin
Fully specified path to git binary.
Definition: DefaultSettings.php:6701
$wgFileCacheDepth
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
Definition: DefaultSettings.php:2588
$wgNoFollowNsExceptions
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
Definition: DefaultSettings.php:4365
$wgUrlProtocols
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
Definition: DefaultSettings.php:4220
$wgLocalTZoffset
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
Definition: DefaultSettings.php:3168
$wgExportMaxHistory
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
Definition: DefaultSettings.php:7194
$wgExportFromNamespaces
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
Definition: DefaultSettings.php:7217
$wgExtensionDirectory
$wgExtensionDirectory
Filesystem extensions directory.
Definition: DefaultSettings.php:243
$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:4359
$wgServerName
$wgServerName
Server name.
Definition: DefaultSettings.php:122
$wgRateLimits
$wgRateLimits
Simple rate limiter options to brake edit floods.
Definition: DefaultSettings.php:5677
$wgLogoHD
$wgLogoHD
Array with URL paths to HD versions of the wiki logo.
Definition: DefaultSettings.php:310
$wgResourceLoaderStorageEnabled
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
Definition: DefaultSettings.php:3817
$wgUsePrivateIPs
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
Definition: DefaultSettings.php:2862
$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:7675
$wgForceHTTPS
bool $wgForceHTTPS
If this is true, when an insecure HTTP request is received, always redirect to HTTPS.
Definition: DefaultSettings.php:147
$wgMaxRedirectLinksRetrieved
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
Definition: DefaultSettings.php:7907
$wgCookieDomain
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
Definition: DefaultSettings.php:6003
$wgImageMagickConvertCommand
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
Definition: DefaultSettings.php:1043
$wgLocalInterwikis
$wgLocalInterwikis
Array for multiple $wgLocalInterwiki values, in case there are several interwiki prefixes that point ...
Definition: DefaultSettings.php:3959
$wgTidyInternal
$wgTidyInternal
Set this to true to use the tidy extension.
Definition: DefaultSettings.php:4327
$wgDeletedDirectory
$wgDeletedDirectory
What directory to place deleted uploads in.
Definition: DefaultSettings.php:438
$wgIgnoreImageErrors
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
Definition: DefaultSettings.php:1242
$wgSharpenReductionThreshold
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
Definition: DefaultSettings.php:1059
$wgSiteSupportPage
$wgSiteSupportPage
If this is set, a "donate" link will appear in the sidebar.
Definition: DefaultSettings.php:3273
$wgParserOutputHooks
$wgParserOutputHooks
Parser output hooks.
Definition: DefaultSettings.php:7321
$wgMetaNamespaceTalk
$wgMetaNamespaceTalk
Name of the project talk namespace.
Definition: DefaultSettings.php:3860
$wgServer
$wgServer
URL of the server.
Definition: DefaultSettings.php:106
$wgRevisionCacheExpiry
$wgRevisionCacheExpiry
Revision text may be cached in $wgMemc to reduce load on external storage servers and object extracti...
Definition: DefaultSettings.php:2179
extensions
The ContentHandler facility adds support for arbitrary content types on wiki instead of relying on wikitext for everything It was introduced in MediaWiki Each kind of and so on Built in content types as usual *javascript user provided javascript code *json simple implementation for use by extensions
Definition: contenthandler.txt:11
$wgAllowImageMoving
$wgAllowImageMoving
Allows to move images and other media files.
Definition: DefaultSettings.php:413
$wgActiveUserDays
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
Definition: DefaultSettings.php:4461
$wgUploadDialog
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
Definition: DefaultSettings.php:573
$wgRCMaxAge
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:6735
$wgSummarySpamRegex
$wgSummarySpamRegex
Same as the above except for edit summaries.
Definition: DefaultSettings.php:5583
$wgLanguageCode
$wgLanguageCode
Site language code.
Definition: DefaultSettings.php:2887
$wgEnableParserLimitReporting
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
Definition: DefaultSettings.php:7326
$wgExportMaxLinkDepth
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
Definition: DefaultSettings.php:7212
$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:6669
$wgDevelopmentWarnings
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
Definition: DefaultSettings.php:6342
$wgRightsIcon
$wgRightsIcon
Override for copyright metadata.
Definition: DefaultSettings.php:7120
$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:3243
$wgFeedDiffCutoff
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
Definition: DefaultSettings.php:6932
$wgPasswordAttemptThrottle
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
Definition: DefaultSettings.php:5781
$wgDirectoryMode
$wgDirectoryMode
Default value for chmoding of new directories.
Definition: DefaultSettings.php:1508
$wgBlockDisablesLogin
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
Definition: DefaultSettings.php:5035
CACHE_ANYTHING
const CACHE_ANYTHING
Definition: Defines.php:111
NS_PROJECT_TALK
const NS_PROJECT_TALK
Definition: Defines.php:79
and
and(b) You must cause any modified files to carry prominent notices stating that You changed the files
$wgRCShowChangedSize
$wgRCShowChangedSize
Show the amount of changed characters in recent changes.
Definition: DefaultSettings.php:6972
$wgUseTidy
$wgUseTidy
Set this to true to use the deprecated tidy configuration parameters.
Definition: DefaultSettings.php:4303
$wgExtensionFunctions
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
Definition: DefaultSettings.php:7243
$wgUploadBaseUrl
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
Definition: DefaultSettings.php:366
$wgNamespaceRobotPolicies
$wgNamespaceRobotPolicies
Robot policies per namespaces.
Definition: DefaultSettings.php:7977
$wgTiffThumbnailType
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
Definition: DefaultSettings.php:1213
$wgSearchType
$wgSearchType
Search type.
Definition: DefaultSettings.php:1857
$wgAddGroups
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
Definition: DefaultSettings.php:5513
$wgSearchSuggestCacheExpiry
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
Definition: DefaultSettings.php:6517
$wgDisableOutputCompression
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
Definition: DefaultSettings.php:3374
$wgSMTP
$wgSMTP
SMTP Mode.
Definition: DefaultSettings.php:1691
$wgUploadDirectory
$wgUploadDirectory
The filesystem path of the images directory.
Definition: DefaultSettings.php:270
$wgUploadThumbnailRenderHttpCustomHost
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
Definition: DefaultSettings.php:1464
$wgSitemapNamespaces
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
Definition: DefaultSettings.php:6573
$wgIllegalFileChars
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
Definition: DefaultSettings.php:432
$wgHtml5
$wgHtml5
Previously used to determine if we should output an HTML5 doctype.
Definition: DefaultSettings.php:3207
$wgAllowHTMLEmail
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
Definition: DefaultSettings.php:1702
$wgDBTableOptions
$wgDBTableOptions
MySQL table options to use during installation or update.
Definition: DefaultSettings.php:1876
$wgSquidServers
$wgSquidServers
List of proxy servers to purge on changes; default port is 80.
Definition: DefaultSettings.php:2769
$wgTrivialMimeDetection
$wgTrivialMimeDetection
Switch for trivial MIME detection.
Definition: DefaultSettings.php:1362
$wgCustomConvertCommand
$wgCustomConvertCommand
Use another resizing converter, e.g.
Definition: DefaultSettings.php:1079
$wgInvalidUsernameCharacters
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
Definition: DefaultSettings.php:4930
$wgAutoloadClasses
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
Definition: DefaultSettings.php:7349
$wgFavicon
$wgFavicon
The URL path of the shortcut icon.
Definition: DefaultSettings.php:316
$wgLegacyJavaScriptGlobals
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
Definition: DefaultSettings.php:3728
$wgLearnerEdits
$wgLearnerEdits
The following variables define 3 user experience levels:
Definition: DefaultSettings.php:8845
$wgLogActionsHandlers
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
Definition: DefaultSettings.php:7763
$wgEnableAsyncUploads
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
Definition: DefaultSettings.php:423
$wgUploadNavigationUrl
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
Definition: DefaultSettings.php:822
$wgOverrideHostname
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
Definition: DefaultSettings.php:6336
$wgResourceBasePath
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
Definition: DefaultSettings.php:3660
$wgShortPagesNamespaceBlacklist
$wgShortPagesNamespaceBlacklist
Optional array of namespaces which should be blacklisted from Special:ShortPages Only pages inside $w...
Definition: DefaultSettings.php:4111
$wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
Definition: DefaultSettings.php:3132
$wgSiteTypes
$wgSiteTypes
Register handlers for specific types of sites.
Definition: DefaultSettings.php:8603
$wgMinUploadChunkSize
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
Definition: DefaultSettings.php:810
$wgContentNamespaces
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Definition: DefaultSettings.php:4103
$wgJobClasses
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
Definition: DefaultSettings.php:7476
$wgEmailConfirmToEdit
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
Definition: DefaultSettings.php:5091
$wgExtraInterlanguageLinkPrefixes
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i....
Definition: DefaultSettings.php:2929
$wgCopyUploadsFromSpecialUpload
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
Definition: DefaultSettings.php:766
$wgRunJobsAsync
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
Definition: DefaultSettings.php:8426
$wgMaxShellWallClockTime
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
Definition: DefaultSettings.php:8270
$wgCascadingRestrictionLevels
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
Definition: DefaultSettings.php:5330
$wgArticlePath
$wgArticlePath
The URL path for primary article page views.
Definition: DefaultSettings.php:259
$wgSessionCacheType
$wgSessionCacheType
The cache type for storing session data.
Definition: DefaultSettings.php:2294
$wgSquidPurgeUseHostHeader
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServer...
Definition: DefaultSettings.php:2798
$wgJpegTran
$wgJpegTran
used for lossless jpeg rotation
Definition: DefaultSettings.php:1086
$wgDisableCookieCheck
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
Definition: DefaultSettings.php:6029
$wgDisableSearchUpdate
$wgDisableSearchUpdate
If you've disabled search semi-permanently, this also disables updates to the table.
Definition: DefaultSettings.php:6523
$wgMWLoggerDefaultSpi
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
Definition: DefaultSettings.php:6263
$wgTidyOpts
$wgTidyOpts
The command line options to the tidy binary.
Definition: DefaultSettings.php:4321
$wgCacheEpoch
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Definition: DefaultSettings.php:2556
$wgShellCgroup
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
Definition: DefaultSettings.php:8295
$wgAjaxExportList
$wgAjaxExportList
List of Ajax-callable functions.
Definition: DefaultSettings.php:8196
$wgUserEmailConfirmationTokenExpiry
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
Definition: DefaultSettings.php:1660
$wgGitInfoCacheDirectory
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
Definition: DefaultSettings.php:2562
$wgImageLimits
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
Definition: DefaultSettings.php:1384
$wgAutoConfirmCount
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
Definition: DefaultSettings.php:5397
$wgCentralIdLookupProviders
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
Definition: DefaultSettings.php:4475
$wgXhtmlDefaultNamespace
$wgXhtmlDefaultNamespace
The default xmlns attribute.
Definition: DefaultSettings.php:3198
$wgActionPaths
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
Definition: DefaultSettings.php:391
$wgBlockCIDRLimit
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
Definition: DefaultSettings.php:5023
ResourceLoader
Dynamic JavaScript and CSS resource loading system.
Definition: ResourceLoader.php:38
$wgSharedUploadDBname
$wgSharedUploadDBname
DB name with metadata about shared directory.
Definition: DefaultSettings.php:734
$wgMiserMode
$wgMiserMode
Disable database-intensive features.
Definition: DefaultSettings.php:2191
$wgGitRepositoryViewers
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
Definition: DefaultSettings.php:6716
$wgTidyConfig
$wgTidyConfig
Configuration for HTML postprocessing tool.
Definition: DefaultSettings.php:4297
$wgEnableJavaScriptTest
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
Definition: DefaultSettings.php:6429
$wgPoolCounterConf
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
Definition: DefaultSettings.php:8538
$wgResourceLoaderValidateStaticJS
$wgResourceLoaderValidateStaticJS
If set to true, statically-sourced (file-backed) JavaScript resources will be parsed for validity bef...
Definition: DefaultSettings.php:3762
$wgEnotifFromEditor
$wgEnotifFromEditor
True: from page editor if s/he opted-in.
Definition: DefaultSettings.php:1708
$wgSharedUploadDirectory
$wgSharedUploadDirectory
Path on the file system where shared uploads can be found.
Definition: DefaultSettings.php:728
$wgUseTinyRGBForJPGThumbnails
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
Definition: DefaultSettings.php:1480
$wgAvailableRights
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Definition: DefaultSettings.php:5524
MEDIATYPE_VIDEO
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgSemiprotectedRestrictionLevels
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
Definition: DefaultSettings.php:5344
$wgDisableUploadScriptChecks
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
Definition: DefaultSettings.php:951
$wgCookieSetOnAutoblock
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
Definition: DefaultSettings.php:6084
$wgRateLimitsExcludedIPs
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
Definition: DefaultSettings.php:5754
$wgCapitalLinks
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Definition: DefaultSettings.php:4042
$wgReadOnlyFile
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
Definition: DefaultSettings.php:6685
output
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling output() to send it all. It could be easily changed to send incrementally if that becomes useful
$wgApplyIpBlocksToXff
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
Definition: DefaultSettings.php:5637
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:87
$wgThumbnailScriptPath
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
Definition: DefaultSettings.php:842
$wgRCEngines
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
Definition: DefaultSettings.php:6833
$wgEditPageFrameOptions
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
Definition: DefaultSettings.php:3357
$wgGroupPermissions
$wgGroupPermissions
Permission keys given to users in each group.
Definition: DefaultSettings.php:5123
$wgEnableWriteAPI
$wgEnableWriteAPI
Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised ...
Definition: DefaultSettings.php:8046
$wgDebugComments
$wgDebugComments
Send debug data to an HTML comment in the output.
Definition: DefaultSettings.php:6145
$wgExiv2Command
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
Definition: DefaultSettings.php:1113
$wgBrowserBlackList
$wgBrowserBlackList
Definition: DefaultSettings.php:3011
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition: DefaultSettings.php:2904
$wgLocaltimezone
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Definition: DefaultSettings.php:3157
$wgPagePropLinkInvalidations
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
Definition: DefaultSettings.php:7584
$wgAjaxEditStash
$wgAjaxEditStash
Have clients send edits to be prepared when filling in edit summaries.
Definition: DefaultSettings.php:8212
$wgHttpsPort
$wgHttpsPort
Port where you have HTTPS running Supports HTTPS on non-standard ports.
Definition: DefaultSettings.php:8620
$wgCleanSignatures
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
Definition: DefaultSettings.php:4230
$wgMainCacheType
CACHE_MEMCACHED $wgMainCacheType
Definition: memcached.txt:63
$wgOpenSearchDescriptionLength
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Definition: DefaultSettings.php:6512
Interwiki
Value object for representing interwiki records.
Definition: Interwiki.php:27
format
if the prop value should be in the metadata multi language array format
Definition: hooks.txt:1656
$wgShowExceptionDetails
$wgShowExceptionDetails
If set to true, uncaught exceptions will print a complete stack trace to output.
Definition: DefaultSettings.php:6303
$wgThumbUpright
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
Definition: DefaultSettings.php:1503
$wgVerifyMimeType
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Definition: DefaultSettings.php:1329
$wgExtraGenderNamespaces
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
Definition: DefaultSettings.php:3896
$wgQueryCacheLimit
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
Definition: DefaultSettings.php:2201
$wgInterwikiFallbackSite
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
Definition: DefaultSettings.php:4002
$wgReauthenticateTime
int[] $wgReauthenticateTime
Time frame for re-authentication.
Definition: DefaultSettings.php:4668
$wgCookieSecure
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
Definition: DefaultSettings.php:6021
$wgSessionProviders
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
Definition: DefaultSettings.php:4971
$wgSiteNotice
$wgSiteNotice
Site notice shown at the top of each page.
Definition: DefaultSettings.php:3268
$wgCapitalLinkOverrides
$wgCapitalLinkOverrides
Definition: DefaultSettings.php:4058
WebRequest\detectServer
static detectServer()
Work out an appropriate URL prefix containing scheme and host, based on information detected from $_S...
Definition: WebRequest.php:196
$wgTrackingCategories
$wgTrackingCategories
Array holding default tracking category names.
Definition: DefaultSettings.php:4095
$wgShellLocale
$wgShellLocale
Locale for LC_ALL, to provide a known environment for locale-sensitive operations.
Definition: DefaultSettings.php:8336
$wgRestrictionLevels
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
Definition: DefaultSettings.php:5319
$wgDnsBlacklistUrls
$wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
Definition: DefaultSettings.php:5615
$wgEnableUploads
$wgEnableUploads
Uploads have to be specially set up to be secure.
Definition: DefaultSettings.php:403
$wgRenderHashAppend
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
Definition: DefaultSettings.php:2600
$wgMaxGeneratedPPNodeCount
$wgMaxGeneratedPPNodeCount
A complexity limit on template expansion: the maximum number of elements generated by Preprocessor::p...
Definition: DefaultSettings.php:4195
NS_USER
const NS_USER
Definition: Defines.php:76
$wgLearnerMemberSince
$wgLearnerMemberSince
Name of the external diff engine to use.
Definition: DefaultSettings.php:8846
$wgAdvertisedFeedTypes
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
Definition: DefaultSettings.php:6962
$wgSlaveLagCritical
$wgSlaveLagCritical
Definition: DefaultSettings.php:2106
$wgSVGConverters
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
Definition: DefaultSettings.php:1131
$wgExtensionInfoMTime
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
Definition: DefaultSettings.php:2660
$wgGroupsRemoveFromSelf
$wgGroupsRemoveFromSelf
Definition: DefaultSettings.php:5297
$wgAllowCopyUploads
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
Definition: DefaultSettings.php:752
NS_TALK
const NS_TALK
Definition: Defines.php:75
$wgStructuredChangeFiltersShowPreference
$wgStructuredChangeFiltersShowPreference
Whether a preference is displayed for structured change filters.
Definition: DefaultSettings.php:6871
$wgTextModelsToParse
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Definition: DefaultSettings.php:8592
$wgAPIPropModules
$wgAPIPropModules
API Query prop module extensions.
Definition: DefaultSettings.php:8127
$wgOverrideSiteFeed
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
Definition: DefaultSettings.php:6946
$wgSkipSkins
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
Definition: DefaultSettings.php:3293
$wgPopularPasswordFile
string $wgPopularPasswordFile
Where popular password file is located.
Definition: DefaultSettings.php:8734
$wgCategoryCollation
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
Definition: DefaultSettings.php:7636
$wgLogNames
$wgLogNames
Lists the message key string for each log type.
Definition: DefaultSettings.php:7712
$wgEnotifImpersonal
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
Definition: DefaultSettings.php:1765
$wgFileCacheDirectory
$wgFileCacheDirectory
Directory where the cached page will be saved.
Definition: DefaultSettings.php:276
$wgUploadPath
$wgUploadPath
The URL path for the images directory.
Definition: DefaultSettings.php:265
of
globals txt Globals are evil The original MediaWiki code relied on globals for processing context far too often MediaWiki development since then has been a story of slowly moving context out of global variables and into objects Storing processing context in object member variables allows those objects to be reused in a much more flexible way Consider the elegance of
database rows
Definition: globals.txt:10
$wgMaxTocLevel
$wgMaxTocLevel
Maximum indent level of toc.
Definition: DefaultSettings.php:4178
$wgMaxRedirects
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Definition: DefaultSettings.php:4127
$wgDjvuDump
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
Definition: DefaultSettings.php:1532
$wgRestrictionTypes
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
Definition: DefaultSettings.php:5306
$wgSearchRunSuggestedQuery
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
Definition: DefaultSettings.php:8721
$wgArticleCountMethod
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Definition: DefaultSettings.php:4452
$wgEnableBotPasswords
bool $wgEnableBotPasswords
Whether to enable bot passwords.
Definition: DefaultSettings.php:5937
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:82
$wgXhtmlNamespaces
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
Definition: DefaultSettings.php:3259
class
you have access to all of the normal MediaWiki so you can get a DB use the etc For full docs on the Maintenance class
Definition: maintenance.txt:56
CONTENT_MODEL_JAVASCRIPT
const CONTENT_MODEL_JAVASCRIPT
Definition: Defines.php:246
$wgMaxSigChars
$wgMaxSigChars
Maximum number of Unicode characters in signature.
Definition: DefaultSettings.php:4823
$wgDBuser
$wgDBuser
Database username.
Definition: DefaultSettings.php:1809
$wgAuth
$wgAuth $wgAuth
Authentication plugin.
Definition: DefaultSettings.php:7417
$wgDBerrorLogTZ
$wgDBerrorLogTZ
Timezone to use in the error log.
Definition: DefaultSettings.php:2039
$wgAllowTitlesInSVG
$wgAllowTitlesInSVG
Disallow <title> element in SVG files.
Definition: DefaultSettings.php:1175
$wgPasswordPolicy
$wgPasswordPolicy
Password policy for local wiki users.
Definition: DefaultSettings.php:4509
$wgDataCenterUpdateStickTTL
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
Definition: DefaultSettings.php:2014
$wgWikiDiff2MovedParagraphDetectionCutoff
$wgWikiDiff2MovedParagraphDetectionCutoff
wikidiff2 supports detection of changes in moved paragraphs.
Definition: DefaultSettings.php:8465
$wgDebugDumpSql
$wgDebugDumpSql
Write SQL queries to the debug log.
Definition: DefaultSettings.php:6155
$wgAllowSlowParserFunctions
$wgAllowSlowParserFunctions
Enable slow parser functions.
Definition: DefaultSettings.php:2211
$wgPagePropsHaveSortkey
$wgPagePropsHaveSortkey
Whether the page_props table has a pp_sortkey column.
Definition: DefaultSettings.php:8612
$wgUploadMissingFileUrl
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
Definition: DefaultSettings.php:829
$wgResourceModuleSkinStyles
$wgResourceModuleSkinStyles
Skin-specific styles for resource modules.
Definition: DefaultSettings.php:3642
$wgMinimalPasswordLength
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
Definition: DefaultSettings.php:4728
$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:5292
CONTENT_MODEL_TEXT
const CONTENT_MODEL_TEXT
Definition: Defines.php:248
$wgRCFilterByAge
$wgRCFilterByAge
Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be store...
Definition: DefaultSettings.php:6759
$wgSpecialPages
$wgSpecialPages
Special page list.
Definition: DefaultSettings.php:7344
$wgDebugToolbar
$wgDebugToolbar
Display the new debugging toolbar.
Definition: DefaultSettings.php:6444
$wgAntivirus
$wgAntivirus
Internal name of virus scanner.
Definition: DefaultSettings.php:1270
$wgDisableQueryPageUpdate
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
Definition: DefaultSettings.php:7895
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:81
$wgTrustedMediaFormats
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
Definition: DefaultSettings.php:968
$wgEnableAPI
$wgEnableAPI
Enable the MediaWiki API for convenient access to machine-readable data via api.php.
Definition: DefaultSettings.php:8037
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:89
$wgHKDFSecret
$wgHKDFSecret
Secret for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:8647
$wgHTTPImportTimeout
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
Definition: DefaultSettings.php:8371
$wgRestrictDisplayTitle
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
Definition: DefaultSettings.php:4392
$wgAutoloadAttemptLowercase
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
Definition: DefaultSettings.php:7356
$wgPasswordSender
$wgPasswordSender
Sender email address for e-mail notifications.
Definition: DefaultSettings.php:1599
$wgTidyBin
$wgTidyBin
The path to the tidy binary.
Definition: DefaultSettings.php:4309
$wgPHPSessionHandling
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
Definition: DefaultSettings.php:2462
$wgAllowDisplayTitle
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Definition: DefaultSettings.php:4385
$wgUseSiteCss
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
Definition: DefaultSettings.php:3330
$wgExtraLanguageCodes
$wgExtraLanguageCodes
List of mappings from one language code to another.
Definition: DefaultSettings.php:2949
$wgAPIFormatModules
$wgAPIFormatModules
API format module extensions.
Definition: DefaultSettings.php:8109
$wgUseESI
$wgUseESI
If you run Squid3 with ESI support, enable this (default:false):
Definition: DefaultSettings.php:2686
$wgRegisterInternalExternals
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
Definition: DefaultSettings.php:8487
$wgSecretKey
$wgSecretKey
This should always be customised in LocalSettings.php.
Definition: DefaultSettings.php:5966
$wgScriptPath
$wgScriptPath
The path we should point to.
Definition: DefaultSettings.php:158
$wgNamespacesWithSubpages
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
Definition: DefaultSettings.php:4064
$wgXMLMimeTypes
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
Definition: DefaultSettings.php:1368
$IP
$IP
Definition: WebStart.php:52
$wgPasswordConfig
$wgPasswordConfig
Configuration for built-in password types.
Definition: DefaultSettings.php:4776
$wgDBadminpassword
$wgDBadminpassword
Separate password for maintenance tasks.
Definition: DefaultSettings.php:1849
$wgUseAjax
$wgUseAjax
Enable AJAX framework.
Definition: DefaultSettings.php:8189
$wgDBssl
$wgDBssl
Whether to use SSL in DB connection.
Definition: DefaultSettings.php:1829
$wgWatchersMaxAge
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
Definition: DefaultSettings.php:6742
$wgGrantPermissionGroups
array $wgGrantPermissionGroups
Map of grants to their UI grouping.
Definition: DefaultSettings.php:5899
$wgVariantArticlePath
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
Definition: DefaultSettings.php:3104
$wgMaxShellMemory
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KB.
Definition: DefaultSettings.php:8253
$wgResourceLoaderDebug
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
Definition: DefaultSettings.php:3694
$wgUseImageResize
$wgUseImageResize
Whether to enable server-side image thumbnailing.
Definition: DefaultSettings.php:1028
$wgForeignFileRepos
$wgForeignFileRepos
Definition: DefaultSettings.php:544
$wgAccountCreationThrottle
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
Definition: DefaultSettings.php:5562
$wgEnotifMaxRecips
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
Definition: DefaultSettings.php:1771
$wgUploadThumbnailRenderMethod
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
Definition: DefaultSettings.php:1457
$wgStructuredChangeFiltersOnWatchlist
$wgStructuredChangeFiltersOnWatchlist
Whether to enable RCFilters app on Special:Watchlist.
Definition: DefaultSettings.php:6878
$wgLocalStylePath
$wgLocalStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:229
$wgSpecialVersionShowHooks
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
Definition: DefaultSettings.php:6288
$wgMemCachedPersistent
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
Definition: DefaultSettings.php:2485
$wgShowEXIF
$wgShowEXIF
Show Exif data, on by default if available.
Definition: DefaultSettings.php:691
$wgMaxPPNodeCount
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
Definition: DefaultSettings.php:4184
$wgSecureLogin
$wgSecureLogin
This is to let user authenticate using https when they come from http.
Definition: DefaultSettings.php:4949
$wgCookiePrefix
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
Definition: DefaultSettings.php:6036
$wgUserEmailUseReplyTo
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
Definition: DefaultSettings.php:1644
$wgAPIMaxDBRows
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
Definition: DefaultSettings.php:8142
$wgMainStash
$wgMainStash
Main object stash type.
Definition: DefaultSettings.php:2423
$wgCookieSameSite
string null $wgCookieSameSite
The SameSite cookie attribute used for login cookies.
Definition: DefaultSettings.php:6055
$wgStyleDirectory
$wgStyleDirectory
Filesystem stylesheets directory.
Definition: DefaultSettings.php:250
$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:6696
$wgSVGConverter
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Definition: DefaultSettings.php:1146
$wgSessionSecret
$wgSessionSecret
Secret for session storage.
Definition: DefaultSettings.php:8628
$wgDefaultRobotPolicy
$wgDefaultRobotPolicy
Default robot policy.
Definition: DefaultSettings.php:7961
false
processing should stop and the error should be shown to the user * false
Definition: hooks.txt:187
$wgAllowUserJs
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
Definition: DefaultSettings.php:3305
$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:7031
$wgTrxProfilerLimits
$wgTrxProfilerLimits
Performance expectations for DB usage.
Definition: DefaultSettings.php:6162
$wgExtraNamespaces
$wgExtraNamespaces
Additional namespaces.
Definition: DefaultSettings.php:3888
$wgUploadThumbnailRenderHttpCustomDomain
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HTT...
Definition: DefaultSettings.php:1472
addresses
storage can be distributed across multiple and multiple web servers can use the same cache cluster *********************W A R N I N G ***********************Memcached has no security or authentication Please ensure that your server is appropriately and that the anyone on the internet can put data into and read data from your cache An attacker familiar with MediaWiki internals could use this to steal passwords and email addresses
Definition: memcached.txt:43
$wgCategoryPagingLimit
$wgCategoryPagingLimit
Paging limit for categories.
Definition: DefaultSettings.php:7609
$wgNewUserLog
$wgNewUserLog
Maintain a log of newusers at Log/newusers?
Definition: DefaultSettings.php:7877
$wgNamespacesToBeSearchedDefault
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
Definition: DefaultSettings.php:6534
$wgUsePigLatinVariant
$wgUsePigLatinVariant
Whether to enable the pig latin variant of English (en-x-piglatin), used to ease variant development ...
Definition: DefaultSettings.php:3074
$wgMainWANCache
$wgMainWANCache
Main Wide-Area-Network cache type.
Definition: DefaultSettings.php:2364
$wgGalleryOptions
$wgGalleryOptions
Parameters for the "<gallery>" tag.
Definition: DefaultSettings.php:1496
$wgAutopromoteOnce
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
Definition: DefaultSettings.php:5481
$wgJobQueueIncludeInMaxLagFactor
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Definition: DefaultSettings.php:7567
$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:2745
$wgEnableAutoRotation
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
Definition: DefaultSettings.php:1263
$wgVirtualRestConfig
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
Definition: DefaultSettings.php:8702
$wgCheckFileExtensions
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
Definition: DefaultSettings.php:935
CACHE_DB
const CACHE_DB
Definition: Defines.php:113
$wgAllUnicodeFixes
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
Definition: DefaultSettings.php:2994
$wgInternalServer
$wgInternalServer
Internal server name as known to CDN, if different.
Definition: DefaultSettings.php:2713
$wgDisableAnonTalk
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
Definition: DefaultSettings.php:6991
$wgSquidMaxage
$wgSquidMaxage
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Definition: DefaultSettings.php:2722
$wgInterwikiPrefixDisplayTypes
$wgInterwikiPrefixDisplayTypes
Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwik...
Definition: DefaultSettings.php:8867
$wgUseLocalMessageCache
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
Definition: DefaultSettings.php:2503
$wgStatsdServer
$wgStatsdServer
Destination of statsd metrics.
Definition: DefaultSettings.php:6375
$wgCountCategorizedImagesAsUsed
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
Definition: DefaultSettings.php:7901
$wgDummyLanguageCodes
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
Definition: DefaultSettings.php:2961
$wgPasswordExpirationDays
$wgPasswordExpirationDays
The number of days that a user's password is good for.
Definition: DefaultSettings.php:1666
$wgRCWatchCategoryMembership
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
Definition: DefaultSettings.php:6849
$wgObjectCacheSessionExpiry
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
Definition: DefaultSettings.php:2439
$wgFeed
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
Definition: DefaultSettings.php:6910
$wgAsyncHTTPTimeout
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
Definition: DefaultSettings.php:8376
$wgRightsUrl
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
Definition: DefaultSettings.php:7107
$wgAllowExternalImages
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
Definition: DefaultSettings.php:4235
$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:177
$wgImageMagickTempDir
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
Definition: DefaultSettings.php:1065
$wgSQLMode
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
Definition: DefaultSettings.php:1884
$wgEnableImageWhitelist
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki whitelist of regular expression fragment...
Definition: DefaultSettings.php:4260
$wgExportPagelistLimit
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
Definition: DefaultSettings.php:7230
$wgSharedThumbnailScriptPath
$wgSharedThumbnailScriptPath
Definition: DefaultSettings.php:847
$wgSpamRegex
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
Definition: DefaultSettings.php:5578
$wgOpenSearchDefaultLimit
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
Definition: DefaultSettings.php:6507
$wgCdnMaxageLagged
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
Definition: DefaultSettings.php:2729
$wgShowArchiveThumbnails
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
Definition: DefaultSettings.php:1256
$wgAllowSpecialInclusion
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
Definition: DefaultSettings.php:7889
$wgActorTableSchemaMigrationStage
int $wgActorTableSchemaMigrationStage
Actor table schema migration stage.
Definition: DefaultSettings.php:8881