MediaWiki  master
DefaultSettings.php
Go to the documentation of this file.
1 <?php
46 if ( !defined( 'MEDIAWIKI' ) ) {
47  echo "This file is part of MediaWiki and is not a valid entry point\n";
48  die( 1 );
49 }
50 
59 
67  'main' => 'GlobalVarConfig::newInstance'
68 ];
69 
74 $wgVersion = '1.32.0-alpha';
75 
79 $wgSitename = 'MediaWiki';
80 
88 
106 
115 
122 
123 /************************************************************************/
137 $wgScriptPath = '/wiki';
138 
156 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
157  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
158  ( strpos( PHP_SAPI, 'isapi' ) === false );
159 
162 /************************************************************************/
185 $wgScript = false;
186 
194 
200 $wgStylePath = false;
202 
209 
216 
222 $wgExtensionDirectory = "{$IP}/extensions";
223 
229 $wgStyleDirectory = "{$IP}/skins";
230 
239 
245 
250 
256 
261 $wgLogo = false;
262 
289 $wgLogoHD = false;
290 
295 $wgFavicon = '/favicon.ico';
296 
303 
323 
339 
346 
355 
371 
374 /************************************************************************/
383 
387 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
388 
393 
403 
411 $wgIllegalFileChars = ":\\/\\\\";
412 
418 
423 
439 
519 
524 
531 
542 
553  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
554  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
555  // matching replacement to the 'filepage' format key below to make use of these.
556  'fields' => [
557  'description' => true,
558  'date' => false,
559  'categories' => false,
560  ],
561  // Suffix of localisation messages used to describe the license under which the uploaded file will
562  // be released. The same value may be set for both 'local' and 'foreign' uploads.
563  'licensemessages' => [
564  // The 'local' messages are used for local uploads on this wiki:
565  // * upload-form-label-own-work-message-generic-local
566  // * upload-form-label-not-own-work-message-generic-local
567  // * upload-form-label-not-own-work-local-generic-local
568  'local' => 'generic-local',
569  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
570  // * upload-form-label-own-work-message-generic-foreign
571  // * upload-form-label-not-own-work-message-generic-foreign
572  // * upload-form-label-not-own-work-local-generic-foreign
573  'foreign' => 'generic-foreign',
574  ],
575  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
576  // string value, in which case it is used for both kinds of uploads. Available replacements:
577  // * $HOST - domain name from which a cross-wiki upload originates
578  // * $PAGENAME - wiki page name from which an upload originates
579  'comment' => [
580  'local' => '',
581  'foreign' => '',
582  ],
583  // Format of the file page wikitext to be generated from the fields input by the user.
584  'format' => [
585  // Wrapper for the whole page. Available replacements:
586  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
587  // enabled), wrapped as defined below in the 'description' key
588  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
589  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
590  // * $AUTHOR - linked user name, may be extended in the future
591  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
592  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
593  // field is enabled), or if no input, as defined below in the 'uncategorized' key
594  'filepage' => '$DESCRIPTION',
595  // Wrapped for file description. Available replacements:
596  // * $LANGUAGE - source wiki's content language
597  // * $TEXT - input by the user
598  'description' => '$TEXT',
599  'ownwork' => '',
600  'license' => '',
601  'uncategorized' => '',
602  ],
603 ];
604 
642 
658 
670 $wgShowEXIF = function_exists( 'exif_read_data' );
671 
678 
693 
698 
703 
708 
714 
719 
725 
732 
739 
746 
752 
764 
781 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB
782 
790 
802 
809 
822 
827 
842 
849 
858 $wgRepositoryBaseUrl = "https://commons.wikimedia.org/wiki/File:";
859 
868 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
869 
876  # HTML may contain cookie-stealing JavaScript and web bugs
877  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
878  # PHP scripts may execute arbitrary code on the server
879  'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
880  # Other types that may be interpreted by some servers
881  'shtml', 'jhtml', 'pl', 'py', 'cgi',
882  # May contain harmful executables for Windows victims
883  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ];
884 
890  # HTML may contain cookie-stealing JavaScript and web bugs
891  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
892  # PHP scripts may execute arbitrary code on the server
893  'application/x-php', 'text/x-php',
894  # Other types that may be interpreted by some servers
895  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
896  # Client-side hazards on Internet Explorer
897  'text/scriptlet', 'application/x-msdownload',
898  # Windows metafile, client-side vulnerability on some systems
899  'application/x-msmetafile',
900 ];
901 
908 
915 
923 
931 
936 
948  MEDIATYPE_BITMAP, // all bitmap formats
949  MEDIATYPE_AUDIO, // all audio formats
950  MEDIATYPE_VIDEO, // all plain video formats
951  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
952  "application/pdf", // PDF files
953  # "application/x-shockwave-flash", //flash/shockwave movie
954 ];
955 
964 
970  'image/jpeg' => 'MockBitmapHandler',
971  'image/png' => 'MockBitmapHandler',
972  'image/gif' => 'MockBitmapHandler',
973  'image/tiff' => 'MockBitmapHandler',
974  'image/webp' => 'MockBitmapHandler',
975  'image/x-ms-bmp' => 'MockBitmapHandler',
976  'image/x-bmp' => 'MockBitmapHandler',
977  'image/x-xcf' => 'MockBitmapHandler',
978  'image/svg+xml' => 'MockSvgHandler',
979  'image/vnd.djvu' => 'MockDjVuHandler',
980 ];
981 
990  // the usual case
992  // dumb version, no syntax highlighting
994  // simple implementation, for use by extensions, etc.
996  // dumb version, no syntax highlighting
998  // plain text, for use by extensions, etc.
1000 ];
1001 
1008 
1018 
1022 $wgImageMagickConvertCommand = '/usr/bin/convert';
1023 
1029 
1034 
1039 
1045 
1059 
1065 $wgJpegTran = '/usr/bin/jpegtran';
1066 
1087 
1096 
1101 $wgExiv2Command = '/usr/bin/exiv2';
1102 
1108 $wgExiftool = '/usr/bin/exiftool';
1109 
1120  'ImageMagick' =>
1121  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1122  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1123  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1124  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1125  . '$output $input',
1126  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1127  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1128  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1129 ];
1130 
1134 $wgSVGConverter = 'ImageMagick';
1135 
1140 
1145 
1151 
1164 
1179 
1187 
1202 
1209 $wgThumbnailEpoch = '20030516000000';
1210 
1218 
1231 
1240 
1245 
1252 
1259 
1295 
1296  # setup for clamav
1297  'clamav' => [
1298  'command' => 'clamscan --no-summary ',
1299  'codemap' => [
1300  "0" => AV_NO_VIRUS, # no virus
1301  "1" => AV_VIRUS_FOUND, # virus found
1302  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1303  "*" => AV_SCAN_FAILED, # else scan failed
1304  ],
1305  'messagepattern' => '/.*?:(.*)/sim',
1306  ],
1307 ];
1308 
1313 
1318 
1324 $wgMimeTypeFile = 'includes/mime.types';
1325 
1330 $wgMimeInfoFile = 'includes/mime.info';
1331 
1344 
1351 
1357  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1358  'svg' => 'image/svg+xml',
1359  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1360  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1361  'html' => 'text/html', // application/xhtml+xml?
1362 ];
1363 
1373  [ 320, 240 ],
1374  [ 640, 480 ],
1375  [ 800, 600 ],
1376  [ 1024, 768 ],
1377  [ 1280, 1024 ]
1378 ];
1379 
1386  120,
1387  150,
1388  180,
1389  200,
1390  250,
1391  300
1392 ];
1393 
1404 
1421 
1433 
1446 
1453 
1461 
1469 
1485 
1492 
1497 
1509 
1521 
1528 
1534 $wgDjvuTxt = null;
1535 
1551 
1557 $wgDjvuPostProcessor = 'pnmtojpeg';
1558 
1563  # end of DJvu }
1565  # end of file uploads }
1567 
1568 /************************************************************************/
1579 
1589 
1595 $wgPasswordSenderName = 'MediaWiki Mail';
1596 
1603 
1610 
1616 
1623 
1634 
1640 
1644 $wgNewPasswordExpiry = 3600 * 24 * 7;
1645 
1650 
1656 
1661 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1662 
1680 $wgSMTP = false;
1681 
1686 
1692 
1705 
1706 // TODO move UPO to preferences probably ?
1707 # If set to true, users get a corresponding option in their preferences and can choose to
1708 # enable or disable at their discretion
1709 # If set to false, the corresponding input form on the user preference page is suppressed
1710 # It call this to be a "user-preferences-option (UPO)"
1711 
1718 
1723 
1732 
1748 
1763 
1772 
1778 
1783 
1789  # end of email settings
1791 
1792 /************************************************************************/
1800 $wgDBserver = 'localhost';
1801 
1805 $wgDBport = 5432;
1806 
1810 $wgDBname = 'my_wiki';
1811 
1815 $wgDBuser = 'wikiuser';
1816 
1821 
1825 $wgDBtype = 'mysql';
1826 
1835 $wgDBssl = false;
1836 
1846 
1851 
1856 
1864 
1873 
1878 
1882 $wgDBTableOptions = 'ENGINE=InnoDB';
1883 
1891 
1896 
1901 
1928 
1933 
1937 $wgSharedTables = [ 'user', 'user_properties' ];
1938 
1944 
2001 
2013 
2021 
2026 
2046 
2063 $wgDBmysql5 = false;
2064 
2092 
2099 
2106 
2111 
2116  # End of DB settings }
2118 
2119 /************************************************************************/
2131 
2144 
2160 
2176 
2184  # end text storage }
2186 
2187 /************************************************************************/
2196 
2201 
2206 
2211 
2216 
2221 
2226 
2232 
2240  # end performance hacks }
2242 
2243 /************************************************************************/
2257 
2276 
2284 
2292 
2299 
2309 
2324  CACHE_NONE => [ 'class' => EmptyBagOStuff::class, 'reportDupes' => false ],
2325  CACHE_DB => [ 'class' => SqlBagOStuff::class, 'loggroup' => 'SQLBagOStuff' ],
2326 
2327  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2328  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2329  CACHE_MEMCACHED => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2330 
2331  'db-replicated' => [
2332  'class' => ReplicatedBagOStuff::class,
2333  'readFactory' => [
2334  'class' => SqlBagOStuff::class,
2335  'args' => [ [ 'slaveOnly' => true ] ]
2336  ],
2337  'writeFactory' => [
2338  'class' => SqlBagOStuff::class,
2339  'args' => [ [ 'slaveOnly' => false ] ]
2340  ],
2341  'loggroup' => 'SQLBagOStuff',
2342  'reportDupes' => false
2343  ],
2344 
2345  'apc' => [ 'class' => APCBagOStuff::class, 'reportDupes' => false ],
2346  'apcu' => [ 'class' => APCUBagOStuff::class, 'reportDupes' => false ],
2347  'wincache' => [ 'class' => WinCacheBagOStuff::class, 'reportDupes' => false ],
2348  'memcached-php' => [ 'class' => MemcachedPhpBagOStuff::class, 'loggroup' => 'memcached' ],
2349  'memcached-pecl' => [ 'class' => MemcachedPeclBagOStuff::class, 'loggroup' => 'memcached' ],
2350  'hash' => [ 'class' => HashBagOStuff::class, 'reportDupes' => false ],
2351 ];
2352 
2369 
2386  CACHE_NONE => [
2387  'class' => WANObjectCache::class,
2388  'cacheId' => CACHE_NONE,
2389  'channels' => []
2390  ]
2391  /* Example of a simple single data-center cache:
2392  'memcached-php' => [
2393  'class' => WANObjectCache::class,
2394  'cacheId' => 'memcached-php',
2395  'channels' => [ 'purge' => 'wancache-main-memcached-purge' ]
2396  ]
2397  */
2398 ];
2399 
2412 
2427 $wgMainStash = 'db-replicated';
2428 
2434 
2439 
2444 
2449 
2467 
2474 
2479 
2483 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2484 
2490 
2495 
2508 
2516 
2540  'class' => LocalisationCache::class,
2541  'store' => 'detect',
2542  'storeClass' => false,
2543  'storeDirectory' => false,
2544  'manualRecache' => false,
2545 ];
2546 
2551 
2560 $wgCacheEpoch = '20030516000000';
2561 
2567 
2574 
2582 
2588 
2594 
2605 
2610 
2617 $wgUseGzip = false;
2618 
2626 
2637 
2654  # end of cache settings
2656 
2657 /************************************************************************/
2674 $wgUseSquid = false;
2675 
2679 $wgUseESI = false;
2680 
2687 
2697 
2707 
2716 
2723 
2739 
2746 
2753 
2763 
2771 
2792 
2845 
2851 
2856  # end of HTTP proxy settings
2858 
2859 /************************************************************************/
2881 
2887 
2898 
2903 
2908 
2923 
2928 
2943  'bh' => 'bho', // Bihari language family
2944  'no' => 'nb', // Norwegian language family
2945  'simple' => 'en', // Simple English
2946 ];
2947 
2955 
2965 
2976 
2988 
3000 
3005 
3019 
3025 
3031 
3037 
3042 
3047 
3052 
3057 
3062 
3068 
3079 
3098 
3105 
3126 
3151 
3162  # End of language/charset settings
3164 
3165 /*************************************************************************/
3173 $wgMimeType = 'text/html';
3174 
3183 
3192 
3200 $wgHtml5 = true;
3201 
3211 
3220 
3228 
3236 
3245 
3261 
3270 
3275 $wgDefaultSkin = 'vector';
3276 
3282 $wgFallbackSkin = 'fallback';
3283 
3290 
3295 
3302 
3309 
3317 
3322 
3327 
3333 
3354 
3366 
3371 
3400 $wgFragmentMode = [ 'legacy', 'html5' ];
3401 
3411 
3443  "copyright" => [
3444  "copyright" => [], // placeholder for the built in copyright icon
3445  ],
3446  "poweredby" => [
3447  "mediawiki" => [
3448  // Defaults to point at
3449  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3450  // plus srcset for 1.5x, 2x resolution variants.
3451  "src" => null,
3452  "url" => "//www.mediawiki.org/",
3453  "alt" => "Powered by MediaWiki",
3454  ]
3455  ],
3456 ];
3457 
3465 
3469 $wgEdititis = false;
3470 
3483 
3494 
3502 
3512  # End of output format settings }
3514 
3515 /*************************************************************************/
3538 
3628 
3640 
3646 
3664  'versioned' => [
3665  'server' => 30 * 24 * 60 * 60, // 30 days
3666  'client' => 30 * 24 * 60 * 60, // 30 days
3667  ],
3668  'unversioned' => [
3669  'server' => 5 * 60, // 5 minutes
3670  'client' => 5 * 60, // 5 minutes
3671  ],
3672 ];
3673 
3680 
3687 
3714 
3729 
3738 
3748 
3778  'deviceWidthTablet' => '720px',
3779 ];
3780 
3795  "$IP/resources/src/mediawiki.less/",
3796 ];
3797 
3803 
3811 
3824  # End of ResourceLoader settings }
3826 
3827 /*************************************************************************/
3837 
3846 
3874 
3882 
3902 
3927 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
3928 
3935 
3945 
3950 
3975 
3983 
3988  # end of Interwiki caching settings.
3990 
3999 $wgSitesCacheFile = false;
4000  # end of SiteStore caching settings.
4002 
4018 $wgRedirectSources = false;
4019 
4028 
4044 
4050  NS_TALK => true,
4051  NS_USER => true,
4052  NS_USER_TALK => true,
4053  NS_PROJECT => true,
4054  NS_PROJECT_TALK => true,
4055  NS_FILE_TALK => true,
4056  NS_MEDIAWIKI => true,
4057  NS_MEDIAWIKI_TALK => true,
4058  NS_TEMPLATE => true,
4059  NS_TEMPLATE_TALK => true,
4060  NS_HELP => true,
4061  NS_HELP_TALK => true,
4063 ];
4064 
4081 
4089 
4097 
4105 $wgExtraSignatureNamespaces = [];
4106 
4112 $wgMaxRedirects = 1;
4113 
4124 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4125  # End of title and interwiki settings }
4127 
4128 /************************************************************************/
4155 $wgParserConf = [
4156  'class' => Parser::class,
4157  # 'preprocessorClass' => Preprocessor_Hash::class,
4158 ];
4159 
4163 $wgMaxTocLevel = 999;
4164 
4169 $wgMaxPPNodeCount = 1000000;
4170 
4180 $wgMaxGeneratedPPNodeCount = 1000000;
4181 
4188 $wgMaxTemplateDepth = 40;
4189 
4193 $wgMaxPPExpandDepth = 40;
4194 
4205 $wgUrlProtocols = [
4206  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4207  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4208  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4209  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4210 ];
4211 
4215 $wgCleanSignatures = true;
4216 
4220 $wgAllowExternalImages = false;
4221 
4234 $wgAllowExternalImagesFrom = '';
4235 
4245 $wgEnableImageWhitelist = true;
4246 
4255 $wgAllowImageTag = false;
4256 
4280 $wgTidyConfig = [ 'driver' => 'RemexHtml' ];
4281 
4286 $wgUseTidy = false;
4287 
4292 $wgTidyBin = 'tidy';
4293 
4298 $wgTidyConf = $IP . '/includes/tidy/tidy.conf';
4299 
4304 $wgTidyOpts = '';
4305 
4310 $wgTidyInternal = extension_loaded( 'tidy' );
4311 
4316 $wgDebugTidy = false;
4317 
4323 $wgRawHtml = false;
4324 
4334 $wgExternalLinkTarget = false;
4335 
4342 $wgNoFollowLinks = true;
4343 
4348 $wgNoFollowNsExceptions = [];
4349 
4363 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4364 
4368 $wgAllowDisplayTitle = true;
4369 
4375 $wgRestrictDisplayTitle = true;
4376 
4381 $wgExpensiveParserFunctionLimit = 100;
4382 
4387 $wgPreprocessorCacheThreshold = 1000;
4388 
4392 $wgEnableScaryTranscluding = false;
4393 
4398 $wgTranscludeCacheExpiry = 3600;
4399 
4406 $wgEnableMagicLinks = [
4407  'ISBN' => false,
4408  'PMID' => false,
4409  'RFC' => false
4410 ];
4411  # end of parser settings }
4413 
4414 /************************************************************************/
4435 $wgArticleCountMethod = 'link';
4436 
4444 $wgActiveUserDays = 30;
4445  # End of statistics }
4447 
4448 /************************************************************************/
4458 $wgCentralIdLookupProviders = [
4459  'local' => [ 'class' => LocalIdLookup::class ],
4460 ];
4461 
4466 $wgCentralIdLookupProvider = 'local';
4467 
4491 $wgPasswordPolicy = [
4492  'policies' => [
4493  'bureaucrat' => [
4494  'MinimalPasswordLength' => 8,
4495  'MinimumPasswordLengthToLogin' => 1,
4496  'PasswordCannotMatchUsername' => true,
4497  'PasswordCannotBePopular' => 25,
4498  ],
4499  'sysop' => [
4500  'MinimalPasswordLength' => 8,
4501  'MinimumPasswordLengthToLogin' => 1,
4502  'PasswordCannotMatchUsername' => true,
4503  'PasswordCannotBePopular' => 25,
4504  ],
4505  'bot' => [
4506  'MinimalPasswordLength' => 8,
4507  'MinimumPasswordLengthToLogin' => 1,
4508  'PasswordCannotMatchUsername' => true,
4509  ],
4510  'default' => [
4511  'MinimalPasswordLength' => 1,
4512  'PasswordCannotMatchUsername' => true,
4513  'PasswordCannotMatchBlacklist' => true,
4514  'MaximalPasswordLength' => 4096,
4515  ],
4516  ],
4517  'checks' => [
4518  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4519  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4520  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4521  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4522  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4523  'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4524  ],
4525 ];
4526 
4546 $wgAuthManagerConfig = null;
4547 
4552 $wgAuthManagerAutoConfig = [
4553  'preauth' => [
4556  'sort' => 0,
4557  ],
4560  'sort' => 0,
4561  ],
4562  ],
4563  'primaryauth' => [
4564  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4565  // any other PasswordAuthenticationRequest-based
4566  // PrimaryAuthenticationProvider (or at least any that might return
4567  // FAIL rather than ABSTAIN for a wrong password), or password reset
4568  // won't work right. Do not remove this (or change the key) or
4569  // auto-configuration of other such providers in extensions will
4570  // probably auto-insert themselves in the wrong place.
4573  'args' => [ [
4574  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4575  'authoritative' => false,
4576  ] ],
4577  'sort' => 0,
4578  ],
4581  'args' => [ [
4582  // Last one should be authoritative, or else the user will get
4583  // a less-than-helpful error message (something like "supplied
4584  // authentication info not supported" rather than "wrong
4585  // password") if it too fails.
4586  'authoritative' => true,
4587  ] ],
4588  'sort' => 100,
4589  ],
4590  ],
4591  'secondaryauth' => [
4594  'sort' => 0,
4595  ],
4598  'sort' => 100,
4599  ],
4600  // Linking during login is experimental, enable at your own risk - T134952
4601  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4602  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4603  // 'sort' => 100,
4604  // ],
4607  'sort' => 200,
4608  ],
4609  ],
4610 ];
4611 
4650 $wgReauthenticateTime = [
4651  'default' => 300,
4652 ];
4653 
4669 $wgAllowSecuritySensitiveOperationIfCannotReauthenticate = [
4670  'default' => true,
4671 ];
4672 
4682 $wgChangeCredentialsBlacklist = [
4684 ];
4685 
4695 $wgRemoveCredentialsBlacklist = [
4697 ];
4698 
4703 $wgPasswordSalt = true;
4704 
4710 $wgMinimalPasswordLength = false;
4711 
4723 $wgMaximalPasswordLength = false;
4724 
4730 $wgInvalidPasswordReset = true;
4731 
4737 $wgPasswordDefault = 'pbkdf2';
4738 
4758 $wgPasswordConfig = [
4759  'A' => [
4760  'class' => MWOldPassword::class,
4761  ],
4762  'B' => [
4763  'class' => MWSaltedPassword::class,
4764  ],
4765  'pbkdf2-legacyA' => [
4767  'types' => [
4768  'A',
4769  'pbkdf2',
4770  ],
4771  ],
4772  'pbkdf2-legacyB' => [
4774  'types' => [
4775  'B',
4776  'pbkdf2',
4777  ],
4778  ],
4779  'bcrypt' => [
4780  'class' => BcryptPassword::class,
4781  'cost' => 9,
4782  ],
4783  'pbkdf2' => [
4784  'class' => Pbkdf2Password::class,
4785  'algo' => 'sha512',
4786  'cost' => '30000',
4787  'length' => '64',
4788  ],
4789 ];
4790 
4797 $wgPasswordResetRoutes = [
4798  'username' => true,
4799  'email' => true,
4800 ];
4801 
4805 $wgMaxSigChars = 255;
4806 
4811 $wgMaxNameChars = 255;
4812 
4817 $wgReservedUsernames = [
4818  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
4819  'Conversion script', // Used for the old Wikipedia software upgrade
4820  'Maintenance script', // Maintenance scripts which perform editing, image import script
4821  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
4822  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
4823  'Unknown user', // Used in WikiImporter when importing revisions with no author
4824  'msg:double-redirect-fixer', // Automatic double redirect fix
4825  'msg:usermessage-editor', // Default user for leaving user messages
4826  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
4827  'msg:sorbs', // For $wgEnableDnsBlacklist etc.
4828  'msg:spambot_username', // Used by cleanupSpam.php
4829  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
4830 ];
4831 
4839  'ccmeonemails' => 0,
4840  'cols' => 80, // @deprecated since 1.29 No longer used in core
4841  'date' => 'default',
4842  'diffonly' => 0,
4843  'disablemail' => 0,
4844  'editfont' => 'monospace',
4845  'editondblclick' => 0,
4846  'editsectiononrightclick' => 0,
4847  'email-allow-new-users' => 1,
4848  'enotifminoredits' => 0,
4849  'enotifrevealaddr' => 0,
4850  'enotifusertalkpages' => 1,
4851  'enotifwatchlistpages' => 1,
4852  'extendwatchlist' => 1,
4853  'fancysig' => 0,
4854  'forceeditsummary' => 0,
4855  'gender' => 'unknown',
4856  'hideminor' => 0,
4857  'hidepatrolled' => 0,
4858  'hidecategorization' => 1,
4859  'imagesize' => 2,
4860  'minordefault' => 0,
4861  'newpageshidepatrolled' => 0,
4862  'nickname' => '',
4863  'norollbackdiff' => 0,
4864  'numberheadings' => 0,
4865  'previewonfirst' => 0,
4866  'previewontop' => 1,
4867  'rcdays' => 7,
4868  'rcenhancedfilters' => 0,
4869  'rcenhancedfilters-disable' => 0,
4870  'rclimit' => 50,
4871  'rows' => 25, // @deprecated since 1.29 No longer used in core
4872  'showhiddencats' => 0,
4873  'shownumberswatching' => 1,
4874  'showtoolbar' => 1,
4875  'skin' => false,
4876  'stubthreshold' => 0,
4877  'thumbsize' => 5,
4878  'underline' => 2,
4879  'uselivepreview' => 0,
4880  'usenewrc' => 1,
4881  'watchcreations' => 1,
4882  'watchdefault' => 1,
4883  'watchdeletion' => 0,
4884  'watchuploads' => 1,
4885  'watchlistdays' => 3.0,
4886  'watchlisthideanons' => 0,
4887  'watchlisthidebots' => 0,
4888  'watchlisthideliu' => 0,
4889  'watchlisthideminor' => 0,
4890  'watchlisthideown' => 0,
4891  'watchlisthidepatrolled' => 0,
4892  'watchlisthidecategorization' => 1,
4893  'watchlistreloadautomatically' => 0,
4894  'watchlistunwatchlinks' => 0,
4895  'watchmoves' => 0,
4896  'watchrollback' => 0,
4897  'wllimit' => 250,
4898  'useeditwarning' => 1,
4899  'prefershttps' => 1,
4900 ];
4901 
4905 $wgHiddenPrefs = [];
4906 
4912 $wgInvalidUsernameCharacters = '@:';
4913 
4923 $wgUserrightsInterwikiDelimiter = '@';
4924 
4931 $wgSecureLogin = false;
4932 
4943 $wgAuthenticationTokenVersion = null;
4944 
4953 $wgSessionProviders = [
4956  'args' => [ [
4957  'priority' => 30,
4958  'callUserSetCookiesHook' => true,
4959  ] ],
4960  ],
4963  'args' => [ [
4964  'priority' => 75,
4965  ] ],
4966  ],
4967 ];
4968  # end user accounts }
4970 
4971 /************************************************************************/
4979 $wgAutoblockExpiry = 86400;
4980 
4984 $wgBlockAllowsUTEdit = true;
4985 
4989 $wgSysopEmailBans = true;
4990 
5005 $wgBlockCIDRLimit = [
5006  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5007  'IPv6' => 19,
5008 ];
5009 
5017 $wgBlockDisablesLogin = false;
5018 
5039 $wgWhitelistRead = false;
5040 
5067 $wgWhitelistReadRegexp = false;
5068 
5073 $wgEmailConfirmToEdit = false;
5074 
5079 $wgHideIdentifiableRedirects = true;
5080 
5105 $wgGroupPermissions = [];
5106 
5108 // Implicit group for all visitors
5109 $wgGroupPermissions['*']['createaccount'] = true;
5110 $wgGroupPermissions['*']['read'] = true;
5111 $wgGroupPermissions['*']['edit'] = true;
5112 $wgGroupPermissions['*']['createpage'] = true;
5113 $wgGroupPermissions['*']['createtalk'] = true;
5114 $wgGroupPermissions['*']['writeapi'] = true;
5115 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5116 $wgGroupPermissions['*']['editmywatchlist'] = true;
5117 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5118 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5119 $wgGroupPermissions['*']['editmyoptions'] = true;
5120 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5121 
5122 // Implicit group for all logged-in accounts
5123 $wgGroupPermissions['user']['move'] = true;
5124 $wgGroupPermissions['user']['move-subpages'] = true;
5125 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5126 $wgGroupPermissions['user']['move-categorypages'] = true;
5127 $wgGroupPermissions['user']['movefile'] = true;
5128 $wgGroupPermissions['user']['read'] = true;
5129 $wgGroupPermissions['user']['edit'] = true;
5130 $wgGroupPermissions['user']['createpage'] = true;
5131 $wgGroupPermissions['user']['createtalk'] = true;
5132 $wgGroupPermissions['user']['writeapi'] = true;
5133 $wgGroupPermissions['user']['upload'] = true;
5134 $wgGroupPermissions['user']['reupload'] = true;
5135 $wgGroupPermissions['user']['reupload-shared'] = true;
5136 $wgGroupPermissions['user']['minoredit'] = true;
5137 $wgGroupPermissions['user']['editmyusercss'] = true;
5138 $wgGroupPermissions['user']['editmyuserjson'] = true;
5139 $wgGroupPermissions['user']['editmyuserjs'] = true;
5140 $wgGroupPermissions['user']['purge'] = true;
5141 $wgGroupPermissions['user']['sendemail'] = true;
5142 $wgGroupPermissions['user']['applychangetags'] = true;
5143 $wgGroupPermissions['user']['changetags'] = true;
5144 $wgGroupPermissions['user']['editcontentmodel'] = true;
5145 
5146 // Implicit group for accounts that pass $wgAutoConfirmAge
5147 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5148 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5149 
5150 // Users with bot privilege can have their edits hidden
5151 // from various log pages by default
5152 $wgGroupPermissions['bot']['bot'] = true;
5153 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5154 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5155 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5156 $wgGroupPermissions['bot']['autopatrol'] = true;
5157 $wgGroupPermissions['bot']['suppressredirect'] = true;
5158 $wgGroupPermissions['bot']['apihighlimits'] = true;
5159 $wgGroupPermissions['bot']['writeapi'] = true;
5160 
5161 // Most extra permission abilities go to this group
5162 $wgGroupPermissions['sysop']['block'] = true;
5163 $wgGroupPermissions['sysop']['createaccount'] = true;
5164 $wgGroupPermissions['sysop']['delete'] = true;
5165 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5166 $wgGroupPermissions['sysop']['bigdelete'] = true;
5167 // can view deleted history entries, but not see or restore the text
5168 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5169 // can view deleted revision text
5170 $wgGroupPermissions['sysop']['deletedtext'] = true;
5171 $wgGroupPermissions['sysop']['undelete'] = true;
5172 $wgGroupPermissions['sysop']['editinterface'] = true;
5173 $wgGroupPermissions['sysop']['editusercss'] = true;
5174 $wgGroupPermissions['sysop']['edituserjson'] = true;
5175 $wgGroupPermissions['sysop']['edituserjs'] = true;
5176 $wgGroupPermissions['sysop']['import'] = true;
5177 $wgGroupPermissions['sysop']['importupload'] = true;
5178 $wgGroupPermissions['sysop']['move'] = true;
5179 $wgGroupPermissions['sysop']['move-subpages'] = true;
5180 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5181 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5182 $wgGroupPermissions['sysop']['patrol'] = true;
5183 $wgGroupPermissions['sysop']['autopatrol'] = true;
5184 $wgGroupPermissions['sysop']['protect'] = true;
5185 $wgGroupPermissions['sysop']['editprotected'] = true;
5186 $wgGroupPermissions['sysop']['rollback'] = true;
5187 $wgGroupPermissions['sysop']['upload'] = true;
5188 $wgGroupPermissions['sysop']['reupload'] = true;
5189 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5190 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5191 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5192 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5193 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5194 $wgGroupPermissions['sysop']['blockemail'] = true;
5195 $wgGroupPermissions['sysop']['markbotedits'] = true;
5196 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5197 $wgGroupPermissions['sysop']['browsearchive'] = true;
5198 $wgGroupPermissions['sysop']['noratelimit'] = true;
5199 $wgGroupPermissions['sysop']['movefile'] = true;
5200 $wgGroupPermissions['sysop']['unblockself'] = true;
5201 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5202 # $wgGroupPermissions['sysop']['pagelang'] = true;
5203 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5204 $wgGroupPermissions['sysop']['mergehistory'] = true;
5205 $wgGroupPermissions['sysop']['managechangetags'] = true;
5206 $wgGroupPermissions['sysop']['deletechangetags'] = true;
5207 
5208 // Permission to change users' group assignments
5209 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5210 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5211 // Permission to change users' groups assignments across wikis
5212 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5213 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5214 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5215 
5216 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5217 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5218 // To hide usernames from users and Sysops
5219 # $wgGroupPermissions['suppress']['hideuser'] = true;
5220 // To hide revisions/log items from users and Sysops
5221 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5222 // To view revisions/log items hidden from users and Sysops
5223 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5224 // For private suppression log access
5225 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5226 
5233 # $wgGroupPermissions['developer']['siteadmin'] = true;
5234 
5246 $wgRevokePermissions = [];
5247 
5251 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5252 
5274 $wgGroupsAddToSelf = [];
5275 
5279 $wgGroupsRemoveFromSelf = [];
5280 
5288 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5289 
5301 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5302 
5312 $wgCascadingRestrictionLevels = [ 'sysop' ];
5313 
5326 $wgSemiprotectedRestrictionLevels = [ 'autoconfirmed' ];
5327 
5336 
5346 $wgNonincludableNamespaces = [];
5347 
5368 $wgAutoConfirmAge = 0;
5369 
5379 $wgAutoConfirmCount = 0;
5380 
5438 $wgAutopromote = [
5439  'autoconfirmed' => [ '&',
5440  [ APCOND_EDITCOUNT, &$wgAutoConfirmCount ],
5441  [ APCOND_AGE, &$wgAutoConfirmAge ],
5442  ],
5443 ];
5444 
5463 $wgAutopromoteOnce = [
5464  'onEdit' => [],
5465 ];
5466 
5471 $wgAutopromoteOnceLogInRC = true;
5472 
5495 $wgAddGroups = [];
5496 
5500 $wgRemoveGroups = [];
5501 
5506 $wgAvailableRights = [];
5507 
5512 $wgDeleteRevisionsLimit = 0;
5513 
5521 $wgHideUserContribLimit = 1000;
5522 
5544 $wgAccountCreationThrottle = [ [
5545  'count' => 0,
5546  'seconds' => 86400,
5547 ] ];
5548 
5560 $wgSpamRegex = [];
5561 
5565 $wgSummarySpamRegex = [];
5566 
5572 $wgEnableDnsBlacklist = false;
5573 
5597 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
5598 
5603 $wgProxyWhitelist = [];
5604 
5612 $wgSoftBlockRanges = [];
5613 
5619 $wgApplyIpBlocksToXff = false;
5620 
5656 $wgRateLimits = [
5657  // Page edits
5658  'edit' => [
5659  'ip' => [ 8, 60 ],
5660  'newbie' => [ 8, 60 ],
5661  'user' => [ 90, 60 ],
5662  ],
5663  // Page moves
5664  'move' => [
5665  'newbie' => [ 2, 120 ],
5666  'user' => [ 8, 60 ],
5667  ],
5668  // File uploads
5669  'upload' => [
5670  'ip' => [ 8, 60 ],
5671  'newbie' => [ 8, 60 ],
5672  ],
5673  // Page rollbacks
5674  'rollback' => [
5675  'user' => [ 10, 60 ],
5676  'newbie' => [ 5, 120 ]
5677  ],
5678  // Triggering password resets emails
5679  'mailpassword' => [
5680  'ip' => [ 5, 3600 ],
5681  ],
5682  // Emailing other users using MediaWiki
5683  'emailuser' => [
5684  'ip' => [ 5, 86400 ],
5685  'newbie' => [ 5, 86400 ],
5686  'user' => [ 20, 86400 ],
5687  ],
5688  // Purging pages
5689  'purge' => [
5690  'ip' => [ 30, 60 ],
5691  'user' => [ 30, 60 ],
5692  ],
5693  // Purges of link tables
5694  'linkpurge' => [
5695  'ip' => [ 30, 60 ],
5696  'user' => [ 30, 60 ],
5697  ],
5698  // Files rendered via thumb.php or thumb_handler.php
5699  'renderfile' => [
5700  'ip' => [ 700, 30 ],
5701  'user' => [ 700, 30 ],
5702  ],
5703  // Same as above but for non-standard thumbnails
5704  'renderfile-nonstandard' => [
5705  'ip' => [ 70, 30 ],
5706  'user' => [ 70, 30 ],
5707  ],
5708  // Stashing edits into cache before save
5709  'stashedit' => [
5710  'ip' => [ 30, 60 ],
5711  'newbie' => [ 30, 60 ],
5712  ],
5713  // Adding or removing change tags
5714  'changetag' => [
5715  'ip' => [ 8, 60 ],
5716  'newbie' => [ 8, 60 ],
5717  ],
5718  // Changing the content model of a page
5719  'editcontentmodel' => [
5720  'newbie' => [ 2, 120 ],
5721  'user' => [ 8, 60 ],
5722  ],
5723 ];
5724 
5729 $wgRateLimitsExcludedIPs = [];
5730 
5736 $wgPutIPinRC = true;
5737 
5742 $wgQueryPageDefaultLimit = 50;
5743 
5756 $wgPasswordAttemptThrottle = [
5757  // Short term limit
5758  [ 'count' => 5, 'seconds' => 300 ],
5759  // Long term limit. We need to balance the risk
5760  // of somebody using this as a DoS attack to lock someone
5761  // out of their account, and someone doing a brute force attack.
5762  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
5763 ];
5764 
5775 $wgGrantPermissions = [];
5776 
5777 // @TODO: clean up grants
5778 // @TODO: auto-include read/editsemiprotected rights?
5779 
5780 $wgGrantPermissions['basic']['autoconfirmed'] = true;
5781 $wgGrantPermissions['basic']['autopatrol'] = true;
5782 $wgGrantPermissions['basic']['editsemiprotected'] = true;
5783 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
5784 $wgGrantPermissions['basic']['nominornewtalk'] = true;
5785 $wgGrantPermissions['basic']['patrolmarks'] = true;
5786 $wgGrantPermissions['basic']['purge'] = true;
5787 $wgGrantPermissions['basic']['read'] = true;
5788 $wgGrantPermissions['basic']['skipcaptcha'] = true;
5789 $wgGrantPermissions['basic']['writeapi'] = true;
5790 
5791 $wgGrantPermissions['highvolume']['bot'] = true;
5792 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
5793 $wgGrantPermissions['highvolume']['noratelimit'] = true;
5794 $wgGrantPermissions['highvolume']['markbotedits'] = true;
5795 
5796 $wgGrantPermissions['editpage']['edit'] = true;
5797 $wgGrantPermissions['editpage']['minoredit'] = true;
5798 $wgGrantPermissions['editpage']['applychangetags'] = true;
5799 $wgGrantPermissions['editpage']['changetags'] = true;
5800 
5801 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
5802 $wgGrantPermissions['editprotected']['editprotected'] = true;
5803 
5804 // FIXME: Rename editmycssjs to editmyconfig
5805 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
5806 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
5807 $wgGrantPermissions['editmycssjs']['editmyuserjson'] = true;
5808 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
5809 
5810 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
5811 
5812 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
5813 $wgGrantPermissions['editinterface']['editinterface'] = true;
5814 $wgGrantPermissions['editinterface']['editusercss'] = true;
5815 $wgGrantPermissions['editinterface']['edituserjson'] = true;
5816 $wgGrantPermissions['editinterface']['edituserjs'] = true;
5817 
5818 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
5819 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
5820 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
5821 $wgGrantPermissions['createeditmovepage']['move'] = true;
5822 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
5823 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
5824 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
5825 
5826 $wgGrantPermissions['uploadfile']['upload'] = true;
5827 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
5828 
5829 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
5830 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
5831 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
5832 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
5833 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
5834 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
5835 
5836 $wgGrantPermissions['patrol']['patrol'] = true;
5837 
5838 $wgGrantPermissions['rollback']['rollback'] = true;
5839 
5840 $wgGrantPermissions['blockusers']['block'] = true;
5841 $wgGrantPermissions['blockusers']['blockemail'] = true;
5842 
5843 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
5844 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
5845 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
5846 
5847 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
5848 
5849 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
5850  $wgGrantPermissions['viewdeleted'];
5851 $wgGrantPermissions['delete']['delete'] = true;
5852 $wgGrantPermissions['delete']['bigdelete'] = true;
5853 $wgGrantPermissions['delete']['deletelogentry'] = true;
5854 $wgGrantPermissions['delete']['deleterevision'] = true;
5855 $wgGrantPermissions['delete']['undelete'] = true;
5856 
5857 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
5858 $wgGrantPermissions['protect']['protect'] = true;
5859 
5860 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
5861 
5862 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
5863 
5864 $wgGrantPermissions['sendemail']['sendemail'] = true;
5865 
5866 $wgGrantPermissions['createaccount']['createaccount'] = true;
5867 
5868 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
5869 
5874 $wgGrantPermissionGroups = [
5875  // Hidden grants are implicitly present
5876  'basic' => 'hidden',
5877 
5878  'editpage' => 'page-interaction',
5879  'createeditmovepage' => 'page-interaction',
5880  'editprotected' => 'page-interaction',
5881  'patrol' => 'page-interaction',
5882 
5883  'uploadfile' => 'file-interaction',
5884  'uploadeditmovefile' => 'file-interaction',
5885 
5886  'sendemail' => 'email',
5887 
5888  'viewmywatchlist' => 'watchlist-interaction',
5889  'editviewmywatchlist' => 'watchlist-interaction',
5890 
5891  'editmycssjs' => 'customization',
5892  'editmyoptions' => 'customization',
5893 
5894  'editinterface' => 'administration',
5895  'rollback' => 'administration',
5896  'blockusers' => 'administration',
5897  'delete' => 'administration',
5898  'viewdeleted' => 'administration',
5899  'viewrestrictedlogs' => 'administration',
5900  'protect' => 'administration',
5901  'createaccount' => 'administration',
5902 
5903  'highvolume' => 'high-volume',
5904 
5905  'privateinfo' => 'private-information',
5906 ];
5907 
5912 $wgEnableBotPasswords = true;
5913 
5919 $wgBotPasswordsCluster = false;
5920 
5929 $wgBotPasswordsDatabase = false;
5930  # end of user rights settings
5932 
5933 /************************************************************************/
5941 $wgSecretKey = false;
5942 
5952 $wgProxyList = [];
5953  # end of proxy scanner settings
5955 
5956 /************************************************************************/
5964 $wgCookieExpiration = 30 * 86400;
5965 
5972 $wgExtendedLoginCookieExpiration = 180 * 86400;
5973 
5978 $wgCookieDomain = '';
5979 
5984 $wgCookiePath = '/';
5985 
5992 $wgCookieSecure = 'detect';
5993 
6000 $wgDisableCookieCheck = false;
6001 
6007 $wgCookiePrefix = false;
6008 
6014 $wgCookieHttpOnly = true;
6015 
6019 $wgCacheVaryCookies = [];
6020 
6024 $wgSessionName = false;
6025 
6033 $wgCookieSetOnAutoblock = false;
6034  # end of cookie settings }
6036 
6037 /************************************************************************/
6048 $wgUseTeX = false;
6049  # end LaTeX }
6051 
6052 /************************************************************************/
6065 $wgDebugLogFile = '';
6066 
6070 $wgDebugLogPrefix = '';
6071 
6077 $wgDebugRedirects = false;
6078 
6084 $wgDebugRawPage = false;
6085 
6094 $wgDebugComments = false;
6095 
6104 $wgDebugDumpSql = false;
6105 
6111 $wgTrxProfilerLimits = [
6112  // HTTP GET/HEAD requests.
6113  // Master queries should not happen on GET requests
6114  'GET' => [
6115  'masterConns' => 0,
6116  'writes' => 0,
6117  'readQueryTime' => 5
6118  ],
6119  // HTTP POST requests.
6120  // Master reads and writes will happen for a subset of these.
6121  'POST' => [
6122  'readQueryTime' => 5,
6123  'writeQueryTime' => 1,
6124  'maxAffected' => 1000
6125  ],
6126  'POST-nonwrite' => [
6127  'masterConns' => 0,
6128  'writes' => 0,
6129  'readQueryTime' => 5
6130  ],
6131  // Deferred updates that run after HTTP response is sent for GET requests
6132  'PostSend-GET' => [
6133  'readQueryTime' => 5,
6134  'writeQueryTime' => 1,
6135  'maxAffected' => 1000,
6136  // Log master queries under the post-send entry point as they are discouraged
6137  'masterConns' => 0,
6138  'writes' => 0,
6139  ],
6140  // Deferred updates that run after HTTP response is sent for POST requests
6141  'PostSend-POST' => [
6142  'readQueryTime' => 5,
6143  'writeQueryTime' => 1,
6144  'maxAffected' => 1000
6145  ],
6146  // Background job runner
6147  'JobRunner' => [
6148  'readQueryTime' => 30,
6149  'writeQueryTime' => 5,
6150  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
6151  ],
6152  // Command-line scripts
6153  'Maintenance' => [
6154  'writeQueryTime' => 5,
6155  'maxAffected' => 1000
6156  ]
6157 ];
6158 
6189 $wgDebugLogGroups = [];
6190 
6212 $wgMWLoggerDefaultSpi = [
6214 ];
6215 
6221 $wgShowDebug = false;
6222 
6227 $wgDebugTimestamps = false;
6228 
6232 $wgDebugPrintHttpHeaders = true;
6233 
6237 $wgSpecialVersionShowHooks = false;
6238 
6244 $wgShowSQLErrors = false;
6245 
6252 $wgShowExceptionDetails = false;
6253 
6262 $wgShowDBErrorBacktrace = false;
6263 
6267 $wgLogExceptionBacktrace = true;
6268 
6273 $wgPropagateErrors = true;
6274 
6278 $wgShowHostnames = false;
6279 
6285 $wgOverrideHostname = false;
6286 
6291 $wgDevelopmentWarnings = false;
6292 
6298 $wgDeprecationReleaseLimit = false;
6299 
6358 $wgProfiler = [];
6359 
6364 $wgProfileLimit = 0.0;
6365 
6372 $wgProfileOnly = false;
6373 
6384 $wgStatsdServer = false;
6385 
6393 $wgStatsdMetricPrefix = 'MediaWiki';
6394 
6401 $wgStatsdSamplingRates = [
6402  'wanobjectcache:*' => 0.001
6403 ];
6404 
6410 $wgPageInfoTransclusionLimit = 50;
6411 
6418 $wgSiteStatsAsyncFactor = false;
6419 
6433 $wgParserTestFiles = [];
6434 
6438 $wgEnableJavaScriptTest = false;
6439 
6444 $wgCachePrefix = false;
6445 
6453 $wgDebugToolbar = false;
6454  # end of profiling, testing and debugging }
6456 
6457 /************************************************************************/
6465 $wgDisableTextSearch = false;
6466 
6471 $wgAdvancedSearchHighlighting = false;
6472 
6477 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6478 
6489 $wgOpenSearchTemplate = false;
6490 
6499 $wgOpenSearchTemplates = [
6500  'application/x-suggestions+json' => false,
6501  'application/x-suggestions+xml' => false,
6502 ];
6503 
6510 $wgEnableOpenSearchSuggest = true;
6511 
6516 $wgOpenSearchDefaultLimit = 10;
6517 
6521 $wgOpenSearchDescriptionLength = 100;
6522 
6526 $wgSearchSuggestCacheExpiry = 1200;
6527 
6532 $wgDisableSearchUpdate = false;
6533 
6543 $wgNamespacesToBeSearchedDefault = [
6544  NS_MAIN => true,
6545 ];
6546 
6551 $wgDisableInternalSearch = false;
6552 
6568 $wgSearchForwardUrl = null;
6569 
6575 $wgUseTwoButtonsSearchForm = true;
6576 
6582 $wgSitemapNamespaces = false;
6583 
6598 $wgSitemapNamespacesPriorities = false;
6599 
6605 $wgEnableSearchContributorsByIP = true;
6606  # end of search settings
6608 
6609 /************************************************************************/
6618 $wgDiff3 = '/usr/bin/diff3';
6619 
6623 $wgDiff = '/usr/bin/diff';
6624 
6630 $wgPreviewOnOpenNamespaces = [
6631  NS_CATEGORY => true
6632 ];
6633 
6639 $wgUniversalEditButton = true;
6640 
6646 $wgUseAutomaticEditSummaries = true;
6647  # end edit UI }
6649 
6650 /************************************************************************/
6660 if ( !isset( $wgCommandLineMode ) ) {
6661  $wgCommandLineMode = false;
6662 }
6668 $wgCommandLineDarkBg = false;
6669 
6678 $wgReadOnly = null;
6679 
6685 $wgReadOnlyWatchedItemStore = false;
6686 
6694 $wgReadOnlyFile = false;
6695 
6705 $wgUpgradeKey = false;
6706 
6710 $wgGitBin = '/usr/bin/git';
6711 
6725 $wgGitRepositoryViewers = [
6726  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6727  'https://gerrit.wikimedia.org/g/%R/+/%H',
6728  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6729  'https://gerrit.wikimedia.org/g/%R/+/%H',
6730 ];
6731  # End of maintenance }
6733 
6734 /************************************************************************/
6744 $wgRCMaxAge = 90 * 24 * 3600;
6745 
6751 $wgWatchersMaxAge = 180 * 24 * 3600;
6752 
6759 $wgUnwatchedPageSecret = 1;
6760 
6768 $wgRCFilterByAge = false;
6769 
6774 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
6775 
6780 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
6781 
6835 $wgRCFeeds = [];
6836 
6842 $wgRCEngines = [
6843  'redis' => RedisPubSubFeedEngine::class,
6844  'udp' => UDPRCFeedEngine::class,
6845 ];
6846 
6858 $wgRCWatchCategoryMembership = false;
6859 
6868 $wgUseRCPatrol = true;
6869 
6880 $wgStructuredChangeFiltersShowPreference = false;
6881 
6887 $wgStructuredChangeFiltersOnWatchlist = false;
6888 
6894 $wgStructuredChangeFiltersLiveUpdatePollingRate = 3;
6895 
6903 $wgUseNPPatrol = true;
6904 
6914 $wgUseFilePatrol = true;
6915 
6919 $wgFeed = true;
6920 
6925 $wgFeedLimit = 50;
6926 
6935 $wgFeedCacheTimeout = 60;
6936 
6941 $wgFeedDiffCutoff = 32768;
6942 
6955 $wgOverrideSiteFeed = [];
6956 
6962 $wgFeedClasses = [
6963  'rss' => RSSFeed::class,
6964  'atom' => AtomFeed::class,
6965 ];
6966 
6971 $wgAdvertisedFeedTypes = [ 'atom' ];
6972 
6976 $wgRCShowWatchingUsers = false; # UPO
6977 
6981 $wgRCShowChangedSize = true;
6982 
6988 $wgRCChangedSizeThreshold = 500;
6989 
6994 $wgShowUpdatedMarker = true;
6995 
7000 $wgDisableAnonTalk = false;
7001 
7006 $wgUseTagFilter = true;
7007 
7022 $wgSoftwareTags = [
7023  'mw-contentmodelchange' => true,
7024  'mw-new-redirect' => true,
7025  'mw-removed-redirect' => true,
7026  'mw-changed-redirect-target' => true,
7027  'mw-blank' => true,
7028  'mw-replace' => true,
7029  'mw-rollback' => true,
7030  'mw-undo' => true,
7031 ];
7032 
7040 $wgUnwatchedPageThreshold = false;
7041 
7066 $wgRecentChangesFlags = [
7067  'newpage' => [
7068  'letter' => 'newpageletter',
7069  'title' => 'recentchanges-label-newpage',
7070  'legend' => 'recentchanges-legend-newpage',
7071  'grouping' => 'any',
7072  ],
7073  'minor' => [
7074  'letter' => 'minoreditletter',
7075  'title' => 'recentchanges-label-minor',
7076  'legend' => 'recentchanges-legend-minor',
7077  'class' => 'minoredit',
7078  'grouping' => 'all',
7079  ],
7080  'bot' => [
7081  'letter' => 'boteditletter',
7082  'title' => 'recentchanges-label-bot',
7083  'legend' => 'recentchanges-legend-bot',
7084  'class' => 'botedit',
7085  'grouping' => 'all',
7086  ],
7087  'unpatrolled' => [
7088  'letter' => 'unpatrolledletter',
7089  'title' => 'recentchanges-label-unpatrolled',
7090  'legend' => 'recentchanges-legend-unpatrolled',
7091  'grouping' => 'any',
7092  ],
7093 ];
7094  # end RC/watchlist }
7096 
7097 /************************************************************************/
7109 $wgRightsPage = null;
7110 
7116 $wgRightsUrl = null;
7117 
7124 $wgRightsText = null;
7125 
7129 $wgRightsIcon = null;
7130 
7134 $wgUseCopyrightUpload = false;
7135 
7143 $wgMaxCredits = 0;
7144 
7149 $wgShowCreditsIfMax = true;
7150  # end of copyright and credits settings }
7152 
7153 /************************************************************************/
7180 $wgImportSources = [];
7181 
7189 $wgImportTargetNamespace = null;
7190 
7196 $wgExportAllowHistory = true;
7197 
7203 $wgExportMaxHistory = 0;
7204 
7208 $wgExportAllowListContributors = false;
7209 
7221 $wgExportMaxLinkDepth = 0;
7222 
7226 $wgExportFromNamespaces = false;
7227 
7231 $wgExportAllowAll = false;
7232 
7239 $wgExportPagelistLimit = 5000;
7240  # end of import/export }
7242 
7243 /*************************************************************************/
7252 $wgExtensionFunctions = [];
7253 
7281 
7307 $wgMessagesDirs = [];
7308 
7314 $wgExtensionEntryPointListFiles = [];
7315 
7330 $wgParserOutputHooks = [];
7331 
7335 $wgEnableParserLimitReporting = true;
7336 
7345 $wgValidSkinNames = [];
7346 
7353 $wgSpecialPages = [];
7354 
7358 $wgAutoloadClasses = [];
7359 
7365 $wgAutoloadAttemptLowercase = true;
7366 
7419 $wgExtensionCredits = [];
7420 
7426 $wgAuth = null;
7427 
7462 $wgHooks = [];
7463 
7476  __DIR__ . '/ServiceWiring.php'
7477 ];
7478 
7485 $wgJobClasses = [
7486  'refreshLinks' => RefreshLinksJob::class,
7487  'deleteLinks' => DeleteLinksJob::class,
7488  'htmlCacheUpdate' => HTMLCacheUpdateJob::class,
7489  'sendMail' => EmaillingJob::class,
7490  'enotifNotify' => EnotifNotifyJob::class,
7491  'fixDoubleRedirect' => DoubleRedirectJob::class,
7492  'AssembleUploadChunks' => AssembleUploadChunksJob::class,
7493  'PublishStashedFile' => PublishStashedFileJob::class,
7494  'ThumbnailRender' => ThumbnailRenderJob::class,
7495  'recentChangesUpdate' => RecentChangesUpdateJob::class,
7496  'refreshLinksPrioritized' => RefreshLinksJob::class,
7497  'refreshLinksDynamic' => RefreshLinksJob::class,
7498  'activityUpdateJob' => ActivityUpdateJob::class,
7499  'categoryMembershipChange' => CategoryMembershipChangeJob::class,
7500  'clearUserWatchlist' => ClearUserWatchlistJob::class,
7501  'cdnPurge' => CdnPurgeJob::class,
7502  'userGroupExpiry' => UserGroupExpiryJob::class,
7503  'clearWatchlistNotifications' => ClearWatchlistNotificationsJob::class,
7504  'enqueue' => EnqueueJob::class, // local queue for multi-DC setups
7505  'null' => NullJob::class,
7506 ];
7507 
7519 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7520 
7530 $wgJobBackoffThrottling = [];
7531 
7545 $wgJobSerialCommitThreshold = false;
7546 
7553 $wgJobTypeConf = [
7554  'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
7555 ];
7556 
7561 $wgJobQueueAggregator = [
7563 ];
7564 
7576 $wgJobQueueIncludeInMaxLagFactor = false;
7577 
7582 $wgSpecialPageCacheUpdates = [
7583  'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
7584 ];
7585 
7593 $wgPagePropLinkInvalidations = [
7594  'hiddencat' => 'categorylinks',
7595 ];
7596  # End extensions }
7598 
7599 /*************************************************************************/
7607 $wgUseCategoryBrowser = false;
7608 
7613 $wgCategoryMagicGallery = true;
7614 
7618 $wgCategoryPagingLimit = 200;
7619 
7645 $wgCategoryCollation = 'uppercase';
7646  # End categories }
7648 
7649 /*************************************************************************/
7660 $wgLogTypes = [
7661  '',
7662  'block',
7663  'protect',
7664  'rights',
7665  'delete',
7666  'upload',
7667  'move',
7668  'import',
7669  'patrol',
7670  'merge',
7671  'suppress',
7672  'tag',
7673  'managetags',
7674  'contentmodel',
7675 ];
7676 
7684 $wgLogRestrictions = [
7685  'suppress' => 'suppressionlog'
7686 ];
7687 
7707 $wgFilterLogTypes = [
7708  'patrol' => true,
7709  'tag' => true,
7710 ];
7711 
7721 $wgLogNames = [
7722  '' => 'all-logs-page',
7723  'block' => 'blocklogpage',
7724  'protect' => 'protectlogpage',
7725  'rights' => 'rightslog',
7726  'delete' => 'dellogpage',
7727  'upload' => 'uploadlogpage',
7728  'move' => 'movelogpage',
7729  'import' => 'importlogpage',
7730  'patrol' => 'patrol-log-page',
7731  'merge' => 'mergelog',
7732  'suppress' => 'suppressionlog',
7733 ];
7734 
7744 $wgLogHeaders = [
7745  '' => 'alllogstext',
7746  'block' => 'blocklogtext',
7747  'delete' => 'dellogpagetext',
7748  'import' => 'importlogpagetext',
7749  'merge' => 'mergelogpagetext',
7750  'move' => 'movelogpagetext',
7751  'patrol' => 'patrol-log-header',
7752  'protect' => 'protectlogtext',
7753  'rights' => 'rightslogtext',
7754  'suppress' => 'suppressionlogtext',
7755  'upload' => 'uploadlogpagetext',
7756 ];
7757 
7764 $wgLogActions = [];
7765 
7772 $wgLogActionsHandlers = [
7773  'block/block' => BlockLogFormatter::class,
7774  'block/reblock' => BlockLogFormatter::class,
7775  'block/unblock' => BlockLogFormatter::class,
7776  'contentmodel/change' => ContentModelLogFormatter::class,
7777  'contentmodel/new' => ContentModelLogFormatter::class,
7778  'delete/delete' => DeleteLogFormatter::class,
7779  'delete/delete_redir' => DeleteLogFormatter::class,
7780  'delete/event' => DeleteLogFormatter::class,
7781  'delete/restore' => DeleteLogFormatter::class,
7782  'delete/revision' => DeleteLogFormatter::class,
7783  'import/interwiki' => ImportLogFormatter::class,
7784  'import/upload' => ImportLogFormatter::class,
7785  'managetags/activate' => LogFormatter::class,
7786  'managetags/create' => LogFormatter::class,
7787  'managetags/deactivate' => LogFormatter::class,
7788  'managetags/delete' => LogFormatter::class,
7789  'merge/merge' => MergeLogFormatter::class,
7790  'move/move' => MoveLogFormatter::class,
7791  'move/move_redir' => MoveLogFormatter::class,
7792  'patrol/patrol' => PatrolLogFormatter::class,
7793  'patrol/autopatrol' => PatrolLogFormatter::class,
7794  'protect/modify' => ProtectLogFormatter::class,
7795  'protect/move_prot' => ProtectLogFormatter::class,
7796  'protect/protect' => ProtectLogFormatter::class,
7797  'protect/unprotect' => ProtectLogFormatter::class,
7798  'rights/autopromote' => RightsLogFormatter::class,
7799  'rights/rights' => RightsLogFormatter::class,
7800  'suppress/block' => BlockLogFormatter::class,
7801  'suppress/delete' => DeleteLogFormatter::class,
7802  'suppress/event' => DeleteLogFormatter::class,
7803  'suppress/reblock' => BlockLogFormatter::class,
7804  'suppress/revision' => DeleteLogFormatter::class,
7805  'tag/update' => TagLogFormatter::class,
7806  'upload/overwrite' => UploadLogFormatter::class,
7807  'upload/revert' => UploadLogFormatter::class,
7808  'upload/upload' => UploadLogFormatter::class,
7809 ];
7810 
7819 $wgActionFilteredLogs = [
7820  'block' => [
7821  'block' => [ 'block' ],
7822  'reblock' => [ 'reblock' ],
7823  'unblock' => [ 'unblock' ],
7824  ],
7825  'contentmodel' => [
7826  'change' => [ 'change' ],
7827  'new' => [ 'new' ],
7828  ],
7829  'delete' => [
7830  'delete' => [ 'delete' ],
7831  'delete_redir' => [ 'delete_redir' ],
7832  'restore' => [ 'restore' ],
7833  'event' => [ 'event' ],
7834  'revision' => [ 'revision' ],
7835  ],
7836  'import' => [
7837  'interwiki' => [ 'interwiki' ],
7838  'upload' => [ 'upload' ],
7839  ],
7840  'managetags' => [
7841  'create' => [ 'create' ],
7842  'delete' => [ 'delete' ],
7843  'activate' => [ 'activate' ],
7844  'deactivate' => [ 'deactivate' ],
7845  ],
7846  'move' => [
7847  'move' => [ 'move' ],
7848  'move_redir' => [ 'move_redir' ],
7849  ],
7850  'newusers' => [
7851  'create' => [ 'create', 'newusers' ],
7852  'create2' => [ 'create2' ],
7853  'autocreate' => [ 'autocreate' ],
7854  'byemail' => [ 'byemail' ],
7855  ],
7856  'protect' => [
7857  'protect' => [ 'protect' ],
7858  'modify' => [ 'modify' ],
7859  'unprotect' => [ 'unprotect' ],
7860  'move_prot' => [ 'move_prot' ],
7861  ],
7862  'rights' => [
7863  'rights' => [ 'rights' ],
7864  'autopromote' => [ 'autopromote' ],
7865  ],
7866  'suppress' => [
7867  'event' => [ 'event' ],
7868  'revision' => [ 'revision' ],
7869  'delete' => [ 'delete' ],
7870  'block' => [ 'block' ],
7871  'reblock' => [ 'reblock' ],
7872  ],
7873  'upload' => [
7874  'upload' => [ 'upload' ],
7875  'overwrite' => [ 'overwrite' ],
7876  ],
7877 ];
7878 
7882 $wgNewUserLog = true;
7883  # end logging }
7885 
7886 /*************************************************************************/
7894 $wgAllowSpecialInclusion = true;
7895 
7900 $wgDisableQueryPageUpdate = false;
7901 
7906 $wgCountCategorizedImagesAsUsed = false;
7907 
7912 $wgMaxRedirectLinksRetrieved = 500;
7913  # end special pages }
7915 
7916 /*************************************************************************/
7931 $wgActions = [
7932  'credits' => true,
7933  'delete' => true,
7934  'edit' => true,
7935  'editchangetags' => SpecialPageAction::class,
7936  'history' => true,
7937  'info' => true,
7938  'markpatrolled' => true,
7939  'protect' => true,
7940  'purge' => true,
7941  'raw' => true,
7942  'render' => true,
7943  'revert' => true,
7944  'revisiondelete' => SpecialPageAction::class,
7945  'rollback' => true,
7946  'submit' => true,
7947  'unprotect' => true,
7948  'unwatch' => true,
7949  'view' => true,
7950  'watch' => true,
7951 ];
7952  # end actions }
7954 
7955 /*************************************************************************/
7966 $wgDefaultRobotPolicy = 'index,follow';
7967 
7982 $wgNamespaceRobotPolicies = [];
7983 
8010 $wgArticleRobotPolicies = [];
8011 
8022 $wgExemptFromUserRobotsControl = null;
8023  # End robot policy }
8025 
8026 /************************************************************************/
8048 $wgDebugAPI = false;
8049 
8086 $wgAPIModules = [];
8087 
8095 $wgAPIFormatModules = [];
8096 
8104 $wgAPIMetaModules = [];
8105 
8113 $wgAPIPropModules = [];
8114 
8122 $wgAPIListModules = [];
8123 
8128 $wgAPIMaxDBRows = 5000;
8129 
8134 $wgAPIMaxResultSize = 8388608;
8135 
8140 $wgAPIMaxUncachedDiffs = 1;
8141 
8147 $wgAPIMaxLagThreshold = 7;
8148 
8153 $wgAPIRequestLog = false;
8154 
8158 $wgAPICacheHelpTimeout = 60 * 60;
8159 
8164 $wgAPIUselessQueryPages = [
8165  'MIMEsearch', // aiprop=mime
8166  'LinkSearch', // list=exturlusage
8167  'FileDuplicateSearch', // prop=duplicatefiles
8168 ];
8169 
8175 $wgUseAjax = true;
8176 
8182 $wgAjaxExportList = [];
8183 
8187 $wgAjaxUploadDestCheck = true;
8188 
8192 $wgAjaxLicensePreview = true;
8193 
8198 $wgAjaxEditStash = true;
8199 
8220 $wgCrossSiteAJAXdomains = [];
8221 
8227 $wgCrossSiteAJAXdomainExceptions = [];
8228  # End AJAX and API }
8230 
8231 /************************************************************************/
8239 $wgMaxShellMemory = 307200;
8240 
8245 $wgMaxShellFileSize = 102400;
8246 
8250 $wgMaxShellTime = 180;
8251 
8256 $wgMaxShellWallClockTime = 180;
8257 
8281 $wgShellCgroup = false;
8282 
8286 $wgPhpCli = '/usr/bin/php';
8287 
8322 $wgShellLocale = 'C.UTF-8';
8323 
8338 $wgShellRestrictionMethod = false;
8339  # End shell }
8341 
8342 /************************************************************************/
8351 $wgHTTPTimeout = 25;
8352 
8357 $wgHTTPImportTimeout = 25;
8358 
8362 $wgAsyncHTTPTimeout = 25;
8363 
8367 $wgHTTPProxy = false;
8368 
8382 $wgLocalVirtualHosts = [];
8383 
8388 $wgHTTPConnectTimeout = 5e0;
8389  # End HTTP client }
8391 
8392 /************************************************************************/
8403 $wgJobRunRate = 1;
8404 
8412 $wgRunJobsAsync = false;
8413 
8417 $wgUpdateRowsPerJob = 300;
8418 
8422 $wgUpdateRowsPerQuery = 100;
8423  # End job queue }
8425 
8426 /************************************************************************/
8437 $wgExternalDiffEngine = false;
8438 
8451 $wgWikiDiff2MovedParagraphDetectionCutoff = 0;
8452 
8461 $wgDisableHardRedirects = false;
8462 
8467 $wgLinkHolderBatchSize = 1000;
8468 
8473 $wgRegisterInternalExternals = false;
8474 
8478 $wgMaximumMovedPages = 100;
8479 
8484 $wgFixDoubleRedirects = false;
8485 
8490 $wgRedirectOnLogin = null;
8491 
8524 $wgPoolCounterConf = null;
8525 
8529 $wgUploadMaintenance = false;
8530 
8539 $wgNamespaceContentModels = [];
8540 
8551 $wgContentHandlerTextFallback = 'ignore';
8552 
8566 $wgContentHandlerUseDB = true;
8567 
8578 $wgTextModelsToParse = [
8579  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
8580  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
8581  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
8582 ];
8583 
8589 $wgSiteTypes = [
8590  'mediawiki' => MediaWikiSite::class,
8591 ];
8592 
8598 $wgPagePropsHaveSortkey = true;
8599 
8606 $wgHttpsPort = 443;
8607 
8614 $wgSessionSecret = false;
8615 
8623 $wgSessionInsecureSecrets = false;
8624 
8633 $wgHKDFSecret = false;
8634 
8641 $wgHKDFAlgorithm = 'sha256';
8642 
8649 $wgPageLanguageUseDB = false;
8650 
8689  'paths' => [],
8690  'modules' => [],
8691  'global' => [
8692  # Timeout in seconds
8693  'timeout' => 360,
8694  # 'domain' is set to $wgCanonicalServer in Setup.php
8695  'forwardCookies' => false,
8696  'HTTPProxy' => null
8697  ]
8698 ];
8699 
8707 $wgSearchRunSuggestedQuery = true;
8708 
8720 $wgPopularPasswordFile = __DIR__ . '/../serialized/commonpasswords.cdb';
8721 
8722 /*
8723  * Max time (in seconds) a user-generated transaction can spend in writes.
8724  * If exceeded, the transaction is rolled back with an error instead of being committed.
8725  *
8726  * @var int|bool Disabled if false
8727  * @since 1.27
8728  */
8729 $wgMaxUserDBWriteDuration = false;
8730 
8731 /*
8732  * Max time (in seconds) a job-generated transaction can spend in writes.
8733  * If exceeded, the transaction is rolled back with an error instead of being committed.
8734  *
8735  * @var int|bool Disabled if false
8736  * @since 1.30
8737  */
8738 $wgMaxJobDBWriteDuration = false;
8739 
8758 $wgCSPHeader = false;
8759 
8766 $wgCSPReportOnlyHeader = false;
8767 
8787 $wgEventRelayerConfig = [
8788  'default' => [
8789  'class' => EventRelayerNull::class,
8790  ]
8791 ];
8792 
8806 $wgPingback = false;
8807 
8816 $wgCSPFalsePositiveUrls = [
8817  'https://3hub.co' => true,
8818  'https://morepro.info' => true,
8819  'https://p.ato.mx' => true,
8820  'https://s.ato.mx' => true,
8821  'https://adserver.adtech.de' => true,
8822  'https://ums.adtechus.com' => true,
8823  'https://cas.criteo.com' => true,
8824  'https://cat.nl.eu.criteo.com' => true,
8825  'https://atpixel.alephd.com' => true,
8826  'https://rtb.metrigo.com' => true,
8827  'https://d5p.de17a.com' => true,
8828  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
8829 ];
8830 
8838 $wgRangeContributionsCIDRLimit = [
8839  'IPv4' => 16,
8840  'IPv6' => 32,
8841 ];
8842 
8855 $wgLearnerEdits = 10;
8856 $wgLearnerMemberSince = 4; # days
8857 $wgExperiencedUserEdits = 500;
8858 $wgExperiencedUserMemberSince = 30; # days
8859 
8877 $wgInterwikiPrefixDisplayTypes = [];
8878 
8884 $wgCommentTableSchemaMigrationStage = MIGRATION_OLD;
8885 
8891 $wgActorTableSchemaMigrationStage = MIGRATION_OLD;
8892 
8900 $wgExpiryWidgetNoDatePicker = false;
8901 
$wgPasswordSenderName
Sender name for e-mail notifications.
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
$wgForeignFileRepos
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
$wgResourceLoaderLESSVars
Global LESS variables.
$wgUseInstantCommons
Use Commons as a remote file repository.
$wgEditSubmitButtonLabelPublish
Whether to label the store-to-database-and-show-to-others button in the editor as "Save page"/"Save c...
global $wgDebugComments
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
$wgSquidMaxage
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
$wgMainStash
Main object stash type.
$wgMaxArticleSize
Maximum article size in kilobytes.
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
$wgSearchType
Search type.
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HTT...
$wgHashedSharedUploadDirectory
Set the following to false especially if you have a set of files that need to be accessible by all wi...
const CONTENT_MODEL_WIKITEXT
Definition: Defines.php:236
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
$wgPasswordExpirationDays
The number of days that a user's password is good for.
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
$wgScript
The URL path to index.php.
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript. ...
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
$wgDBerrorLogTZ
Timezone to use in the error log.
$wgVersion
MediaWiki version number.
$wgUseESI
If you run Squid3 with ESI support, enable this (default:false):
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
const APCOND_AGE
Definition: Defines.php:207
$wgSquidServers
List of proxy servers to purge on changes; default port is 80.
const NS_MAIN
Definition: Defines.php:65
$wgSitename
Name of the site.
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
const CACHE_ACCEL
Definition: Defines.php:106
$wgUseKeyHeader
Send the Key HTTP header for better caching.
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
$wgJsMimeType
Previously used as content type in HTML script tags.
$IP
Definition: WebStart.php:41
$wgDBadminpassword
Separate password for maintenance tasks.
global $wgShowExceptionDetails
$wgResourceLoaderValidateStaticJS
If set to true, statically-sourced (file-backed) JavaScript resources will be parsed for validity bef...
$wgMimeType
The default Content-Type header.
const AV_VIRUS_FOUND
Definition: Defines.php:113
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
$wgDBpassword
Database user's password.
$wgDBerrorLog
File to log database errors to.
$wgSharedUploadDBname
DB name with metadata about shared directory.
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
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
$wgPasswordExpireGrace
If a user's password is expired, the number of seconds when they can still login, and cancel their pa...
$wgInternalServer
Internal server name as known to CDN, if different.
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
$wgRepositoryBaseUrl
Base URL for a repository wiki.
processing should stop and the error should be shown to the user * false
Definition: hooks.txt:187
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
$wgDBtype
Database type.
$wgFileBackends
File backend structure configuration.
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
$wgHtml5Version
Defines the value of the version attribute in the tag, if any.
$wgShortPagesNamespaceBlacklist
Optional array of namespaces which should be blacklisted from Special:ShortPages Only pages inside $w...
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations, but may increase security risk to users and server load.
$wgLocalFileRepo
File repository structures.
$wgDBmwschema
Mediawiki schema.
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
$wgUseImageResize
Whether to enable server-side image thumbnailing.
$wgMetaNamespace
Name of the project namespace.
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
bool $wgEnotifFromEditor
Allow sending of e-mail notifications with the editor's address as sender.
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
$wgExiftool
Path to exiftool binary.
$wgSharedTables
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
$wgJpegTran
used for lossless jpeg rotation
$wgMimeInfoFile
Sets the MIME type info file to use by MimeMagic.php.
const AV_NO_VIRUS
Definition: Defines.php:112
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
$wgDBserver
Database host name or IP address.
MediaWiki has optional support for a high performance
Definition: memcached.txt:1
$wgNamespaceAliases
Namespace aliases.
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
$wgHooks['ArticleShow'][]
Definition: hooks.txt:108
$wgMaxImageArea
The maximum number of pixels a source image can have if it is to be scaled down by a scaler that requ...
$wgDBuser
Database username.
$wgMainWANCache
Main Wide-Area-Network cache type.
$wgSharedUploadDirectory
Path on the file system where shared uploads can be found.
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
global $wgShowSQLErrors
const CONTENT_MODEL_TEXT
Definition: Defines.php:239
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages...
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
$wgMediaHandlers
Plugins for media file type handling.
$wgTmpDirectory
The local filesystem path to a temporary directory.
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki.org/wiki/Upload_dialog).
const AV_SCAN_FAILED
Definition: Defines.php:115
$wgMimeTypeFile
Sets the MIME type definition file to use by MimeMagic.php.
$wgWANObjectCaches
Advanced WAN object cache configuration.
const NS_TEMPLATE
Definition: Defines.php:75
global $wgDebugRawPage
const CONTENT_MODEL_JSON
Definition: Defines.php:240
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
title
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
$wgAllowJavaUploads
Allow Java archive uploads.
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgCompressRevisions
We can also compress text stored in the 'text' table.
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example, thumbnail generation.
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface...
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
$wgDBWindowsAuthentication
Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server.
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
global $wgShowDBErrorBacktrace
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
const CACHE_MEMCACHED
Definition: Defines.php:105
const AV_SCAN_ABORTED
Definition: Defines.php:114
$wgCacheDirectory
Directory for caching data in the local filesystem.
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki...
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
$wgSharpenParameter
Sharpening parameter to ImageMagick.
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 $wgServiceWiringFiles
Definition: injection.txt:35
$wgAllowSchemaUpdates
Allow schema updates.
$wgUseSquid
Enable/disable CDN.
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
$wgExtraLanguageCodes
List of mappings from one language code to another.
$wgStyleSheetPath
The URL path to index.php.
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats...
$wgSMTP
SMTP Mode.
global $wgDebugLogGroups
$wgEnableUploads
Uploads have to be specially set up to be secure.
you have access to all of the normal MediaWiki so you can get a DB use the cache
Definition: maintenance.txt:52
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:2019
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
$wgLanguageCode
Site language code.
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i...
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServer...
static detectServer()
Work out an appropriate URL prefix containing scheme and host, based on information detected from $_S...
Definition: WebRequest.php:199
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
$wgExtensionDirectory
Filesystem extensions directory.
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
if($wgScript===false) if($wgLoadScript===false) if($wgArticlePath===false) if(!empty($wgActionPaths)&&!isset($wgActionPaths['view'])) if($wgResourceBasePath===null) if($wgStylePath===false) if($wgLocalStylePath===false) if($wgExtensionAssetsPath===false) if($wgLogo===false) if($wgUploadPath===false) if($wgUploadDirectory===false) if($wgReadOnlyFile===false) if($wgFileCacheDirectory===false) if($wgDeletedDirectory===false) if($wgGitInfoCacheDirectory===false &&$wgCacheDirectory!==false) if($wgEnableParserCache===false) if($wgRightsIcon) if(isset($wgFooterIcons['copyright']['copyright'])&&$wgFooterIcons['copyright']['copyright']===[]) if(isset($wgFooterIcons['poweredby'])&&isset($wgFooterIcons['poweredby']['mediawiki'])&&$wgFooterIcons['poweredby']['mediawiki']['src']===null) $wgNamespaceProtection[NS_MEDIAWIKI]
Unconditional protection for NS_MEDIAWIKI since otherwise it's too easy for a sysadmin to set $wgName...
Definition: Setup.php:243
$wgRevisionCacheExpiry
Revision text may be cached in $wgMemc to reduce load on external storage servers and object extracti...
$wgStylePath
The URL path of the skins directory.
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
$wgExternalServers
An array of external MySQL servers.
array string bool $wgReferrerPolicy
Value for the referrer policy meta tag.
const NS_PROJECT
Definition: Defines.php:69
$wgShowEXIF
Show Exif data, on by default if available.
$wgParserCacheType
The cache type for storing article HTML.
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
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
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
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:91
$wgCachePages
Allow client-side caching of pages.
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites...
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
$wgDeletedDirectory
What directory to place deleted uploads in.
$wgLocalisationCacheConf
Localisation cache configuration.
$wgLogoHD
Array with URL paths to HD versions of the wiki logo.
$wgDBssl
Whether to use SSL in DB connection.
const NS_MEDIAWIKI_TALK
Definition: Defines.php:74
$wgInterwikiScopes
Specify number of domains to check for messages.
$wgLocalInterwikis
Array for multiple $wgLocalInterwiki values, in case there are several interwiki prefixes that point ...
$wgSharedUploadPath
Full path on the web server where shared uploads can be found.
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files...
const NS_PROJECT_TALK
Definition: Defines.php:70
const MIGRATION_OLD
Definition: Defines.php:293
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
$wgMiserMode
Disable database-intensive features.
$wgEnableUserEmailBlacklist
Set to true to enable user-to-user e-mail blacklist.
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
$wgFixMalayalamUnicode
Set this to true to replace ZWJ-based chillu sequences in Malayalam text with their Unicode 5...
$wgBreakFrames
Break out of framesets.
$wgCapitalLinkOverrides
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
$wgResourceLoaderLESSImportPaths
Default import paths for LESS modules.
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
in the Source form of any Derivative Works that You all copyright
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails, so a mock will do)
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:9
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
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
$wgUsePathInfo
Whether to support URLs like index.php/Page_title These often break when PHP is set up in CGI mode...
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
const NS_CATEGORY
Definition: Defines.php:79
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
$wgResourceModuleSkinStyles
Skin-specific styles for resource modules.
$wgFragmentMode
How should section IDs be encoded? This array can contain 1 or 2 elements, each of them can be one of...
bool $wgAssumeProxiesUseDefaultProtocolPorts
When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the w...
and(b) You must cause any modified files to carry prominent notices stating that You changed the files
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
CACHE_MEMCACHED $wgMainCacheType
Definition: memcached.txt:63
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
$wgJpegQuality
When scaling a JPEG thumbnail, this is the quality we request from the backend.
$wgSharedDB
Shared database for multiple wikis.
$wgEnableParserCache
Kept for extension compatibility; see $wgParserCacheType.
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
$wgImgAuthDetails
Set this to true if you use img_auth and want the user to see details on why access failed...
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
$wgMetaNamespaceTalk
Name of the project talk namespace.
$wgMimeDetectorCommand
Sets an external MIME detector program.
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
$wgDisabledVariants
Disabled variants array of language variant conversion.
global $wgAutoloadClasses
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:12
$wgGalleryOptions
Parameters for the "" tag.
$wgClockSkewFudge
Clock skew or the one-second resolution of time() can occasionally cause cache problems when the user...
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
$wgSearchTypeAlternatives
Alternative search types Sometimes you want to support multiple search engines for testing...
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
const NS_FILE_TALK
Definition: Defines.php:72
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
$wgDBTableOptions
MySQL table options to use during installation or update.
$wgHTCPMulticastTTL
HTCP multicast TTL.
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:25
$wgCustomConvertCommand
Use another resizing converter, e.g.
$wgDisableLangConversion
Whether to enable language variant conversion.
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
$wgMemCachedDebug
If enabled, will send MemCached debugging information to $wgDebugLogFile.
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
$wgAllowUserCssPrefs
Allow style-related user-preferences?
const NS_MEDIAWIKI
Definition: Defines.php:73
global $wgDebugTimestamps
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
global $wgDevelopmentWarnings
Debugging: MediaWiki.
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
$wgSVGMaxSize
Don't scale a SVG larger than this.
$wgPasswordSender
Sender email address for e-mail notifications.
CONTENT_MODEL_JAVASCRIPT
Uploads have to be specially set up to be secure.
$wgDBname
Name of the database.
$wgSquidServersNoPurge
As above, except these servers aren't purged on page changes; use to set a list of trusted proxies...
$wgMaxUploadSize
Max size for uploads, in bytes.
$wgAntivirusSetup
Configuration for different virus scanners.
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
$wgSharedUploadDBprefix
Optional table prefix used in database.
global $wgDebugDumpSql
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Value object for representing interwiki records.
Definition: Interwiki.php:27
$wgSessionCacheType
The cache type for storing session data.
$wgUploadPath
The URL path for the images directory.
$wgConf
wgConf hold the site configuration.
$wgFixArabicUnicode
Set this to true to replace Arabic presentation forms with their standard forms in the U+0600-U+06FF ...
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
$wgEmergencyContact
Site admin email address.
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing...
$wgFileExtensions
This is the list of preferred extensions for uploading files.
$wgSessionsInObjectCache
$wgExtraNamespaces
Additional namespaces.
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
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:35
if($wgLocalInterwiki) if($wgSharedPrefix===false) if($wgSharedSchema===false) if(!$wgCookiePrefix) $wgCookiePrefix
Definition: Setup.php:424
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
$wgLocalStylePath
The URL path of the skins directory.
$wgEnableCanonicalServerLink
Output a tag on every page indicating the canonical server which should be use...
const NS_CATEGORY_TALK
Definition: Defines.php:80
$wgSharedThumbnailScriptPath
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
const NS_HELP
Definition: Defines.php:77
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
The ContentHandler facility adds support for arbitrary content types on wiki pages
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains .
$wgTrivialMimeDetection
Switch for trivial MIME detection.
$wgDBadminuser
Separate username for maintenance tasks.
const NS_HELP_TALK
Definition: Defines.php:78
const MEDIATYPE_AUDIO
Definition: defines.php:32
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:52
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
$wgScriptPath
The path we should point to.
$wgLocalInterwiki
The interwiki prefix of the current wiki, or false if it doesn't have one.
$wgEdititis
Display user edit counts in various prominent places.
$wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
$wgResourceLoaderSources
Extensions should register foreign module sources here.
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set, and the value should be a valid callable.
$wgMsgCacheExpiry
Expiry time for the message cache key.
$wgCacheSharedUploads
Cache shared metadata in memcached.
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
$wgLegacySchemaConversion
If set to true, the MediaWiki 1.4 to 1.5 schema conversion will create stub reference rows in the tex...
$wgExtensionAssetsPath
The URL path of the extensions directory.
$wgContentHandlers
Plugins for page content model handling.
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
if(!$wgEmergencyContact) if(!$wgPasswordSender) if(!$wgNoReplyAddress) if($wgSecureLogin &&substr($wgServer, 0, 2)!== '//') $wgVirtualRestConfig['global']['domain']
Definition: Setup.php:678
global $wgCommandLineMode
$wgSlaveLagCritical
$wgGrammarForms
Some languages need different word forms, usually for different cases.
$wgDBprefix
Table name prefix.
const CACHE_ANYTHING
Definition: Defines.php:102
$wgHtml5
Previously used to determine if we should output an HTML5 doctype.
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
$wgDBcompress
Whether to use compression in DB connection.
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
$wgStyleDirectory
Filesystem stylesheets directory.
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3...
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
$wgSessionHandler
$wgAllowSlowParserFunctions
Enable slow parser functions.
const CONTENT_MODEL_CSS
Definition: Defines.php:238
$wgLogo
The URL path of the wiki logo.
$wgAllowImageMoving
Allows to move images and other media files.
bool $wgEnotifRevealEditorAddress
Allow sending of e-mail notifications with the editor's address in "Reply-To".
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
$wgAllowTitlesInSVG
Disallow element in SVG files. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01163">DefaultSettings.php:1163</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a71c89ebe26d625bf41e02a16f33197b4"><div class="ttname"><a href="DefaultSettings_8php.html#a71c89ebe26d625bf41e02a16f33197b4">$wgInterwikiFallbackSite</a></div><div class="ttdeci">$wgInterwikiFallbackSite</div><div class="ttdoc">Fallback site, if unable to resolve from cache. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03987">DefaultSettings.php:3987</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a3b3b9d2956fc74e014368211ae50f19e"><div class="ttname"><a href="DefaultSettings_8php.html#a3b3b9d2956fc74e014368211ae50f19e">$wgFallbackSkin</a></div><div class="ttdeci">$wgFallbackSkin</div><div class="ttdoc">Fallback skin used when the skin defined by $wgDefaultSkin can't be found. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03282">DefaultSettings.php:3282</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a590d544908ab81843ba391c24eb29875"><div class="ttname"><a href="DefaultSettings_8php.html#a590d544908ab81843ba391c24eb29875">$wgSiteNotice</a></div><div class="ttdeci">$wgSiteNotice</div><div class="ttdoc">Site notice shown at the top of each page. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03269">DefaultSettings.php:3269</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aed200d79b4025368ef22345459c31e16"><div class="ttname"><a href="DefaultSettings_8php.html#aed200d79b4025368ef22345459c31e16">$wgExtraLanguageNames</a></div><div class="ttdeci">$wgExtraLanguageNames</div><div class="ttdoc">List of language names or overrides for default names in Names.php. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02927">DefaultSettings.php:2927</a></div></div> <div class="ttc" id="design_8txt_html_a6d506eb27e9e95bef5d9aa5df90c7775"><div class="ttname"><a href="design_8txt.html#a6d506eb27e9e95bef5d9aa5df90c7775">output</a></div><div class="ttdeci">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</div></div> <div class="ttc" id="DefaultSettings_8php_html_aa645a5533842836fe02cb08cf9a2a61e"><div class="ttname"><a href="DefaultSettings_8php.html#aa645a5533842836fe02cb08cf9a2a61e">$wgMemCachedServers</a></div><div class="ttdeci">$wgMemCachedServers</div><div class="ttdoc">The list of MemCached servers and port numbers. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02483">DefaultSettings.php:2483</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a843a29bc863234e2b8e0b4279d4e8a38"><div class="ttname"><a href="DefaultSettings_8php.html#a843a29bc863234e2b8e0b4279d4e8a38">$wgArticlePath</a></div><div class="ttdeci">$wgArticlePath</div><div class="ttdoc">The URL path for primary article page views. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00238">DefaultSettings.php:238</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_adc3195ec4d97ad60977c7fc7b07630d3"><div class="ttname"><a href="DefaultSettings_8php.html#adc3195ec4d97ad60977c7fc7b07630d3">$wgTrustedMediaFormats</a></div><div class="ttdeci">$wgTrustedMediaFormats</div><div class="ttdoc">list of trusted media-types and MIME types. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00947">DefaultSettings.php:947</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a00a35098578be59fdcccce49f380acac"><div class="ttname"><a href="DefaultSettings_8php.html#a00a35098578be59fdcccce49f380acac">$wgObjectCaches</a></div><div class="ttdeci">$wgObjectCaches</div><div class="ttdoc">Advanced object cache configuration. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02323">DefaultSettings.php:2323</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ad4272234758a60eff4a60cd4f1e302ea"><div class="ttname"><a href="DefaultSettings_8php.html#ad4272234758a60eff4a60cd4f1e302ea">$wgServer</a></div><div class="ttdeci">$wgServer</div><div class="ttdoc">URL of the server. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00105">DefaultSettings.php:105</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a82e5d6af328aa3f66f6cd55092e6f181"><div class="ttname"><a href="DefaultSettings_8php.html#a82e5d6af328aa3f66f6cd55092e6f181">$wgSkipSkin</a></div><div class="ttdeci">$wgSkipSkin</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03294">DefaultSettings.php:3294</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a6efac2aa55d51382bb3fffb0b769f536"><div class="ttname"><a href="DefaultSettings_8php.html#a6efac2aa55d51382bb3fffb0b769f536">$wgOOUIPreferences</a></div><div class="ttdeci">$wgOOUIPreferences</div><div class="ttdoc">Temporary variable that determines whether the EditPage class should use OOjs UI or not...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03235">DefaultSettings.php:3235</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a7107c71f697a6a926a6a264091c64d2c"><div class="ttname"><a href="DefaultSettings_8php.html#a7107c71f697a6a926a6a264091c64d2c">$wgGitInfoCacheDirectory</a></div><div class="ttdeci">$wgGitInfoCacheDirectory</div><div class="ttdoc">Directory where GitInfo will look for pre-computed cache files. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02566">DefaultSettings.php:2566</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_acd650e938a8345e9c90fd1d4595fc9fa"><div class="ttname"><a href="DefaultSettings_8php.html#acd650e938a8345e9c90fd1d4595fc9fa">$wgFetchCommonsDescriptions</a></div><div class="ttdeci">$wgFetchCommonsDescriptions</div><div class="ttdoc">Fetch commons image description pages and display them on the local wiki? </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00702">DefaultSettings.php:702</a></div></div> <div class="ttc" id="group__Constants_html_gabbdef54ba60b1cfd7500e3a47cff4128"><div class="ttname"><a href="group__Constants.html#gabbdef54ba60b1cfd7500e3a47cff4128">NS_TALK</a></div><div class="ttdeci">const NS_TALK</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00066">Defines.php:66</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a474af18cfd0e54f680013b73625670b8"><div class="ttname"><a href="DefaultSettings_8php.html#a474af18cfd0e54f680013b73625670b8">$wgResourceLoaderDebug</a></div><div class="ttdeci">$wgResourceLoaderDebug</div><div class="ttdoc">The default debug mode (on/off) for of ResourceLoader requests. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03679">DefaultSettings.php:3679</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a2135549468c92fed9e934aa7bad77a33"><div class="ttname"><a href="DefaultSettings_8php.html#a2135549468c92fed9e934aa7bad77a33">$wgLockManagers</a></div><div class="ttdeci">$wgLockManagers</div><div class="ttdoc">Array of configuration arrays for each lock manager. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00657">DefaultSettings.php:657</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aee30ee5e624b6c93de788cc9ee4d6872"><div class="ttname"><a href="DefaultSettings_8php.html#aee30ee5e624b6c93de788cc9ee4d6872">$wgLBFactoryConf</a></div><div class="ttdeci">$wgLBFactoryConf</div><div class="ttdoc">Load balancer factory configuration To set up a multi-master wiki farm, set the class here to somethi...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02012">DefaultSettings.php:2012</a></div></div> <div class="ttc" id="group__Constants_html_gab9749d68ba60804941e16ff40b684b6c"><div class="ttname"><a href="group__Constants.html#gab9749d68ba60804941e16ff40b684b6c">APCOND_EDITCOUNT</a></div><div class="ttdeci">const APCOND_EDITCOUNT</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00206">Defines.php:206</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ad7232ef82feb6cf90992664619bbe285"><div class="ttname"><a href="DefaultSettings_8php.html#ad7232ef82feb6cf90992664619bbe285">$wgXhtmlDefaultNamespace</a></div><div class="ttdeci">$wgXhtmlDefaultNamespace</div><div class="ttdoc">The default xmlns attribute. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03191">DefaultSettings.php:3191</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aad308b02d0eac9d26c7bf2ff794b6fa4"><div class="ttname"><a href="DefaultSettings_8php.html#aad308b02d0eac9d26c7bf2ff794b6fa4">$wgResourceLoaderStorageVersion</a></div><div class="ttdeci">$wgResourceLoaderStorageVersion</div><div class="ttdoc">Cache version for client-side ResourceLoader module storage. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03810">DefaultSettings.php:3810</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_afc8c0154fc6b9dab6f0ca6efe89ccb16"><div class="ttname"><a href="DefaultSettings_8php.html#afc8c0154fc6b9dab6f0ca6efe89ccb16">$wgUseSiteJs</a></div><div class="ttdeci">$wgUseSiteJs</div><div class="ttdoc">Use the site's Javascript page? </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03321">DefaultSettings.php:3321</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ac17e8f61d26cebda5430a2a5c24d6ac6"><div class="ttname"><a href="DefaultSettings_8php.html#ac17e8f61d26cebda5430a2a5c24d6ac6">$wgMemCachedPersistent</a></div><div class="ttdeci">$wgMemCachedPersistent</div><div class="ttdoc">Use persistent connections to MemCached, which are shared across multiple requests. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02489">DefaultSettings.php:2489</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aedbb7adbd23f30f4de0ec9f4424a2484"><div class="ttname"><a href="DefaultSettings_8php.html#aedbb7adbd23f30f4de0ec9f4424a2484">$wgSharedPrefix</a></div><div class="ttdeci">$wgSharedPrefix</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01932">DefaultSettings.php:1932</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a0448acf8aa4026fa93d81e97a8bf36c2"><div class="ttname"><a href="DefaultSettings_8php.html#a0448acf8aa4026fa93d81e97a8bf36c2">$wgUploadThumbnailRenderHttpCustomHost</a></div><div class="ttdeci">$wgUploadThumbnailRenderHttpCustomHost</div><div class="ttdoc">When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01452">DefaultSettings.php:1452</a></div></div> <div class="ttc" id="classSiteConfiguration_html"><div class="ttname"><a href="classSiteConfiguration.html">SiteConfiguration</a></div><div class="ttdoc">This is a class for holding configuration settings, particularly for multi-wiki sites. </div><div class="ttdef"><b>Definition:</b> <a href="SiteConfiguration_8php_source.html#l00124">SiteConfiguration.php:124</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a8c7167507a1f70c913c28adf057d6e4c"><div class="ttname"><a href="DefaultSettings_8php.html#a8c7167507a1f70c913c28adf057d6e4c">$wgAllowSiteCSSOnRestrictedPages</a></div><div class="ttdeci">$wgAllowSiteCSSOnRestrictedPages</div><div class="ttdoc">Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03823">DefaultSettings.php:3823</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a57382c99cd0665a272c398c88cc0793e"><div class="ttname"><a href="DefaultSettings_8php.html#a57382c99cd0665a272c398c88cc0793e">$wgShowRollbackEditCount</a></div><div class="ttdeci">$wgShowRollbackEditCount</div><div class="ttdoc">The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03493">DefaultSettings.php:3493</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a990b4e1d1893c12b875786ece0c33726"><div class="ttname"><a href="DefaultSettings_8php.html#a990b4e1d1893c12b875786ece0c33726">$wgUploadBaseUrl</a></div><div class="ttdeci">$wgUploadBaseUrl</div><div class="ttdoc">If set, this URL is added to the start of $wgUploadPath to form a complete upload URL...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00345">DefaultSettings.php:345</a></div></div> <div class="ttc" id="All__system__messages_8txt_html_ad2a0984fa89a383a5eccc26b1a5590c1"><div class="ttname"><a href="All__system__messages_8txt.html#ad2a0984fa89a383a5eccc26b1a5590c1">will</a></div><div class="ttdeci"></td >< td > &</td >< td > t want your writing to be edited mercilessly and redistributed at will</div><div class="ttdef"><b>Definition:</b> <a href="All__system__messages_8txt_source.html#l00914">All_system_messages.txt:914</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a641f07fa3b6438b4c27a9f3618237abe"><div class="ttname"><a href="DefaultSettings_8php.html#a641f07fa3b6438b4c27a9f3618237abe">$wgUseCombinedLoginLink</a></div><div class="ttdeci">$wgUseCombinedLoginLink</div><div class="ttdoc">Login / create account link behavior when it's possible for anonymous users to create an account...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03464">DefaultSettings.php:3464</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a908c6df2abb241e550ac07cde65a55f6"><div class="ttname"><a href="DefaultSettings_8php.html#a908c6df2abb241e550ac07cde65a55f6">$wgUsePigLatinVariant</a></div><div class="ttdeci">$wgUsePigLatinVariant</div><div class="ttdoc">Whether to enable the pig latin variant of English (en-x-piglatin), used to ease variant development ...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03067">DefaultSettings.php:3067</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ae520cd3a6b41c1b7d64da9c4a22f3956"><div class="ttname"><a href="DefaultSettings_8php.html#ae520cd3a6b41c1b7d64da9c4a22f3956">$wgCopyUploadProxy</a></div><div class="ttdeci">$wgCopyUploadProxy</div><div class="ttdoc">Proxy to use for copy upload requests. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00751">DefaultSettings.php:751</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_acb268f4a51af8c4bf404f8b4379176d0"><div class="ttname"><a href="DefaultSettings_8php.html#acb268f4a51af8c4bf404f8b4379176d0">$wgMimeTypeBlacklist</a></div><div class="ttdeci">$wgMimeTypeBlacklist</div><div class="ttdoc">Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00889">DefaultSettings.php:889</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a45e6d8ee8bd1edcb9b8d9588854812d2"><div class="ttname"><a href="DefaultSettings_8php.html#a45e6d8ee8bd1edcb9b8d9588854812d2">$wgSlaveLagWarning</a></div><div class="ttdeci">$wgSlaveLagWarning</div><div class="ttdoc">If lag is higher than $wgSlaveLagWarning, show a warning in some special pages (like watchlist)...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02105">DefaultSettings.php:2105</a></div></div> <div class="ttc" id="group__Constants_html_ga4f23931bebd967faef2136c2ee786010"><div class="ttname"><a href="group__Constants.html#ga4f23931bebd967faef2136c2ee786010">CACHE_NONE</a></div><div class="ttdeci">const CACHE_NONE</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00103">Defines.php:103</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a6f57297b3ba301fd344109b6bec76ef1"><div class="ttname"><a href="DefaultSettings_8php.html#a6f57297b3ba301fd344109b6bec76ef1">$wgResourceLoaderMaxQueryLength</a></div><div class="ttdeci">$wgResourceLoaderMaxQueryLength</div><div class="ttdoc">If set to a positive number, ResourceLoader will not generate URLs whose query string is more than th...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03728">DefaultSettings.php:3728</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ae322b1ba703e6d130ea9712f7fa32fac"><div class="ttname"><a href="DefaultSettings_8php.html#ae322b1ba703e6d130ea9712f7fa32fac">$wgDBOracleDRCP</a></div><div class="ttdeci">$wgDBOracleDRCP</div><div class="ttdoc">Set true to enable Oracle DCRP (supported from 11gR1 onward) </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02091">DefaultSettings.php:2091</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a1630258705d89c1070e12bd7fd4ea05e"><div class="ttname"><a href="DefaultSettings_8php.html#a1630258705d89c1070e12bd7fd4ea05e">$wgPHPSessionHandling</a></div><div class="ttdeci">string $wgPHPSessionHandling</div><div class="ttdoc">Whether to use PHP session handling ($_SESSION and session_*() functions) </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02466">DefaultSettings.php:2466</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a85c1e1b7961efdaabd35d8ef69b39d26"><div class="ttname"><a href="DefaultSettings_8php.html#a85c1e1b7961efdaabd35d8ef69b39d26">$wgSharpenReductionThreshold</a></div><div class="ttdeci">$wgSharpenReductionThreshold</div><div class="ttdoc">Reduction in linear dimensions below which sharpening will be enabled. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01038">DefaultSettings.php:1038</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a40814bcc53ee9750d8f6e720a365bbf4"><div class="ttname"><a href="DefaultSettings_8php.html#a40814bcc53ee9750d8f6e720a365bbf4">$wgSQLMode</a></div><div class="ttdeci">$wgSQLMode</div><div class="ttdoc">SQL Mode - default is turning off all modes, including strict, if set. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01890">DefaultSettings.php:1890</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aaee4c61cd6f42eb466109800d8565860"><div class="ttname"><a href="DefaultSettings_8php.html#aaee4c61cd6f42eb466109800d8565860">$wgDataCenterUpdateStickTTL</a></div><div class="ttdeci">$wgDataCenterUpdateStickTTL</div><div class="ttdoc">After a state-changing request is done by a client, this determines how many seconds that client shou...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02020">DefaultSettings.php:2020</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a75612877f528cecdb711d45fa25588ee"><div class="ttname"><a href="DefaultSettings_8php.html#a75612877f528cecdb711d45fa25588ee">$wgVerifyMimeType</a></div><div class="ttdeci">$wgVerifyMimeType</div><div class="ttdoc">Determines if the MIME type of uploaded files should be checked. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01317">DefaultSettings.php:1317</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aba60a693d3a1d03b2b28235e93bb1931"><div class="ttname"><a href="DefaultSettings_8php.html#aba60a693d3a1d03b2b28235e93bb1931">$wgExternalStores</a></div><div class="ttdeci">$wgExternalStores</div><div class="ttdoc">External stores allow including content from non database sources following URL links. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02143">DefaultSettings.php:2143</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a2afd5037cb087a8d36953b1b0c42e97b"><div class="ttname"><a href="DefaultSettings_8php.html#a2afd5037cb087a8d36953b1b0c42e97b">$wgSend404Code</a></div><div class="ttdeci">$wgSend404Code</div><div class="ttdoc">Some web hosts attempt to rewrite all responses with a 404 (not found) status code, mangling or hiding MediaWiki's output. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03482">DefaultSettings.php:3482</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a8775ad8dc715863ccf18c544d305670a"><div class="ttname"><a href="DefaultSettings_8php.html#a8775ad8dc715863ccf18c544d305670a">$wgFileBlacklist</a></div><div class="ttdeci">$wgFileBlacklist</div><div class="ttdoc">Files with these extensions will never be allowed as uploads. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00875">DefaultSettings.php:875</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a83baba30180bf55340ede9803e134683"><div class="ttname"><a href="DefaultSettings_8php.html#a83baba30180bf55340ede9803e134683">$wgUploadNavigationUrl</a></div><div class="ttdeci">$wgUploadNavigationUrl</div><div class="ttdoc">Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00801">DefaultSettings.php:801</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a26f037db9b5332161fb98b093c48a093"><div class="ttname"><a href="DefaultSettings_8php.html#a26f037db9b5332161fb98b093c48a093">$wgHTCPRouting</a></div><div class="ttdeci">$wgHTCPRouting</div><div class="ttdoc">Routing configuration for HTCP multicast purging. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02844">DefaultSettings.php:2844</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aa3f60d082e7857a0309c11b2084b0337"><div class="ttname"><a href="DefaultSettings_8php.html#aa3f60d082e7857a0309c11b2084b0337">$wgResponsiveImages</a></div><div class="ttdeci">$wgResponsiveImages</div><div class="ttdoc">Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01508">DefaultSettings.php:1508</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a38a416b3014f48d42676233bff052f11"><div class="ttname"><a href="DefaultSettings_8php.html#a38a416b3014f48d42676233bff052f11">$wgIgnoreImageErrors</a></div><div class="ttdeci">$wgIgnoreImageErrors</div><div class="ttdoc">If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01230">DefaultSettings.php:1230</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a2fcb3ec00bd98bcfbd614c62245594e5"><div class="ttname"><a href="DefaultSettings_8php.html#a2fcb3ec00bd98bcfbd614c62245594e5">$wgTrackingCategories</a></div><div class="ttdeci">$wgTrackingCategories</div><div class="ttdoc">Array holding default tracking category names. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l04080">DefaultSettings.php:4080</a></div></div> <div class="ttc" id="group__Constants_html_gacc984e0536434f044be33aee04f23f3a"><div class="ttname"><a href="group__Constants.html#gacc984e0536434f044be33aee04f23f3a">NS_USER_TALK</a></div><div class="ttdeci">const NS_USER_TALK</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00068">Defines.php:68</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a3a63813b9721056b3b31904b83be14f7"><div class="ttname"><a href="DefaultSettings_8php.html#a3a63813b9721056b3b31904b83be14f7">$wgSVGConverter</a></div><div class="ttdeci">$wgSVGConverter</div><div class="ttdoc">Pick a converter defined in $wgSVGConverters. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01134">DefaultSettings.php:1134</a></div></div> <div class="ttc" id="classResourceLoader_html"><div class="ttname"><a href="classResourceLoader.html">ResourceLoader</a></div><div class="ttdoc">Dynamic JavaScript and CSS resource loading system. </div><div class="ttdef"><b>Definition:</b> <a href="ResourceLoader_8php_source.html#l00038">ResourceLoader.php:38</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ae38a828a2039113cb475de3ca003ce8b"><div class="ttname"><a href="DefaultSettings_8php.html#ae38a828a2039113cb475de3ca003ce8b">$wgPasswordReminderResendTime</a></div><div class="ttdeci">$wgPasswordReminderResendTime</div><div class="ttdoc">Minimum time, in hours, which must elapse between password reminder emails for a given account...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01639">DefaultSettings.php:1639</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ab40e5d5ba287e34034e7911538279dde"><div class="ttname"><a href="DefaultSettings_8php.html#ab40e5d5ba287e34034e7911538279dde">$wgShowArchiveThumbnails</a></div><div class="ttdeci">$wgShowArchiveThumbnails</div><div class="ttdoc">Show thumbnails for old images on the image description page. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01244">DefaultSettings.php:1244</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ae0da4e764d3cef3a5691596ff23029ea"><div class="ttname"><a href="DefaultSettings_8php.html#ae0da4e764d3cef3a5691596ff23029ea">$wgSharedSchema</a></div><div class="ttdeci">$wgSharedSchema</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01943">DefaultSettings.php:1943</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ace4f6269643175973c9fd62ee83aa8ee"><div class="ttname"><a href="DefaultSettings_8php.html#ace4f6269643175973c9fd62ee83aa8ee">$wgLoadScript</a></div><div class="ttdeci">$wgLoadScript</div><div class="ttdoc">The URL path to load.php. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00193">DefaultSettings.php:193</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a56ede431746ce1dde36e634be8964204"><div class="ttname"><a href="DefaultSettings_8php.html#a56ede431746ce1dde36e634be8964204">$wgNoReplyAddress</a></div><div class="ttdeci">$wgNoReplyAddress</div><div class="ttdoc">Reply-To address for e-mail notifications. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01602">DefaultSettings.php:1602</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a7c87182f8297b496f7b19c44388c63cc"><div class="ttname"><a href="DefaultSettings_8php.html#a7c87182f8297b496f7b19c44388c63cc">$wgDirectoryMode</a></div><div class="ttdeci">$wgDirectoryMode</div><div class="ttdoc">Default value for chmoding of new directories. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01496">DefaultSettings.php:1496</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a02d56fb1eb289a21e0c331c94e651eb3"><div class="ttname"><a href="DefaultSettings_8php.html#a02d56fb1eb289a21e0c331c94e651eb3">$wgCacheEpoch</a></div><div class="ttdeci">$wgCacheEpoch</div><div class="ttdoc">Set this to current time to invalidate all prior cached pages. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02560">DefaultSettings.php:2560</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a6ff58fbddbedf4c883d403aeea2186a1"><div class="ttname"><a href="DefaultSettings_8php.html#a6ff58fbddbedf4c883d403aeea2186a1">$wgFileCacheDirectory</a></div><div class="ttdeci">$wgFileCacheDirectory</div><div class="ttdoc">Directory where the cached page will be saved. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00255">DefaultSettings.php:255</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_af32a62f1c6db53b84e16135efba437bc"><div class="ttname"><a href="DefaultSettings_8php.html#af32a62f1c6db53b84e16135efba437bc">$wgUseSharedUploads</a></div><div class="ttdeci">$wgUseSharedUploads</div><div class="ttdoc">If you operate multiple wikis, you can define a shared upload path here. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00692">DefaultSettings.php:692</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ac0804dd093453dd7232ab842e93d7653"><div class="ttname"><a href="DefaultSettings_8php.html#ac0804dd093453dd7232ab842e93d7653">$wgVariantArticlePath</a></div><div class="ttdeci">$wgVariantArticlePath</div><div class="ttdoc">Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03097">DefaultSettings.php:3097</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a113528e00b18775b7b7152dd01c7224c"><div class="ttname"><a href="DefaultSettings_8php.html#a113528e00b18775b7b7152dd01c7224c">$wgEnotifWatchlist</a></div><div class="ttdeci">$wgEnotifWatchlist</div><div class="ttdoc">Allow users to enable email notification ("enotif") on watchlist changes. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01722">DefaultSettings.php:1722</a></div></div> <div class="ttc" id="Setup_8php_html_ab76fcdd0fab108b42da0b76a01e71ff9"><div class="ttname"><a href="Setup_8php.html#ab76fcdd0fab108b42da0b76a01e71ff9">$wgDefaultUserOptions</a></div><div class="ttdeci">if($wgRCFilterByAge) $wgDefaultUserOptions['rcdays']</div><div class="ttdef"><b>Definition:</b> <a href="Setup_8php_source.html#l00382">Setup.php:382</a></div></div> <div class="ttc" id="magicword_8txt_html_a00a23ee10b90fa4327ee4eca02c8a026"><div class="ttname"><a href="magicword_8txt.html#a00a23ee10b90fa4327ee4eca02c8a026">$wgExtensionMessagesFiles</a></div><div class="ttdeci">$wgExtensionMessagesFiles['ExtensionNameMagic']</div><div class="ttdef"><b>Definition:</b> <a href="magicword_8txt_source.html#l00043">magicword.txt:43</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a33f86b92003e3a201096035c13a77411"><div class="ttname"><a href="DefaultSettings_8php.html#a33f86b92003e3a201096035c13a77411">$wgActionPaths</a></div><div class="ttdeci">$wgActionPaths</div><div class="ttdoc">To set 'pretty' URL paths for actions other than plain page views, add to this array. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00370">DefaultSettings.php:370</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a8520a538f4b3953ca3692a57df5e5079"><div class="ttname"><a href="DefaultSettings_8php.html#a8520a538f4b3953ca3692a57df5e5079">$wgDBmysql5</a></div><div class="ttdeci">$wgDBmysql5</div><div class="ttdoc">Set to true to engage MySQL 4.1/5.0 charset-related features; for now will just cause sending of 'SET...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02063">DefaultSettings.php:2063</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ad2b4a6c0eee05614d1c2e869ff966138"><div class="ttname"><a href="DefaultSettings_8php.html#ad2b4a6c0eee05614d1c2e869ff966138">$wgInterwikiCache</a></div><div class="ttdeci">bool array string $wgInterwikiCache</div><div class="ttdoc">Interwiki cache, either as an associative array or a path to a constant database (.cdb) file. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03974">DefaultSettings.php:3974</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a28f0610be6595170e510a3603612bf9e"><div class="ttname"><a href="DefaultSettings_8php.html#a28f0610be6595170e510a3603612bf9e">$wgServerName</a></div><div class="ttdeci">$wgServerName</div><div class="ttdoc">Server name. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00121">DefaultSettings.php:121</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a178ceac9bdde7005996c3563e4278059"><div class="ttname"><a href="DefaultSettings_8php.html#a178ceac9bdde7005996c3563e4278059">$wgEnotifUserTalk</a></div><div class="ttdeci">$wgEnotifUserTalk</div><div class="ttdoc">Allow users to enable email notification ("enotif") when someone edits their user talk page...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01731">DefaultSettings.php:1731</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a145987f1fe979f8352bea9926bee7042"><div class="ttname"><a href="DefaultSettings_8php.html#a145987f1fe979f8352bea9926bee7042">$wgUpdateCompatibleMetadata</a></div><div class="ttdeci">$wgUpdateCompatibleMetadata</div><div class="ttdoc">If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00677">DefaultSettings.php:677</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a38f5ea85feb8f1a1a2f7fe354c2a7f87"><div class="ttname"><a href="DefaultSettings_8php.html#a38f5ea85feb8f1a1a2f7fe354c2a7f87">$wgEnableAutoRotation</a></div><div class="ttdeci">$wgEnableAutoRotation</div><div class="ttdoc">If set to true, images that contain certain the exif orientation tag will be rotated accordingly...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01251">DefaultSettings.php:1251</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a5e25db2a69b14ee1139e1b14df212000"><div class="ttname"><a href="DefaultSettings_8php.html#a5e25db2a69b14ee1139e1b14df212000">$wgUploadDirectory</a></div><div class="ttdeci">$wgUploadDirectory</div><div class="ttdoc">The filesystem path of the images directory. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00249">DefaultSettings.php:249</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a3f74a4f36d9d750703ba5a5a3854c2d3"><div class="ttname"><a href="DefaultSettings_8php.html#a3f74a4f36d9d750703ba5a5a3854c2d3">$wgCdnMaxageSubstitute</a></div><div class="ttdeci">$wgCdnMaxageSubstitute</div><div class="ttdoc">Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load) ...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02745">DefaultSettings.php:2745</a></div></div> <div class="ttc" id="hooks_8txt_html_a9db4adb3a3a4932faad4d7ea9b459bdb"><div class="ttname"><a href="hooks_8txt.html#a9db4adb3a3a4932faad4d7ea9b459bdb">format</a></div><div class="ttdeci">if the prop value should be in the metadata multi language array format</div><div class="ttdef"><b>Definition:</b> <a href="hooks_8txt_source.html#l01681">hooks.txt:1681</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a83a6364898c3aacfc49f4281419b6909"><div class="ttname"><a href="DefaultSettings_8php.html#a83a6364898c3aacfc49f4281419b6909">$wgEnableWANCacheReaper</a></div><div class="ttdeci">bool $wgEnableWANCacheReaper</div><div class="ttdoc">Verify and enforce WAN cache purges using reliable DB sources as streams. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02411">DefaultSettings.php:2411</a></div></div> <div class="ttc" id="group__Constants_html_gafdd995a93b757a3b8c88d71ef53a3ef7"><div class="ttname"><a href="group__Constants.html#gafdd995a93b757a3b8c88d71ef53a3ef7">NS_TEMPLATE_TALK</a></div><div class="ttdeci">const NS_TEMPLATE_TALK</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00076">Defines.php:76</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ab0ccc7601b69f1c8c472eddce2348a60"><div class="ttname"><a href="DefaultSettings_8php.html#ab0ccc7601b69f1c8c472eddce2348a60">$wgDjvuPostProcessor</a></div><div class="ttdeci">$wgDjvuPostProcessor</div><div class="ttdoc">Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01557">DefaultSettings.php:1557</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a2a0c04d89cc9181fbdc002a95e2b9319"><div class="ttname"><a href="DefaultSettings_8php.html#a2a0c04d89cc9181fbdc002a95e2b9319">$wgAmericanDates</a></div><div class="ttdeci">$wgAmericanDates</div><div class="ttdoc">Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03024">DefaultSettings.php:3024</a></div></div> <div class="ttc" id="group__Constants_html_gab109d7a36685bee982d018cf98e878e3"><div class="ttname"><a href="group__Constants.html#gab109d7a36685bee982d018cf98e878e3">CACHE_DB</a></div><div class="ttdeci">const CACHE_DB</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00104">Defines.php:104</a></div></div> <div class="ttc" id="DevelopmentSettings_8php_html_a51a1dd5fbea59e0418d71fce490f5553"><div class="ttname"><a href="DevelopmentSettings_8php.html#a51a1dd5fbea59e0418d71fce490f5553">$wgDebugLogFile</a></div><div class="ttdeci">global $wgDebugLogFile</div><div class="ttdef"><b>Definition:</b> <a href="DevelopmentSettings_8php_source.html#l00027">DevelopmentSettings.php:27</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a1c107b5e1fa46b1e312b7763c5e7b54b"><div class="ttname"><a href="DefaultSettings_8php.html#a1c107b5e1fa46b1e312b7763c5e7b54b">$wgBrowserBlackList</a></div><div class="ttdeci">$wgBrowserBlackList</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03004">DefaultSettings.php:3004</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a5d4d23d2875c6176125328fdde44010e"><div class="ttname"><a href="DefaultSettings_8php.html#a5d4d23d2875c6176125328fdde44010e">$wgResourceModules</a></div><div class="ttdeci">$wgResourceModules</div><div class="ttdoc">Client-side resource modules. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03537">DefaultSettings.php:3537</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a114a38da941fd958a01fab87862569f0"><div class="ttname"><a href="DefaultSettings_8php.html#a114a38da941fd958a01fab87862569f0">$wgCdnReboundPurgeDelay</a></div><div class="ttdeci">$wgCdnReboundPurgeDelay</div><div class="ttdoc">If set, any SquidPurge call on a URL or URLs will send a second purge no less than this many seconds ...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02738">DefaultSettings.php:2738</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a01c3b237a8adaa3513c952ea52cf6410"><div class="ttname"><a href="DefaultSettings_8php.html#a01c3b237a8adaa3513c952ea52cf6410">$wgAntivirus</a></div><div class="ttdeci">$wgAntivirus</div><div class="ttdoc">Internal name of virus scanner. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01258">DefaultSettings.php:1258</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a85ce6c476cd8d165885f70dfa4c99243"><div class="ttname"><a href="DefaultSettings_8php.html#a85ce6c476cd8d165885f70dfa4c99243">$wgEnableSidebarCache</a></div><div class="ttdeci">$wgEnableSidebarCache</div><div class="ttdoc">If on, the sidebar navigation links are cached for users with the current language set...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02604">DefaultSettings.php:2604</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_af73d7be8db77244df903063b51f0cc8f"><div class="ttname"><a href="DefaultSettings_8php.html#af73d7be8db77244df903063b51f0cc8f">$wgUsePrivateIPs</a></div><div class="ttdeci">$wgUsePrivateIPs</div><div class="ttdoc">Should forwarded Private IPs be accepted? </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02855">DefaultSettings.php:2855</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a54d1e6ff61d05b1351780a904126571b"><div class="ttname"><a href="DefaultSettings_8php.html#a54d1e6ff61d05b1351780a904126571b">$wgTransactionalTimeLimit</a></div><div class="ttdeci">$wgTransactionalTimeLimit</div><div class="ttdoc">The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02239">DefaultSettings.php:2239</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_afa3a5ff3b407cbd87d60d42fd70f192c"><div class="ttname"><a href="DefaultSettings_8php.html#afa3a5ff3b407cbd87d60d42fd70f192c">$wgFavicon</a></div><div class="ttdeci">$wgFavicon</div><div class="ttdoc">The URL path of the shortcut icon. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00295">DefaultSettings.php:295</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a870eea8083968ff8aec0d4b78040110e"><div class="ttname"><a href="DefaultSettings_8php.html#a870eea8083968ff8aec0d4b78040110e">$wgMemCachedTimeout</a></div><div class="ttdeci">$wgMemCachedTimeout</div><div class="ttdoc">Read/write timeout for MemCached server communication, in microseconds. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02494">DefaultSettings.php:2494</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_f5f5779b9057e7d72e010bb498e404b7.html">includes</a></li><li class="navelem"><a class="el" href="DefaultSettings_8php.html">DefaultSettings.php</a></li> <li class="footer">Generated on Thu May 24 2018 15:07:26 for MediaWiki by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li> </ul> </div> </body> </html>