MediaWiki  1.30.0
DefaultSettings.php
Go to the documentation of this file.
1 <?php
50 if ( !defined( 'MEDIAWIKI' ) ) {
51  echo "This file is part of MediaWiki and is not a valid entry point\n";
52  die( 1 );
53 }
54 
63 
71  'main' => 'GlobalVarConfig::newInstance'
72 ];
73 
78 $wgVersion = '1.30.0';
79 
83 $wgSitename = 'MediaWiki';
84 
92 
110 
119 
126 
127 /************************************************************************/
141 $wgScriptPath = '/wiki';
142 
160 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
161  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
162  ( strpos( PHP_SAPI, 'isapi' ) === false );
163 
176 
179 /************************************************************************/
202 $wgScript = false;
203 
211 
217 $wgStylePath = false;
219 
226 
233 
239 $wgExtensionDirectory = "{$IP}/extensions";
240 
246 $wgStyleDirectory = "{$IP}/skins";
247 
256 
262 
267 
273 
278 $wgLogo = false;
279 
295 $wgLogoHD = false;
296 
301 $wgFavicon = '/favicon.ico';
302 
309 
319 
335 
342 
351 
367 
370 /************************************************************************/
379 
383 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
384 
389 
399 
407 $wgIllegalFileChars = ":\\/\\\\";
408 
414 
419 
435 
518 
523 
530 
541 
552  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
553  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
554  // matching replacement to the 'filepage' format key below to make use of these.
555  'fields' => [
556  'description' => true,
557  'date' => false,
558  'categories' => false,
559  ],
560  // Suffix of localisation messages used to describe the license under which the uploaded file will
561  // be released. The same value may be set for both 'local' and 'foreign' uploads.
562  'licensemessages' => [
563  // The 'local' messages are used for local uploads on this wiki:
564  // * upload-form-label-own-work-message-generic-local
565  // * upload-form-label-not-own-work-message-generic-local
566  // * upload-form-label-not-own-work-local-generic-local
567  'local' => 'generic-local',
568  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
569  // * upload-form-label-own-work-message-generic-foreign
570  // * upload-form-label-not-own-work-message-generic-foreign
571  // * upload-form-label-not-own-work-local-generic-foreign
572  'foreign' => 'generic-foreign',
573  ],
574  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
575  // string value, in which case it is used for both kinds of uploads. Available replacements:
576  // * $HOST - domain name from which a cross-wiki upload originates
577  // * $PAGENAME - wiki page name from which an upload originates
578  'comment' => [
579  'local' => '',
580  'foreign' => '',
581  ],
582  // Format of the file page wikitext to be generated from the fields input by the user.
583  'format' => [
584  // Wrapper for the whole page. Available replacements:
585  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
586  // enabled), wrapped as defined below in the 'description' key
587  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
588  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
589  // * $AUTHOR - linked user name, may be extended in the future
590  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
591  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
592  // field is enabled), or if no input, as defined below in the 'uncategorized' key
593  'filepage' => '$DESCRIPTION',
594  // Wrapped for file description. Available replacements:
595  // * $LANGUAGE - source wiki's content language
596  // * $TEXT - input by the user
597  'description' => '$TEXT',
598  'ownwork' => '',
599  'license' => '',
600  'uncategorized' => '',
601  ],
602 ];
603 
641 
657 
669 $wgShowEXIF = function_exists( 'exif_read_data' );
670 
677 
692 
697 
702 
707 
713 
718 
724 
731 
738 
745 
751 
763 
780 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB
781 
789 
801 
808 
821 
826 
841 
848 
857 $wgRepositoryBaseUrl = "https://commons.wikimedia.org/wiki/File:";
858 
867 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
868 
875  # HTML may contain cookie-stealing JavaScript and web bugs
876  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
877  # PHP scripts may execute arbitrary code on the server
878  'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
879  # Other types that may be interpreted by some servers
880  'shtml', 'jhtml', 'pl', 'py', 'cgi',
881  # May contain harmful executables for Windows victims
882  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ];
883 
889  # HTML may contain cookie-stealing JavaScript and web bugs
890  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
891  # PHP scripts may execute arbitrary code on the server
892  'application/x-php', 'text/x-php',
893  # Other types that may be interpreted by some servers
894  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
895  # Client-side hazards on Internet Explorer
896  'text/scriptlet', 'application/x-msdownload',
897  # Windows metafile, client-side vulnerability on some systems
898  'application/x-msmetafile',
899 ];
900 
907 
914 
922 
930 
935 
947  MEDIATYPE_BITMAP, // all bitmap formats
948  MEDIATYPE_AUDIO, // all audio formats
949  MEDIATYPE_VIDEO, // all plain video formats
950  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
951  "application/pdf", // PDF files
952  # "application/x-shockwave-flash", //flash/shockwave movie
953 ];
954 
963 
969  'image/jpeg' => 'MockBitmapHandler',
970  'image/png' => 'MockBitmapHandler',
971  'image/gif' => 'MockBitmapHandler',
972  'image/tiff' => 'MockBitmapHandler',
973  'image/webp' => 'MockBitmapHandler',
974  'image/x-ms-bmp' => 'MockBitmapHandler',
975  'image/x-bmp' => 'MockBitmapHandler',
976  'image/x-xcf' => 'MockBitmapHandler',
977  'image/svg+xml' => 'MockSvgHandler',
978  'image/vnd.djvu' => 'MockDjVuHandler',
979 ];
980 
989  // the usual case
990  CONTENT_MODEL_WIKITEXT => 'WikitextContentHandler',
991  // dumb version, no syntax highlighting
992  CONTENT_MODEL_JAVASCRIPT => 'JavaScriptContentHandler',
993  // simple implementation, for use by extensions, etc.
994  CONTENT_MODEL_JSON => 'JsonContentHandler',
995  // dumb version, no syntax highlighting
996  CONTENT_MODEL_CSS => 'CssContentHandler',
997  // plain text, for use by extensions, etc.
998  CONTENT_MODEL_TEXT => 'TextContentHandler',
999 ];
1000 
1007 
1017 
1021 $wgImageMagickConvertCommand = '/usr/bin/convert';
1022 
1028 
1033 
1038 
1044 
1058 
1064 $wgJpegTran = '/usr/bin/jpegtran';
1065 
1086 
1091 $wgExiv2Command = '/usr/bin/exiv2';
1092 
1098 $wgExiftool = '/usr/bin/exiftool';
1099 
1110  'ImageMagick' =>
1111  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1112  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1113  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1114  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1115  . '$output $input',
1116  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1117  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1118  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1119 ];
1120 
1124 $wgSVGConverter = 'ImageMagick';
1125 
1130 
1135 
1141 
1154 
1169 
1177 
1192 
1199 $wgThumbnailEpoch = '20030516000000';
1200 
1208 
1221 
1230 
1235 
1242 
1249 
1285 
1286  # setup for clamav
1287  'clamav' => [
1288  'command' => 'clamscan --no-summary ',
1289  'codemap' => [
1290  "0" => AV_NO_VIRUS, # no virus
1291  "1" => AV_VIRUS_FOUND, # virus found
1292  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1293  "*" => AV_SCAN_FAILED, # else scan failed
1294  ],
1295  'messagepattern' => '/.*?:(.*)/sim',
1296  ],
1297 ];
1298 
1303 
1308 
1314 $wgMimeTypeFile = 'includes/mime.types';
1315 
1320 $wgMimeInfoFile = 'includes/mime.info';
1321 
1334 
1341 
1347  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1348  'svg' => 'image/svg+xml',
1349  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1350  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1351  'html' => 'text/html', // application/xhtml+xml?
1352 ];
1353 
1363  [ 320, 240 ],
1364  [ 640, 480 ],
1365  [ 800, 600 ],
1366  [ 1024, 768 ],
1367  [ 1280, 1024 ]
1368 ];
1369 
1376  120,
1377  150,
1378  180,
1379  200,
1380  250,
1381  300
1382 ];
1383 
1394 
1411 
1423 
1436 
1443 
1451 
1459 
1475 
1482 
1487 
1499 
1511 
1518 
1524 $wgDjvuTxt = null;
1525 
1541 
1547 $wgDjvuPostProcessor = 'pnmtojpeg';
1548 
1553  # end of DJvu }
1555  # end of file uploads }
1557 
1558 /************************************************************************/
1569 
1578 
1584 $wgPasswordSenderName = 'MediaWiki Mail';
1585 
1592 
1599 
1605 
1612 
1623 
1629 
1633 $wgNewPasswordExpiry = 3600 * 24 * 7;
1634 
1639 
1645 
1650 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1651 
1669 $wgSMTP = false;
1670 
1675 
1681 
1687 
1688 // TODO move UPO to preferences probably ?
1689 # If set to true, users get a corresponding option in their preferences and can choose to
1690 # enable or disable at their discretion
1691 # If set to false, the corresponding input form on the user preference page is suppressed
1692 # It call this to be a "user-preferences-option (UPO)"
1693 
1700 
1705 
1714 
1720 
1735 
1744 
1750 
1755 
1761  # end of email settings
1763 
1764 /************************************************************************/
1772 $wgDBserver = 'localhost';
1773 
1777 $wgDBport = 5432;
1778 
1782 $wgDBname = 'my_wiki';
1783 
1787 $wgDBuser = 'wikiuser';
1788 
1793 
1797 $wgDBtype = 'mysql';
1798 
1807 $wgDBssl = false;
1808 
1818 
1823 
1828 
1836 
1845 
1850 
1854 $wgDBTableOptions = 'ENGINE=InnoDB';
1855 
1863 
1868 
1873 
1900 
1905 
1909 $wgSharedTables = [ 'user', 'user_properties' ];
1910 
1916 
1972 
1983 $wgLBFactoryConf = [ 'class' => 'LBFactorySimple' ];
1984 
1992 
1997 
2017 
2034 $wgDBmysql5 = false;
2035 
2063 
2070 
2077 
2082 
2087  # End of DB settings }
2089 
2090 /************************************************************************/
2102 
2115 
2131 
2147 
2155  # end text storage }
2157 
2158 /************************************************************************/
2167 
2172 
2177 
2182 
2187 
2192 
2197 
2203 
2211  # end performance hacks }
2213 
2214 /************************************************************************/
2228 
2247 
2255 
2263 
2270 
2280 
2295  CACHE_NONE => [ 'class' => 'EmptyBagOStuff', 'reportDupes' => false ],
2296  CACHE_DB => [ 'class' => 'SqlBagOStuff', 'loggroup' => 'SQLBagOStuff' ],
2297 
2298  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2299  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2300  CACHE_MEMCACHED => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2301 
2302  'db-replicated' => [
2303  'class' => 'ReplicatedBagOStuff',
2304  'readFactory' => [
2305  'class' => 'SqlBagOStuff',
2306  'args' => [ [ 'slaveOnly' => true ] ]
2307  ],
2308  'writeFactory' => [
2309  'class' => 'SqlBagOStuff',
2310  'args' => [ [ 'slaveOnly' => false ] ]
2311  ],
2312  'loggroup' => 'SQLBagOStuff',
2313  'reportDupes' => false
2314  ],
2315 
2316  'apc' => [ 'class' => 'APCBagOStuff', 'reportDupes' => false ],
2317  'apcu' => [ 'class' => 'APCUBagOStuff', 'reportDupes' => false ],
2318  'xcache' => [ 'class' => 'XCacheBagOStuff', 'reportDupes' => false ],
2319  'wincache' => [ 'class' => 'WinCacheBagOStuff', 'reportDupes' => false ],
2320  'memcached-php' => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2321  'memcached-pecl' => [ 'class' => 'MemcachedPeclBagOStuff', 'loggroup' => 'memcached' ],
2322  'hash' => [ 'class' => 'HashBagOStuff', 'reportDupes' => false ],
2323 ];
2324 
2341 
2358  CACHE_NONE => [
2359  'class' => 'WANObjectCache',
2360  'cacheId' => CACHE_NONE,
2361  'channels' => []
2362  ]
2363  /* Example of a simple single data-center cache:
2364  'memcached-php' => [
2365  'class' => 'WANObjectCache',
2366  'cacheId' => 'memcached-php',
2367  'channels' => [ 'purge' => 'wancache-main-memcached-purge' ]
2368  ]
2369  */
2370 ];
2371 
2384 
2399 $wgMainStash = 'db-replicated';
2400 
2406 
2411 
2416 
2421 
2439 
2446 
2451 
2455 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2456 
2462 
2467 
2480 
2488 
2512  'class' => 'LocalisationCache',
2513  'store' => 'detect',
2514  'storeClass' => false,
2515  'storeDirectory' => false,
2516  'manualRecache' => false,
2517 ];
2518 
2523 
2532 $wgCacheEpoch = '20030516000000';
2533 
2539 
2548 
2555 
2563 
2569 
2575 
2586 
2591 
2598 $wgUseGzip = false;
2599 
2607 
2618 
2635  # end of cache settings
2637 
2638 /************************************************************************/
2655 $wgUseSquid = false;
2656 
2660 $wgUseESI = false;
2661 
2668 
2678 
2688 
2697 
2704 
2720 
2727 
2734 
2744 
2752 
2773 
2826 
2832 
2837  # end of HTTP proxy settings
2839 
2840 /************************************************************************/
2862 
2868 
2879 
2884 
2889 
2904 
2909 
2924  'bh' => 'bho', // Bihari language family
2925  'no' => 'nb', // Norwegian language family
2926  'simple' => 'en', // Simple English
2927 ];
2928 
2936 
2946 
2957 
2969 
2981 
2986 
3000 
3006 
3012 
3018 
3023 
3028 
3033 
3038 
3043 
3049 
3060 
3079 
3086 
3107 
3132 
3143  # End of language/charset settings
3145 
3146 /*************************************************************************/
3154 $wgMimeType = 'text/html';
3155 
3164 
3173 
3181 $wgHtml5 = true;
3182 
3192 
3201 
3209 
3218 
3234 
3243 
3248 
3254 
3259 $wgDefaultSkin = 'vector';
3260 
3266 $wgFallbackSkin = 'fallback';
3267 
3274 
3279 
3286 
3293 
3300 
3305 
3310 
3316 
3337 
3349 
3354 
3363 
3394 $wgFragmentMode = [ 'legacy' ];
3395 
3405 
3437  "copyright" => [
3438  "copyright" => [], // placeholder for the built in copyright icon
3439  ],
3440  "poweredby" => [
3441  "mediawiki" => [
3442  // Defaults to point at
3443  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3444  // plus srcset for 1.5x, 2x resolution variants.
3445  "src" => null,
3446  "url" => "//www.mediawiki.org/",
3447  "alt" => "Powered by MediaWiki",
3448  ]
3449  ],
3450 ];
3451 
3459 
3463 $wgEdititis = false;
3464 
3477 
3488 
3496 
3506  # End of output format settings }
3508 
3509 /*************************************************************************/
3532 
3622 
3634 
3640 
3658  'versioned' => [
3659  'server' => 30 * 24 * 60 * 60, // 30 days
3660  'client' => 30 * 24 * 60 * 60, // 30 days
3661  ],
3662  'unversioned' => [
3663  'server' => 5 * 60, // 5 minutes
3664  'client' => 5 * 60, // 5 minutes
3665  ],
3666 ];
3667 
3674 
3682 
3691 
3698 
3708 
3735 
3750 
3759 
3769 
3798  'deviceWidthTablet' => '720px',
3799 ];
3800 
3815  "$IP/resources/src/mediawiki.less/",
3816 ];
3817 
3823 
3831 
3844  # End of ResourceLoader settings }
3846 
3847 /*************************************************************************/
3857 
3866 
3894 
3902 
3922 
3950 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
3951 
3958 
3968 
3973 
3998 
4006 
4011  # end of Interwiki caching settings.
4013 
4022 $wgSitesCacheFile = false;
4023  # end of SiteStore caching settings.
4025 
4041 $wgRedirectSources = false;
4042 
4051 
4067 
4073  NS_TALK => true,
4074  NS_USER => true,
4075  NS_USER_TALK => true,
4076  NS_PROJECT => true,
4077  NS_PROJECT_TALK => true,
4078  NS_FILE_TALK => true,
4079  NS_MEDIAWIKI => true,
4080  NS_MEDIAWIKI_TALK => true,
4081  NS_TEMPLATE => true,
4082  NS_TEMPLATE_TALK => true,
4083  NS_HELP => true,
4084  NS_HELP_TALK => true,
4086 ];
4087 
4104 
4112 
4120 
4129 
4136 
4147 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4148  # End of title and interwiki settings }
4150 
4151 /************************************************************************/
4179  'class' => 'Parser',
4180  # 'preprocessorClass' => 'Preprocessor_Hash',
4181 ];
4182 
4187 
4193 
4204 
4212 
4217 
4229  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4230  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4231  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4232  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4233 ];
4234 
4239 
4244 
4258 
4269 
4279 
4305 
4310 $wgUseTidy = false;
4311 
4316 $wgTidyBin = 'tidy';
4317 
4322 $wgTidyConf = $IP . '/includes/tidy/tidy.conf';
4323 
4329 
4334 $wgTidyInternal = extension_loaded( 'tidy' );
4335 
4341 
4347 $wgRawHtml = false;
4348 
4359 
4367 
4373 
4387 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4388 
4393 
4400 
4406 
4412 
4417 
4423 
4431  'ISBN' => false,
4432  'PMID' => false,
4433  'RFC' => false
4434 ];
4435  # end of parser settings }
4437 
4438 /************************************************************************/
4461 
4470  # End of statistics }
4472 
4473 /************************************************************************/
4484  'local' => [ 'class' => 'LocalIdLookup' ],
4485 ];
4486 
4492 
4517  'policies' => [
4518  'bureaucrat' => [
4519  'MinimalPasswordLength' => 8,
4520  'MinimumPasswordLengthToLogin' => 1,
4521  'PasswordCannotMatchUsername' => true,
4522  'PasswordCannotBePopular' => 25,
4523  ],
4524  'sysop' => [
4525  'MinimalPasswordLength' => 8,
4526  'MinimumPasswordLengthToLogin' => 1,
4527  'PasswordCannotMatchUsername' => true,
4528  'PasswordCannotBePopular' => 25,
4529  ],
4530  'bot' => [
4531  'MinimalPasswordLength' => 8,
4532  'MinimumPasswordLengthToLogin' => 1,
4533  'PasswordCannotMatchUsername' => true,
4534  ],
4535  'default' => [
4536  'MinimalPasswordLength' => 1,
4537  'PasswordCannotMatchUsername' => true,
4538  'PasswordCannotMatchBlacklist' => true,
4539  'MaximalPasswordLength' => 4096,
4540  ],
4541  ],
4542  'checks' => [
4543  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4544  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4545  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4546  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4547  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4548  'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4549  ],
4550 ];
4551 
4572 
4578  'preauth' => [
4581  'sort' => 0,
4582  ],
4585  'sort' => 0,
4586  ],
4587  ],
4588  'primaryauth' => [
4589  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4590  // any other PasswordAuthenticationRequest-based
4591  // PrimaryAuthenticationProvider (or at least any that might return
4592  // FAIL rather than ABSTAIN for a wrong password), or password reset
4593  // won't work right. Do not remove this (or change the key) or
4594  // auto-configuration of other such providers in extensions will
4595  // probably auto-insert themselves in the wrong place.
4598  'args' => [ [
4599  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4600  'authoritative' => false,
4601  ] ],
4602  'sort' => 0,
4603  ],
4606  'args' => [ [
4607  // Last one should be authoritative, or else the user will get
4608  // a less-than-helpful error message (something like "supplied
4609  // authentication info not supported" rather than "wrong
4610  // password") if it too fails.
4611  'authoritative' => true,
4612  ] ],
4613  'sort' => 100,
4614  ],
4615  ],
4616  'secondaryauth' => [
4619  'sort' => 0,
4620  ],
4623  'sort' => 100,
4624  ],
4625  // Linking during login is experimental, enable at your own risk - T134952
4626  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4627  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4628  // 'sort' => 100,
4629  // ],
4632  'sort' => 200,
4633  ],
4634  ],
4635 ];
4636 
4676  'default' => 300,
4677 ];
4678 
4695  'default' => true,
4696 ];
4697 
4709 ];
4710 
4722 ];
4723 
4729 
4736 
4749 
4756 
4763 
4784  'A' => [
4785  'class' => 'MWOldPassword',
4786  ],
4787  'B' => [
4788  'class' => 'MWSaltedPassword',
4789  ],
4790  'pbkdf2-legacyA' => [
4791  'class' => 'LayeredParameterizedPassword',
4792  'types' => [
4793  'A',
4794  'pbkdf2',
4795  ],
4796  ],
4797  'pbkdf2-legacyB' => [
4798  'class' => 'LayeredParameterizedPassword',
4799  'types' => [
4800  'B',
4801  'pbkdf2',
4802  ],
4803  ],
4804  'bcrypt' => [
4805  'class' => 'BcryptPassword',
4806  'cost' => 9,
4807  ],
4808  'pbkdf2' => [
4809  'class' => 'Pbkdf2Password',
4810  'algo' => 'sha512',
4811  'cost' => '30000',
4812  'length' => '64',
4813  ],
4814 ];
4815 
4823  'username' => true,
4824  'email' => true,
4825 ];
4826 
4831 
4837 
4843  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
4844  'Conversion script', // Used for the old Wikipedia software upgrade
4845  'Maintenance script', // Maintenance scripts which perform editing, image import script
4846  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
4847  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
4848  'Unknown user', // Used in WikiImporter when importing revisions with no author
4849  'msg:double-redirect-fixer', // Automatic double redirect fix
4850  'msg:usermessage-editor', // Default user for leaving user messages
4851  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
4852  'msg:spambot_username', // Used by cleanupSpam.php
4853  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
4854 ];
4855 
4863  'ccmeonemails' => 0,
4864  'cols' => 80, // @deprecated since 1.29 No longer used in core
4865  'date' => 'default',
4866  'diffonly' => 0,
4867  'disablemail' => 0,
4868  'editfont' => 'monospace',
4869  'editondblclick' => 0,
4870  'editsectiononrightclick' => 0,
4871  'enotifminoredits' => 0,
4872  'enotifrevealaddr' => 0,
4873  'enotifusertalkpages' => 1,
4874  'enotifwatchlistpages' => 1,
4875  'extendwatchlist' => 1,
4876  'fancysig' => 0,
4877  'forceeditsummary' => 0,
4878  'gender' => 'unknown',
4879  'hideminor' => 0,
4880  'hidepatrolled' => 0,
4881  'hidecategorization' => 1,
4882  'imagesize' => 2,
4883  'math' => 1,
4884  'minordefault' => 0,
4885  'newpageshidepatrolled' => 0,
4886  'nickname' => '',
4887  'norollbackdiff' => 0,
4888  'numberheadings' => 0,
4889  'previewonfirst' => 0,
4890  'previewontop' => 1,
4891  'rcdays' => 7,
4892  'rcenhancedfilters' => 0,
4893  'rcenhancedfilters-disable' => 0,
4894  'rclimit' => 50,
4895  'rows' => 25, // @deprecated since 1.29 No longer used in core
4896  'showhiddencats' => 0,
4897  'shownumberswatching' => 1,
4898  'showtoolbar' => 1,
4899  'skin' => false,
4900  'stubthreshold' => 0,
4901  'thumbsize' => 5,
4902  'underline' => 2,
4903  'uselivepreview' => 0,
4904  'usenewrc' => 1,
4905  'watchcreations' => 1,
4906  'watchdefault' => 1,
4907  'watchdeletion' => 0,
4908  'watchuploads' => 1,
4909  'watchlistdays' => 3.0,
4910  'watchlisthideanons' => 0,
4911  'watchlisthidebots' => 0,
4912  'watchlisthideliu' => 0,
4913  'watchlisthideminor' => 0,
4914  'watchlisthideown' => 0,
4915  'watchlisthidepatrolled' => 0,
4916  'watchlisthidecategorization' => 1,
4917  'watchlistreloadautomatically' => 0,
4918  'watchlistunwatchlinks' => 0,
4919  'watchmoves' => 0,
4920  'watchrollback' => 0,
4921  'wllimit' => 250,
4922  'useeditwarning' => 1,
4923  'prefershttps' => 1,
4924 ];
4925 
4930 
4937 
4948 
4956 
4968 
4980  'args' => [ [
4981  'priority' => 30,
4982  'callUserSetCookiesHook' => true,
4983  ] ],
4984  ],
4987  'args' => [ [
4988  'priority' => 75,
4989  ] ],
4990  ],
4991 ];
4992  # end user accounts }
4994 
4995 /************************************************************************/
5004 
5009 
5014 
5030  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
5031  'IPv6' => 19,
5032 ];
5033 
5042 
5064 
5092 
5098 
5104 
5130 
5132 // Implicit group for all visitors
5133 $wgGroupPermissions['*']['createaccount'] = true;
5134 $wgGroupPermissions['*']['read'] = true;
5135 $wgGroupPermissions['*']['edit'] = true;
5136 $wgGroupPermissions['*']['createpage'] = true;
5137 $wgGroupPermissions['*']['createtalk'] = true;
5138 $wgGroupPermissions['*']['writeapi'] = true;
5139 $wgGroupPermissions['*']['editmyusercss'] = true;
5140 $wgGroupPermissions['*']['editmyuserjs'] = true;
5141 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5142 $wgGroupPermissions['*']['editmywatchlist'] = true;
5143 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5144 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5145 $wgGroupPermissions['*']['editmyoptions'] = true;
5146 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5147 
5148 // Implicit group for all logged-in accounts
5149 $wgGroupPermissions['user']['move'] = true;
5150 $wgGroupPermissions['user']['move-subpages'] = true;
5151 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5152 $wgGroupPermissions['user']['move-categorypages'] = true;
5153 $wgGroupPermissions['user']['movefile'] = true;
5154 $wgGroupPermissions['user']['read'] = true;
5155 $wgGroupPermissions['user']['edit'] = true;
5156 $wgGroupPermissions['user']['createpage'] = true;
5157 $wgGroupPermissions['user']['createtalk'] = true;
5158 $wgGroupPermissions['user']['writeapi'] = true;
5159 $wgGroupPermissions['user']['upload'] = true;
5160 $wgGroupPermissions['user']['reupload'] = true;
5161 $wgGroupPermissions['user']['reupload-shared'] = true;
5162 $wgGroupPermissions['user']['minoredit'] = true;
5163 $wgGroupPermissions['user']['purge'] = true;
5164 $wgGroupPermissions['user']['sendemail'] = true;
5165 $wgGroupPermissions['user']['applychangetags'] = true;
5166 $wgGroupPermissions['user']['changetags'] = true;
5167 $wgGroupPermissions['user']['editcontentmodel'] = true;
5168 
5169 // Implicit group for accounts that pass $wgAutoConfirmAge
5170 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5171 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5172 
5173 // Users with bot privilege can have their edits hidden
5174 // from various log pages by default
5175 $wgGroupPermissions['bot']['bot'] = true;
5176 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5177 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5178 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5179 $wgGroupPermissions['bot']['autopatrol'] = true;
5180 $wgGroupPermissions['bot']['suppressredirect'] = true;
5181 $wgGroupPermissions['bot']['apihighlimits'] = true;
5182 $wgGroupPermissions['bot']['writeapi'] = true;
5183 
5184 // Most extra permission abilities go to this group
5185 $wgGroupPermissions['sysop']['block'] = true;
5186 $wgGroupPermissions['sysop']['createaccount'] = true;
5187 $wgGroupPermissions['sysop']['delete'] = true;
5188 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5189 $wgGroupPermissions['sysop']['bigdelete'] = true;
5190 // can view deleted history entries, but not see or restore the text
5191 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5192 // can view deleted revision text
5193 $wgGroupPermissions['sysop']['deletedtext'] = true;
5194 $wgGroupPermissions['sysop']['undelete'] = true;
5195 $wgGroupPermissions['sysop']['editinterface'] = true;
5196 $wgGroupPermissions['sysop']['editusercss'] = true;
5197 $wgGroupPermissions['sysop']['edituserjs'] = true;
5198 $wgGroupPermissions['sysop']['import'] = true;
5199 $wgGroupPermissions['sysop']['importupload'] = true;
5200 $wgGroupPermissions['sysop']['move'] = true;
5201 $wgGroupPermissions['sysop']['move-subpages'] = true;
5202 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5203 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5204 $wgGroupPermissions['sysop']['patrol'] = true;
5205 $wgGroupPermissions['sysop']['autopatrol'] = true;
5206 $wgGroupPermissions['sysop']['protect'] = true;
5207 $wgGroupPermissions['sysop']['editprotected'] = true;
5208 $wgGroupPermissions['sysop']['rollback'] = true;
5209 $wgGroupPermissions['sysop']['upload'] = true;
5210 $wgGroupPermissions['sysop']['reupload'] = true;
5211 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5212 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5213 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5214 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5215 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5216 $wgGroupPermissions['sysop']['blockemail'] = true;
5217 $wgGroupPermissions['sysop']['markbotedits'] = true;
5218 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5219 $wgGroupPermissions['sysop']['browsearchive'] = true;
5220 $wgGroupPermissions['sysop']['noratelimit'] = true;
5221 $wgGroupPermissions['sysop']['movefile'] = true;
5222 $wgGroupPermissions['sysop']['unblockself'] = true;
5223 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5224 # $wgGroupPermissions['sysop']['pagelang'] = true;
5225 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5226 $wgGroupPermissions['sysop']['mergehistory'] = true;
5227 $wgGroupPermissions['sysop']['managechangetags'] = true;
5228 $wgGroupPermissions['sysop']['deletechangetags'] = true;
5229 
5230 // Permission to change users' group assignments
5231 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5232 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5233 // Permission to change users' groups assignments across wikis
5234 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5235 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5236 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5237 
5238 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5239 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5240 // To hide usernames from users and Sysops
5241 # $wgGroupPermissions['suppress']['hideuser'] = true;
5242 // To hide revisions/log items from users and Sysops
5243 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5244 // To view revisions/log items hidden from users and Sysops
5245 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5246 // For private suppression log access
5247 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5248 
5255 # $wgGroupPermissions['developer']['siteadmin'] = true;
5256 
5269 
5273 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5274 
5297 
5302 
5310 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5311 
5323 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5324 
5335 
5349 
5358 
5369 
5391 
5402 
5461  'autoconfirmed' => [ '&',
5464  ],
5465 ];
5466 
5486  'onEdit' => [],
5487 ];
5488 
5494 
5518 
5523 
5529 
5535 
5544 
5567  'count' => 0,
5568  'seconds' => 86400,
5569 ] ];
5570 
5583 
5588 
5595 
5619 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
5620 
5626 
5635 
5642 
5679  // Page edits
5680  'edit' => [
5681  'ip' => [ 8, 60 ],
5682  'newbie' => [ 8, 60 ],
5683  ],
5684  // Page moves
5685  'move' => [
5686  'newbie' => [ 2, 120 ],
5687  'user' => [ 8, 60 ],
5688  ],
5689  // File uploads
5690  'upload' => [
5691  'ip' => [ 8, 60 ],
5692  'newbie' => [ 8, 60 ],
5693  ],
5694  // Page rollbacks
5695  'rollback' => [
5696  'user' => [ 10, 60 ],
5697  'newbie' => [ 5, 120 ]
5698  ],
5699  // Triggering password resets emails
5700  'mailpassword' => [
5701  'ip' => [ 5, 3600 ],
5702  ],
5703  // Emailing other users using MediaWiki
5704  'emailuser' => [
5705  'ip' => [ 5, 86400 ],
5706  'newbie' => [ 5, 86400 ],
5707  'user' => [ 20, 86400 ],
5708  ],
5709  // Purging pages
5710  'purge' => [
5711  'ip' => [ 30, 60 ],
5712  'user' => [ 30, 60 ],
5713  ],
5714  // Purges of link tables
5715  'linkpurge' => [
5716  'ip' => [ 30, 60 ],
5717  'user' => [ 30, 60 ],
5718  ],
5719  // Files rendered via thumb.php or thumb_handler.php
5720  'renderfile' => [
5721  'ip' => [ 700, 30 ],
5722  'user' => [ 700, 30 ],
5723  ],
5724  // Same as above but for non-standard thumbnails
5725  'renderfile-nonstandard' => [
5726  'ip' => [ 70, 30 ],
5727  'user' => [ 70, 30 ],
5728  ],
5729  // Stashing edits into cache before save
5730  'stashedit' => [
5731  'ip' => [ 30, 60 ],
5732  'newbie' => [ 30, 60 ],
5733  ],
5734  // Adding or removing change tags
5735  'changetag' => [
5736  'ip' => [ 8, 60 ],
5737  'newbie' => [ 8, 60 ],
5738  ],
5739  // Changing the content model of a page
5740  'editcontentmodel' => [
5741  'newbie' => [ 2, 120 ],
5742  'user' => [ 8, 60 ],
5743  ],
5744 ];
5745 
5751 
5758 
5764 
5778  // Short term limit
5779  [ 'count' => 5, 'seconds' => 300 ],
5780  // Long term limit. We need to balance the risk
5781  // of somebody using this as a DoS attack to lock someone
5782  // out of their account, and someone doing a brute force attack.
5783  [ 'count' => 150, 'seconds' => 60 * 60 * 48 ],
5784 ];
5785 
5797 
5798 // @TODO: clean up grants
5799 // @TODO: auto-include read/editsemiprotected rights?
5800 
5801 $wgGrantPermissions['basic']['autoconfirmed'] = true;
5802 $wgGrantPermissions['basic']['autopatrol'] = true;
5803 $wgGrantPermissions['basic']['editsemiprotected'] = true;
5804 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
5805 $wgGrantPermissions['basic']['nominornewtalk'] = true;
5806 $wgGrantPermissions['basic']['patrolmarks'] = true;
5807 $wgGrantPermissions['basic']['purge'] = true;
5808 $wgGrantPermissions['basic']['read'] = true;
5809 $wgGrantPermissions['basic']['skipcaptcha'] = true;
5810 $wgGrantPermissions['basic']['writeapi'] = true;
5811 
5812 $wgGrantPermissions['highvolume']['bot'] = true;
5813 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
5814 $wgGrantPermissions['highvolume']['noratelimit'] = true;
5815 $wgGrantPermissions['highvolume']['markbotedits'] = true;
5816 
5817 $wgGrantPermissions['editpage']['edit'] = true;
5818 $wgGrantPermissions['editpage']['minoredit'] = true;
5819 $wgGrantPermissions['editpage']['applychangetags'] = true;
5820 $wgGrantPermissions['editpage']['changetags'] = true;
5821 
5822 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
5823 $wgGrantPermissions['editprotected']['editprotected'] = true;
5824 
5825 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
5826 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
5827 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
5828 
5829 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
5830 
5831 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
5832 $wgGrantPermissions['editinterface']['editinterface'] = true;
5833 $wgGrantPermissions['editinterface']['editusercss'] = true;
5834 $wgGrantPermissions['editinterface']['edituserjs'] = true;
5835 
5836 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
5837 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
5838 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
5839 $wgGrantPermissions['createeditmovepage']['move'] = true;
5840 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
5841 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
5842 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
5843 
5844 $wgGrantPermissions['uploadfile']['upload'] = true;
5845 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
5846 
5847 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
5848 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
5849 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
5850 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
5851 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
5852 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
5853 
5854 $wgGrantPermissions['patrol']['patrol'] = true;
5855 
5856 $wgGrantPermissions['rollback']['rollback'] = true;
5857 
5858 $wgGrantPermissions['blockusers']['block'] = true;
5859 $wgGrantPermissions['blockusers']['blockemail'] = true;
5860 
5861 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
5862 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
5863 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
5864 
5865 $wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
5866 
5867 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
5868  $wgGrantPermissions['viewdeleted'];
5869 $wgGrantPermissions['delete']['delete'] = true;
5870 $wgGrantPermissions['delete']['bigdelete'] = true;
5871 $wgGrantPermissions['delete']['deletelogentry'] = true;
5872 $wgGrantPermissions['delete']['deleterevision'] = true;
5873 $wgGrantPermissions['delete']['undelete'] = true;
5874 
5875 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
5876 $wgGrantPermissions['protect']['protect'] = true;
5877 
5878 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
5879 
5880 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
5881 
5882 $wgGrantPermissions['sendemail']['sendemail'] = true;
5883 
5884 $wgGrantPermissions['createaccount']['createaccount'] = true;
5885 
5886 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
5887 
5893  // Hidden grants are implicitly present
5894  'basic' => 'hidden',
5895 
5896  'editpage' => 'page-interaction',
5897  'createeditmovepage' => 'page-interaction',
5898  'editprotected' => 'page-interaction',
5899  'patrol' => 'page-interaction',
5900 
5901  'uploadfile' => 'file-interaction',
5902  'uploadeditmovefile' => 'file-interaction',
5903 
5904  'sendemail' => 'email',
5905 
5906  'viewmywatchlist' => 'watchlist-interaction',
5907  'editviewmywatchlist' => 'watchlist-interaction',
5908 
5909  'editmycssjs' => 'customization',
5910  'editmyoptions' => 'customization',
5911 
5912  'editinterface' => 'administration',
5913  'rollback' => 'administration',
5914  'blockusers' => 'administration',
5915  'delete' => 'administration',
5916  'viewdeleted' => 'administration',
5917  'viewrestrictedlogs' => 'administration',
5918  'protect' => 'administration',
5919  'createaccount' => 'administration',
5920 
5921  'highvolume' => 'high-volume',
5922 
5923  'privateinfo' => 'private-information',
5924 ];
5925 
5931 
5938 
5948  # end of user rights settings
5950 
5951 /************************************************************************/
5960 
5971  # end of proxy scanner settings
5973 
5974 /************************************************************************/
5982 $wgCookieExpiration = 30 * 86400;
5983 
5991 
5997 
6003 
6010 $wgCookieSecure = 'detect';
6011 
6019 
6026 
6033 
6038 
6043 
6052  # end of cookie settings }
6054 
6055 /************************************************************************/
6066 $wgUseTeX = false;
6067  # end LaTeX }
6069 
6070 /************************************************************************/
6084 
6089 
6096 
6103 
6113 
6123 
6130  // HTTP GET/HEAD requests.
6131  // Master queries should not happen on GET requests
6132  'GET' => [
6133  'masterConns' => 0,
6134  'writes' => 0,
6135  'readQueryTime' => 5
6136  ],
6137  // HTTP POST requests.
6138  // Master reads and writes will happen for a subset of these.
6139  'POST' => [
6140  'readQueryTime' => 5,
6141  'writeQueryTime' => 1,
6142  'maxAffected' => 1000
6143  ],
6144  'POST-nonwrite' => [
6145  'masterConns' => 0,
6146  'writes' => 0,
6147  'readQueryTime' => 5
6148  ],
6149  // Deferred updates that run after HTTP response is sent
6150  'PostSend' => [
6151  'readQueryTime' => 5,
6152  'writeQueryTime' => 1,
6153  'maxAffected' => 1000,
6154  // Log master queries under the post-send entry point as they are discouraged
6155  'masterConns' => 0,
6156  'writes' => 0,
6157  ],
6158  // Background job runner
6159  'JobRunner' => [
6160  'readQueryTime' => 30,
6161  'writeQueryTime' => 5,
6162  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
6163  ],
6164  // Command-line scripts
6165  'Maintenance' => [
6166  'writeQueryTime' => 5,
6167  'maxAffected' => 1000
6168  ]
6169 ];
6170 
6202 
6225  'class' => '\\MediaWiki\\Logger\\LegacySpi',
6226 ];
6227 
6234 
6240 
6245 
6250 
6257 
6265 
6275 
6280 
6285 
6292 
6298 
6305 
6311 
6319 
6331 
6340 
6348 
6355 
6363 
6378 
6383 
6389 
6398  # end of profiling, testing and debugging }
6400 
6401 /************************************************************************/
6410 
6416 
6421 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6422 
6434 
6444  'application/x-suggestions+json' => false,
6445  'application/x-suggestions+xml' => false,
6446 ];
6447 
6455 
6461 
6466 
6471 
6477 
6488  NS_MAIN => true,
6489 ];
6490 
6496 
6513 
6520 
6527 
6543 
6550  # end of search settings
6552 
6553 /************************************************************************/
6562 $wgDiff3 = '/usr/bin/diff3';
6563 
6567 $wgDiff = '/usr/bin/diff';
6568 
6575  NS_CATEGORY => true
6576 ];
6577 
6584 
6591  # end edit UI }
6593 
6594 /************************************************************************/
6604 if ( !isset( $wgCommandLineMode ) ) {
6605  $wgCommandLineMode = false;
6606 }
6613 
6623 
6632 
6643 
6647 $wgGitBin = '/usr/bin/git';
6648 
6663  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6664  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6665  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6666  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6667 ];
6668  # End of maintenance }
6670 
6671 /************************************************************************/
6681 $wgRCMaxAge = 90 * 24 * 3600;
6682 
6688 $wgWatchersMaxAge = 180 * 24 * 3600;
6689 
6697 
6706 
6711 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
6712 
6717 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
6718 
6773 
6780  'redis' => 'RedisPubSubFeedEngine',
6781  'udp' => 'UDPRCFeedEngine',
6782 ];
6783 
6796 
6802 
6814 
6822 
6829 
6834 
6841 
6846 
6850 $wgFeed = true;
6851 
6857 
6867 
6873 
6887 
6894  'rss' => 'RSSFeed',
6895  'atom' => 'AtomFeed',
6896 ];
6897 
6903 
6908 
6913 
6920 
6926 
6932 
6937 
6943 
6952 
6978  'newpage' => [
6979  'letter' => 'newpageletter',
6980  'title' => 'recentchanges-label-newpage',
6981  'legend' => 'recentchanges-legend-newpage',
6982  'grouping' => 'any',
6983  ],
6984  'minor' => [
6985  'letter' => 'minoreditletter',
6986  'title' => 'recentchanges-label-minor',
6987  'legend' => 'recentchanges-legend-minor',
6988  'class' => 'minoredit',
6989  'grouping' => 'all',
6990  ],
6991  'bot' => [
6992  'letter' => 'boteditletter',
6993  'title' => 'recentchanges-label-bot',
6994  'legend' => 'recentchanges-legend-bot',
6995  'class' => 'botedit',
6996  'grouping' => 'all',
6997  ],
6998  'unpatrolled' => [
6999  'letter' => 'unpatrolledletter',
7000  'title' => 'recentchanges-label-unpatrolled',
7001  'legend' => 'recentchanges-legend-unpatrolled',
7002  'grouping' => 'any',
7003  ],
7004 ];
7005  # end RC/watchlist }
7007 
7008 /************************************************************************/
7021 
7028 
7036 
7041 
7046 
7055 
7061  # end of copyright and credits settings }
7063 
7064 /************************************************************************/
7092 
7101 
7108 
7115 
7120 
7133 
7138 
7143 
7151  # end of import/export }
7153 
7154 /*************************************************************************/
7164 
7192 
7219 
7226 
7242 
7247 
7257 
7265 
7270 
7277 
7331 
7337 $wgAuth = null;
7338 
7374 
7387  __DIR__ . '/ServiceWiring.php'
7388 ];
7389 
7397  'refreshLinks' => 'RefreshLinksJob',
7398  'deleteLinks' => 'DeleteLinksJob',
7399  'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
7400  'sendMail' => 'EmaillingJob',
7401  'enotifNotify' => 'EnotifNotifyJob',
7402  'fixDoubleRedirect' => 'DoubleRedirectJob',
7403  'AssembleUploadChunks' => 'AssembleUploadChunksJob',
7404  'PublishStashedFile' => 'PublishStashedFileJob',
7405  'ThumbnailRender' => 'ThumbnailRenderJob',
7406  'recentChangesUpdate' => 'RecentChangesUpdateJob',
7407  'refreshLinksPrioritized' => 'RefreshLinksJob',
7408  'refreshLinksDynamic' => 'RefreshLinksJob',
7409  'activityUpdateJob' => 'ActivityUpdateJob',
7410  'categoryMembershipChange' => 'CategoryMembershipChangeJob',
7411  'cdnPurge' => 'CdnPurgeJob',
7412  'enqueue' => 'EnqueueJob', // local queue for multi-DC setups
7413  'null' => 'NullJob'
7414 ];
7415 
7427 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7428 
7439 
7454 
7462  'default' => [ 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ],
7463 ];
7464 
7470  'class' => 'JobQueueAggregatorNull'
7471 ];
7472 
7485 
7491  'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
7492 ];
7493 
7502  'hiddencat' => 'categorylinks',
7503 ];
7504  # End extensions }
7506 
7507 /*************************************************************************/
7516 
7522 
7527 
7553 $wgCategoryCollation = 'uppercase';
7554  # End categories }
7556 
7557 /*************************************************************************/
7569  '',
7570  'block',
7571  'protect',
7572  'rights',
7573  'delete',
7574  'upload',
7575  'move',
7576  'import',
7577  'patrol',
7578  'merge',
7579  'suppress',
7580  'tag',
7581  'managetags',
7582  'contentmodel',
7583 ];
7584 
7593  'suppress' => 'suppressionlog'
7594 ];
7595 
7616  'patrol' => true,
7617  'tag' => true,
7618 ];
7619 
7630  '' => 'all-logs-page',
7631  'block' => 'blocklogpage',
7632  'protect' => 'protectlogpage',
7633  'rights' => 'rightslog',
7634  'delete' => 'dellogpage',
7635  'upload' => 'uploadlogpage',
7636  'move' => 'movelogpage',
7637  'import' => 'importlogpage',
7638  'patrol' => 'patrol-log-page',
7639  'merge' => 'mergelog',
7640  'suppress' => 'suppressionlog',
7641 ];
7642 
7653  '' => 'alllogstext',
7654  'block' => 'blocklogtext',
7655  'delete' => 'dellogpagetext',
7656  'import' => 'importlogpagetext',
7657  'merge' => 'mergelogpagetext',
7658  'move' => 'movelogpagetext',
7659  'patrol' => 'patrol-log-header',
7660  'protect' => 'protectlogtext',
7661  'rights' => 'rightslogtext',
7662  'suppress' => 'suppressionlogtext',
7663  'upload' => 'uploadlogpagetext',
7664 ];
7665 
7673 
7681  'block/block' => 'BlockLogFormatter',
7682  'block/reblock' => 'BlockLogFormatter',
7683  'block/unblock' => 'BlockLogFormatter',
7684  'contentmodel/change' => 'ContentModelLogFormatter',
7685  'contentmodel/new' => 'ContentModelLogFormatter',
7686  'delete/delete' => 'DeleteLogFormatter',
7687  'delete/delete_redir' => 'DeleteLogFormatter',
7688  'delete/event' => 'DeleteLogFormatter',
7689  'delete/restore' => 'DeleteLogFormatter',
7690  'delete/revision' => 'DeleteLogFormatter',
7691  'import/interwiki' => 'ImportLogFormatter',
7692  'import/upload' => 'ImportLogFormatter',
7693  'managetags/activate' => 'LogFormatter',
7694  'managetags/create' => 'LogFormatter',
7695  'managetags/deactivate' => 'LogFormatter',
7696  'managetags/delete' => 'LogFormatter',
7697  'merge/merge' => 'MergeLogFormatter',
7698  'move/move' => 'MoveLogFormatter',
7699  'move/move_redir' => 'MoveLogFormatter',
7700  'patrol/patrol' => 'PatrolLogFormatter',
7701  'patrol/autopatrol' => 'PatrolLogFormatter',
7702  'protect/modify' => 'ProtectLogFormatter',
7703  'protect/move_prot' => 'ProtectLogFormatter',
7704  'protect/protect' => 'ProtectLogFormatter',
7705  'protect/unprotect' => 'ProtectLogFormatter',
7706  'rights/autopromote' => 'RightsLogFormatter',
7707  'rights/rights' => 'RightsLogFormatter',
7708  'suppress/block' => 'BlockLogFormatter',
7709  'suppress/delete' => 'DeleteLogFormatter',
7710  'suppress/event' => 'DeleteLogFormatter',
7711  'suppress/reblock' => 'BlockLogFormatter',
7712  'suppress/revision' => 'DeleteLogFormatter',
7713  'tag/update' => 'TagLogFormatter',
7714  'upload/overwrite' => 'UploadLogFormatter',
7715  'upload/revert' => 'UploadLogFormatter',
7716  'upload/upload' => 'UploadLogFormatter',
7717 ];
7718 
7728  'block' => [
7729  'block' => [ 'block' ],
7730  'reblock' => [ 'reblock' ],
7731  'unblock' => [ 'unblock' ],
7732  ],
7733  'contentmodel' => [
7734  'change' => [ 'change' ],
7735  'new' => [ 'new' ],
7736  ],
7737  'delete' => [
7738  'delete' => [ 'delete' ],
7739  'delete_redir' => [ 'delete_redir' ],
7740  'restore' => [ 'restore' ],
7741  'event' => [ 'event' ],
7742  'revision' => [ 'revision' ],
7743  ],
7744  'import' => [
7745  'interwiki' => [ 'interwiki' ],
7746  'upload' => [ 'upload' ],
7747  ],
7748  'managetags' => [
7749  'create' => [ 'create' ],
7750  'delete' => [ 'delete' ],
7751  'activate' => [ 'activate' ],
7752  'deactivate' => [ 'deactivate' ],
7753  ],
7754  'move' => [
7755  'move' => [ 'move' ],
7756  'move_redir' => [ 'move_redir' ],
7757  ],
7758  'newusers' => [
7759  'create' => [ 'create', 'newusers' ],
7760  'create2' => [ 'create2' ],
7761  'autocreate' => [ 'autocreate' ],
7762  'byemail' => [ 'byemail' ],
7763  ],
7764  'patrol' => [
7765  'patrol' => [ 'patrol' ],
7766  'autopatrol' => [ 'autopatrol' ],
7767  ],
7768  'protect' => [
7769  'protect' => [ 'protect' ],
7770  'modify' => [ 'modify' ],
7771  'unprotect' => [ 'unprotect' ],
7772  'move_prot' => [ 'move_prot' ],
7773  ],
7774  'rights' => [
7775  'rights' => [ 'rights' ],
7776  'autopromote' => [ 'autopromote' ],
7777  ],
7778  'suppress' => [
7779  'event' => [ 'event' ],
7780  'revision' => [ 'revision' ],
7781  'delete' => [ 'delete' ],
7782  'block' => [ 'block' ],
7783  'reblock' => [ 'reblock' ],
7784  ],
7785  'upload' => [
7786  'upload' => [ 'upload' ],
7787  'overwrite' => [ 'overwrite' ],
7788  ],
7789 ];
7790 
7795  # end logging }
7797 
7798 /*************************************************************************/
7807 
7813 
7819 
7825  # end special pages }
7827 
7828 /*************************************************************************/
7844  'credits' => true,
7845  'delete' => true,
7846  'edit' => true,
7847  'editchangetags' => 'SpecialPageAction',
7848  'history' => true,
7849  'info' => true,
7850  'markpatrolled' => true,
7851  'protect' => true,
7852  'purge' => true,
7853  'raw' => true,
7854  'render' => true,
7855  'revert' => true,
7856  'revisiondelete' => 'SpecialPageAction',
7857  'rollback' => true,
7858  'submit' => true,
7859  'unprotect' => true,
7860  'unwatch' => true,
7861  'view' => true,
7862  'watch' => true,
7863 ];
7864  # end actions }
7866 
7867 /*************************************************************************/
7878 $wgDefaultRobotPolicy = 'index,follow';
7879 
7895 
7923 
7935  # End robot policy }
7937 
7938 /************************************************************************/
7953 
7960 
7975 $wgDebugAPI = false;
7976 
8014 
8023 
8032 
8041 
8050 
8056 
8062 
8068 
8075 
8081 
8086 
8092  'MIMEsearch', // aiprop=mime
8093  'LinkSearch', // list=exturlusage
8094  'FileDuplicateSearch', // prop=duplicatefiles
8095 ];
8096 
8100 $wgUseAjax = true;
8101 
8108 
8113 
8118 
8124 
8146 
8153  # End AJAX and API }
8155 
8156 /************************************************************************/
8165 
8171 
8176 
8182 
8207 
8211 $wgPhpCli = '/usr/bin/php';
8212 
8247 $wgShellLocale = 'C.UTF-8';
8248  # End shell }
8250 
8251 /************************************************************************/
8261 
8267 
8272 
8277 
8292 
8298  # End HTTP client }
8300 
8301 /************************************************************************/
8313 
8322 
8327 
8332  # End job queue }
8334 
8335 /************************************************************************/
8347 
8361 
8371 
8377 
8383 
8388 
8394 
8400 
8434 
8439 
8449 
8461 
8476 
8488  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
8489  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
8490  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
8491 ];
8492 
8499  'mediawiki' => 'MediaWikiSite',
8500 ];
8501 
8508 
8516 
8524 
8533 
8543 
8550 $wgHKDFAlgorithm = 'sha256';
8551 
8559 
8598  'paths' => [],
8599  'modules' => [],
8600  'global' => [
8601  # Timeout in seconds
8602  'timeout' => 360,
8603  # 'domain' is set to $wgCanonicalServer in Setup.php
8604  'forwardCookies' => false,
8605  'HTTPProxy' => null
8606  ]
8607 ];
8608 
8617 
8629 $wgPopularPasswordFile = __DIR__ . '/../serialized/commonpasswords.cdb';
8630 
8631 /*
8632  * Max time (in seconds) a user-generated transaction can spend in writes.
8633  * If exceeded, the transaction is rolled back with an error instead of being committed.
8634  *
8635  * @var int|bool Disabled if false
8636  * @since 1.27
8637  */
8639 
8640 /*
8641  * Max time (in seconds) a job-generated transaction can spend in writes.
8642  * If exceeded, the transaction is rolled back with an error instead of being committed.
8643  *
8644  * @var int|bool Disabled if false
8645  * @since 1.30
8646  */
8648 
8669  'default' => [
8670  'class' => 'EventRelayerNull',
8671  ]
8672 ];
8673 
8687 $wgPingback = false;
8688 
8698  'https://3hub.co' => true,
8699  'https://morepro.info' => true,
8700  'https://p.ato.mx' => true,
8701  'https://s.ato.mx' => true,
8702  'https://adserver.adtech.de' => true,
8703  'https://ums.adtechus.com' => true,
8704  'https://cas.criteo.com' => true,
8705  'https://cat.nl.eu.criteo.com' => true,
8706  'https://atpixel.alephd.com' => true,
8707  'https://rtb.metrigo.com' => true,
8708  'https://d5p.de17a.com' => true,
8709  'https://ad.lkqd.net/vpaid/vpaid.js' => true,
8710 ];
8711 
8720  'IPv4' => 16,
8721  'IPv6' => 32,
8722 ];
8723 
8740 
8759 
8766 
$wgSend404Code
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
Definition: DefaultSettings.php:3476
$wgProfileLimit
$wgProfileLimit
Only record profiling info for pages that took longer than this.
Definition: DefaultSettings.php:6310
$wgConf
$wgConf
wgConf hold the site configuration.
Definition: DefaultSettings.php:62
$wgNonincludableNamespaces
$wgNonincludableNamespaces
Pages in namespaces in this array can not be used as templates.
Definition: DefaultSettings.php:5368
$wgEventRelayerConfig
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
Definition: DefaultSettings.php:8668
$wgInterwikiScopes
$wgInterwikiScopes
Specify number of domains to check for messages.
Definition: DefaultSettings.php:4005
$wgGrantPermissionGroups
Array $wgGrantPermissionGroups
Map of grants to their UI grouping.
Definition: DefaultSettings.php:5892
$wgActionFilteredLogs
$wgActionFilteredLogs
List of log types that can be filtered by action types.
Definition: DefaultSettings.php:7727
$wgHiddenPrefs
$wgHiddenPrefs
An array of preferences to not show for the user.
Definition: DefaultSettings.php:4929
$wgMemCachedServers
$wgMemCachedServers
The list of MemCached servers and port numbers.
Definition: DefaultSettings.php:2455
$wgAppleTouchIcon
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
Definition: DefaultSettings.php:308
AV_NO_VIRUS
const AV_NO_VIRUS
Definition: Defines.php:112
$wgDjvuTxt
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
Definition: DefaultSettings.php:1524
$wgLocalInterwiki
$wgLocalInterwiki
The interwiki prefix of the current wiki, or false if it doesn't have one.
Definition: DefaultSettings.php:3957
$wgJsMimeType
$wgJsMimeType
Previously used as content type in HTML script tags.
Definition: DefaultSettings.php:3163
$wgAdditionalMailParams
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
Definition: DefaultSettings.php:1674
$wgFeedLimit
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
Definition: DefaultSettings.php:6856
$wgDebugRedirects
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
Definition: DefaultSettings.php:6095
$wgRCLinkLimits
$wgRCLinkLimits
List of Limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:6711
$wgAllowJavaUploads
$wgAllowJavaUploads
Allow Java archive uploads.
Definition: DefaultSettings.php:906
$wgPhpCli
$wgPhpCli
Executable path of the PHP cli binary (php/php5).
Definition: DefaultSettings.php:8211
CONTENT_MODEL_JSON
const CONTENT_MODEL_JSON
Definition: Defines.php:240
$wgActions
$wgActions
Array of allowed values for the "title=foo&action=<action>" parameter.
Definition: DefaultSettings.php:7843
$wgUpdateCompatibleMetadata
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
Definition: DefaultSettings.php:676
$wgUseAutomaticEditSummaries
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
Definition: DefaultSettings.php:6590
$wgAuthManagerConfig
$wgAuthManagerConfig
Configure AuthManager.
Definition: DefaultSettings.php:4571
$wgPingback
bool $wgPingback
Share data about this installation with MediaWiki developers.
Definition: DefaultSettings.php:8687
$wgSiteStatsAsyncFactor
$wgSiteStatsAsyncFactor
Set this to an integer to only do synchronous site_stats updates one every this many updates.
Definition: DefaultSettings.php:6362
$wgAPIListModules
$wgAPIListModules
API Query list module extensions.
Definition: DefaultSettings.php:8049
$wgUseTagFilter
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined in ...
Definition: DefaultSettings.php:6942
$wgProxyWhitelist
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
Definition: DefaultSettings.php:5625
$wgLocalVirtualHosts
$wgLocalVirtualHosts
Local virtual hosts.
Definition: DefaultSettings.php:8291
$wgSitemapNamespacesPriorities
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
Definition: DefaultSettings.php:6542
$wgHTTPConnectTimeout
$wgHTTPConnectTimeout
Timeout for connections done internally (in seconds) Only works for curl.
Definition: DefaultSettings.php:8297
$wgNamespaceContentModels
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
Definition: DefaultSettings.php:8448
$wgMaxCredits
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
Definition: DefaultSettings.php:7054
$wgAPIMaxUncachedDiffs
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
Definition: DefaultSettings.php:8067
file
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing we can concentrate it all in an extension file
Definition: hooks.txt:91
$wgChangeCredentialsBlacklist
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
Definition: DefaultSettings.php:4707
$wgProxyList
$wgProxyList
Big list of banned IP addresses.
Definition: DefaultSettings.php:5970
$wgThumbLimits
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
Definition: DefaultSettings.php:1375
$wgCSPFalsePositiveUrls
$wgCSPFalsePositiveUrls
List of urls which appear often to be triggering CSP reports but do not appear to be caused by actual...
Definition: DefaultSettings.php:8697
$wgMaximalPasswordLength
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
Definition: DefaultSettings.php:4748
$wgIncludeLegacyJavaScript
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
Definition: DefaultSettings.php:3697
$wgShowSQLErrors
$wgShowSQLErrors
Whether to show "we're sorry, but there has been a database error" pages.
Definition: DefaultSettings.php:6256
$wgDBserver
$wgDBserver
Database host name or IP address.
Definition: DefaultSettings.php:1772
false
processing should stop and the error should be shown to the user * false
Definition: hooks.txt:187
$wgFileBlacklist
$wgFileBlacklist
Files with these extensions will never be allowed as uploads.
Definition: DefaultSettings.php:874
$wgDisableHardRedirects
$wgDisableHardRedirects
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected f...
Definition: DefaultSettings.php:8370
NS_HELP
const NS_HELP
Definition: Defines.php:77
MEDIATYPE_AUDIO
const MEDIATYPE_AUDIO
Definition: defines.php:32
$wgBotPasswordsDatabase
string bool $wgBotPasswordsDatabase
Database name for the bot_passwords table.
Definition: DefaultSettings.php:5947
$wgRCLinkDays
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
Definition: DefaultSettings.php:6717
$wgMangleFlashPolicy
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
Definition: DefaultSettings.php:3505
$wgMimeType
$wgMimeType
The default Content-Type header.
Definition: DefaultSettings.php:3154
$wgMaxArticleSize
$wgMaxArticleSize
Maximum article size in kilobytes.
Definition: DefaultSettings.php:2196
$wgAPIModules
$wgAPIModules
API module extensions.
Definition: DefaultSettings.php:8013
$wgResourceLoaderMaxQueryLength
$wgResourceLoaderMaxQueryLength
If set to a positive number, ResourceLoader will not generate URLs whose query string is more than th...
Definition: DefaultSettings.php:3749
$wgProfileOnly
$wgProfileOnly
Don't put non-profiling info into log file.
Definition: DefaultSettings.php:6318
$wgExperimentalHtmlIds
$wgExperimentalHtmlIds
Abandoned experiment with HTML5-style ID escaping.
Definition: DefaultSettings.php:3362
$wgDisabledVariants
$wgDisabledVariants
Disabled variants array of language variant conversion.
Definition: DefaultSettings.php:3059
$wgSysopEmailBans
$wgSysopEmailBans
Allow sysops to ban users from accessing Emailuser.
Definition: DefaultSettings.php:5013
$wgGrantPermissions
Array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
Definition: DefaultSettings.php:5796
$wgFixDoubleRedirects
$wgFixDoubleRedirects
Fix double redirects after a page move.
Definition: DefaultSettings.php:8393
$wgNewPasswordExpiry
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
Definition: DefaultSettings.php:1633
$wgJobTypeConf
$wgJobTypeConf
Map of job types to configuration arrays.
Definition: DefaultSettings.php:7461
$wgExemptFromUserRobotsControl
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
Definition: DefaultSettings.php:7934
$wgHKDFAlgorithm
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:8550
$wgStyleSheetPath
$wgStyleSheetPath
The URL path to index.php.
Definition: DefaultSettings.php:218
$wgExternalStores
$wgExternalStores
External stores allow including content from non database sources following URL links.
Definition: DefaultSettings.php:2114
$wgResponsiveImages
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
Definition: DefaultSettings.php:1498
$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
Definition: DefaultSettings.php:2617
$wgAuthManagerAutoConfig
$wgAuthManagerAutoConfig
Definition: DefaultSettings.php:4577
$wgAjaxLicensePreview
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
Definition: DefaultSettings.php:8117
SiteConfiguration
This is a class for holding configuration settings, particularly for multi-wiki sites.
Definition: SiteConfiguration.php:122
$wgDebugRawPage
$wgDebugRawPage
If true, log debugging data from action=raw and load.php.
Definition: DefaultSettings.php:6102
$wgTmpDirectory
$wgTmpDirectory
The local filesystem path to a temporary directory.
Definition: DefaultSettings.php:334
$wgRightsText
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
Definition: DefaultSettings.php:7035
$wgEnotifMinorEdits
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
Definition: DefaultSettings.php:1734
$wgDBname
$wgDBname
Name of the database.
Definition: DefaultSettings.php:1782
$wgRevokePermissions
$wgRevokePermissions
Permission keys revoked from users in each group.
Definition: DefaultSettings.php:5268
$wgMaximumMovedPages
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
Definition: DefaultSettings.php:8387
AV_SCAN_FAILED
const AV_SCAN_FAILED
Definition: Defines.php:115
$wgHTMLFormAllowTableFormat
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
Definition: DefaultSettings.php:3200
$wgCopyUploadsDomains
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
Definition: DefaultSettings.php:737
$wgBlockAllowsUTEdit
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
Definition: DefaultSettings.php:5008
$wgEdititis
$wgEdititis
Display user edit counts in various prominent places.
Definition: DefaultSettings.php:3463
$wgSharedTables
$wgSharedTables
Definition: DefaultSettings.php:1909
$wgSharedSchema
$wgSharedSchema
Definition: DefaultSettings.php:1915
$wgExternalInterwikiFragmentMode
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
Definition: DefaultSettings.php:3404
$wgLegacyEncoding
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
Definition: DefaultSettings.php:2980
$wgFeedCacheTimeout
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
Definition: DefaultSettings.php:6866
$wgJpegPixelFormat
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
Definition: DefaultSettings.php:1085
$wgShowUpdatedMarker
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
Definition: DefaultSettings.php:6925
$wgRedirectOnLogin
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
Definition: DefaultSettings.php:8399
NS_TEMPLATE_TALK
const NS_TEMPLATE_TALK
Definition: Defines.php:76
$wgMimeInfoFile
$wgMimeInfoFile
Sets the MIME type info file to use by MimeMagic.php.
Definition: DefaultSettings.php:1320
$wgLogHeaders
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Definition: DefaultSettings.php:7652
$wgStatsdSamplingRates
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Definition: DefaultSettings.php:6347
$wgExiftool
$wgExiftool
Path to exiftool binary.
Definition: DefaultSettings.php:1098
$wgLegalTitleChars
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
Definition: DefaultSettings.php:3950
$wgJobBackoffThrottling
float[] $wgJobBackoffThrottling
Map of job types to how many job "work items" should be run per second on each job runner process.
Definition: DefaultSettings.php:7438
$wgDiff3
$wgDiff3
Path to the GNU diff3 utility.
Definition: DefaultSettings.php:6562
$wgExperiencedUserMemberSince
$wgExperiencedUserMemberSince
Name of the external diff engine to use.
Definition: DefaultSettings.php:8739
$wgPasswordDefault
$wgPasswordDefault
Default password type to use when hashing user passwords.
Definition: DefaultSettings.php:4762
$wgSearchTypeAlternatives
$wgSearchTypeAlternatives
Alternative search types Sometimes you want to support multiple search engines for testing.
Definition: DefaultSettings.php:1844
$wgParserConf
$wgParserConf
Parser configuration.
Definition: DefaultSettings.php:4178
$wgUsersNotifiedOnAllChanges
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
Definition: DefaultSettings.php:1760
$wgWhitelistReadRegexp
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
Definition: DefaultSettings.php:5091
$wgMaxTemplateDepth
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
Definition: DefaultSettings.php:4211
$wgSharpenParameter
$wgSharpenParameter
Sharpening parameter to ImageMagick.
Definition: DefaultSettings.php:1032
text
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
Definition: design.txt:12
$wgScript
$wgScript
The URL path to index.php.
Definition: DefaultSettings.php:202
$wgSessionsInObjectCache
$wgSessionsInObjectCache
Definition: DefaultSettings.php:2410
CACHE_NONE
const CACHE_NONE
Definition: Defines.php:103
$wgDBport
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
Definition: DefaultSettings.php:1777
$wgCookiePath
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
Definition: DefaultSettings.php:6002
$wgHTCPMulticastTTL
$wgHTCPMulticastTTL
HTCP multicast TTL.
Definition: DefaultSettings.php:2831
$wgDBtype
$wgDBtype
Database type.
Definition: DefaultSettings.php:1797
$wgCommentTableSchemaMigrationStage
int $wgCommentTableSchemaMigrationStage
Comment table schema migration stage.
Definition: DefaultSettings.php:8765
$wgDisableQueryPages
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
Definition: DefaultSettings.php:2171
$wgTranscludeCacheExpiry
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in transcache database table.
Definition: DefaultSettings.php:4422
$wgSharedDB
$wgSharedDB
Shared database for multiple wikis.
Definition: DefaultSettings.php:1899
$wgPasswordResetRoutes
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
Definition: DefaultSettings.php:4822
$wgSVGMaxSize
$wgSVGMaxSize
Don't scale a SVG larger than this.
Definition: DefaultSettings.php:1134
$wgHideInterlanguageLinks
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
Definition: DefaultSettings.php:2888
$wgRemoveCredentialsBlacklist
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
Definition: DefaultSettings.php:4720
$wgLocalFileRepo
$wgLocalFileRepo
File repository structures.
Definition: DefaultSettings.php:517
CONTENT_MODEL_CSS
const CONTENT_MODEL_CSS
Definition: Defines.php:238
$wgWANObjectCaches
$wgWANObjectCaches
Advanced WAN object cache configuration.
Definition: DefaultSettings.php:2357
$wgDjvuPostProcessor
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
Definition: DefaultSettings.php:1547
$wgVersion
$wgVersion
MediaWiki version number.
Definition: DefaultSettings.php:78
$wgAmericanDates
$wgAmericanDates
Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'.
Definition: DefaultSettings.php:3005
CACHE_MEMCACHED
const CACHE_MEMCACHED
Definition: Defines.php:105
$wgAutoblockExpiry
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
Definition: DefaultSettings.php:5003
$wgUploadMaintenance
$wgUploadMaintenance
To disable file delete/restore temporarily.
Definition: DefaultSettings.php:8438
$wgExtensionMessagesFiles
$wgExtensionMessagesFiles
Extension messages files.
Definition: DefaultSettings.php:7191
$wgSessionInsecureSecrets
$wgSessionInsecureSecrets
If for some reason you can't install the PHP OpenSSL or mcrypt extensions, you can set this to true t...
Definition: DefaultSettings.php:8532
$wgShowCreditsIfMax
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
Definition: DefaultSettings.php:7060
$wgSoftBlockRanges
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
Definition: DefaultSettings.php:5634
$wgBotPasswordsCluster
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
Definition: DefaultSettings.php:5937
$wgNoFollowDomainExceptions
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
Definition: DefaultSettings.php:4387
$wgUseTwoButtonsSearchForm
$wgUseTwoButtonsSearchForm
Search form behavior.
Definition: DefaultSettings.php:6519
$wgCategoryMagicGallery
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
Definition: DefaultSettings.php:7521
$wgSpecialPageCacheUpdates
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
Definition: DefaultSettings.php:7490
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition: DefaultSettings.php:7218
$wgShowHostnames
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
Definition: DefaultSettings.php:6284
$wgEmailAuthentication
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
Definition: DefaultSettings.php:1699
$wgSharedUploadDBprefix
$wgSharedUploadDBprefix
Optional table prefix used in database.
Definition: DefaultSettings.php:717
$wgDeprecationReleaseLimit
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
Definition: DefaultSettings.php:6304
$wgMaxUploadSize
$wgMaxUploadSize
Max size for uploads, in bytes.
Definition: DefaultSettings.php:780
$wgDebugAPI
$wgDebugAPI
Definition: DefaultSettings.php:7975
$wgUseMediaWikiUIEverywhere
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
Definition: DefaultSettings.php:3208
$wgDBmwschema
$wgDBmwschema
Mediawiki schema.
Definition: DefaultSettings.php:1867
$wgUseTeX
$wgUseTeX
To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package a...
Definition: DefaultSettings.php:6066
$wgDefaultUserOptions
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
Definition: DefaultSettings.php:4862
$wgExternalServers
$wgExternalServers
An array of external MySQL servers.
Definition: DefaultSettings.php:2130
$wgMessageCacheType
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
Definition: DefaultSettings.php:2254
$wgDBmysql5
$wgDBmysql5
Set to true to engage MySQL 4.1/5.0 charset-related features; for now will just cause sending of 'SET...
Definition: DefaultSettings.php:2034
$wgServiceWiringFiles
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Definition: DefaultSettings.php:7386
$wgMaxMsgCacheEntrySize
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
Definition: DefaultSettings.php:3027
CACHE_ACCEL
const CACHE_ACCEL
Definition: Defines.php:106
$wgAllowSecuritySensitiveOperationIfCannotReauthenticate
bool[] $wgAllowSecuritySensitiveOperationIfCannotReauthenticate
Whether to allow security-sensitive operations when re-authentication is not possible.
Definition: DefaultSettings.php:4694
$wgLegacySchemaConversion
$wgLegacySchemaConversion
If set to true, the MediaWiki 1.4 to 1.5 schema conversion will create stub reference rows in the tex...
Definition: DefaultSettings.php:2999
$wgGenerateThumbnailOnParse
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
Definition: DefaultSettings.php:1229
$wgDiff
$wgDiff
Path to the GNU diff utility.
Definition: DefaultSettings.php:6567
$wgJobQueueAggregator
$wgJobQueueAggregator
Which aggregator to use for tracking which queues have jobs.
Definition: DefaultSettings.php:7469
$wgFileExtensions
$wgFileExtensions
This is the list of preferred extensions for uploading files.
Definition: DefaultSettings.php:867
APCOND_EDITCOUNT
const APCOND_EDITCOUNT
Definition: Defines.php:206
$wgEnableUserEmail
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
Definition: DefaultSettings.php:1604
$wgEnotifRevealEditorAddress
$wgEnotifRevealEditorAddress
Set the Reply-to address in notifications to the editor's address, if user allowed this in the prefer...
Definition: DefaultSettings.php:1719
$wgUseSharedUploads
$wgUseSharedUploads
If you operate multiple wikis, you can define a shared upload path here.
Definition: DefaultSettings.php:691
$wgWantedPagesThreshold
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
Definition: DefaultSettings.php:2181
$wgDisableTitleConversion
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
Definition: DefaultSettings.php:3037
$wgUnwatchedPageSecret
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
Definition: DefaultSettings.php:6696
$wgResourceLoaderLESSImportPaths
$wgResourceLoaderLESSImportPaths
Default import paths for LESS modules.
Definition: DefaultSettings.php:3814
$wgHideIdentifiableRedirects
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
Definition: DefaultSettings.php:5103
$wgCopyUploadTimeout
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
Definition: DefaultSettings.php:762
$wgLangObjCacheSize
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
Definition: DefaultSettings.php:2867
$wgExtensionAssetsPath
$wgExtensionAssetsPath
The URL path of the extensions directory.
Definition: DefaultSettings.php:232
NS_TEMPLATE
const NS_TEMPLATE
Definition: Defines.php:75
$wgInterwikiCache
bool array string $wgInterwikiCache
Interwiki cache, either as an associative array or a path to a constant database (....
Definition: DefaultSettings.php:3997
$wgExportAllowAll
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
Definition: DefaultSettings.php:7142
$wgEnotifWatchlist
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
Definition: DefaultSettings.php:1704
$wgAjaxUploadDestCheck
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
Definition: DefaultSettings.php:8112
$wgMimeTypeBlacklist
$wgMimeTypeBlacklist
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
Definition: DefaultSettings.php:888
APCOND_AGE
const APCOND_AGE
Definition: Defines.php:207
$wgLBFactoryConf
$wgLBFactoryConf
Load balancer factory configuration To set up a multi-master wiki farm, set the class here to somethi...
Definition: DefaultSettings.php:1983
$wgEnableCanonicalServerLink
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
Definition: DefaultSettings.php:3495
$wgLogActions
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
Definition: DefaultSettings.php:7672
$wgUseSquid
$wgUseSquid
Enable/disable CDN.
Definition: DefaultSettings.php:2655
$wgAPIUselessQueryPages
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
Definition: DefaultSettings.php:8091
$wgFragmentMode
$wgFragmentMode
How should section IDs be encoded? This array can contain 1 or 2 elements, each of them can be one of...
Definition: DefaultSettings.php:3394
$wgHashedSharedUploadDirectory
$wgHashedSharedUploadDirectory
Set the following to false especially if you have a set of files that need to be accessible by all wi...
Definition: DefaultSettings.php:847
$wgAllowSchemaUpdates
$wgAllowSchemaUpdates
Allow schema updates.
Definition: DefaultSettings.php:2191
$wgDebugTidy
$wgDebugTidy
Put tidy warnings in HTML comments Only works for internal tidy.
Definition: DefaultSettings.php:4340
$wgDisableTextSearch
$wgDisableTextSearch
Set this to true to disable the full text search feature.
Definition: DefaultSettings.php:6409
$wgArticleRobotPolicies
$wgArticleRobotPolicies
Robot policies per article.
Definition: DefaultSettings.php:7922
$wgCacheDirectory
$wgCacheDirectory
Directory for caching data in the local filesystem.
Definition: DefaultSettings.php:2227
$wgSidebarCacheExpiry
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
Definition: DefaultSettings.php:2590
$wgOpenSearchTemplate
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6433
CONTENT_MODEL_WIKITEXT
const CONTENT_MODEL_WIKITEXT
Definition: Defines.php:236
$wgThumbnailBuckets
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
Definition: DefaultSettings.php:1393
$wgHTTPTimeout
int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
Definition: DefaultSettings.php:8260
$wgTransactionalTimeLimit
$wgTransactionalTimeLimit
The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...
Definition: DefaultSettings.php:2210
$wgBreakFrames
$wgBreakFrames
Break out of framesets.
Definition: DefaultSettings.php:3315
$wgDefaultExternalStore
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
Definition: DefaultSettings.php:2146
$wgDebugLogPrefix
$wgDebugLogPrefix
Prefix for debug log lines.
Definition: DefaultSettings.php:6088
$wgDBOracleDRCP
$wgDBOracleDRCP
Set true to enable Oracle DCRP (supported from 11gR1 onward)
Definition: DefaultSettings.php:2062
$wgStrictFileExtensions
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
Definition: DefaultSettings.php:921
$wgContentHandlerUseDB
$wgContentHandlerUseDB
Set to false to disable use of the database fields introduced by the ContentHandler facility.
Definition: DefaultSettings.php:8475
$wgForeignUploadTargets
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
Definition: DefaultSettings.php:540
cache
you have access to all of the normal MediaWiki so you can get a DB use the cache
Definition: maintenance.txt:52
$wgLogo
$wgLogo
The URL path of the wiki logo.
Definition: DefaultSettings.php:278
$wgHideUserContribLimit
$wgHideUserContribLimit
The maximum number of edits a user can have and can still be hidden by users with the hideuser permis...
Definition: DefaultSettings.php:5543
$wgEnableParserCache
$wgEnableParserCache
Kept for extension compatibility; see $wgParserCacheType.
Definition: DefaultSettings.php:2568
$wgOpenSearchTemplates
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
Definition: DefaultSettings.php:6443
$wgUseRCPatrol
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
Definition: DefaultSettings.php:6801
$wgEnableOpenSearchSuggest
$wgEnableOpenSearchSuggest
Enable OpenSearch suggestions requested by MediaWiki.
Definition: DefaultSettings.php:6454
$wgUseNPPatrol
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
Definition: DefaultSettings.php:6833
$wgDjvuRenderer
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
Definition: DefaultSettings.php:1517
$wgJobRunRate
$wgJobRunRate
Number of jobs to perform per request.
Definition: DefaultSettings.php:8312
$wgMetaNamespace
$wgMetaNamespace
Name of the project namespace.
Definition: DefaultSettings.php:3856
$wgDBpassword
$wgDBpassword
Database user's password.
Definition: DefaultSettings.php:1792
$wgFixMalayalamUnicode
$wgFixMalayalamUnicode
Set this to true to replace ZWJ-based chillu sequences in Malayalam text with their Unicode 5....
Definition: DefaultSettings.php:2956
$wgDBprefix
$wgDBprefix
Table name prefix.
Definition: DefaultSettings.php:1849
$wgStylePath
$wgStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:217
$wgThumbnailMinimumBucketDistance
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
Definition: DefaultSettings.php:1410
$wgAllowSiteCSSOnRestrictedPages
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
Definition: DefaultSettings.php:3843
$wgExtensionEntryPointListFiles
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
Definition: DefaultSettings.php:7225
php
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
Definition: injection.txt:35
$wgUseSiteJs
$wgUseSiteJs
Use the site's Javascript page?
Definition: DefaultSettings.php:3304
$wgPutIPinRC
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
Definition: DefaultSettings.php:5757
pages
The ContentHandler facility adds support for arbitrary content types on wiki pages
Definition: contenthandler.txt:1
$wgClockSkewFudge
$wgClockSkewFudge
Clock skew or the one-second resolution of time() can occasionally cause cache problems when the user...
Definition: DefaultSettings.php:2606
AV_SCAN_ABORTED
const AV_SCAN_ABORTED
Definition: Defines.php:114
$wgUploadStashScalerBaseUrl
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
Definition: DefaultSettings.php:350
$wgThumbnailEpoch
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
Definition: DefaultSettings.php:1199
$wgCrossSiteAJAXdomainExceptions
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
Definition: DefaultSettings.php:8152
$wgWhitelistRead
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
Definition: DefaultSettings.php:5063
$wgMaxNameChars
$wgMaxNameChars
Maximum number of bytes in username.
Definition: DefaultSettings.php:4836
$wgResourceLoaderStorageVersion
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
Definition: DefaultSettings.php:3830
$wgDBerrorLog
$wgDBerrorLog
File to log database errors to.
Definition: DefaultSettings.php:1996
$wgPasswordExpireGrace
$wgPasswordExpireGrace
If a user's password is expired, the number of seconds when they can still login, and cancel their pa...
Definition: DefaultSettings.php:1650
$wgUploadStashMaxAge
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
Definition: DefaultSettings.php:383
$wgPasswordSenderName
$wgPasswordSenderName
Sender name for e-mail notifications.
Definition: DefaultSettings.php:1584
$wgRepositoryBaseUrl
$wgRepositoryBaseUrl
Base URL for a repository wiki.
Definition: DefaultSettings.php:857
$wgEnableWANCacheReaper
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
Definition: DefaultSettings.php:2383
$wgExperiencedUserEdits
$wgExperiencedUserEdits
Name of the external diff engine to use.
Definition: DefaultSettings.php:8738
SiteStore
Definition: SiteStore.php:29
$wgAssumeProxiesUseDefaultProtocolPorts
bool $wgAssumeProxiesUseDefaultProtocolPorts
When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the w...
Definition: DefaultSettings.php:91
$wgSearchHighlightBoundaries
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
Definition: DefaultSettings.php:6421
NS_MAIN
const NS_MAIN
Definition: Defines.php:65
$wgUseInstantCommons
$wgUseInstantCommons
Use Commons as a remote file repository.
Definition: DefaultSettings.php:529
$wgMediaHandlers
$wgMediaHandlers
Plugins for media file type handling.
Definition: DefaultSettings.php:962
$wgDBadminuser
$wgDBadminuser
Separate username for maintenance tasks.
Definition: DefaultSettings.php:1822
title
to move a page</td >< td > &*You are moving the page across *A non empty talk page already exists under the new or *You uncheck the box below In those you will have to move or merge the page manually if desired</td >< td > be sure to &You are responsible for making sure that links continue to point where they are supposed to go Note that the page will &a page at the new title
Definition: All_system_messages.txt:2696
$wgResourceModules
$wgResourceModules
Client-side resource modules.
Definition: DefaultSettings.php:3531
$wgReferrerPolicy
$wgReferrerPolicy
Value for the referrer policy meta tag.
Definition: DefaultSettings.php:318
$wgResourceLoaderValidateJS
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
Definition: DefaultSettings.php:3758
$wgAPIRequestLog
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
Definition: DefaultSettings.php:8080
$wgStructuredChangeFiltersEnableExperimentalViews
$wgStructuredChangeFiltersEnableExperimentalViews
Whether to show the new experimental views (like namespaces, tags, and users) in RecentChanges filter...
Definition: DefaultSettings.php:6821
$wgHashedUploadDirectory
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
Definition: DefaultSettings.php:840
$wgAutopromote
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
Definition: DefaultSettings.php:5460
$wgContentHandlerTextFallback
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
Definition: DefaultSettings.php:8460
$wgAllowImageTag
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
Definition: DefaultSettings.php:4278
$wgShowDebug
$wgShowDebug
Display debug data at the bottom of the main content area.
Definition: DefaultSettings.php:6233
$wgRightsPage
$wgRightsPage
Override for copyright metadata.
Definition: DefaultSettings.php:7020
$wgHTTPProxy
$wgHTTPProxy
Proxy to use for CURL requests.
Definition: DefaultSettings.php:8276
$wgRawHtml
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
Definition: DefaultSettings.php:4347
$wgEnableScaryTranscluding
$wgEnableScaryTranscluding
Enable interwiki transcluding.
Definition: DefaultSettings.php:4416
$wgAttemptFailureEpoch
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
Definition: DefaultSettings.php:1207
$wgEnotifUseRealName
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
Definition: DefaultSettings.php:1754
$wgDBservers
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
Definition: DefaultSettings.php:1971
$wgRCChangedSizeThreshold
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
Definition: DefaultSettings.php:6919
$wgAllowUserCss
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
Definition: DefaultSettings.php:3292
$wgAdaptiveMessageCache
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
Definition: DefaultSettings.php:2487
$wgResourceLoaderMaxage
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
Definition: DefaultSettings.php:3657
$wgSVGConverterPath
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
Definition: DefaultSettings.php:1129
$wgNoReplyAddress
$wgNoReplyAddress
Reply-To address for e-mail notifications.
Definition: DefaultSettings.php:1591
$wgDBWindowsAuthentication
$wgDBWindowsAuthentication
Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server.
Definition: DefaultSettings.php:2086
$wgParserTestMediaHandlers
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
Definition: DefaultSettings.php:968
$wgHooks
$wgHooks
Global list of hooks.
Definition: DefaultSettings.php:7373
$wgSharedUploadPath
$wgSharedUploadPath
Full path on the web server where shared uploads can be found.
Definition: DefaultSettings.php:696
$wgRecentChangesFlags
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Definition: DefaultSettings.php:6977
$wgInvalidPasswordReset
$wgInvalidPasswordReset
Specifies if users should be sent to a password-reset form on login, if their password doesn't meet t...
Definition: DefaultSettings.php:4755
$wgSQLiteDataDir
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
Definition: DefaultSettings.php:1872
$wgUseKeyHeader
$wgUseKeyHeader
Send the Key HTTP header for better caching.
Definition: DefaultSettings.php:2667
$wgSquidServersNoPurge
$wgSquidServersNoPurge
As above, except these servers aren't purged on page changes; use to set a list of trusted proxies,...
Definition: DefaultSettings.php:2751
NS_PROJECT
const NS_PROJECT
Definition: Defines.php:69
$wgLoginLanguageSelector
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
Definition: DefaultSettings.php:3085
$wgUploadSizeWarning
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
Definition: DefaultSettings.php:934
a
</source > ! result< div class="mw-highlight mw-content-ltr" dir="ltr">< pre >< span ></span >< span class="kd"> var</span >< span class="nx"> a</span >< span class="p"></span ></pre ></div > ! end ! test Multiline< source/> in lists !input *< source > a b</source > *foo< source > a b</source > ! html< ul >< li >< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul >< ul >< li > foo< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul > ! html tidy< ul >< li >< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul >< ul >< li > foo< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul > ! end ! test Custom attributes !input< source lang="javascript" id="foo" class="bar" dir="rtl" style="font-size: larger;"> var a
Definition: parserTests.txt:89
$wgEmergencyContact
$wgEmergencyContact
Site admin email address.
Definition: DefaultSettings.php:1568
user
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such and we might be restricted by PHP settings such as safe mode or open_basedir We cannot assume that the software even has read access anywhere useful Many shared hosts run all users web applications under the same user
Definition: distributors.txt:9
$wgAuthenticationTokenVersion
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
Definition: DefaultSettings.php:4967
$wgContentHandlers
$wgContentHandlers
Plugins for page content model handling.
Definition: DefaultSettings.php:988
$wgFooterIcons
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
Definition: DefaultSettings.php:3436
$wgMaxUserDBWriteDuration
$wgMaxUserDBWriteDuration
Name of the external diff engine to use.
Definition: DefaultSettings.php:8638
$wgAntivirusRequired
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
Definition: DefaultSettings.php:1302
$wgPreprocessorCacheThreshold
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
Definition: DefaultSettings.php:4411
$wgLinkHolderBatchSize
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
Definition: DefaultSettings.php:8376
$wgLockManagers
$wgLockManagers
Array of configuration arrays for each lock manager.
Definition: DefaultSettings.php:656
$wgFilterLogTypes
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
Definition: DefaultSettings.php:7615
$wgLanguageConverterCacheType
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
Definition: DefaultSettings.php:2279
$wgCentralIdLookupProvider
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
Definition: DefaultSettings.php:4491
$wgUseImageMagick
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
Definition: DefaultSettings.php:1016
$wgExtraSignatureNamespaces
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
Definition: DefaultSettings.php:4128
$wgFallbackSkin
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
Definition: DefaultSettings.php:3266
$wgUseFileCache
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Definition: DefaultSettings.php:2554
$wgCacheVaryCookies
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
Definition: DefaultSettings.php:6037
$wgCommandLineMode
global $wgCommandLineMode
Definition: Setup.php:526
$wgCrossSiteAJAXdomains
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
Definition: DefaultSettings.php:8145
$wgDefaultLanguageVariant
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
Definition: DefaultSettings.php:3042
$wgCachePrefix
$wgCachePrefix
Overwrite the caching key prefix with custom value.
Definition: DefaultSettings.php:6388
$wgAPICacheHelpTimeout
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
Definition: DefaultSettings.php:8085
$wgEnableSidebarCache
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
Definition: DefaultSettings.php:2585
$wgDisableInternalSearch
$wgDisableInternalSearch
Disable the internal MySQL-based search, to allow it to be implemented by an extension instead.
Definition: DefaultSettings.php:6495
copyright
in the Source form of any Derivative Works that You all copyright
Definition: APACHE-LICENSE-2.0.txt:102
$wgAllowExternalImagesFrom
$wgAllowExternalImagesFrom
If the above is false, you can specify an exception here.
Definition: DefaultSettings.php:4257
$wgStyleVersion
$wgStyleVersion
Bump this number when changing the global style sheets and JavaScript.
Definition: DefaultSettings.php:2547
$wgStatsdMetricPrefix
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
Definition: DefaultSettings.php:6339
$wgResourceLoaderMinifierStatementsOnOwnLine
$wgResourceLoaderMinifierStatementsOnOwnLine
Put each statement on its own line when minifying JavaScript.
Definition: DefaultSettings.php:3681
$wgUploadThumbnailRenderMap
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
Definition: DefaultSettings.php:1422
$wgQueryPageDefaultLimit
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
Definition: DefaultSettings.php:5763
$wgDjvuToXML
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3....
Definition: DefaultSettings.php:1540
$wgHtml5Version
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
Definition: DefaultSettings.php:3191
NS_MEDIAWIKI_TALK
const NS_MEDIAWIKI_TALK
Definition: Defines.php:74
$wgDebugLogGroups
$wgDebugLogGroups
Map of string log group names to log destinations.
Definition: DefaultSettings.php:6201
$wgUseDatabaseMessages
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
Definition: DefaultSettings.php:3017
$wgLoadScript
$wgLoadScript
The URL path to load.php.
Definition: DefaultSettings.php:210
not
if not
Definition: COPYING.txt:307
$wgMimeTypeFile
$wgMimeTypeFile
Sets the MIME type definition file to use by MimeMagic.php.
Definition: DefaultSettings.php:1314
$wgExpensiveParserFunctionLimit
$wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
Definition: DefaultSettings.php:4405
$wgAntivirusSetup
$wgAntivirusSetup
Configuration for different virus scanners.
Definition: DefaultSettings.php:1284
$wgApiFrameOptions
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
Definition: DefaultSettings.php:3348
$IP
$IP
Definition: update.php:3
$wgObjectCaches
$wgObjectCaches
Advanced object cache configuration.
Definition: DefaultSettings.php:2294
$wgSharedPrefix
$wgSharedPrefix
Definition: DefaultSettings.php:1904
$wgExportAllowHistory
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
Definition: DefaultSettings.php:7107
$wgHTCPRouting
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
Definition: DefaultSettings.php:2825
$wgLogExceptionBacktrace
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
Definition: DefaultSettings.php:6279
$wgRCFeeds
$wgRCFeeds
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:6772
$wgFetchCommonsDescriptions
$wgFetchCommonsDescriptions
Fetch commons image description pages and display them on the local wiki?
Definition: DefaultSettings.php:701
$wgMimeDetectorCommand
$wgMimeDetectorCommand
Sets an external MIME detector program.
Definition: DefaultSettings.php:1333
$wgFixArabicUnicode
$wgFixArabicUnicode
Set this to true to replace Arabic presentation forms with their standard forms in the U+0600-U+06FF ...
Definition: DefaultSettings.php:2945
$wgParserCacheExpireTime
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
Definition: DefaultSettings.php:2405
$wgPasswordReminderResendTime
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
Definition: DefaultSettings.php:1628
$wgJobSerialCommitThreshold
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
Definition: DefaultSettings.php:7453
$wgImgAuthDetails
$wgImgAuthDetails
Set this to true if you use img_auth and want the user to see details on why access failed.
Definition: DefaultSettings.php:418
$wgUseGzip
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
Definition: DefaultSettings.php:2598
$wgInvalidRedirectTargets
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
Definition: DefaultSettings.php:4147
$wgAPIMaxLagThreshold
$wgAPIMaxLagThreshold
Maximum amount of DB lag on a majority of DB replica DBs to tolerate before forcing bots to retry any...
Definition: DefaultSettings.php:8074
$wgUserrightsInterwikiDelimiter
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
Definition: DefaultSettings.php:4947
$wgVaryOnXFP
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
Definition: DefaultSettings.php:2677
$wgImplicitGroups
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
Definition: DefaultSettings.php:5273
$wgCdnMaxageSubstitute
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
Definition: DefaultSettings.php:2726
$wgPreviewOnOpenNamespaces
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
Definition: DefaultSettings.php:6574
$wgInterwikiMagic
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Definition: DefaultSettings.php:2883
$wgLogTypes
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
Definition: DefaultSettings.php:7568
$wgExtendedLoginCookieExpiration
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
Definition: DefaultSettings.php:5990
$wgPasswordSalt
$wgPasswordSalt
For compatibility with old installations set to false.
Definition: DefaultSettings.php:4728
$wgResourceLoaderSources
$wgResourceLoaderSources
Extensions should register foreign module sources here.
Definition: DefaultSettings.php:3633
AV_VIRUS_FOUND
const AV_VIRUS_FOUND
Definition: Defines.php:113
$wgParserCacheType
$wgParserCacheType
The cache type for storing article HTML.
Definition: DefaultSettings.php:2262
$wgLocalisationCacheConf
$wgLocalisationCacheConf
Localisation cache configuration.
Definition: DefaultSettings.php:2511
$wgMaxImageArea
$wgMaxImageArea
The maximum number of pixels a source image can have if it is to be scaled down by a scaler that requ...
Definition: DefaultSettings.php:1168
$wgUseCombinedLoginLink
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
Definition: DefaultSettings.php:3458
$wgUseCopyrightUpload
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
Definition: DefaultSettings.php:7045
$wgMaxPPExpandDepth
$wgMaxPPExpandDepth
Definition: DefaultSettings.php:4216
$wgEnableEmail
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
Definition: DefaultSettings.php:1598
$wgUseCategoryBrowser
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
Definition: DefaultSettings.php:7515
$wgEnableDnsBlacklist
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
Definition: DefaultSettings.php:5594
$wgDefaultSkin
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
Definition: DefaultSettings.php:3259
$wgUpdateRowsPerQuery
$wgUpdateRowsPerQuery
Number of rows to update per query.
Definition: DefaultSettings.php:8331
$wgReservedUsernames
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
Definition: DefaultSettings.php:4842
$wgEnableMagicLinks
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
Definition: DefaultSettings.php:4430
MEDIATYPE_BITMAP
const MEDIATYPE_BITMAP
Definition: defines.php:28
rights
and that you know you can do these things To protect your rights
Definition: COPYING.txt:28
$wgSessionName
$wgSessionName
Override to customise the session name.
Definition: DefaultSettings.php:6042
$wgParserTestFiles
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
Definition: DefaultSettings.php:6377
$wgMaxInterlacingAreas
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
Definition: DefaultSettings.php:1027
$wgImportSources
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
Definition: DefaultSettings.php:7091
$wgCopyUploadProxy
$wgCopyUploadProxy
Proxy to use for copy upload requests.
Definition: DefaultSettings.php:750
$wgAPIMetaModules
$wgAPIMetaModules
API Query meta module extensions.
Definition: DefaultSettings.php:8031
NS_CATEGORY
const NS_CATEGORY
Definition: Defines.php:79
$wgFileBackends
$wgFileBackends
File backend structure configuration.
Definition: DefaultSettings.php:640
settings
globals will be eliminated from MediaWiki replaced by an application object which would be passed to constructors Whether that would be an convenient solution remains to be but certainly PHP makes such object oriented programming models easier than they were in previous versions For the time being MediaWiki programmers will have to work in an environment with some global context At the time of globals were initialised on startup by MediaWiki of these were configuration settings
Definition: globals.txt:25
$wgDjvuOutputExtension
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
Definition: DefaultSettings.php:1552
$wgMemCachedDebug
$wgMemCachedDebug
If enabled, will send MemCached debugging information to $wgDebugLogFile.
Definition: DefaultSettings.php:2450
$wgNamespaceProtection
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
Definition: DefaultSettings.php:5357
$wgExternalLinkTarget
$wgExternalLinkTarget
Set a default target for external links, e.g.
Definition: DefaultSettings.php:4358
$wgMaxJobDBWriteDuration
$wgMaxJobDBWriteDuration
Name of the external diff engine to use.
Definition: DefaultSettings.php:8647
$wgMaxShellTime
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
Definition: DefaultSettings.php:8175
$wgPageInfoTransclusionLimit
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
Definition: DefaultSettings.php:6354
$wgEnableSearchContributorsByIP
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
Definition: DefaultSettings.php:6549
$wgDeleteRevisionsLimit
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
Definition: DefaultSettings.php:5534
$wgMemCachedTimeout
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
Definition: DefaultSettings.php:2466
$wgUpdateRowsPerJob
$wgUpdateRowsPerJob
Number of rows to update per job.
Definition: DefaultSettings.php:8326
$wgCommandLineDarkBg
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
Definition: DefaultSettings.php:6612
$wgRCShowWatchingUsers
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
Definition: DefaultSettings.php:6907
$wgExtensionCredits
$wgExtensionCredits
An array of information about installed extensions keyed by their type.
Definition: DefaultSettings.php:7330
$wgImportTargetNamespace
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
Definition: DefaultSettings.php:7100
$wgCookieHttpOnly
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
Definition: DefaultSettings.php:6032
$wgCompressRevisions
$wgCompressRevisions
We can also compress text stored in the 'text' table.
Definition: DefaultSettings.php:2101
$wgExportAllowListContributors
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
Definition: DefaultSettings.php:7119
$wgFeedClasses
$wgFeedClasses
Available feeds objects.
Definition: DefaultSettings.php:6893
$wgAutoConfirmAge
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
Definition: DefaultSettings.php:5390
$wgDebugLogFile
$wgDebugLogFile
Filename for debug logging.
Definition: DefaultSettings.php:6083
$wgUseFilePatrol
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
Definition: DefaultSettings.php:6840
$wgEnableUserEmailBlacklist
$wgEnableUserEmailBlacklist
Set to true to enable user-to-user e-mail blacklist.
Definition: DefaultSettings.php:1611
$wgDisableLangConversion
$wgDisableLangConversion
Whether to enable language variant conversion.
Definition: DefaultSettings.php:3032
$wgRemoveGroups
$wgRemoveGroups
Definition: DefaultSettings.php:5522
$wgSearchForwardUrl
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
Definition: DefaultSettings.php:6512
$wgShowDBErrorBacktrace
$wgShowDBErrorBacktrace
If true, show a backtrace for database errors.
Definition: DefaultSettings.php:6274
$wgAPIMaxResultSize
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
Definition: DefaultSettings.php:8061
$wgCanonicalServer
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
Definition: DefaultSettings.php:118
$wgSkipSkin
$wgSkipSkin
Definition: DefaultSettings.php:3278
$wgMemoryLimit
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
Definition: DefaultSettings.php:2202
$wgUniversalEditButton
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
Definition: DefaultSettings.php:6583
$wgCacheSharedUploads
$wgCacheSharedUploads
Cache shared metadata in memcached.
Definition: DefaultSettings.php:723
$wgConfigRegistry
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set,...
Definition: DefaultSettings.php:70
$wgLocalDatabases
$wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Definition: DefaultSettings.php:2069
$wgExternalDiffEngine
$wgExternalDiffEngine
Name of the external diff engine to use.
Definition: DefaultSettings.php:8346
$wgValidSkinNames
$wgValidSkinNames
List of valid skin names.
Definition: DefaultSettings.php:7256
$wgMaxAnimatedGifArea
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
Definition: DefaultSettings.php:1176
MIGRATION_OLD
const MIGRATION_OLD
Definition: Defines.php:293
will
</td >< td > &</td >< td > t want your writing to be edited mercilessly and redistributed at will
Definition: All_system_messages.txt:914
$wgInterwikiExpiry
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
Definition: DefaultSettings.php:3972
$wgAutopromoteOnceLogInRC
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
Definition: DefaultSettings.php:5493
$wgPageLanguageUseDB
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
Definition: DefaultSettings.php:8558
$wgCachePages
$wgCachePages
Allow client-side caching of pages.
Definition: DefaultSettings.php:2522
$wgResourceLoaderLESSVars
$wgResourceLoaderLESSVars
Global LESS variables.
Definition: DefaultSettings.php:3791
$wgTranslateNumerals
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
Definition: DefaultSettings.php:3011
$wgSVGMetadataCutoff
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
Definition: DefaultSettings.php:1140
$wgAllowUserCssPrefs
$wgAllowUserCssPrefs
Allow user-preferences implemented in CSS? This allows users to customise the site appearance to a gr...
Definition: DefaultSettings.php:3299
$wgDebugTimestamps
$wgDebugTimestamps
Prefix debug messages with relative timestamp.
Definition: DefaultSettings.php:6239
$wgExtraLanguageNames
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
Definition: DefaultSettings.php:2908
$wgDBcompress
$wgDBcompress
Whether to use compression in DB connection.
Definition: DefaultSettings.php:1817
$wgMaxShellFileSize
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KB ImageMagick convert for example can b...
Definition: DefaultSettings.php:8170
$wgRangeContributionsCIDRLimit
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Definition: DefaultSettings.php:8719
$wgAdvancedSearchHighlighting
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
Definition: DefaultSettings.php:6415
performance
MediaWiki has optional support for a high performance
Definition: memcached.txt:1
$wgEnotifUserTalk
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
Definition: DefaultSettings.php:1713
$wgJobTypesExcludedFromDefaultQueue
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
Definition: DefaultSettings.php:7427
$wgMsgCacheExpiry
$wgMsgCacheExpiry
Expiry time for the message cache key.
Definition: DefaultSettings.php:3022
$wgSessionPbkdf2Iterations
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
Definition: DefaultSettings.php:2445
$wgCookieExpiration
$wgCookieExpiration
Default cookie lifetime, in seconds.
Definition: DefaultSettings.php:5982
$wgShowRollbackEditCount
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
Definition: DefaultSettings.php:3487
$wgImgAuthUrlPathMap
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Definition: DefaultSettings.php:434
$wgNamespaceAliases
$wgNamespaceAliases
Namespace aliases.
Definition: DefaultSettings.php:3921
$wgForcedRawSMaxage
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
Definition: DefaultSettings.php:2733
storage
For QUnit the mediawiki tests qunit testrunner dependency will be added to any module it s the URL of the revision text in external storage
Definition: hooks.txt:2794
$wgSessionHandler
$wgSessionHandler
Definition: DefaultSettings.php:2420
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:68
$wgDebugPrintHttpHeaders
$wgDebugPrintHttpHeaders
Print HTTP headers for every request in the debug information.
Definition: DefaultSettings.php:6244
$wgTidyConf
$wgTidyConf
The path to the tidy config file.
Definition: DefaultSettings.php:4322
$wgSlaveLagWarning
$wgSlaveLagWarning
If lag is higher than $wgSlaveLagWarning, show a warning in some special pages (like watchlist).
Definition: DefaultSettings.php:2076
$wgGitBin
$wgGitBin
Fully specified path to git binary.
Definition: DefaultSettings.php:6647
$wgFileCacheDepth
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
Definition: DefaultSettings.php:2562
$wgNoFollowNsExceptions
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
Definition: DefaultSettings.php:4372
$wgUrlProtocols
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
Definition: DefaultSettings.php:4228
$wgLocalTZoffset
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
Definition: DefaultSettings.php:3142
$wgExportMaxHistory
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
Definition: DefaultSettings.php:7114
$wgExportFromNamespaces
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
Definition: DefaultSettings.php:7137
$wgExtensionDirectory
$wgExtensionDirectory
Filesystem extensions directory.
Definition: DefaultSettings.php:239
$wgNoFollowLinks
$wgNoFollowLinks
If true, external URL links in wiki text will be given the rel="nofollow" attribute as a hint to sear...
Definition: DefaultSettings.php:4366
$wgServerName
$wgServerName
Server name.
Definition: DefaultSettings.php:125
$wgRateLimits
$wgRateLimits
Simple rate limiter options to brake edit floods.
Definition: DefaultSettings.php:5678
$wgLogoHD
$wgLogoHD
Array with URL paths to HD versions of the wiki logo.
Definition: DefaultSettings.php:295
$wgResourceLoaderStorageEnabled
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
Definition: DefaultSettings.php:3822
$wgUsePrivateIPs
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
Definition: DefaultSettings.php:2836
$wgLogRestrictions
$wgLogRestrictions
This restricts log access to those who have a certain right Users without this will not see it in the...
Definition: DefaultSettings.php:7592
$wgMaxRedirectLinksRetrieved
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
Definition: DefaultSettings.php:7824
$wgCookieDomain
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
Definition: DefaultSettings.php:5996
$wgImageMagickConvertCommand
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
Definition: DefaultSettings.php:1021
$wgLocalInterwikis
$wgLocalInterwikis
Array for multiple $wgLocalInterwiki values, in case there are several interwiki prefixes that point ...
Definition: DefaultSettings.php:3967
$wgTidyInternal
$wgTidyInternal
Set this to true to use the tidy extension.
Definition: DefaultSettings.php:4334
$wgDeletedDirectory
$wgDeletedDirectory
What directory to place deleted uploads in.
Definition: DefaultSettings.php:413
$wgIgnoreImageErrors
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
Definition: DefaultSettings.php:1220
$wgSharpenReductionThreshold
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
Definition: DefaultSettings.php:1037
$wgSiteSupportPage
$wgSiteSupportPage
If this is set, a "donate" link will appear in the sidebar.
Definition: DefaultSettings.php:3247
$wgParserOutputHooks
$wgParserOutputHooks
Parser output hooks.
Definition: DefaultSettings.php:7241
$wgMetaNamespaceTalk
$wgMetaNamespaceTalk
Name of the project talk namespace.
Definition: DefaultSettings.php:3865
$wgServer
$wgServer
URL of the server.
Definition: DefaultSettings.php:109
$wgRevisionCacheExpiry
$wgRevisionCacheExpiry
Revision text may be cached in $wgMemc to reduce load on external storage servers and object extracti...
Definition: DefaultSettings.php:2154
extensions
The ContentHandler facility adds support for arbitrary content types on wiki instead of relying on wikitext for everything It was introduced in MediaWiki Each kind of and so on Built in content types as usual *javascript user provided javascript code *json simple implementation for use by extensions
Definition: contenthandler.txt:5
language
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of either verbatim or with modifications and or translated into another language(Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying
$wgAllowImageMoving
$wgAllowImageMoving
Allows to move images and other media files.
Definition: DefaultSettings.php:388
$wgActiveUserDays
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
Definition: DefaultSettings.php:4469
$wgUploadDialog
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
Definition: DefaultSettings.php:551
$wgRCMaxAge
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
Definition: DefaultSettings.php:6681
$wgSummarySpamRegex
$wgSummarySpamRegex
Same as the above except for edit summaries.
Definition: DefaultSettings.php:5587
$wgLanguageCode
$wgLanguageCode
Site language code.
Definition: DefaultSettings.php:2861
$wgEnableParserLimitReporting
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
Definition: DefaultSettings.php:7246
$wgExportMaxLinkDepth
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
Definition: DefaultSettings.php:7132
$wgSitename
$wgSitename
Name of the site.
Definition: DefaultSettings.php:83
$wgReadOnly
$wgReadOnly
Set this to a string to put the wiki into read-only mode.
Definition: DefaultSettings.php:6622
$wgDevelopmentWarnings
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
Definition: DefaultSettings.php:6297
$wgRightsIcon
$wgRightsIcon
Override for copyright metadata.
Definition: DefaultSettings.php:7040
$wgEditSubmitButtonLabelPublish
$wgEditSubmitButtonLabelPublish
Whether to label the store-to-database-and-show-to-others button in the editor as "Save page"/"Save c...
Definition: DefaultSettings.php:3217
$wgFeedDiffCutoff
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
Definition: DefaultSettings.php:6872
$wgPasswordAttemptThrottle
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
Definition: DefaultSettings.php:5777
$wgDirectoryMode
$wgDirectoryMode
Default value for chmoding of new directories.
Definition: DefaultSettings.php:1486
$wgBlockDisablesLogin
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
Definition: DefaultSettings.php:5041
CACHE_ANYTHING
const CACHE_ANYTHING
Definition: Defines.php:102
NS_PROJECT_TALK
const NS_PROJECT_TALK
Definition: Defines.php:70
$wgRCShowChangedSize
$wgRCShowChangedSize
Show the amount of changed characters in recent changes.
Definition: DefaultSettings.php:6912
$wgUseTidy
$wgUseTidy
Set this to true to use the deprecated tidy configuration parameters.
Definition: DefaultSettings.php:4310
$wgExtensionFunctions
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
Definition: DefaultSettings.php:7163
$wgUploadBaseUrl
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
Definition: DefaultSettings.php:341
$wgNamespaceRobotPolicies
$wgNamespaceRobotPolicies
Robot policies per namespaces.
Definition: DefaultSettings.php:7894
$wgLogAutopatrol
$wgLogAutopatrol
Log autopatrol actions to the log table.
Definition: DefaultSettings.php:6845
$wgTiffThumbnailType
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
Definition: DefaultSettings.php:1191
$wgSearchType
$wgSearchType
Search type.
Definition: DefaultSettings.php:1835
$wgAddGroups
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
Definition: DefaultSettings.php:5517
$wgSearchSuggestCacheExpiry
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
Definition: DefaultSettings.php:6470
$wgDisableOutputCompression
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
Definition: DefaultSettings.php:3353
$wgSMTP
$wgSMTP
SMTP Mode.
Definition: DefaultSettings.php:1669
$wgUploadDirectory
$wgUploadDirectory
The filesystem path of the images directory.
Definition: DefaultSettings.php:266
$wgUploadThumbnailRenderHttpCustomHost
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
Definition: DefaultSettings.php:1442
$wgSitemapNamespaces
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
Definition: DefaultSettings.php:6526
$wgIllegalFileChars
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
Definition: DefaultSettings.php:407
$wgHtml5
$wgHtml5
Previously used to determine if we should output an HTML5 doctype.
Definition: DefaultSettings.php:3181
$wgAllowHTMLEmail
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
Definition: DefaultSettings.php:1680
$wgDBTableOptions
$wgDBTableOptions
MySQL table options to use during installation or update.
Definition: DefaultSettings.php:1854
$wgSquidServers
$wgSquidServers
List of proxy servers to purge on changes; default port is 80.
Definition: DefaultSettings.php:2743
$wgTrivialMimeDetection
$wgTrivialMimeDetection
Switch for trivial MIME detection.
Definition: DefaultSettings.php:1340
$wgCustomConvertCommand
$wgCustomConvertCommand
Use another resizing converter, e.g.
Definition: DefaultSettings.php:1057
$wgResourceLoaderMinifierMaxLineLength
$wgResourceLoaderMinifierMaxLineLength
Maximum line length when minifying JavaScript.
Definition: DefaultSettings.php:3690
$wgInvalidUsernameCharacters
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
Definition: DefaultSettings.php:4936
$wgAutoloadClasses
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
Definition: DefaultSettings.php:7269
$wgFavicon
$wgFavicon
The URL path of the shortcut icon.
Definition: DefaultSettings.php:301
format
if the prop value should be in the metadata multi language array format
Definition: hooks.txt:1639
$wgLegacyJavaScriptGlobals
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
Definition: DefaultSettings.php:3734
$wgLearnerEdits
$wgLearnerEdits
The following variables define 3 user experience levels:
Definition: DefaultSettings.php:8736
$wgLogActionsHandlers
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
Definition: DefaultSettings.php:7680
$wgEnableAsyncUploads
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
Definition: DefaultSettings.php:398
$wgUploadNavigationUrl
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
Definition: DefaultSettings.php:800
$wgOverrideHostname
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
Definition: DefaultSettings.php:6291
$wgResourceBasePath
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
Definition: DefaultSettings.php:3639
$wgShortPagesNamespaceBlacklist
$wgShortPagesNamespaceBlacklist
Optional array of namespaces which should be blacklisted from Special:ShortPages Only pages inside $w...
Definition: DefaultSettings.php:4119
$wgForceUIMsgAsContentMsg
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
Definition: DefaultSettings.php:3106
$wgSiteTypes
$wgSiteTypes
Register handlers for specific types of sites.
Definition: DefaultSettings.php:8498
$wgMinUploadChunkSize
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
Definition: DefaultSettings.php:788
$wgContentNamespaces
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Definition: DefaultSettings.php:4111
$wgJobClasses
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
Definition: DefaultSettings.php:7396
$wgEmailConfirmToEdit
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
Definition: DefaultSettings.php:5097
$wgExtraInterlanguageLinkPrefixes
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i....
Definition: DefaultSettings.php:2903
$wgCopyUploadsFromSpecialUpload
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
Definition: DefaultSettings.php:744
$wgRunJobsAsync
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
Definition: DefaultSettings.php:8321
$wgMaxShellWallClockTime
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
Definition: DefaultSettings.php:8181
$wgCascadingRestrictionLevels
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
Definition: DefaultSettings.php:5334
$wgArticlePath
$wgArticlePath
The URL path for primary article page views.
Definition: DefaultSettings.php:255
$wgSessionCacheType
$wgSessionCacheType
The cache type for storing session data.
Definition: DefaultSettings.php:2269
$wgSquidPurgeUseHostHeader
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServer...
Definition: DefaultSettings.php:2772
$wgJpegTran
$wgJpegTran
used for lossless jpeg rotation
Definition: DefaultSettings.php:1064
$wgDisableCookieCheck
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
Definition: DefaultSettings.php:6018
$wgDisableSearchUpdate
$wgDisableSearchUpdate
If you've disabled search semi-permanently, this also disables updates to the table.
Definition: DefaultSettings.php:6476
$wgMWLoggerDefaultSpi
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
Definition: DefaultSettings.php:6224
$wgTidyOpts
$wgTidyOpts
The command line options to the tidy binary.
Definition: DefaultSettings.php:4328
$wgCacheEpoch
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Definition: DefaultSettings.php:2532
$wgShellCgroup
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
Definition: DefaultSettings.php:8206
$wgAjaxExportList
$wgAjaxExportList
List of Ajax-callable functions.
Definition: DefaultSettings.php:8107
$wgUserEmailConfirmationTokenExpiry
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
Definition: DefaultSettings.php:1638
$wgGitInfoCacheDirectory
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
Definition: DefaultSettings.php:2538
$wgImageLimits
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
Definition: DefaultSettings.php:1362
$wgAutoConfirmCount
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
Definition: DefaultSettings.php:5401
$wgCentralIdLookupProviders
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
Definition: DefaultSettings.php:4483
$wgXhtmlDefaultNamespace
$wgXhtmlDefaultNamespace
The default xmlns attribute.
Definition: DefaultSettings.php:3172
$wgActionPaths
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
Definition: DefaultSettings.php:366
and
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
$wgBlockCIDRLimit
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
Definition: DefaultSettings.php:5029
$wgSharedUploadDBname
$wgSharedUploadDBname
DB name with metadata about shared directory.
Definition: DefaultSettings.php:712
$wgMiserMode
$wgMiserMode
Disable database-intensive features.
Definition: DefaultSettings.php:2166
$wgGitRepositoryViewers
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
Definition: DefaultSettings.php:6662
$wgTidyConfig
$wgTidyConfig
Configuration for HTML postprocessing tool.
Definition: DefaultSettings.php:4304
$wgEnableJavaScriptTest
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
Definition: DefaultSettings.php:6382
$wgPoolCounterConf
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
Definition: DefaultSettings.php:8433
$wgResourceLoaderValidateStaticJS
$wgResourceLoaderValidateStaticJS
If set to true, statically-sourced (file-backed) JavaScript resources will be parsed for validity bef...
Definition: DefaultSettings.php:3768
$wgEnotifFromEditor
$wgEnotifFromEditor
True: from page editor if s/he opted-in.
Definition: DefaultSettings.php:1686
$wgSharedUploadDirectory
$wgSharedUploadDirectory
Path on the file system where shared uploads can be found.
Definition: DefaultSettings.php:706
$wgUseTinyRGBForJPGThumbnails
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
Definition: DefaultSettings.php:1458
$wgAvailableRights
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Definition: DefaultSettings.php:5528
MEDIATYPE_VIDEO
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgSemiprotectedRestrictionLevels
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
Definition: DefaultSettings.php:5348
$wgDisableUploadScriptChecks
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
Definition: DefaultSettings.php:929
$wgCookieSetOnAutoblock
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
Definition: DefaultSettings.php:6051
$wgRateLimitsExcludedIPs
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
Definition: DefaultSettings.php:5750
$wgCapitalLinks
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Definition: DefaultSettings.php:4050
$wgReadOnlyFile
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
Definition: DefaultSettings.php:6631
output
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling output() to send it all. It could be easily changed to send incrementally if that becomes useful
$wgApplyIpBlocksToXff
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
Definition: DefaultSettings.php:5641
NS_HELP_TALK
const NS_HELP_TALK
Definition: Defines.php:78
$wgThumbnailScriptPath
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
Definition: DefaultSettings.php:820
$wgRCEngines
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
Definition: DefaultSettings.php:6779
$wgEditPageFrameOptions
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
Definition: DefaultSettings.php:3336
$wgGroupPermissions
$wgGroupPermissions
Permission keys given to users in each group.
Definition: DefaultSettings.php:5129
$wgEnableWriteAPI
$wgEnableWriteAPI
Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised ...
Definition: DefaultSettings.php:7959
$wgDebugComments
$wgDebugComments
Send debug data to an HTML comment in the output.
Definition: DefaultSettings.php:6112
$wgExiv2Command
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
Definition: DefaultSettings.php:1091
$wgBrowserBlackList
$wgBrowserBlackList
Definition: DefaultSettings.php:2985
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition: DefaultSettings.php:2878
$wgLocaltimezone
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Definition: DefaultSettings.php:3131
$wgPagePropLinkInvalidations
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
Definition: DefaultSettings.php:7501
$wgAjaxEditStash
$wgAjaxEditStash
Have clients send edits to be prepared when filling in edit summaries.
Definition: DefaultSettings.php:8123
$wgHttpsPort
$wgHttpsPort
Port where you have HTTPS running Supports HTTPS on non-standard ports.
Definition: DefaultSettings.php:8515
$wgCleanSignatures
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
Definition: DefaultSettings.php:4238
$wgAllowCategorizedRecentChanges
$wgAllowCategorizedRecentChanges
Enable filtering of categories in Recentchanges.
Definition: DefaultSettings.php:6936
$wgUsejQueryThree
$wgUsejQueryThree
Use jQuery 3 (with jQuery Migrate) instead of jQuery 1.
Definition: DefaultSettings.php:3707
$wgMainCacheType
CACHE_MEMCACHED $wgMainCacheType
Definition: memcached.txt:63
$wgOpenSearchDescriptionLength
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Definition: DefaultSettings.php:6465
Interwiki
Value object for representing interwiki records.
Definition: Interwiki.php:27
$wgShowExceptionDetails
$wgShowExceptionDetails
If set to true, uncaught exceptions will print a complete stack trace to output.
Definition: DefaultSettings.php:6264
$wgThumbUpright
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
Definition: DefaultSettings.php:1481
$wgVerifyMimeType
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Definition: DefaultSettings.php:1307
$wgExtraGenderNamespaces
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
Definition: DefaultSettings.php:3901
$wgQueryCacheLimit
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
Definition: DefaultSettings.php:2176
$wgInterwikiFallbackSite
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
Definition: DefaultSettings.php:4010
$wgReauthenticateTime
int[] $wgReauthenticateTime
Time frame for re-authentication.
Definition: DefaultSettings.php:4675
$wgCookieSecure
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
Definition: DefaultSettings.php:6010
$wgSessionProviders
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
Definition: DefaultSettings.php:4977
$wgSiteNotice
$wgSiteNotice
Site notice shown at the top of each page.
Definition: DefaultSettings.php:3242
$wgCapitalLinkOverrides
$wgCapitalLinkOverrides
Definition: DefaultSettings.php:4066
WebRequest\detectServer
static detectServer()
Work out an appropriate URL prefix containing scheme and host, based on information detected from $_S...
Definition: WebRequest.php:197
$wgTrackingCategories
$wgTrackingCategories
Array holding default tracking category names.
Definition: DefaultSettings.php:4103
$wgShellLocale
$wgShellLocale
Locale for LC_ALL, to provide a known environment for locale-sensitive operations.
Definition: DefaultSettings.php:8247
$wgRestrictionLevels
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
Definition: DefaultSettings.php:5323
$wgDnsBlacklistUrls
$wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
Definition: DefaultSettings.php:5619
$wgEnableUploads
$wgEnableUploads
Uploads have to be specially set up to be secure.
Definition: DefaultSettings.php:378
$wgRenderHashAppend
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
Definition: DefaultSettings.php:2574
$wgMaxGeneratedPPNodeCount
$wgMaxGeneratedPPNodeCount
A complexity limit on template expansion: the maximum number of elements generated by Preprocessor::p...
Definition: DefaultSettings.php:4203
NS_USER
const NS_USER
Definition: Defines.php:67
$wgLearnerMemberSince
$wgLearnerMemberSince
Name of the external diff engine to use.
Definition: DefaultSettings.php:8737
$wgAdvertisedFeedTypes
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
Definition: DefaultSettings.php:6902
$wgSlaveLagCritical
$wgSlaveLagCritical
Definition: DefaultSettings.php:2081
true
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return true
Definition: hooks.txt:1965
$wgSVGConverters
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
Definition: DefaultSettings.php:1109
$wgExtensionInfoMTime
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
Definition: DefaultSettings.php:2634
$wgGroupsRemoveFromSelf
$wgGroupsRemoveFromSelf
Definition: DefaultSettings.php:5301
$wgAllowCopyUploads
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
Definition: DefaultSettings.php:730
NS_TALK
const NS_TALK
Definition: Defines.php:66
$wgStructuredChangeFiltersShowPreference
$wgStructuredChangeFiltersShowPreference
Whether a preference is displayed for structured change filters.
Definition: DefaultSettings.php:6813
$wgTextModelsToParse
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Definition: DefaultSettings.php:8487
$wgAPIPropModules
$wgAPIPropModules
API Query prop module extensions.
Definition: DefaultSettings.php:8040
$wgOverrideSiteFeed
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
Definition: DefaultSettings.php:6886
$wgSkipSkins
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
Definition: DefaultSettings.php:3273
$wgPopularPasswordFile
string $wgPopularPasswordFile
Where popular password file is located.
Definition: DefaultSettings.php:8629
$wgCategoryCollation
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
Definition: DefaultSettings.php:7553
$wgLogNames
$wgLogNames
Lists the message key string for each log type.
Definition: DefaultSettings.php:7629
$wgEnotifImpersonal
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
Definition: DefaultSettings.php:1743
captcha-old.parser
parser
Definition: captcha-old.py:210
$wgFileCacheDirectory
$wgFileCacheDirectory
Directory where the cached page will be saved.
Definition: DefaultSettings.php:272
$wgUploadPath
$wgUploadPath
The URL path for the images directory.
Definition: DefaultSettings.php:261
of
globals txt Globals are evil The original MediaWiki code relied on globals for processing context far too often MediaWiki development since then has been a story of slowly moving context out of global variables and into objects Storing processing context in object member variables allows those objects to be reused in a much more flexible way Consider the elegance of
Definition: globals.txt:10
$wgMaxTocLevel
$wgMaxTocLevel
Maximum indent level of toc.
Definition: DefaultSettings.php:4186
$wgMaxRedirects
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Definition: DefaultSettings.php:4135
$wgDjvuDump
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
Definition: DefaultSettings.php:1510
$wgRestrictionTypes
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
Definition: DefaultSettings.php:5310
$wgSearchRunSuggestedQuery
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
Definition: DefaultSettings.php:8616
$wgArticleCountMethod
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
Definition: DefaultSettings.php:4460
$wgEnableBotPasswords
bool $wgEnableBotPasswords
Whether to enable bot passwords.
Definition: DefaultSettings.php:5930
NS_MEDIAWIKI
const NS_MEDIAWIKI
Definition: Defines.php:73
$wgXhtmlNamespaces
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
Definition: DefaultSettings.php:3233
class
you have access to all of the normal MediaWiki so you can get a DB use the etc For full docs on the Maintenance class
Definition: maintenance.txt:52
CONTENT_MODEL_JAVASCRIPT
const CONTENT_MODEL_JAVASCRIPT
Definition: Defines.php:237
$wgMaxSigChars
$wgMaxSigChars
Maximum number of Unicode characters in signature.
Definition: DefaultSettings.php:4830
$wgDBuser
$wgDBuser
Database username.
Definition: DefaultSettings.php:1787
$wgAuth
$wgAuth $wgAuth
Authentication plugin.
Definition: DefaultSettings.php:7337
$wgDBerrorLogTZ
$wgDBerrorLogTZ
Timezone to use in the error log.
Definition: DefaultSettings.php:2016
$wgAllowTitlesInSVG
$wgAllowTitlesInSVG
Disallow <title> element in SVG files.
Definition: DefaultSettings.php:1153
$wgPasswordPolicy
$wgPasswordPolicy
Password policy for local wiki users.
Definition: DefaultSettings.php:4516
$wgDataCenterUpdateStickTTL
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
Definition: DefaultSettings.php:1991
$wgWikiDiff2MovedParagraphDetectionCutoff
$wgWikiDiff2MovedParagraphDetectionCutoff
wikidiff2 supports detection of changes in moved paragraphs.
Definition: DefaultSettings.php:8360
$wgDebugDumpSql
$wgDebugDumpSql
Write SQL queries to the debug log.
Definition: DefaultSettings.php:6122
$wgAllowSlowParserFunctions
$wgAllowSlowParserFunctions
Enable slow parser functions.
Definition: DefaultSettings.php:2186
$wgPagePropsHaveSortkey
$wgPagePropsHaveSortkey
Whether the page_props table has a pp_sortkey column.
Definition: DefaultSettings.php:8507
$wgUploadMissingFileUrl
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
Definition: DefaultSettings.php:807
$wgResourceModuleSkinStyles
$wgResourceModuleSkinStyles
Skin-specific styles for resource modules.
Definition: DefaultSettings.php:3621
$wgMinimalPasswordLength
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
Definition: DefaultSettings.php:4735
$wgGroupsAddToSelf
$wgGroupsAddToSelf
A map of group names that the user is in, to group names that those users are allowed to add or revok...
Definition: DefaultSettings.php:5296
CONTENT_MODEL_TEXT
const CONTENT_MODEL_TEXT
Definition: Defines.php:239
$wgRCFilterByAge
$wgRCFilterByAge
Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be store...
Definition: DefaultSettings.php:6705
$wgSpecialPages
$wgSpecialPages
Special page list.
Definition: DefaultSettings.php:7264
$wgDebugToolbar
$wgDebugToolbar
Display the new debugging toolbar.
Definition: DefaultSettings.php:6397
$wgAntivirus
$wgAntivirus
Internal name of virus scanner.
Definition: DefaultSettings.php:1248
$wgDisableQueryPageUpdate
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
Definition: DefaultSettings.php:7812
NS_FILE_TALK
const NS_FILE_TALK
Definition: Defines.php:72
$wgTrustedMediaFormats
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
Definition: DefaultSettings.php:946
$wgEnableAPI
$wgEnableAPI
Enable the MediaWiki API for convenient access to machine-readable data via api.php.
Definition: DefaultSettings.php:7952
NS_CATEGORY_TALK
const NS_CATEGORY_TALK
Definition: Defines.php:80
$wgHKDFSecret
$wgHKDFSecret
Secret for hmac-based key derivation function (fast, cryptographically secure random numbers).
Definition: DefaultSettings.php:8542
$wgHTTPImportTimeout
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
Definition: DefaultSettings.php:8266
$wgRestrictDisplayTitle
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
Definition: DefaultSettings.php:4399
$wgAutoloadAttemptLowercase
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
Definition: DefaultSettings.php:7276
$wgPasswordSender
$wgPasswordSender
Sender email address for e-mail notifications.
Definition: DefaultSettings.php:1577
$wgTidyBin
$wgTidyBin
The path to the tidy binary.
Definition: DefaultSettings.php:4316
$wgPHPSessionHandling
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
Definition: DefaultSettings.php:2438
$wgAllowDisplayTitle
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Definition: DefaultSettings.php:4392
$wgUseSiteCss
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
Definition: DefaultSettings.php:3309
$wgExtraLanguageCodes
$wgExtraLanguageCodes
List of mappings from one language code to another.
Definition: DefaultSettings.php:2923
$wgAPIFormatModules
$wgAPIFormatModules
API format module extensions.
Definition: DefaultSettings.php:8022
$wgUseESI
$wgUseESI
If you run Squid3 with ESI support, enable this (default:false):
Definition: DefaultSettings.php:2660
$wgRegisterInternalExternals
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
Definition: DefaultSettings.php:8382
$wgSecretKey
$wgSecretKey
This should always be customised in LocalSettings.php.
Definition: DefaultSettings.php:5959
$wgScriptPath
$wgScriptPath
The path we should point to.
Definition: DefaultSettings.php:141
$wgNamespacesWithSubpages
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
Definition: DefaultSettings.php:4072
$wgXMLMimeTypes
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
Definition: DefaultSettings.php:1346
$wgPasswordConfig
$wgPasswordConfig
Configuration for built-in password types.
Definition: DefaultSettings.php:4783
$wgDBadminpassword
$wgDBadminpassword
Separate password for maintenance tasks.
Definition: DefaultSettings.php:1827
$wgUseAjax
$wgUseAjax
Enable AJAX framework.
Definition: DefaultSettings.php:8100
$wgDBssl
$wgDBssl
Whether to use SSL in DB connection.
Definition: DefaultSettings.php:1807
$wgWatchersMaxAge
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
Definition: DefaultSettings.php:6688
$wgVariantArticlePath
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
Definition: DefaultSettings.php:3078
$wgMaxShellMemory
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KB.
Definition: DefaultSettings.php:8164
$wgResourceLoaderDebug
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
Definition: DefaultSettings.php:3673
$wgUseImageResize
$wgUseImageResize
Whether to enable server-side image thumbnailing.
Definition: DefaultSettings.php:1006
$wgForeignFileRepos
$wgForeignFileRepos
Definition: DefaultSettings.php:522
$wgAccountCreationThrottle
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
Definition: DefaultSettings.php:5566
$wgEnotifMaxRecips
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
Definition: DefaultSettings.php:1749
$wgUploadThumbnailRenderMethod
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
Definition: DefaultSettings.php:1435
$wgStructuredChangeFiltersOnWatchlist
$wgStructuredChangeFiltersOnWatchlist
Whether to enable RCFilters app on Special:Watchlist.
Definition: DefaultSettings.php:6828
$wgLocalStylePath
$wgLocalStylePath
The URL path of the skins directory.
Definition: DefaultSettings.php:225
$wgSpecialVersionShowHooks
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
Definition: DefaultSettings.php:6249
$wgMemCachedPersistent
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
Definition: DefaultSettings.php:2461
$wgShowEXIF
$wgShowEXIF
Show Exif data, on by default if available.
Definition: DefaultSettings.php:669
$wgMaxPPNodeCount
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
Definition: DefaultSettings.php:4192
$wgSecureLogin
$wgSecureLogin
This is to let user authenticate using https when they come from http.
Definition: DefaultSettings.php:4955
$wgCookiePrefix
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
Definition: DefaultSettings.php:6025
$wgValidateAllHtml
$wgValidateAllHtml
Validate the overall output using tidy and refuse to display the page if it's not valid.
Definition: DefaultSettings.php:3253
$wgUserEmailUseReplyTo
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
Definition: DefaultSettings.php:1622
$wgAPIMaxDBRows
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
Definition: DefaultSettings.php:8055
$wgMainStash
$wgMainStash
Main object stash type.
Definition: DefaultSettings.php:2399
$wgStyleDirectory
$wgStyleDirectory
Filesystem stylesheets directory.
Definition: DefaultSettings.php:246
$wgUpgradeKey
$wgUpgradeKey
When you run the web-based upgrade utility, it will tell you what to set this to in order to authoriz...
Definition: DefaultSettings.php:6642
$wgSVGConverter
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Definition: DefaultSettings.php:1124
$wgScriptExtension
$wgScriptExtension
The extension to append to script names by default.
Definition: DefaultSettings.php:175
$wgSessionSecret
$wgSessionSecret
Secret for session storage.
Definition: DefaultSettings.php:8523
$wgDefaultRobotPolicy
$wgDefaultRobotPolicy
Default robot policy.
Definition: DefaultSettings.php:7878
$wgAllowUserJs
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
Definition: DefaultSettings.php:3285
$wgUnwatchedPageThreshold
$wgUnwatchedPageThreshold
If set to an integer, pages that are watched by this many users or more will not require the unwatche...
Definition: DefaultSettings.php:6951
$wgTrxProfilerLimits
$wgTrxProfilerLimits
Performance expectations for DB usage.
Definition: DefaultSettings.php:6129
$wgExtraNamespaces
$wgExtraNamespaces
Additional namespaces.
Definition: DefaultSettings.php:3893
$wgUploadThumbnailRenderHttpCustomDomain
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HTT...
Definition: DefaultSettings.php:1450
addresses
storage can be distributed across multiple and multiple web servers can use the same cache cluster *********************W A R N I N G ***********************Memcached has no security or authentication Please ensure that your server is appropriately and that the anyone on the internet can put data into and read data from your cache An attacker familiar with MediaWiki internals could use this to steal passwords and email addresses
Definition: memcached.txt:43
$wgCategoryPagingLimit
$wgCategoryPagingLimit
Paging limit for categories.
Definition: DefaultSettings.php:7526
$wgNewUserLog
$wgNewUserLog
Maintain a log of newusers at Log/newusers?
Definition: DefaultSettings.php:7794
$wgNamespacesToBeSearchedDefault
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
Definition: DefaultSettings.php:6487
$wgUsePigLatinVariant
$wgUsePigLatinVariant
Whether to enable the pig latin variant of English (en-x-piglatin), used to ease variant development ...
Definition: DefaultSettings.php:3048
$wgMainWANCache
$wgMainWANCache
Main Wide-Area-Network cache type.
Definition: DefaultSettings.php:2340
$wgGalleryOptions
$wgGalleryOptions
Parameters for the "<gallery>" tag.
Definition: DefaultSettings.php:1474
$wgAutopromoteOnce
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
Definition: DefaultSettings.php:5485
$wgJobQueueIncludeInMaxLagFactor
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Definition: DefaultSettings.php:7484
$wgCdnReboundPurgeDelay
$wgCdnReboundPurgeDelay
If set, any SquidPurge call on a URL or URLs will send a second purge no less than this many seconds ...
Definition: DefaultSettings.php:2719
$wgEnableAutoRotation
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
Definition: DefaultSettings.php:1241
$wgVirtualRestConfig
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
Definition: DefaultSettings.php:8597
$wgCheckFileExtensions
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
Definition: DefaultSettings.php:913
CACHE_DB
const CACHE_DB
Definition: Defines.php:104
$wgAllUnicodeFixes
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
Definition: DefaultSettings.php:2968
$wgInternalServer
$wgInternalServer
Internal server name as known to CDN, if different.
Definition: DefaultSettings.php:2687
$wgDisableAnonTalk
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
Definition: DefaultSettings.php:6931
$wgSquidMaxage
$wgSquidMaxage
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
Definition: DefaultSettings.php:2696
$wgInterwikiPrefixDisplayTypes
$wgInterwikiPrefixDisplayTypes
Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwik...
Definition: DefaultSettings.php:8758
$wgUseLocalMessageCache
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
Definition: DefaultSettings.php:2479
$wgStatsdServer
$wgStatsdServer
Destination of statsd metrics.
Definition: DefaultSettings.php:6330
$wgCountCategorizedImagesAsUsed
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
Definition: DefaultSettings.php:7818
$wgDummyLanguageCodes
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
Definition: DefaultSettings.php:2935
array
the array() calling protocol came about after MediaWiki 1.4rc1.
$wgPasswordExpirationDays
$wgPasswordExpirationDays
The number of days that a user's password is good for.
Definition: DefaultSettings.php:1644
$wgRCWatchCategoryMembership
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
Definition: DefaultSettings.php:6795
$wgObjectCacheSessionExpiry
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
Definition: DefaultSettings.php:2415
$wgFeed
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
Definition: DefaultSettings.php:6850
$wgAsyncHTTPTimeout
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
Definition: DefaultSettings.php:8271
$wgRightsUrl
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
Definition: DefaultSettings.php:7027
$wgAllowExternalImages
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
Definition: DefaultSettings.php:4243
$wgUsePathInfo
$wgUsePathInfo
Whether to support URLs like index.php/Page_title These often break when PHP is set up in CGI mode.
Definition: DefaultSettings.php:160
$wgImageMagickTempDir
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
Definition: DefaultSettings.php:1043
$wgSQLMode
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
Definition: DefaultSettings.php:1862
$wgEnableImageWhitelist
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki whitelist of regular expression fragment...
Definition: DefaultSettings.php:4268
$wgExportPagelistLimit
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
Definition: DefaultSettings.php:7150
$wgSharedThumbnailScriptPath
$wgSharedThumbnailScriptPath
Definition: DefaultSettings.php:825
$wgSpamRegex
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
Definition: DefaultSettings.php:5582
$wgOpenSearchDefaultLimit
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
Definition: DefaultSettings.php:6460
$wgCdnMaxageLagged
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
Definition: DefaultSettings.php:2703
$wgShowArchiveThumbnails
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
Definition: DefaultSettings.php:1234
$wgAllowSpecialInclusion
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
Definition: DefaultSettings.php:7806