MediaWiki  1.28.1
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.28.1';
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 
519 
524 
531 
542 
553  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
554  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
555  // matching replacement to the 'filepage' format key below to make use of these.
556  'fields' => [
557  'description' => true,
558  'date' => false,
559  'categories' => false,
560  ],
561  // Suffix of localisation messages used to describe the license under which the uploaded file will
562  // be released. The same value may be set for both 'local' and 'foreign' uploads.
563  'licensemessages' => [
564  // The 'local' messages are used for local uploads on this wiki:
565  // * upload-form-label-own-work-message-generic-local
566  // * upload-form-label-not-own-work-message-generic-local
567  // * upload-form-label-not-own-work-local-generic-local
568  'local' => 'generic-local',
569  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
570  // * upload-form-label-own-work-message-generic-foreign
571  // * upload-form-label-not-own-work-message-generic-foreign
572  // * upload-form-label-not-own-work-local-generic-foreign
573  'foreign' => 'generic-foreign',
574  ],
575  // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
576  // string value, in which case it is used for both kinds of uploads. Available replacements:
577  // * $HOST - domain name from which a cross-wiki upload originates
578  // * $PAGENAME - wiki page name from which an upload originates
579  'comment' => [
580  'local' => '',
581  'foreign' => '',
582  ],
583  // Format of the file page wikitext to be generated from the fields input by the user.
584  'format' => [
585  // Wrapper for the whole page. Available replacements:
586  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
587  // enabled), wrapped as defined below in the 'description' key
588  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
589  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
590  // * $AUTHOR - linked user name, may be extended in the future
591  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
592  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
593  // field is enabled), or if no input, as defined below in the 'uncategorized' key
594  'filepage' => '$DESCRIPTION',
595  // Wrapped for file description. Available replacements:
596  // * $LANGUAGE - source wiki's content language
597  // * $TEXT - input by the user
598  'description' => '$TEXT',
599  'ownwork' => '',
600  'license' => '',
601  'uncategorized' => '',
602  ],
603 ];
604 
642 
658 
670 $wgShowEXIF = function_exists( 'exif_read_data' );
671 
678 
693 
698 
703 
708 
714 
719 
725 
732 
739 
746 
752 
762 
779 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB
780 
788 
800 
807 
820 
825 
840 
847 
856 $wgRepositoryBaseUrl = "https://commons.wikimedia.org/wiki/File:";
857 
866 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
867 
874  # HTML may contain cookie-stealing JavaScript and web bugs
875  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
876  # PHP scripts may execute arbitrary code on the server
877  'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
878  # Other types that may be interpreted by some servers
879  'shtml', 'jhtml', 'pl', 'py', 'cgi',
880  # May contain harmful executables for Windows victims
881  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ];
882 
888  # HTML may contain cookie-stealing JavaScript and web bugs
889  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
890  # PHP scripts may execute arbitrary code on the server
891  'application/x-php', 'text/x-php',
892  # Other types that may be interpreted by some servers
893  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
894  # Client-side hazards on Internet Explorer
895  'text/scriptlet', 'application/x-msdownload',
896  # Windows metafile, client-side vulnerability on some systems
897  'application/x-msmetafile',
898 ];
899 
906 
913 
921 
929 
934 
946  MEDIATYPE_BITMAP, // all bitmap formats
947  MEDIATYPE_AUDIO, // all audio formats
948  MEDIATYPE_VIDEO, // all plain video formats
949  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
950  "application/pdf", // PDF files
951  # "application/x-shockwave-flash", //flash/shockwave movie
952 ];
953 
962 
971  // the usual case
972  CONTENT_MODEL_WIKITEXT => 'WikitextContentHandler',
973  // dumb version, no syntax highlighting
974  CONTENT_MODEL_JAVASCRIPT => 'JavaScriptContentHandler',
975  // simple implementation, for use by extensions, etc.
976  CONTENT_MODEL_JSON => 'JsonContentHandler',
977  // dumb version, no syntax highlighting
978  CONTENT_MODEL_CSS => 'CssContentHandler',
979  // plain text, for use by extensions, etc.
980  CONTENT_MODEL_TEXT => 'TextContentHandler',
981 ];
982 
989 
999 
1003 $wgImageMagickConvertCommand = '/usr/bin/convert';
1004 
1010 
1015 
1020 
1026 
1040 
1046 $wgJpegTran = '/usr/bin/jpegtran';
1047 
1068 
1073 $wgExiv2Command = '/usr/bin/exiv2';
1074 
1080 $wgExiftool = '/usr/bin/exiftool';
1081 
1092  'ImageMagick' =>
1093  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1094  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1095  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1096  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1097  . '$output $input',
1098  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1099  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1100  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1101 ];
1102 
1106 $wgSVGConverter = 'ImageMagick';
1107 
1112 
1117 
1123 
1136 
1151 
1159 
1174 
1181 $wgThumbnailEpoch = '20030516000000';
1182 
1190 
1203 
1212 
1217 
1224 
1231 
1267 
1268  # setup for clamav
1269  'clamav' => [
1270  'command' => 'clamscan --no-summary ',
1271  'codemap' => [
1272  "0" => AV_NO_VIRUS, # no virus
1273  "1" => AV_VIRUS_FOUND, # virus found
1274  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1275  "*" => AV_SCAN_FAILED, # else scan failed
1276  ],
1277  'messagepattern' => '/.*?:(.*)/sim',
1278  ],
1279 ];
1280 
1285 
1290 
1296 $wgMimeTypeFile = 'includes/mime.types';
1297 
1302 $wgMimeInfoFile = 'includes/mime.info';
1303 
1316 
1323 
1329  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1330  'svg' => 'image/svg+xml',
1331  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1332  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1333  'html' => 'text/html', // application/xhtml+xml?
1334 ];
1335 
1345  [ 320, 240 ],
1346  [ 640, 480 ],
1347  [ 800, 600 ],
1348  [ 1024, 768 ],
1349  [ 1280, 1024 ]
1350 ];
1351 
1358  120,
1359  150,
1360  180,
1361  200,
1362  250,
1363  300
1364 ];
1365 
1376 
1393 
1405 
1418 
1425 
1433 
1441 
1446  'imagesPerRow' => 0, // Default number of images per-row in the gallery. 0 -> Adapt to screensize
1447  'imageWidth' => 120, // Width of the cells containing images in galleries (in "px")
1448  'imageHeight' => 120, // Height of the cells containing images in galleries (in "px")
1449  'captionLength' => true, // Deprecated @since 1.28
1450  // Length to truncate filename to in caption when using "showfilename".
1451  // A value of 'true' will truncate the filename to one line using CSS
1452  // and will be the behaviour after deprecation.
1453  'showBytes' => true, // Show the filesize in bytes in categories
1454  'mode' => 'traditional',
1455 ];
1456 
1463 
1468 
1480 
1492 
1499 
1505 $wgDjvuTxt = null;
1506 
1522 
1528 $wgDjvuPostProcessor = 'pnmtojpeg';
1529 
1534  # end of DJvu }
1536  # end of file uploads }
1538 
1539 /************************************************************************/
1550 
1559 
1565 $wgPasswordSenderName = 'MediaWiki Mail';
1566 
1573 
1580 
1586 
1596 
1602 
1606 $wgNewPasswordExpiry = 3600 * 24 * 7;
1607 
1612 
1618 
1623 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1624 
1642 $wgSMTP = false;
1643 
1648 
1654 
1660 
1661 // TODO move UPO to preferences probably ?
1662 # If set to true, users get a corresponding option in their preferences and can choose to
1663 # enable or disable at their discretion
1664 # If set to false, the corresponding input form on the user preference page is suppressed
1665 # It call this to be a "user-preferences-option (UPO)"
1666 
1673 
1678 
1687 
1693 
1708 
1717 
1723 
1728 
1734  # end of email settings
1736 
1737 /************************************************************************/
1745 $wgDBserver = 'localhost';
1746 
1750 $wgDBport = 5432;
1751 
1755 $wgDBname = 'my_wiki';
1756 
1760 $wgDBuser = 'wikiuser';
1761 
1766 
1770 $wgDBtype = 'mysql';
1771 
1780 $wgDBssl = false;
1781 
1791 
1796 
1801 
1809 
1818 
1823 
1827 $wgDBTableOptions = 'ENGINE=InnoDB';
1828 
1836 
1841 
1846 
1873 
1878 
1882 $wgSharedTables = [ 'user', 'user_properties' ];
1883 
1889 
1945 
1956 $wgLBFactoryConf = [ 'class' => 'LBFactorySimple' ];
1957 
1965 
1970 
1990 
2007 $wgDBmysql5 = false;
2008 
2037 
2044 
2051 
2056 
2061  # End of DB settings }
2063 
2064 /************************************************************************/
2076 
2089 
2105 
2121 
2129  # end text storage }
2131 
2132 /************************************************************************/
2141 
2146 
2151 
2156 
2161 
2166 
2171 
2177 
2185  # end performance hacks }
2187 
2188 /************************************************************************/
2202 
2221 
2229 
2237 
2244 
2254 
2269  CACHE_NONE => [ 'class' => 'EmptyBagOStuff', 'reportDupes' => false ],
2270  CACHE_DB => [ 'class' => 'SqlBagOStuff', 'loggroup' => 'SQLBagOStuff' ],
2271 
2272  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2273  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2274  CACHE_MEMCACHED => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2275 
2276  'db-replicated' => [
2277  'class' => 'ReplicatedBagOStuff',
2278  'readFactory' => [
2279  'class' => 'SqlBagOStuff',
2280  'args' => [ [ 'slaveOnly' => true ] ]
2281  ],
2282  'writeFactory' => [
2283  'class' => 'SqlBagOStuff',
2284  'args' => [ [ 'slaveOnly' => false ] ]
2285  ],
2286  'loggroup' => 'SQLBagOStuff',
2287  'reportDupes' => false
2288  ],
2289 
2290  'apc' => [ 'class' => 'APCBagOStuff', 'reportDupes' => false ],
2291  'apcu' => [ 'class' => 'APCUBagOStuff', 'reportDupes' => false ],
2292  'xcache' => [ 'class' => 'XCacheBagOStuff', 'reportDupes' => false ],
2293  'wincache' => [ 'class' => 'WinCacheBagOStuff', 'reportDupes' => false ],
2294  'memcached-php' => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2295  'memcached-pecl' => [ 'class' => 'MemcachedPeclBagOStuff', 'loggroup' => 'memcached' ],
2296  'hash' => [ 'class' => 'HashBagOStuff', 'reportDupes' => false ],
2297 ];
2298 
2315 
2332  CACHE_NONE => [
2333  'class' => 'WANObjectCache',
2334  'cacheId' => CACHE_NONE,
2335  'channels' => []
2336  ]
2337  /* Example of a simple single data-center cache:
2338  'memcached-php' => [
2339  'class' => 'WANObjectCache',
2340  'cacheId' => 'memcached-php',
2341  'channels' => [ 'purge' => 'wancache-main-memcached-purge' ]
2342  ]
2343  */
2344 ];
2345 
2360 $wgMainStash = 'db-replicated';
2361 
2367 
2374 
2379 
2384 
2389 
2407 
2414 
2419 
2423 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2424 
2430 
2435 
2448 
2456 
2480  'class' => 'LocalisationCache',
2481  'store' => 'detect',
2482  'storeClass' => false,
2483  'storeDirectory' => false,
2484  'manualRecache' => false,
2485 ];
2486 
2491 
2500 $wgCacheEpoch = '20030516000000';
2501 
2507 
2516 
2523 
2531 
2537 
2543 
2554 
2559 
2566 $wgUseGzip = false;
2567 
2575 
2586 
2603  # end of cache settings
2605 
2606 /************************************************************************/
2623 $wgUseSquid = false;
2624 
2628 $wgUseESI = false;
2629 
2636 
2646 
2656 
2665 
2672 
2688 
2695 
2702 
2712 
2720 
2741 
2794 
2800 
2805  # end of HTTP proxy settings
2807 
2808 /************************************************************************/
2829 
2835 
2846 
2851 
2856 
2871 
2876 
2884  'als' => 'gsw',
2885  'bat-smg' => 'sgs',
2886  'be-x-old' => 'be-tarask',
2887  'bh' => 'bho',
2888  'fiu-vro' => 'vro',
2889  'no' => 'nb',
2890  'qqq' => 'qqq', # Used for message documentation.
2891  'qqx' => 'qqx', # Used for viewing message keys.
2892  'roa-rup' => 'rup',
2893  'simple' => 'en',
2894  'zh-classical' => 'lzh',
2895  'zh-min-nan' => 'nan',
2896  'zh-yue' => 'yue',
2897 ];
2898 
2908 
2919 
2931 
2943 
2960  '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2961  '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2962  '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2963 
2977  '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
2978 
2983  '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
2984 ];
2985 
2999 
3005 
3011 
3017 
3022 
3027 
3032 
3037 
3042 
3053 
3072 
3079 
3100 
3125 
3136  # End of language/charset settings
3138 
3139 /*************************************************************************/
3147 $wgMimeType = 'text/html';
3148 
3157 
3166 
3174 $wgHtml5 = true;
3175 
3185 
3194 
3202 
3211 
3227 
3236 
3241 
3247 
3252 $wgDefaultSkin = 'vector';
3253 
3259 $wgFallbackSkin = 'fallback';
3260 
3267 
3272 
3279 
3286 
3293 
3298 
3303 
3309 
3330 
3342 
3347 
3358 
3390  "copyright" => [
3391  "copyright" => [], // placeholder for the built in copyright icon
3392  ],
3393  "poweredby" => [
3394  "mediawiki" => [
3395  // Defaults to point at
3396  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3397  // plus srcset for 1.5x, 2x resolution variants.
3398  "src" => null,
3399  "url" => "//www.mediawiki.org/",
3400  "alt" => "Powered by MediaWiki",
3401  ]
3402  ],
3403 ];
3404 
3412 
3416 $wgEdititis = false;
3417 
3430 
3441 
3449 
3459  # End of output format settings }
3461 
3462 /*************************************************************************/
3485 
3575 
3587 
3593 
3611  'versioned' => [
3612  'server' => 30 * 24 * 60 * 60, // 30 days
3613  'client' => 30 * 24 * 60 * 60, // 30 days
3614  ],
3615  'unversioned' => [
3616  'server' => 5 * 60, // 5 minutes
3617  'client' => 5 * 60, // 5 minutes
3618  ],
3619 ];
3620 
3627 
3635 
3644 
3651 
3678 
3693 
3702 
3712 
3743  'deviceWidthTablet' => '720px',
3744 ];
3745 
3760  "$IP/resources/src/mediawiki.less/",
3761 ];
3762 
3768 
3776 
3789  # End of ResourceLoader settings }
3791 
3792 /*************************************************************************/
3802 
3811 
3839 
3847 
3867 
3895 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
3896 
3903 
3913 
3918 
3943 
3951 
3956  # end of Interwiki caching settings.
3958 
3967 $wgSitesCacheFile = false;
3968  # end of SiteStore caching settings.
3970 
3986 $wgRedirectSources = false;
3987 
3996 
4012 
4018  NS_TALK => true,
4019  NS_USER => true,
4020  NS_USER_TALK => true,
4021  NS_PROJECT => true,
4022  NS_PROJECT_TALK => true,
4023  NS_FILE_TALK => true,
4024  NS_MEDIAWIKI => true,
4025  NS_MEDIAWIKI_TALK => true,
4026  NS_TEMPLATE_TALK => true,
4027  NS_HELP => true,
4028  NS_HELP_TALK => true,
4030 ];
4031 
4048 
4056 
4064 $wgExtraSignatureNamespaces = [];
4065 
4071 $wgMaxRedirects = 1;
4072 
4083 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4084  # End of title and interwiki settings }
4086 
4087 /************************************************************************/
4114 $wgParserConf = [
4115  'class' => 'Parser',
4116  # 'preprocessorClass' => 'Preprocessor_Hash',
4117 ];
4118 
4122 $wgMaxTocLevel = 999;
4123 
4128 $wgMaxPPNodeCount = 1000000;
4129 
4139 $wgMaxGeneratedPPNodeCount = 1000000;
4140 
4147 $wgMaxTemplateDepth = 40;
4148 
4152 $wgMaxPPExpandDepth = 40;
4153 
4164 $wgUrlProtocols = [
4165  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4166  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4167  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4168  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4169 ];
4170 
4174 $wgCleanSignatures = true;
4175 
4179 $wgAllowExternalImages = false;
4180 
4193 $wgAllowExternalImagesFrom = '';
4194 
4204 $wgEnableImageWhitelist = true;
4205 
4214 $wgAllowImageTag = false;
4215 
4239 $wgTidyConfig = null;
4240 
4245 $wgUseTidy = false;
4246 
4251 $wgTidyBin = 'tidy';
4252 
4257 $wgTidyConf = $IP . '/includes/tidy/tidy.conf';
4258 
4263 $wgTidyOpts = '';
4264 
4269 $wgTidyInternal = extension_loaded( 'tidy' );
4270 
4275 $wgDebugTidy = false;
4276 
4282 $wgRawHtml = false;
4283 
4293 $wgExternalLinkTarget = false;
4294 
4301 $wgNoFollowLinks = true;
4302 
4307 $wgNoFollowNsExceptions = [];
4308 
4322 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4323 
4327 $wgAllowDisplayTitle = true;
4328 
4334 $wgRestrictDisplayTitle = true;
4335 
4340 $wgExpensiveParserFunctionLimit = 100;
4341 
4346 $wgPreprocessorCacheThreshold = 1000;
4347 
4351 $wgEnableScaryTranscluding = false;
4352 
4357 $wgTranscludeCacheExpiry = 3600;
4358 
4365 $wgEnableMagicLinks = [
4366  'ISBN' => false,
4367  'PMID' => false,
4368  'RFC' => false
4369 ];
4370  # end of parser settings }
4372 
4373 /************************************************************************/
4395 $wgArticleCountMethod = 'link';
4396 
4404 $wgActiveUserDays = 30;
4405  # End of statistics }
4407 
4408 /************************************************************************/
4418 $wgCentralIdLookupProviders = [
4419  'local' => [ 'class' => 'LocalIdLookup' ],
4420 ];
4421 
4426 $wgCentralIdLookupProvider = 'local';
4427 
4451 $wgPasswordPolicy = [
4452  'policies' => [
4453  'bureaucrat' => [
4454  'MinimalPasswordLength' => 8,
4455  'MinimumPasswordLengthToLogin' => 1,
4456  'PasswordCannotMatchUsername' => true,
4457  'PasswordCannotBePopular' => 25,
4458  ],
4459  'sysop' => [
4460  'MinimalPasswordLength' => 8,
4461  'MinimumPasswordLengthToLogin' => 1,
4462  'PasswordCannotMatchUsername' => true,
4463  'PasswordCannotBePopular' => 25,
4464  ],
4465  'bot' => [
4466  'MinimalPasswordLength' => 8,
4467  'MinimumPasswordLengthToLogin' => 1,
4468  'PasswordCannotMatchUsername' => true,
4469  ],
4470  'default' => [
4471  'MinimalPasswordLength' => 1,
4472  'PasswordCannotMatchUsername' => true,
4473  'PasswordCannotMatchBlacklist' => true,
4474  'MaximalPasswordLength' => 4096,
4475  ],
4476  ],
4477  'checks' => [
4478  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4479  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4480  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4481  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4482  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4483  'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4484  ],
4485 ];
4486 
4506 $wgAuthManagerConfig = null;
4507 
4512 $wgAuthManagerAutoConfig = [
4513  'preauth' => [
4516  'sort' => 0,
4517  ],
4520  'sort' => 0,
4521  ],
4522  ],
4523  'primaryauth' => [
4524  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4525  // any other PasswordAuthenticationRequest-based
4526  // PrimaryAuthenticationProvider (or at least any that might return
4527  // FAIL rather than ABSTAIN for a wrong password), or password reset
4528  // won't work right. Do not remove this (or change the key) or
4529  // auto-configuration of other such providers in extensions will
4530  // probably auto-insert themselves in the wrong place.
4533  'args' => [ [
4534  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4535  'authoritative' => false,
4536  ] ],
4537  'sort' => 0,
4538  ],
4541  'args' => [ [
4542  // Last one should be authoritative, or else the user will get
4543  // a less-than-helpful error message (something like "supplied
4544  // authentication info not supported" rather than "wrong
4545  // password") if it too fails.
4546  'authoritative' => true,
4547  ] ],
4548  'sort' => 100,
4549  ],
4550  ],
4551  'secondaryauth' => [
4554  'sort' => 0,
4555  ],
4558  'sort' => 100,
4559  ],
4560  // Linking during login is experimental, enable at your own risk - T134952
4561  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4562  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4563  // 'sort' => 100,
4564  // ],
4567  'sort' => 200,
4568  ],
4569  ],
4570 ];
4571 
4610 $wgReauthenticateTime = [
4611  'default' => 300,
4612 ];
4613 
4629 $wgAllowSecuritySensitiveOperationIfCannotReauthenticate = [
4630  'default' => true,
4631 ];
4632 
4642 $wgChangeCredentialsBlacklist = [
4644 ];
4645 
4655 $wgRemoveCredentialsBlacklist = [
4657 ];
4658 
4663 $wgPasswordSalt = true;
4664 
4670 $wgMinimalPasswordLength = false;
4671 
4683 $wgMaximalPasswordLength = false;
4684 
4690 $wgInvalidPasswordReset = true;
4691 
4697 $wgPasswordDefault = 'pbkdf2';
4698 
4718 $wgPasswordConfig = [
4719  'A' => [
4720  'class' => 'MWOldPassword',
4721  ],
4722  'B' => [
4723  'class' => 'MWSaltedPassword',
4724  ],
4725  'pbkdf2-legacyA' => [
4726  'class' => 'LayeredParameterizedPassword',
4727  'types' => [
4728  'A',
4729  'pbkdf2',
4730  ],
4731  ],
4732  'pbkdf2-legacyB' => [
4733  'class' => 'LayeredParameterizedPassword',
4734  'types' => [
4735  'B',
4736  'pbkdf2',
4737  ],
4738  ],
4739  'bcrypt' => [
4740  'class' => 'BcryptPassword',
4741  'cost' => 9,
4742  ],
4743  'pbkdf2' => [
4744  'class' => 'Pbkdf2Password',
4745  'algo' => 'sha512',
4746  'cost' => '30000',
4747  'length' => '64',
4748  ],
4749 ];
4750 
4757 $wgPasswordResetRoutes = [
4758  'username' => true,
4759  'email' => true,
4760 ];
4761 
4765 $wgMaxSigChars = 255;
4766 
4771 $wgMaxNameChars = 255;
4772 
4777 $wgReservedUsernames = [
4778  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
4779  'Conversion script', // Used for the old Wikipedia software upgrade
4780  'Maintenance script', // Maintenance scripts which perform editing, image import script
4781  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
4782  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
4783  'msg:double-redirect-fixer', // Automatic double redirect fix
4784  'msg:usermessage-editor', // Default user for leaving user messages
4785  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
4786  'msg:spambot_username', // Used by cleanupSpam.php
4787  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
4788 ];
4789 
4797  'ccmeonemails' => 0,
4798  'cols' => 80,
4799  'date' => 'default',
4800  'diffonly' => 0,
4801  'disablemail' => 0,
4802  'editfont' => 'default',
4803  'editondblclick' => 0,
4804  'editsectiononrightclick' => 0,
4805  'enotifminoredits' => 0,
4806  'enotifrevealaddr' => 0,
4807  'enotifusertalkpages' => 1,
4808  'enotifwatchlistpages' => 1,
4809  'extendwatchlist' => 1,
4810  'fancysig' => 0,
4811  'forceeditsummary' => 0,
4812  'gender' => 'unknown',
4813  'hideminor' => 0,
4814  'hidepatrolled' => 0,
4815  'hidecategorization' => 1,
4816  'imagesize' => 2,
4817  'math' => 1,
4818  'minordefault' => 0,
4819  'newpageshidepatrolled' => 0,
4820  'nickname' => '',
4821  'norollbackdiff' => 0,
4822  'numberheadings' => 0,
4823  'previewonfirst' => 0,
4824  'previewontop' => 1,
4825  'rcdays' => 7,
4826  'rclimit' => 50,
4827  'rows' => 25,
4828  'showhiddencats' => 0,
4829  'shownumberswatching' => 1,
4830  'showtoolbar' => 1,
4831  'skin' => false,
4832  'stubthreshold' => 0,
4833  'thumbsize' => 5,
4834  'underline' => 2,
4835  'uselivepreview' => 0,
4836  'usenewrc' => 1,
4837  'watchcreations' => 1,
4838  'watchdefault' => 1,
4839  'watchdeletion' => 0,
4840  'watchuploads' => 1,
4841  'watchlistdays' => 3.0,
4842  'watchlisthideanons' => 0,
4843  'watchlisthidebots' => 0,
4844  'watchlisthideliu' => 0,
4845  'watchlisthideminor' => 0,
4846  'watchlisthideown' => 0,
4847  'watchlisthidepatrolled' => 0,
4848  'watchlisthidecategorization' => 1,
4849  'watchlistreloadautomatically' => 0,
4850  'watchmoves' => 0,
4851  'watchrollback' => 0,
4852  'wllimit' => 250,
4853  'useeditwarning' => 1,
4854  'prefershttps' => 1,
4855 ];
4856 
4860 $wgHiddenPrefs = [];
4861 
4867 $wgInvalidUsernameCharacters = '@:';
4868 
4878 $wgUserrightsInterwikiDelimiter = '@';
4879 
4886 $wgSecureLogin = false;
4887 
4898 $wgAuthenticationTokenVersion = null;
4899 
4908 $wgSessionProviders = [
4911  'args' => [ [
4912  'priority' => 30,
4913  'callUserSetCookiesHook' => true,
4914  ] ],
4915  ],
4918  'args' => [ [
4919  'priority' => 75,
4920  ] ],
4921  ],
4922 ];
4923  # end user accounts }
4925 
4926 /************************************************************************/
4934 $wgAutoblockExpiry = 86400;
4935 
4939 $wgBlockAllowsUTEdit = true;
4940 
4944 $wgSysopEmailBans = true;
4945 
4960 $wgBlockCIDRLimit = [
4961  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
4962  'IPv6' => 19,
4963 ];
4964 
4972 $wgBlockDisablesLogin = false;
4973 
4991 $wgWhitelistRead = false;
4992 
5019 $wgWhitelistReadRegexp = false;
5020 
5025 $wgEmailConfirmToEdit = false;
5026 
5031 $wgHideIdentifiableRedirects = true;
5032 
5057 $wgGroupPermissions = [];
5058 
5060 // Implicit group for all visitors
5061 $wgGroupPermissions['*']['createaccount'] = true;
5062 $wgGroupPermissions['*']['read'] = true;
5063 $wgGroupPermissions['*']['edit'] = true;
5064 $wgGroupPermissions['*']['createpage'] = true;
5065 $wgGroupPermissions['*']['createtalk'] = true;
5066 $wgGroupPermissions['*']['writeapi'] = true;
5067 $wgGroupPermissions['*']['editmyusercss'] = true;
5068 $wgGroupPermissions['*']['editmyuserjs'] = true;
5069 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5070 $wgGroupPermissions['*']['editmywatchlist'] = true;
5071 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5072 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5073 $wgGroupPermissions['*']['editmyoptions'] = true;
5074 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5075 
5076 // Implicit group for all logged-in accounts
5077 $wgGroupPermissions['user']['move'] = true;
5078 $wgGroupPermissions['user']['move-subpages'] = true;
5079 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5080 $wgGroupPermissions['user']['move-categorypages'] = true;
5081 $wgGroupPermissions['user']['movefile'] = true;
5082 $wgGroupPermissions['user']['read'] = true;
5083 $wgGroupPermissions['user']['edit'] = true;
5084 $wgGroupPermissions['user']['createpage'] = true;
5085 $wgGroupPermissions['user']['createtalk'] = true;
5086 $wgGroupPermissions['user']['writeapi'] = true;
5087 $wgGroupPermissions['user']['upload'] = true;
5088 $wgGroupPermissions['user']['reupload'] = true;
5089 $wgGroupPermissions['user']['reupload-shared'] = true;
5090 $wgGroupPermissions['user']['minoredit'] = true;
5091 $wgGroupPermissions['user']['purge'] = true;
5092 $wgGroupPermissions['user']['sendemail'] = true;
5093 $wgGroupPermissions['user']['applychangetags'] = true;
5094 $wgGroupPermissions['user']['changetags'] = true;
5095 $wgGroupPermissions['user']['editcontentmodel'] = true;
5096 
5097 // Implicit group for accounts that pass $wgAutoConfirmAge
5098 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5099 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5100 
5101 // Users with bot privilege can have their edits hidden
5102 // from various log pages by default
5103 $wgGroupPermissions['bot']['bot'] = true;
5104 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5105 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5106 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5107 $wgGroupPermissions['bot']['autopatrol'] = true;
5108 $wgGroupPermissions['bot']['suppressredirect'] = true;
5109 $wgGroupPermissions['bot']['apihighlimits'] = true;
5110 $wgGroupPermissions['bot']['writeapi'] = true;
5111 
5112 // Most extra permission abilities go to this group
5113 $wgGroupPermissions['sysop']['block'] = true;
5114 $wgGroupPermissions['sysop']['createaccount'] = true;
5115 $wgGroupPermissions['sysop']['delete'] = true;
5116 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5117 $wgGroupPermissions['sysop']['bigdelete'] = true;
5118 // can view deleted history entries, but not see or restore the text
5119 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5120 // can view deleted revision text
5121 $wgGroupPermissions['sysop']['deletedtext'] = true;
5122 $wgGroupPermissions['sysop']['undelete'] = true;
5123 $wgGroupPermissions['sysop']['editinterface'] = true;
5124 $wgGroupPermissions['sysop']['editusercss'] = true;
5125 $wgGroupPermissions['sysop']['edituserjs'] = true;
5126 $wgGroupPermissions['sysop']['import'] = true;
5127 $wgGroupPermissions['sysop']['importupload'] = true;
5128 $wgGroupPermissions['sysop']['move'] = true;
5129 $wgGroupPermissions['sysop']['move-subpages'] = true;
5130 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5131 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5132 $wgGroupPermissions['sysop']['patrol'] = true;
5133 $wgGroupPermissions['sysop']['autopatrol'] = true;
5134 $wgGroupPermissions['sysop']['protect'] = true;
5135 $wgGroupPermissions['sysop']['editprotected'] = true;
5136 $wgGroupPermissions['sysop']['rollback'] = true;
5137 $wgGroupPermissions['sysop']['upload'] = true;
5138 $wgGroupPermissions['sysop']['reupload'] = true;
5139 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5140 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5141 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5142 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5143 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5144 $wgGroupPermissions['sysop']['blockemail'] = true;
5145 $wgGroupPermissions['sysop']['markbotedits'] = true;
5146 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5147 $wgGroupPermissions['sysop']['browsearchive'] = true;
5148 $wgGroupPermissions['sysop']['noratelimit'] = true;
5149 $wgGroupPermissions['sysop']['movefile'] = true;
5150 $wgGroupPermissions['sysop']['unblockself'] = true;
5151 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5152 # $wgGroupPermissions['sysop']['pagelang'] = true;
5153 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5154 $wgGroupPermissions['sysop']['mergehistory'] = true;
5155 $wgGroupPermissions['sysop']['managechangetags'] = true;
5156 $wgGroupPermissions['sysop']['deletechangetags'] = true;
5157 
5158 // Permission to change users' group assignments
5159 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5160 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5161 // Permission to change users' groups assignments across wikis
5162 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5163 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5164 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5165 
5166 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5167 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5168 // To hide usernames from users and Sysops
5169 # $wgGroupPermissions['suppress']['hideuser'] = true;
5170 // To hide revisions/log items from users and Sysops
5171 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5172 // To view revisions/log items hidden from users and Sysops
5173 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5174 // For private suppression log access
5175 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5176 
5183 # $wgGroupPermissions['developer']['siteadmin'] = true;
5184 
5196 $wgRevokePermissions = [];
5197 
5201 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5202 
5224 $wgGroupsAddToSelf = [];
5225 
5229 $wgGroupsRemoveFromSelf = [];
5230 
5238 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5239 
5251 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5252 
5262 $wgCascadingRestrictionLevels = [ 'sysop' ];
5263 
5276 $wgSemiprotectedRestrictionLevels = [ 'autoconfirmed' ];
5277 
5286 
5296 $wgNonincludableNamespaces = [];
5297 
5318 $wgAutoConfirmAge = 0;
5319 
5329 $wgAutoConfirmCount = 0;
5330 
5354 $wgAutopromote = [
5355  'autoconfirmed' => [ '&',
5356  [ APCOND_EDITCOUNT, &$wgAutoConfirmCount ],
5357  [ APCOND_AGE, &$wgAutoConfirmAge ],
5358  ],
5359 ];
5360 
5379 $wgAutopromoteOnce = [
5380  'onEdit' => [],
5381 ];
5382 
5387 $wgAutopromoteOnceLogInRC = true;
5388 
5411 $wgAddGroups = [];
5412 
5416 $wgRemoveGroups = [];
5417 
5422 $wgAvailableRights = [];
5423 
5428 $wgDeleteRevisionsLimit = 0;
5429 
5437 $wgHideUserContribLimit = 1000;
5438 
5460 $wgAccountCreationThrottle = [ [
5461  'count' => 0,
5462  'seconds' => 86400,
5463 ] ];
5464 
5476 $wgSpamRegex = [];
5477 
5481 $wgSummarySpamRegex = [];
5482 
5488 $wgEnableDnsBlacklist = false;
5489 
5513 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
5514 
5519 $wgProxyWhitelist = [];
5520 
5526 $wgApplyIpBlocksToXff = false;
5527 
5563 $wgRateLimits = [
5564  // Page edits
5565  'edit' => [
5566  'ip' => [ 8, 60 ],
5567  'newbie' => [ 8, 60 ],
5568  ],
5569  // Page moves
5570  'move' => [
5571  'newbie' => [ 2, 120 ],
5572  'user' => [ 8, 60 ],
5573  ],
5574  // File uploads
5575  'upload' => [
5576  'ip' => [ 8, 60 ],
5577  'newbie' => [ 8, 60 ],
5578  ],
5579  // Page rollbacks
5580  'rollback' => [
5581  'user' => [ 10, 60 ],
5582  'newbie' => [ 5, 120 ]
5583  ],
5584  // Triggering password resets emails
5585  'mailpassword' => [
5586  'ip' => [ 5, 3600 ],
5587  ],
5588  // Emailing other users using MediaWiki
5589  'emailuser' => [
5590  'ip' => [ 5, 86400 ],
5591  'newbie' => [ 5, 86400 ],
5592  'user' => [ 20, 86400 ],
5593  ],
5594  // Purging pages
5595  'purge' => [
5596  'ip' => [ 30, 60 ],
5597  'user' => [ 30, 60 ],
5598  ],
5599  // Purges of link tables
5600  'linkpurge' => [
5601  'ip' => [ 30, 60 ],
5602  'user' => [ 30, 60 ],
5603  ],
5604  // Files rendered via thumb.php or thumb_handler.php
5605  'renderfile' => [
5606  'ip' => [ 700, 30 ],
5607  'user' => [ 700, 30 ],
5608  ],
5609  // Same as above but for non-standard thumbnails
5610  'renderfile-nonstandard' => [
5611  'ip' => [ 70, 30 ],
5612  'user' => [ 70, 30 ],
5613  ],
5614  // Stashing edits into cache before save
5615  'stashedit' => [
5616  'ip' => [ 30, 60 ],
5617  'newbie' => [ 30, 60 ],
5618  ],
5619  // Adding or removing change tags
5620  'changetag' => [
5621  'ip' => [ 8, 60 ],
5622  'newbie' => [ 8, 60 ],
5623  ],
5624  // Changing the content model of a page
5625  'editcontentmodel' => [
5626  'newbie' => [ 2, 120 ],
5627  'user' => [ 8, 60 ],
5628  ],
5629 ];
5630 
5635 $wgRateLimitsExcludedIPs = [];
5636 
5642 $wgPutIPinRC = true;
5643 
5648 $wgQueryPageDefaultLimit = 50;
5649 
5662 $wgPasswordAttemptThrottle = [
5663  // Short term limit
5664  [ 'count' => 5, 'seconds' => 300 ],
5665  // Long term limit. We need to balance the risk
5666  // of somebody using this as a DoS attack to lock someone
5667  // out of their account, and someone doing a brute force attack.
5668  [ 'count' => 150, 'seconds' => 60*60*48 ],
5669 ];
5670 
5681 $wgGrantPermissions = [];
5682 
5683 // @TODO: clean up grants
5684 // @TODO: auto-include read/editsemiprotected rights?
5685 
5686 $wgGrantPermissions['basic']['autoconfirmed'] = true;
5687 $wgGrantPermissions['basic']['autopatrol'] = true;
5688 $wgGrantPermissions['basic']['editsemiprotected'] = true;
5689 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
5690 $wgGrantPermissions['basic']['nominornewtalk'] = true;
5691 $wgGrantPermissions['basic']['patrolmarks'] = true;
5692 $wgGrantPermissions['basic']['purge'] = true;
5693 $wgGrantPermissions['basic']['read'] = true;
5694 $wgGrantPermissions['basic']['skipcaptcha'] = true;
5695 $wgGrantPermissions['basic']['writeapi'] = true;
5696 
5697 $wgGrantPermissions['highvolume']['bot'] = true;
5698 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
5699 $wgGrantPermissions['highvolume']['noratelimit'] = true;
5700 $wgGrantPermissions['highvolume']['markbotedits'] = true;
5701 
5702 $wgGrantPermissions['editpage']['edit'] = true;
5703 $wgGrantPermissions['editpage']['minoredit'] = true;
5704 $wgGrantPermissions['editpage']['applychangetags'] = true;
5705 $wgGrantPermissions['editpage']['changetags'] = true;
5706 
5707 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
5708 $wgGrantPermissions['editprotected']['editprotected'] = true;
5709 
5710 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
5711 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
5712 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
5713 
5714 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
5715 
5716 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
5717 $wgGrantPermissions['editinterface']['editinterface'] = true;
5718 $wgGrantPermissions['editinterface']['editusercss'] = true;
5719 $wgGrantPermissions['editinterface']['edituserjs'] = true;
5720 
5721 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
5722 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
5723 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
5724 $wgGrantPermissions['createeditmovepage']['move'] = true;
5725 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
5726 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
5727 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
5728 
5729 $wgGrantPermissions['uploadfile']['upload'] = true;
5730 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
5731 
5732 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
5733 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
5734 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
5735 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
5736 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
5737 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
5738 
5739 $wgGrantPermissions['patrol']['patrol'] = true;
5740 
5741 $wgGrantPermissions['rollback']['rollback'] = true;
5742 
5743 $wgGrantPermissions['blockusers']['block'] = true;
5744 $wgGrantPermissions['blockusers']['blockemail'] = true;
5745 
5746 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
5747 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
5748 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
5749 
5750 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
5751  $wgGrantPermissions['viewdeleted'];
5752 $wgGrantPermissions['delete']['delete'] = true;
5753 $wgGrantPermissions['delete']['bigdelete'] = true;
5754 $wgGrantPermissions['delete']['deletelogentry'] = true;
5755 $wgGrantPermissions['delete']['deleterevision'] = true;
5756 $wgGrantPermissions['delete']['undelete'] = true;
5757 
5758 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
5759 $wgGrantPermissions['protect']['protect'] = true;
5760 
5761 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
5762 
5763 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
5764 
5765 $wgGrantPermissions['sendemail']['sendemail'] = true;
5766 
5767 $wgGrantPermissions['createaccount']['createaccount'] = true;
5768 
5769 $wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
5770 
5775 $wgGrantPermissionGroups = [
5776  // Hidden grants are implicitly present
5777  'basic' => 'hidden',
5778 
5779  'editpage' => 'page-interaction',
5780  'createeditmovepage' => 'page-interaction',
5781  'editprotected' => 'page-interaction',
5782  'patrol' => 'page-interaction',
5783 
5784  'uploadfile' => 'file-interaction',
5785  'uploadeditmovefile' => 'file-interaction',
5786 
5787  'sendemail' => 'email',
5788 
5789  'viewmywatchlist' => 'watchlist-interaction',
5790  'editviewmywatchlist' => 'watchlist-interaction',
5791 
5792  'editmycssjs' => 'customization',
5793  'editmyoptions' => 'customization',
5794 
5795  'editinterface' => 'administration',
5796  'rollback' => 'administration',
5797  'blockusers' => 'administration',
5798  'delete' => 'administration',
5799  'viewdeleted' => 'administration',
5800  'protect' => 'administration',
5801  'createaccount' => 'administration',
5802 
5803  'highvolume' => 'high-volume',
5804 
5805  'privateinfo' => 'private-information',
5806 ];
5807 
5812 $wgEnableBotPasswords = true;
5813 
5819 $wgBotPasswordsCluster = false;
5820 
5829 $wgBotPasswordsDatabase = false;
5830  # end of user rights settings
5832 
5833 /************************************************************************/
5841 $wgSecretKey = false;
5842 
5852 $wgProxyList = [];
5853  # end of proxy scanner settings
5855 
5856 /************************************************************************/
5864 $wgCookieExpiration = 180 * 86400;
5865 
5872 $wgExtendedLoginCookieExpiration = null;
5873 
5878 $wgCookieDomain = '';
5879 
5884 $wgCookiePath = '/';
5885 
5892 $wgCookieSecure = 'detect';
5893 
5900 $wgDisableCookieCheck = false;
5901 
5907 $wgCookiePrefix = false;
5908 
5914 $wgCookieHttpOnly = true;
5915 
5919 $wgCacheVaryCookies = [];
5920 
5924 $wgSessionName = false;
5925  # end of cookie settings }
5927 
5928 /************************************************************************/
5939 $wgUseTeX = false;
5940  # end LaTeX }
5942 
5943 /************************************************************************/
5956 $wgDebugLogFile = '';
5957 
5961 $wgDebugLogPrefix = '';
5962 
5968 $wgDebugRedirects = false;
5969 
5975 $wgDebugRawPage = false;
5976 
5985 $wgDebugComments = false;
5986 
5995 $wgDebugDumpSql = false;
5996 
6002 $wgTrxProfilerLimits = [
6003  // HTTP GET/HEAD requests.
6004  // Master queries should not happen on GET requests
6005  'GET' => [
6006  'masterConns' => 0,
6007  'writes' => 0,
6008  'readQueryTime' => 5
6009  ],
6010  // HTTP POST requests.
6011  // Master reads and writes will happen for a subset of these.
6012  'POST' => [
6013  'readQueryTime' => 5,
6014  'writeQueryTime' => 1,
6015  'maxAffected' => 1000
6016  ],
6017  'POST-nonwrite' => [
6018  'masterConns' => 0,
6019  'writes' => 0,
6020  'readQueryTime' => 5
6021  ],
6022  // Deferred updates that run after HTTP response is sent
6023  'PostSend' => [
6024  'readQueryTime' => 5,
6025  'writeQueryTime' => 1,
6026  'maxAffected' => 1000
6027  ],
6028  // Background job runner
6029  'JobRunner' => [
6030  'readQueryTime' => 30,
6031  'writeQueryTime' => 5,
6032  'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
6033  ],
6034  // Command-line scripts
6035  'Maintenance' => [
6036  'writeQueryTime' => 5,
6037  'maxAffected' => 1000
6038  ]
6039 ];
6040 
6071 $wgDebugLogGroups = [];
6072 
6094 $wgMWLoggerDefaultSpi = [
6095  'class' => '\\MediaWiki\\Logger\\LegacySpi',
6096 ];
6097 
6103 $wgShowDebug = false;
6104 
6109 $wgDebugTimestamps = false;
6110 
6114 $wgDebugPrintHttpHeaders = true;
6115 
6119 $wgSpecialVersionShowHooks = false;
6120 
6126 $wgShowSQLErrors = false;
6127 
6134 $wgShowExceptionDetails = false;
6135 
6144 $wgShowDBErrorBacktrace = false;
6145 
6149 $wgLogExceptionBacktrace = true;
6150 
6154 $wgShowHostnames = false;
6155 
6161 $wgOverrideHostname = false;
6162 
6167 $wgDevelopmentWarnings = false;
6168 
6174 $wgDeprecationReleaseLimit = false;
6175 
6180 $wgProfileLimit = 0.0;
6181 
6188 $wgProfileOnly = false;
6189 
6200 $wgStatsdServer = false;
6201 
6209 $wgStatsdMetricPrefix = 'MediaWiki';
6210 
6217 $wgStatsdSamplingRates = [];
6218 
6224 $wgPageInfoTransclusionLimit = 50;
6225 
6232 $wgSiteStatsAsyncFactor = false;
6233 
6243 $wgParserTestFiles = [
6244  "$IP/tests/parser/parserTests.txt",
6245  "$IP/tests/parser/extraParserTests.txt"
6246 ];
6247 
6251 $wgEnableJavaScriptTest = false;
6252 
6257 $wgCachePrefix = false;
6258 
6266 $wgDebugToolbar = false;
6267  # end of profiling, testing and debugging }
6269 
6270 /************************************************************************/
6278 $wgDisableTextSearch = false;
6279 
6284 $wgAdvancedSearchHighlighting = false;
6285 
6290 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6291 
6302 $wgOpenSearchTemplate = false;
6303 
6312 $wgOpenSearchTemplates = [
6313  'application/x-suggestions+json' => false,
6314  'application/x-suggestions+xml' => false,
6315 ];
6316 
6323 $wgEnableOpenSearchSuggest = true;
6324 
6329 $wgOpenSearchDefaultLimit = 10;
6330 
6334 $wgOpenSearchDescriptionLength = 100;
6335 
6339 $wgSearchSuggestCacheExpiry = 1200;
6340 
6345 $wgDisableSearchUpdate = false;
6346 
6356 $wgNamespacesToBeSearchedDefault = [
6357  NS_MAIN => true,
6358 ];
6359 
6364 $wgDisableInternalSearch = false;
6365 
6381 $wgSearchForwardUrl = null;
6382 
6388 $wgUseTwoButtonsSearchForm = true;
6389 
6395 $wgSitemapNamespaces = false;
6396 
6411 $wgSitemapNamespacesPriorities = false;
6412 
6418 $wgEnableSearchContributorsByIP = true;
6419  # end of search settings
6421 
6422 /************************************************************************/
6431 $wgDiff3 = '/usr/bin/diff3';
6432 
6436 $wgDiff = '/usr/bin/diff';
6437 
6443 $wgPreviewOnOpenNamespaces = [
6444  NS_CATEGORY => true
6445 ];
6446 
6452 $wgUniversalEditButton = true;
6453 
6459 $wgUseAutomaticEditSummaries = true;
6460  # end edit UI }
6462 
6463 /************************************************************************/
6473 if ( !isset( $wgCommandLineMode ) ) {
6474  $wgCommandLineMode = false;
6475 }
6481 $wgCommandLineDarkBg = false;
6482 
6491 $wgReadOnly = null;
6492 
6500 $wgReadOnlyFile = false;
6501 
6511 $wgUpgradeKey = false;
6512 
6516 $wgGitBin = '/usr/bin/git';
6517 
6531 $wgGitRepositoryViewers = [
6532  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6533  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6534  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6535  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6536 ];
6537  # End of maintenance }
6539 
6540 /************************************************************************/
6550 $wgRCMaxAge = 90 * 24 * 3600;
6551 
6557 $wgWatchersMaxAge = 180 * 24 * 3600;
6558 
6565 $wgUnwatchedPageSecret = 1;
6566 
6574 $wgRCFilterByAge = false;
6575 
6580 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
6581 
6586 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
6587 
6629 $wgRCFeeds = [];
6630 
6635 $wgRCEngines = [
6636  'redis' => 'RedisPubSubFeedEngine',
6637  'udp' => 'UDPRCFeedEngine',
6638 ];
6639 
6651 $wgRCWatchCategoryMembership = false;
6652 
6657 $wgUseRCPatrol = true;
6658 
6662 $wgUseNPPatrol = true;
6663 
6669 $wgUseFilePatrol = true;
6670 
6674 $wgLogAutopatrol = true;
6675 
6679 $wgFeed = true;
6680 
6685 $wgFeedLimit = 50;
6686 
6695 $wgFeedCacheTimeout = 60;
6696 
6701 $wgFeedDiffCutoff = 32768;
6702 
6715 $wgOverrideSiteFeed = [];
6716 
6722 $wgFeedClasses = [
6723  'rss' => 'RSSFeed',
6724  'atom' => 'AtomFeed',
6725 ];
6726 
6731 $wgAdvertisedFeedTypes = [ 'atom' ];
6732 
6736 $wgRCShowWatchingUsers = false; # UPO
6737 
6741 $wgRCShowChangedSize = true;
6742 
6748 $wgRCChangedSizeThreshold = 500;
6749 
6754 $wgShowUpdatedMarker = true;
6755 
6760 $wgDisableAnonTalk = false;
6761 
6765 $wgAllowCategorizedRecentChanges = false;
6766 
6771 $wgUseTagFilter = true;
6772 
6780 $wgUnwatchedPageThreshold = false;
6781 
6806 $wgRecentChangesFlags = [
6807  'newpage' => [
6808  'letter' => 'newpageletter',
6809  'title' => 'recentchanges-label-newpage',
6810  'legend' => 'recentchanges-legend-newpage',
6811  'grouping' => 'any',
6812  ],
6813  'minor' => [
6814  'letter' => 'minoreditletter',
6815  'title' => 'recentchanges-label-minor',
6816  'legend' => 'recentchanges-legend-minor',
6817  'class' => 'minoredit',
6818  'grouping' => 'all',
6819  ],
6820  'bot' => [
6821  'letter' => 'boteditletter',
6822  'title' => 'recentchanges-label-bot',
6823  'legend' => 'recentchanges-legend-bot',
6824  'class' => 'botedit',
6825  'grouping' => 'all',
6826  ],
6827  'unpatrolled' => [
6828  'letter' => 'unpatrolledletter',
6829  'title' => 'recentchanges-label-unpatrolled',
6830  'legend' => 'recentchanges-legend-unpatrolled',
6831  'grouping' => 'any',
6832  ],
6833 ];
6834  # end RC/watchlist }
6836 
6837 /************************************************************************/
6849 $wgRightsPage = null;
6850 
6856 $wgRightsUrl = null;
6857 
6864 $wgRightsText = null;
6865 
6869 $wgRightsIcon = null;
6870 
6874 $wgUseCopyrightUpload = false;
6875 
6883 $wgMaxCredits = 0;
6884 
6889 $wgShowCreditsIfMax = true;
6890  # end of copyright and credits settings }
6892 
6893 /************************************************************************/
6920 $wgImportSources = [];
6921 
6929 $wgImportTargetNamespace = null;
6930 
6936 $wgExportAllowHistory = true;
6937 
6943 $wgExportMaxHistory = 0;
6944 
6948 $wgExportAllowListContributors = false;
6949 
6961 $wgExportMaxLinkDepth = 0;
6962 
6966 $wgExportFromNamespaces = false;
6967 
6971 $wgExportAllowAll = false;
6972 
6979 $wgExportPagelistLimit = 5000;
6980  # end of import/export }
6982 
6983 /*************************************************************************/
6992 $wgExtensionFunctions = [];
6993 
7021 
7047 $wgMessagesDirs = [];
7048 
7054 $wgExtensionEntryPointListFiles = [];
7055 
7070 $wgParserOutputHooks = [];
7071 
7075 $wgEnableParserLimitReporting = true;
7076 
7085 $wgValidSkinNames = [];
7086 
7093 $wgSpecialPages = [];
7094 
7098 $wgAutoloadClasses = [];
7099 
7105 $wgAutoloadAttemptLowercase = true;
7106 
7159 $wgExtensionCredits = [];
7160 
7166 $wgAuth = null;
7167 
7202 $wgHooks = [];
7203 
7216  __DIR__ . '/ServiceWiring.php'
7217 ];
7218 
7223 $wgJobClasses = [
7224  'refreshLinks' => 'RefreshLinksJob',
7225  'deleteLinks' => 'DeleteLinksJob',
7226  'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
7227  'sendMail' => 'EmaillingJob',
7228  'enotifNotify' => 'EnotifNotifyJob',
7229  'fixDoubleRedirect' => 'DoubleRedirectJob',
7230  'AssembleUploadChunks' => 'AssembleUploadChunksJob',
7231  'PublishStashedFile' => 'PublishStashedFileJob',
7232  'ThumbnailRender' => 'ThumbnailRenderJob',
7233  'recentChangesUpdate' => 'RecentChangesUpdateJob',
7234  'refreshLinksPrioritized' => 'RefreshLinksJob',
7235  'refreshLinksDynamic' => 'RefreshLinksJob',
7236  'activityUpdateJob' => 'ActivityUpdateJob',
7237  'categoryMembershipChange' => 'CategoryMembershipChangeJob',
7238  'cdnPurge' => 'CdnPurgeJob',
7239  'enqueue' => 'EnqueueJob', // local queue for multi-DC setups
7240  'null' => 'NullJob'
7241 ];
7242 
7254 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7255 
7265 $wgJobBackoffThrottling = [];
7266 
7280 $wgJobSerialCommitThreshold = false;
7281 
7288 $wgJobTypeConf = [
7289  'default' => [ 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ],
7290 ];
7291 
7296 $wgJobQueueAggregator = [
7297  'class' => 'JobQueueAggregatorNull'
7298 ];
7299 
7304 $wgSpecialPageCacheUpdates = [
7305  'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
7306 ];
7307 
7315 $wgExceptionHooks = [];
7316 
7324 $wgPagePropLinkInvalidations = [
7325  'hiddencat' => 'categorylinks',
7326 ];
7327  # End extensions }
7329 
7330 /*************************************************************************/
7338 $wgUseCategoryBrowser = false;
7339 
7344 $wgCategoryMagicGallery = true;
7345 
7349 $wgCategoryPagingLimit = 200;
7350 
7376 $wgCategoryCollation = 'uppercase';
7377  # End categories }
7379 
7380 /*************************************************************************/
7391 $wgLogTypes = [
7392  '',
7393  'block',
7394  'protect',
7395  'rights',
7396  'delete',
7397  'upload',
7398  'move',
7399  'import',
7400  'patrol',
7401  'merge',
7402  'suppress',
7403  'tag',
7404  'managetags',
7405  'contentmodel',
7406 ];
7407 
7415 $wgLogRestrictions = [
7416  'suppress' => 'suppressionlog'
7417 ];
7418 
7438 $wgFilterLogTypes = [
7439  'patrol' => true,
7440  'tag' => true,
7441 ];
7442 
7452 $wgLogNames = [
7453  '' => 'all-logs-page',
7454  'block' => 'blocklogpage',
7455  'protect' => 'protectlogpage',
7456  'rights' => 'rightslog',
7457  'delete' => 'dellogpage',
7458  'upload' => 'uploadlogpage',
7459  'move' => 'movelogpage',
7460  'import' => 'importlogpage',
7461  'patrol' => 'patrol-log-page',
7462  'merge' => 'mergelog',
7463  'suppress' => 'suppressionlog',
7464 ];
7465 
7475 $wgLogHeaders = [
7476  '' => 'alllogstext',
7477  'block' => 'blocklogtext',
7478  'delete' => 'dellogpagetext',
7479  'import' => 'importlogpagetext',
7480  'merge' => 'mergelogpagetext',
7481  'move' => 'movelogpagetext',
7482  'patrol' => 'patrol-log-header',
7483  'protect' => 'protectlogtext',
7484  'rights' => 'rightslogtext',
7485  'suppress' => 'suppressionlogtext',
7486  'upload' => 'uploadlogpagetext',
7487 ];
7488 
7495 $wgLogActions = [];
7496 
7503 $wgLogActionsHandlers = [
7504  'block/block' => 'BlockLogFormatter',
7505  'block/reblock' => 'BlockLogFormatter',
7506  'block/unblock' => 'BlockLogFormatter',
7507  'contentmodel/change' => 'ContentModelLogFormatter',
7508  'contentmodel/new' => 'ContentModelLogFormatter',
7509  'delete/delete' => 'DeleteLogFormatter',
7510  'delete/delete_redir' => 'DeleteLogFormatter',
7511  'delete/event' => 'DeleteLogFormatter',
7512  'delete/restore' => 'DeleteLogFormatter',
7513  'delete/revision' => 'DeleteLogFormatter',
7514  'import/interwiki' => 'ImportLogFormatter',
7515  'import/upload' => 'ImportLogFormatter',
7516  'managetags/activate' => 'LogFormatter',
7517  'managetags/create' => 'LogFormatter',
7518  'managetags/deactivate' => 'LogFormatter',
7519  'managetags/delete' => 'LogFormatter',
7520  'merge/merge' => 'MergeLogFormatter',
7521  'move/move' => 'MoveLogFormatter',
7522  'move/move_redir' => 'MoveLogFormatter',
7523  'patrol/patrol' => 'PatrolLogFormatter',
7524  'patrol/autopatrol' => 'PatrolLogFormatter',
7525  'protect/modify' => 'ProtectLogFormatter',
7526  'protect/move_prot' => 'ProtectLogFormatter',
7527  'protect/protect' => 'ProtectLogFormatter',
7528  'protect/unprotect' => 'ProtectLogFormatter',
7529  'rights/autopromote' => 'RightsLogFormatter',
7530  'rights/rights' => 'RightsLogFormatter',
7531  'suppress/block' => 'BlockLogFormatter',
7532  'suppress/delete' => 'DeleteLogFormatter',
7533  'suppress/event' => 'DeleteLogFormatter',
7534  'suppress/reblock' => 'BlockLogFormatter',
7535  'suppress/revision' => 'DeleteLogFormatter',
7536  'tag/update' => 'TagLogFormatter',
7537  'upload/overwrite' => 'UploadLogFormatter',
7538  'upload/revert' => 'UploadLogFormatter',
7539  'upload/upload' => 'UploadLogFormatter',
7540 ];
7541 
7550 $wgActionFilteredLogs = [
7551  'block' => [
7552  'block' => [ 'block' ],
7553  'reblock' => [ 'reblock' ],
7554  'unblock' => [ 'unblock' ],
7555  ],
7556  'contentmodel' => [
7557  'change' => [ 'change' ],
7558  'new' => [ 'new' ],
7559  ],
7560  'delete' => [
7561  'delete' => [ 'delete' ],
7562  'delete_redir' => [ 'delete_redir' ],
7563  'restore' => [ 'restore' ],
7564  'event' => [ 'event' ],
7565  'revision' => [ 'revision' ],
7566  ],
7567  'import' => [
7568  'interwiki' => [ 'interwiki' ],
7569  'upload' => [ 'upload' ],
7570  ],
7571  'managetags' => [
7572  'create' => [ 'create' ],
7573  'delete' => [ 'delete' ],
7574  'activate' => [ 'activate' ],
7575  'deactivate' => [ 'deactivate' ],
7576  ],
7577  'move' => [
7578  'move' => [ 'move' ],
7579  'move_redir' => [ 'move_redir' ],
7580  ],
7581  'newusers' => [
7582  'create' => [ 'create', 'newusers' ],
7583  'create2' => [ 'create2' ],
7584  'autocreate' => [ 'autocreate' ],
7585  'byemail' => [ 'byemail' ],
7586  ],
7587  'patrol' => [
7588  'patrol' => [ 'patrol' ],
7589  'autopatrol' => [ 'autopatrol' ],
7590  ],
7591  'protect' => [
7592  'protect' => [ 'protect' ],
7593  'modify' => [ 'modify' ],
7594  'unprotect' => [ 'unprotect' ],
7595  'move_prot' => [ 'move_prot' ],
7596  ],
7597  'rights' => [
7598  'rights' => [ 'rights' ],
7599  'autopromote' => [ 'autopromote' ],
7600  ],
7601  'suppress' => [
7602  'event' => [ 'event' ],
7603  'revision' => [ 'revision' ],
7604  'delete' => [ 'delete' ],
7605  'block' => [ 'block' ],
7606  'reblock' => [ 'reblock' ],
7607  ],
7608  'upload' => [
7609  'upload' => [ 'upload' ],
7610  'overwrite' => [ 'overwrite' ],
7611  ],
7612 ];
7613 
7617 $wgNewUserLog = true;
7618  # end logging }
7620 
7621 /*************************************************************************/
7629 $wgAllowSpecialInclusion = true;
7630 
7635 $wgDisableQueryPageUpdate = false;
7636 
7641 $wgCountCategorizedImagesAsUsed = false;
7642 
7647 $wgMaxRedirectLinksRetrieved = 500;
7648  # end special pages }
7650 
7651 /*************************************************************************/
7666 $wgActions = [
7667  'credits' => true,
7668  'delete' => true,
7669  'edit' => true,
7670  'editchangetags' => 'SpecialPageAction',
7671  'history' => true,
7672  'info' => true,
7673  'markpatrolled' => true,
7674  'protect' => true,
7675  'purge' => true,
7676  'raw' => true,
7677  'render' => true,
7678  'revert' => true,
7679  'revisiondelete' => 'SpecialPageAction',
7680  'rollback' => true,
7681  'submit' => true,
7682  'unprotect' => true,
7683  'unwatch' => true,
7684  'view' => true,
7685  'watch' => true,
7686 ];
7687  # end actions }
7689 
7690 /*************************************************************************/
7701 $wgDefaultRobotPolicy = 'index,follow';
7702 
7717 $wgNamespaceRobotPolicies = [];
7718 
7745 $wgArticleRobotPolicies = [];
7746 
7757 $wgExemptFromUserRobotsControl = null;
7758  # End robot policy }
7760 
7761 /************************************************************************/
7775 $wgEnableAPI = true;
7776 
7782 $wgEnableWriteAPI = true;
7783 
7798 $wgDebugAPI = false;
7799 
7836 $wgAPIModules = [];
7837 
7845 $wgAPIFormatModules = [];
7846 
7854 $wgAPIMetaModules = [];
7855 
7863 $wgAPIPropModules = [];
7864 
7872 $wgAPIListModules = [];
7873 
7878 $wgAPIMaxDBRows = 5000;
7879 
7884 $wgAPIMaxResultSize = 8388608;
7885 
7890 $wgAPIMaxUncachedDiffs = 1;
7891 
7897 $wgAPIMaxLagThreshold = 7;
7898 
7903 $wgAPIRequestLog = false;
7904 
7908 $wgAPICacheHelpTimeout = 60 * 60;
7909 
7914 $wgAPIUselessQueryPages = [
7915  'MIMEsearch', // aiprop=mime
7916  'LinkSearch', // list=exturlusage
7917  'FileDuplicateSearch', // prop=duplicatefiles
7918 ];
7919 
7923 $wgUseAjax = true;
7924 
7930 $wgAjaxExportList = [];
7931 
7935 $wgAjaxUploadDestCheck = true;
7936 
7940 $wgAjaxLicensePreview = true;
7941 
7946 $wgAjaxEditStash = true;
7947 
7968 $wgCrossSiteAJAXdomains = [];
7969 
7975 $wgCrossSiteAJAXdomainExceptions = [];
7976  # End AJAX and API }
7978 
7979 /************************************************************************/
7987 $wgMaxShellMemory = 307200;
7988 
7993 $wgMaxShellFileSize = 102400;
7994 
7998 $wgMaxShellTime = 180;
7999 
8004 $wgMaxShellWallClockTime = 180;
8005 
8029 $wgShellCgroup = false;
8030 
8034 $wgPhpCli = '/usr/bin/php';
8035 
8041 $wgShellLocale = 'en_US.utf8';
8042  # End shell }
8044 
8045 /************************************************************************/
8053 $wgHTTPTimeout = 25;
8054 
8058 $wgAsyncHTTPTimeout = 25;
8059 
8063 $wgHTTPProxy = false;
8064 
8075 $wgLocalVirtualHosts = [];
8076 
8081 $wgHTTPConnectTimeout = 5e0;
8082  # End HTTP client }
8084 
8085 /************************************************************************/
8096 $wgJobRunRate = 1;
8097 
8105 $wgRunJobsAsync = false;
8106 
8110 $wgUpdateRowsPerJob = 300;
8111 
8115 $wgUpdateRowsPerQuery = 100;
8116  # End job queue }
8118 
8119 /************************************************************************/
8130 $wgExternalDiffEngine = false;
8131 
8140 $wgDisableHardRedirects = false;
8141 
8146 $wgLinkHolderBatchSize = 1000;
8147 
8152 $wgRegisterInternalExternals = false;
8153 
8157 $wgMaximumMovedPages = 100;
8158 
8163 $wgFixDoubleRedirects = false;
8164 
8169 $wgRedirectOnLogin = null;
8170 
8191 $wgPoolCounterConf = null;
8192 
8196 $wgUploadMaintenance = false;
8197 
8206 $wgNamespaceContentModels = [];
8207 
8218 $wgContentHandlerTextFallback = 'ignore';
8219 
8233 $wgContentHandlerUseDB = true;
8234 
8245 $wgTextModelsToParse = [
8246  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
8247  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
8248  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
8249 ];
8250 
8256 $wgSiteTypes = [
8257  'mediawiki' => 'MediaWikiSite',
8258 ];
8259 
8265 $wgPagePropsHaveSortkey = true;
8266 
8273 $wgHttpsPort = 443;
8274 
8281 $wgSessionSecret = false;
8282 
8290 $wgSessionInsecureSecrets = false;
8291 
8300 $wgHKDFSecret = false;
8301 
8308 $wgHKDFAlgorithm = 'sha256';
8309 
8316 $wgPageLanguageUseDB = false;
8317 
8356  'paths' => [],
8357  'modules' => [],
8358  'global' => [
8359  # Timeout in seconds
8360  'timeout' => 360,
8361  # 'domain' is set to $wgCanonicalServer in Setup.php
8362  'forwardCookies' => false,
8363  'HTTPProxy' => null
8364  ]
8365 ];
8366 
8374 $wgSearchRunSuggestedQuery = true;
8375 
8387 $wgPopularPasswordFile = __DIR__ . '/../serialized/commonpasswords.cdb';
8388 
8389 /*
8390  * Max time (in seconds) a user-generated transaction can spend in writes.
8391  * If exceeded, the transaction is rolled back with an error instead of being committed.
8392  *
8393  * @var int|bool Disabled if false
8394  * @since 1.27
8395  */
8396 $wgMaxUserDBWriteDuration = false;
8397 
8417 $wgEventRelayerConfig = [
8418  'default' => [
8419  'class' => 'EventRelayerNull',
8420  ]
8421 ];
8422 
8436 $wgPingback = false;
8437 
8446 $wgCSPFalsePositiveUrls = [
8447  'https://3hub.co' => true,
8448  'https://morepro.info' => true,
8449  'https://p.ato.mx' => true,
8450  'https://s.ato.mx' => true,
8451  'https://adserver.adtech.de' => true,
8452  'https://ums.adtechus.com' => true,
8453  'https://cas.criteo.com' => true,
8454  'https://cat.nl.eu.criteo.com' => true,
8455  'https://atpixel.alephd.com' => true,
8456  'https://rtb.metrigo.com' => true,
8457  'https://d5p.de17a.com' => true,
8458 ];
8459 
$wgPasswordSenderName
Sender name for e-mail notifications.
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
$wgForeignFileRepos
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
$wgResourceLoaderLESSVars
Global LESS variables.
$wgUseInstantCommons
Use Commons as a remote file repository.
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:2696
$wgEditSubmitButtonLabelPublish
Whether to label the store-to-database-and-show-to-others button in the editor as "Save page"/"Save c...
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
$wgSquidMaxage
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
$wgMainStash
Main object stash type.
$wgMaxArticleSize
Maximum article size in kilobytes.
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
$wgSearchType
Search type.
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HTT...
$wgHashedSharedUploadDirectory
Set the following to false especially if you have a set of files that need to be accessible by all wi...
const CONTENT_MODEL_WIKITEXT
Definition: Defines.php:239
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
$wgPasswordExpirationDays
The number of days that a user's password is good for.
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
$wgScript
The URL path to index.php.
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript. ...
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
$wgDBerrorLogTZ
Timezone to use in the error log.
$wgVersion
MediaWiki version number.
$wgUseESI
If you run Squid3 with ESI support, enable this (default:false):
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
const APCOND_AGE
Definition: Defines.php:210
$wgSquidServers
List of proxy servers to purge on changes; default port is 80.
const NS_MAIN
Definition: Defines.php:56
$wgSitename
Name of the site.
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
const CACHE_ACCEL
Definition: Defines.php:97
$wgUseKeyHeader
Send the Key HTTP header for better caching.
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
processing should stop and the error should be shown to the user * false
Definition: hooks.txt:189
$wgJsMimeType
Previously used as content type in HTML script tags.
$IP
Definition: WebStart.php:58
$wgDBadminpassword
Separate password for maintenance tasks.
$wgResourceLoaderValidateStaticJS
If set to true, statically-sourced (file-backed) JavaScript resources will be parsed for validity bef...
$wgMimeType
The default Content-Type header.
const AV_VIRUS_FOUND
Definition: Defines.php:106
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
$wgDBpassword
Database user's password.
$wgDBerrorLog
File to log database errors to.
$wgSharedUploadDBname
DB name with metadata about shared directory.
globals txt Globals are evil The original MediaWiki code relied on globals for processing context far too often MediaWiki development since then has been a story of slowly moving context out of global variables and into objects Storing processing context in object member variables allows those objects to be reused in a much more flexible way Consider the elegance of
database rows
Definition: globals.txt:10
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
$wgPasswordExpireGrace
If a user's password is expired, the number of seconds when they can still login, and cancel their pa...
$wgInternalServer
Internal server name as known to CDN, if different.
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
$wgRepositoryBaseUrl
Base URL for a repository wiki.
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
$wgDBtype
Database type.
$wgFileBackends
File backend structure configuration.
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
$wgHtml5Version
Defines the value of the version attribute in the tag, if any.
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations, but may increase security risk to users and server load.
$wgLocalFileRepo
File repository structures.
$wgResourceLoaderMinifierStatementsOnOwnLine
Put each statement on its own line when minifying JavaScript.
$wgDBmwschema
Mediawiki schema.
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
$wgUseImageResize
Whether to enable server-side image thumbnailing.
$wgMetaNamespace
Name of the project namespace.
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
$wgExiftool
Path to exiftool binary.
$wgSharedTables
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
$wgJpegTran
used for lossless jpeg rotation
$wgMimeInfoFile
Sets the MIME type info file to use by MimeMagic.php.
const AV_NO_VIRUS
Definition: Defines.php:105
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
$wgDBserver
Database host name or IP address.
MediaWiki has optional support for a high performance
Definition: memcached.txt:1
$wgNamespaceAliases
Namespace aliases.
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
$wgHooks['ArticleShow'][]
Definition: hooks.txt:110
$wgMaxImageArea
The maximum number of pixels a source image can have if it is to be scaled down by a scaler that requ...
$wgDBuser
Database username.
$wgMainWANCache
Main Wide-Area-Network cache type.
$wgSharedUploadDirectory
Path on the file system where shared uploads can be found.
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
const CONTENT_MODEL_TEXT
Definition: Defines.php:242
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages...
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
$wgMediaHandlers
Plugins for media file type handling.
$wgTmpDirectory
The local filesystem path to a temporary directory.
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki.org/wiki/Upload_dialog).
const AV_SCAN_FAILED
Definition: Defines.php:108
$wgMimeTypeFile
Sets the MIME type definition file to use by MimeMagic.php.
$wgWANObjectCaches
Advanced WAN object cache configuration.
const CONTENT_MODEL_JSON
Definition: Defines.php:243
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
$wgStyleVersion
Bump this number when changing the global style sheets and JavaScript.
title
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
$wgAllowJavaUploads
Allow Java archive uploads.
const MEDIATYPE_BITMAP
Definition: defines.php:28
$wgCompressRevisions
We can also compress text stored in the 'text' table.
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example, thumbnail generation.
$wgUserEmailUseReplyTo
Set to true to put the sending user's email in a Reply-To header instead of From. ...
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface...
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
$wgDBWindowsAuthentication
Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server.
$wgValidateAllHtml
Validate the overall output using tidy and refuse to display the page if it's not valid...
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
const CACHE_MEMCACHED
Definition: Defines.php:96
const AV_SCAN_ABORTED
Definition: Defines.php:107
$wgCacheDirectory
Directory for caching data in the local filesystem.
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki...
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
$wgSharpenParameter
Sharpening parameter to ImageMagick.
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by $wgServiceWiringFiles
Definition: injection.txt:35
$wgAllowSchemaUpdates
Allow schema updates.
$wgUseSquid
Enable/disable CDN.
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
$wgStyleSheetPath
The URL path to index.php.
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats...
$wgSMTP
SMTP Mode.
$wgEnableUploads
Uploads have to be specially set up to be secure.
you have access to all of the normal MediaWiki so you can get a DB use the cache
Definition: maintenance.txt:52
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
$wgResourceLoaderMinifierMaxLineLength
Maximum line length when minifying JavaScript.
$wgLanguageCode
Site language code.
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:1936
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
const MEDIATYPE_VIDEO
Definition: defines.php:35
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i...
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServer...
static detectServer()
Work out an appropriate URL prefix containing scheme and host, based on information detected from $_S...
Definition: WebRequest.php:197
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
$wgExtensionDirectory
Filesystem extensions directory.
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
global $wgCommandLineMode
Definition: Setup.php:495
if($wgScript===false) if($wgLoadScript===false) if($wgArticlePath===false) if(!empty($wgActionPaths)&&!isset($wgActionPaths['view'])) if($wgResourceBasePath===null) if($wgStylePath===false) if($wgLocalStylePath===false) if($wgExtensionAssetsPath===false) if($wgLogo===false) if($wgUploadPath===false) if($wgUploadDirectory===false) if($wgReadOnlyFile===false) if($wgFileCacheDirectory===false) if($wgDeletedDirectory===false) if($wgGitInfoCacheDirectory===false &&$wgCacheDirectory!==false) if($wgEnableParserCache===false) if($wgRightsIcon) if(isset($wgFooterIcons['copyright']['copyright'])&&$wgFooterIcons['copyright']['copyright']===[]) if(isset($wgFooterIcons['poweredby'])&&isset($wgFooterIcons['poweredby']['mediawiki'])&&$wgFooterIcons['poweredby']['mediawiki']['src']===null) $wgNamespaceProtection[NS_MEDIAWIKI]
Unconditional protection for NS_MEDIAWIKI since otherwise it's too easy for a sysadmin to set $wgName...
Definition: Setup.php:155
$wgRevisionCacheExpiry
Revision text may be cached in $wgMemc to reduce load on external storage servers and object extracti...
$wgStylePath
The URL path of the skins directory.
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
$wgExternalServers
An array of external MySQL servers.
const NS_PROJECT
Definition: Defines.php:60
$wgShowEXIF
Show Exif data, on by default if available.
$wgParserCacheType
The cache type for storing article HTML.
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a message
Definition: hooks.txt:2094
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
The ContentHandler facility adds support for arbitrary content types on wiki instead of relying on wikitext for everything It was introduced in MediaWiki Each kind of and so on Built in content types as usual *javascript user provided javascript code *json simple implementation for use by extensions
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing we can concentrate it all in an extension file
Definition: hooks.txt:93
$wgCachePages
Allow client-side caching of pages.
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites...
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
$wgDeletedDirectory
What directory to place deleted uploads in.
$wgLocalisationCacheConf
Localisation cache configuration.
$wgLogoHD
Array with URL paths to HD versions of the wiki logo.
$wgDBssl
Whether to use SSL in DB connection.
const NS_MEDIAWIKI_TALK
Definition: Defines.php:65
$wgInterwikiScopes
Specify number of domains to check for messages.
$wgLocalInterwikis
Array for multiple $wgLocalInterwiki values, in case there are several interwiki prefixes that point ...
$wgSharedUploadPath
Full path on the web server where shared uploads can be found.
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
const NS_PROJECT_TALK
Definition: Defines.php:61
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
$wgMiserMode
Disable database-intensive features.
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
$wgFixMalayalamUnicode
Set this to true to replace ZWJ-based chillu sequences in Malayalam text with their Unicode 5...
$wgBreakFrames
Break out of framesets.
$wgCapitalLinkOverrides
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
$wgResourceLoaderLESSImportPaths
Default import paths for LESS modules.
$wgDummyLanguageCodes
List of language codes that don't correspond to an actual language.
in the Source form of any Derivative Works that You all copyright
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such and we might be restricted by PHP settings such as safe mode or open_basedir We cannot assume that the software even has read access anywhere useful Many shared hosts run all users web applications under the same user
Wikitext formatted, in the key only.
Definition: distributors.txt:9
storage can be distributed across multiple and multiple web servers can use the same cache cluster *********************W A R N I N G ***********************Memcached has no security or authentication Please ensure that your server is appropriately and that the anyone on the internet can put data into and read data from your cache An attacker familiar with MediaWiki internals could use this to steal passwords and email addresses
Definition: memcached.txt:43
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
$wgUsePathInfo
Whether to support URLs like index.php/Page_title These often break when PHP is set up in CGI mode...
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
const NS_CATEGORY
Definition: Defines.php:70
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
$wgResourceModuleSkinStyles
Skin-specific styles for resource modules.
bool $wgAssumeProxiesUseDefaultProtocolPorts
When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the w...
and(b) You must cause any modified files to carry prominent notices stating that You changed the files
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
CACHE_MEMCACHED $wgMainCacheType
Definition: memcached.txt:63
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
$wgSharedDB
Shared database for multiple wikis.
$wgEnableParserCache
Kept for extension compatibility; see $wgParserCacheType.
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
$wgImgAuthDetails
Set this to true if you use img_auth and want the user to see details on why access failed...
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
$wgMetaNamespaceTalk
Name of the project talk namespace.
$wgMimeDetectorCommand
Sets an external MIME detector program.
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
$wgDisabledVariants
Disabled variants array of language variant conversion.
global $wgAutoloadClasses
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
Definition: design.txt:12
$wgGalleryOptions
Default parameters for the "" tag.
$wgClockSkewFudge
Clock skew or the one-second resolution of time() can occasionally cause cache problems when the user...
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
$wgSearchTypeAlternatives
Alternative search types Sometimes you want to support multiple search engines for testing...
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
const NS_FILE_TALK
Definition: Defines.php:63
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
$wgDBTableOptions
MySQL table options to use during installation or update.
$wgScriptExtension
The extension to append to script names by default.
$wgHTCPMulticastTTL
HTCP multicast TTL.
globals will be eliminated from MediaWiki replaced by an application object which would be passed to constructors Whether that would be an convenient solution remains to be but certainly PHP makes such object oriented programming models easier than they were in previous versions For the time being MediaWiki programmers will have to work in an environment with some global context At the time of globals were initialised on startup by MediaWiki of these were configuration settings
Definition: globals.txt:25
$wgCustomConvertCommand
Use another resizing converter, e.g.
$wgDisableLangConversion
Whether to enable language variant conversion.
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
$wgMemCachedDebug
If enabled, will send MemCached debugging information to $wgDebugLogFile.
$wgSessionsInMemcached
Deprecated alias for $wgSessionsInObjectCache.
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
$wgAllowUserCssPrefs
Allow user-preferences implemented in CSS? This allows users to customise the site appearance to a gr...
$wgReferrerPolicy
Value for the referrer policy meta tag.
const NS_MEDIAWIKI
Definition: Defines.php:64
$wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files...
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
$wgSVGMaxSize
Don't scale a SVG larger than this.
$wgPasswordSender
Sender email address for e-mail notifications.
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist e g Watchlist removed from all revisions and log entries to which it was applied This gives extensions a chance to take it off their books as the deletion has already been partly carried out by this point or something similar the user will be unable to create the tag set and then return false from the hook function Ensure you consume the ChangeTagAfterDelete hook to carry out custom deletion actions as context called by AbstractContent::getParserOutput May be used to override the normal model specific rendering of page content as context as context the output can only depend on parameters provided to this hook not on global state indicating whether full HTML should be generated If generation of HTML may be but other information should still be present in the ParserOutput object to manipulate or replace but no entry for that model exists in $wgContentHandlers if desired whether it is OK to use $contentModel on $title Handler functions that modify $ok should generally return false to prevent further hooks from further modifying $ok inclusive false for true for descending in case the handler function wants to provide a converted Content object Note that $result getContentModel() must return $toModel. 'CustomEditor'$rcid is used in generating this variable which contains information about the new such as the revision s whether the revision was marked as a minor edit or not
Definition: hooks.txt:1156
CONTENT_MODEL_JAVASCRIPT
Uploads have to be specially set up to be secure.
$wgDBname
Name of the database.
$wgSquidServersNoPurge
As above, except these servers aren't purged on page changes; use to set a list of trusted proxies...
$wgMaxUploadSize
Max size for uploads, in bytes.
$wgAntivirusSetup
Configuration for different virus scanners.
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
$wgSharedUploadDBprefix
Optional table prefix used in database.
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Value object for representing interwiki records.
Definition: Interwiki.php:27
$wgSessionCacheType
The cache type for storing session data.
$wgUploadPath
The URL path for the images directory.
$wgConf
wgConf hold the site configuration.
$wgFixArabicUnicode
Set this to true to replace Arabic presentation forms with their standard forms in the U+0600-U+06FF ...
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
$wgEmergencyContact
Site admin email address.
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing...
$wgFileExtensions
This is the list of preferred extensions for uploading files.
$wgSessionsInObjectCache
$wgExtraNamespaces
Additional namespaces.
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
Definition: injection.txt:35
$wgEnotifRevealEditorAddress
Set the Reply-to address in notifications to the editor's address, if user allowed this in the prefer...
if($wgLocalInterwiki) if($wgSharedPrefix===false) if($wgSharedSchema===false) if(!$wgCookiePrefix) $wgCookiePrefix
Definition: Setup.php:324
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
$wgEnotifFromEditor
True: from page editor if s/he opted-in.
$wgLocalStylePath
The URL path of the skins directory.
$wgEnableCanonicalServerLink
Output a tag on every page indicating the canonical server which should be use...
const NS_CATEGORY_TALK
Definition: Defines.php:71
$wgSharedThumbnailScriptPath
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
const NS_HELP
Definition: Defines.php:68
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
The ContentHandler facility adds support for arbitrary content types on wiki pages
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains .
$wgTrivialMimeDetection
Switch for trivial MIME detection.
$wgDBadminuser
Separate username for maintenance tasks.
const NS_HELP_TALK
Definition: Defines.php:69
const MEDIATYPE_AUDIO
Definition: defines.php:32
you have access to all of the normal MediaWiki so you can get a DB use the etc For full docs on the Maintenance class
Definition: maintenance.txt:52
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
$wgScriptPath
The path we should point to.
$wgLocalInterwiki
The interwiki prefix of the current wiki, or false if it doesn't have one.
$wgEdititis
Display user edit counts in various prominent places.
$wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
$wgResourceLoaderSources
Extensions should register foreign module sources here.
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set, and the value should be a valid callable.
$wgMsgCacheExpiry
Expiry time for the message cache key.
$wgCacheSharedUploads
Cache shared metadata in memcached.
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
$wgLegacySchemaConversion
If set to true, the MediaWiki 1.4 to 1.5 schema conversion will create stub reference rows in the tex...
$wgExtensionAssetsPath
The URL path of the extensions directory.
$wgContentHandlers
Plugins for page content model handling.
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
if(!$wgEmergencyContact) if(!$wgPasswordSender) if(!$wgNoReplyAddress) if($wgSecureLogin &&substr($wgServer, 0, 2)!== '//') $wgVirtualRestConfig['global']['domain']
Definition: Setup.php:609
$wgSlaveLagCritical
$wgGrammarForms
Some languages need different word forms, usually for different cases.
$wgDBprefix
Table name prefix.
const CACHE_ANYTHING
Definition: Defines.php:93
$wgHtml5
Previously used to determine if we should output an HTML5 doctype.
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
$wgDBcompress
Whether to use compression in DB connection.
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
$wgStyleDirectory
Filesystem stylesheets directory.
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3...
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
$wgSessionHandler
$wgAllowSlowParserFunctions
Enable slow parser functions.
const CONTENT_MODEL_CSS
Definition: Defines.php:241
$wgExperimentalHtmlIds
Should we allow a broader set of characters in id attributes, per HTML5? If not, use only HTML 4-comp...
$wgLogo
The URL path of the wiki logo.
$wgAllowImageMoving
Allows to move images and other media files.
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
$wgAllowTitlesInSVG
Disallow element in SVG files. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01135">DefaultSettings.php:1135</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a71c89ebe26d625bf41e02a16f33197b4"><div class="ttname"><a href="DefaultSettings_8php.html#a71c89ebe26d625bf41e02a16f33197b4">$wgInterwikiFallbackSite</a></div><div class="ttdeci">$wgInterwikiFallbackSite</div><div class="ttdoc">Fallback site, if unable to resolve from cache. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03955">DefaultSettings.php:3955</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a3b3b9d2956fc74e014368211ae50f19e"><div class="ttname"><a href="DefaultSettings_8php.html#a3b3b9d2956fc74e014368211ae50f19e">$wgFallbackSkin</a></div><div class="ttdeci">$wgFallbackSkin</div><div class="ttdoc">Fallback skin used when the skin defined by $wgDefaultSkin can't be found. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03259">DefaultSettings.php:3259</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a590d544908ab81843ba391c24eb29875"><div class="ttname"><a href="DefaultSettings_8php.html#a590d544908ab81843ba391c24eb29875">$wgSiteNotice</a></div><div class="ttdeci">$wgSiteNotice</div><div class="ttdoc">Site notice shown at the top of each page. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03235">DefaultSettings.php:3235</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aed200d79b4025368ef22345459c31e16"><div class="ttname"><a href="DefaultSettings_8php.html#aed200d79b4025368ef22345459c31e16">$wgExtraLanguageNames</a></div><div class="ttdeci">$wgExtraLanguageNames</div><div class="ttdoc">List of language names or overrides for default names in Names.php. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02875">DefaultSettings.php:2875</a></div></div> <div class="ttc" id="design_8txt_html_a6d506eb27e9e95bef5d9aa5df90c7775"><div class="ttname"><a href="design_8txt.html#a6d506eb27e9e95bef5d9aa5df90c7775">output</a></div><div class="ttdeci">design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling output() to send it all.It could be easily changed to send incrementally if that becomes useful</div></div> <div class="ttc" id="DefaultSettings_8php_html_aa645a5533842836fe02cb08cf9a2a61e"><div class="ttname"><a href="DefaultSettings_8php.html#aa645a5533842836fe02cb08cf9a2a61e">$wgMemCachedServers</a></div><div class="ttdeci">$wgMemCachedServers</div><div class="ttdoc">The list of MemCached servers and port numbers. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02423">DefaultSettings.php:2423</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a843a29bc863234e2b8e0b4279d4e8a38"><div class="ttname"><a href="DefaultSettings_8php.html#a843a29bc863234e2b8e0b4279d4e8a38">$wgArticlePath</a></div><div class="ttdeci">$wgArticlePath</div><div class="ttdoc">The URL path for primary article page views. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00255">DefaultSettings.php:255</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_adc3195ec4d97ad60977c7fc7b07630d3"><div class="ttname"><a href="DefaultSettings_8php.html#adc3195ec4d97ad60977c7fc7b07630d3">$wgTrustedMediaFormats</a></div><div class="ttdeci">$wgTrustedMediaFormats</div><div class="ttdoc">list of trusted media-types and MIME types. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00945">DefaultSettings.php:945</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a00a35098578be59fdcccce49f380acac"><div class="ttname"><a href="DefaultSettings_8php.html#a00a35098578be59fdcccce49f380acac">$wgObjectCaches</a></div><div class="ttdeci">$wgObjectCaches</div><div class="ttdoc">Advanced object cache configuration. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02268">DefaultSettings.php:2268</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ad4272234758a60eff4a60cd4f1e302ea"><div class="ttname"><a href="DefaultSettings_8php.html#ad4272234758a60eff4a60cd4f1e302ea">$wgServer</a></div><div class="ttdeci">$wgServer</div><div class="ttdoc">URL of the server. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00109">DefaultSettings.php:109</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a82e5d6af328aa3f66f6cd55092e6f181"><div class="ttname"><a href="DefaultSettings_8php.html#a82e5d6af328aa3f66f6cd55092e6f181">$wgSkipSkin</a></div><div class="ttdeci">$wgSkipSkin</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03271">DefaultSettings.php:3271</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a7107c71f697a6a926a6a264091c64d2c"><div class="ttname"><a href="DefaultSettings_8php.html#a7107c71f697a6a926a6a264091c64d2c">$wgGitInfoCacheDirectory</a></div><div class="ttdeci">$wgGitInfoCacheDirectory</div><div class="ttdoc">Directory where GitInfo will look for pre-computed cache files. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02506">DefaultSettings.php:2506</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_acd650e938a8345e9c90fd1d4595fc9fa"><div class="ttname"><a href="DefaultSettings_8php.html#acd650e938a8345e9c90fd1d4595fc9fa">$wgFetchCommonsDescriptions</a></div><div class="ttdeci">$wgFetchCommonsDescriptions</div><div class="ttdoc">Fetch commons image description pages and display them on the local wiki? </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00702">DefaultSettings.php:702</a></div></div> <div class="ttc" id="APACHE-LICENSE-2_80_8txt_html_a7afdcebc9fb04562c0bb505121fdd890"><div class="ttname"><a href="APACHE-LICENSE-2_80_8txt.html#a7afdcebc9fb04562c0bb505121fdd890">documentation</a></div><div class="ttdeci">Apache License January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object generated documentation</div><div class="ttdef"><b>Definition:</b> <a href="APACHE-LICENSE-2_80_8txt_source.html#l00028">APACHE-LICENSE-2.0.txt:28</a></div></div> <div class="ttc" id="group__Constants_html_gabbdef54ba60b1cfd7500e3a47cff4128"><div class="ttname"><a href="group__Constants.html#gabbdef54ba60b1cfd7500e3a47cff4128">NS_TALK</a></div><div class="ttdeci">const NS_TALK</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00057">Defines.php:57</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a474af18cfd0e54f680013b73625670b8"><div class="ttname"><a href="DefaultSettings_8php.html#a474af18cfd0e54f680013b73625670b8">$wgResourceLoaderDebug</a></div><div class="ttdeci">$wgResourceLoaderDebug</div><div class="ttdoc">The default debug mode (on/off) for of ResourceLoader requests. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03626">DefaultSettings.php:3626</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a2135549468c92fed9e934aa7bad77a33"><div class="ttname"><a href="DefaultSettings_8php.html#a2135549468c92fed9e934aa7bad77a33">$wgLockManagers</a></div><div class="ttdeci">$wgLockManagers</div><div class="ttdoc">Array of configuration arrays for each lock manager. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00657">DefaultSettings.php:657</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aee30ee5e624b6c93de788cc9ee4d6872"><div class="ttname"><a href="DefaultSettings_8php.html#aee30ee5e624b6c93de788cc9ee4d6872">$wgLBFactoryConf</a></div><div class="ttdeci">$wgLBFactoryConf</div><div class="ttdoc">Load balancer factory configuration To set up a multi-master wiki farm, set the class here to somethi...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01956">DefaultSettings.php:1956</a></div></div> <div class="ttc" id="group__Constants_html_gab9749d68ba60804941e16ff40b684b6c"><div class="ttname"><a href="group__Constants.html#gab9749d68ba60804941e16ff40b684b6c">APCOND_EDITCOUNT</a></div><div class="ttdeci">const APCOND_EDITCOUNT</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00209">Defines.php:209</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ad7232ef82feb6cf90992664619bbe285"><div class="ttname"><a href="DefaultSettings_8php.html#ad7232ef82feb6cf90992664619bbe285">$wgXhtmlDefaultNamespace</a></div><div class="ttdeci">$wgXhtmlDefaultNamespace</div><div class="ttdoc">The default xmlns attribute. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03165">DefaultSettings.php:3165</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aad308b02d0eac9d26c7bf2ff794b6fa4"><div class="ttname"><a href="DefaultSettings_8php.html#aad308b02d0eac9d26c7bf2ff794b6fa4">$wgResourceLoaderStorageVersion</a></div><div class="ttdeci">$wgResourceLoaderStorageVersion</div><div class="ttdoc">Cache version for client-side ResourceLoader module storage. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03775">DefaultSettings.php:3775</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_afc8c0154fc6b9dab6f0ca6efe89ccb16"><div class="ttname"><a href="DefaultSettings_8php.html#afc8c0154fc6b9dab6f0ca6efe89ccb16">$wgUseSiteJs</a></div><div class="ttdeci">$wgUseSiteJs</div><div class="ttdoc">Use the site's Javascript page? </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03297">DefaultSettings.php:3297</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ac17e8f61d26cebda5430a2a5c24d6ac6"><div class="ttname"><a href="DefaultSettings_8php.html#ac17e8f61d26cebda5430a2a5c24d6ac6">$wgMemCachedPersistent</a></div><div class="ttdeci">$wgMemCachedPersistent</div><div class="ttdoc">Use persistent connections to MemCached, which are shared across multiple requests. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02429">DefaultSettings.php:2429</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aedbb7adbd23f30f4de0ec9f4424a2484"><div class="ttname"><a href="DefaultSettings_8php.html#aedbb7adbd23f30f4de0ec9f4424a2484">$wgSharedPrefix</a></div><div class="ttdeci">$wgSharedPrefix</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01877">DefaultSettings.php:1877</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a0448acf8aa4026fa93d81e97a8bf36c2"><div class="ttname"><a href="DefaultSettings_8php.html#a0448acf8aa4026fa93d81e97a8bf36c2">$wgUploadThumbnailRenderHttpCustomHost</a></div><div class="ttdeci">$wgUploadThumbnailRenderHttpCustomHost</div><div class="ttdoc">When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01424">DefaultSettings.php:1424</a></div></div> <div class="ttc" id="classSiteConfiguration_html"><div class="ttname"><a href="classSiteConfiguration.html">SiteConfiguration</a></div><div class="ttdoc">This is a class for holding configuration settings, particularly for multi-wiki sites. </div><div class="ttdef"><b>Definition:</b> <a href="SiteConfiguration_8php_source.html#l00122">SiteConfiguration.php:122</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a8c7167507a1f70c913c28adf057d6e4c"><div class="ttname"><a href="DefaultSettings_8php.html#a8c7167507a1f70c913c28adf057d6e4c">$wgAllowSiteCSSOnRestrictedPages</a></div><div class="ttdeci">$wgAllowSiteCSSOnRestrictedPages</div><div class="ttdoc">Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03788">DefaultSettings.php:3788</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a57382c99cd0665a272c398c88cc0793e"><div class="ttname"><a href="DefaultSettings_8php.html#a57382c99cd0665a272c398c88cc0793e">$wgShowRollbackEditCount</a></div><div class="ttdeci">$wgShowRollbackEditCount</div><div class="ttdoc">The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03440">DefaultSettings.php:3440</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a990b4e1d1893c12b875786ece0c33726"><div class="ttname"><a href="DefaultSettings_8php.html#a990b4e1d1893c12b875786ece0c33726">$wgUploadBaseUrl</a></div><div class="ttdeci">$wgUploadBaseUrl</div><div class="ttdoc">If set, this URL is added to the start of $wgUploadPath to form a complete upload URL...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00341">DefaultSettings.php:341</a></div></div> <div class="ttc" id="All__system__messages_8txt_html_ad2a0984fa89a383a5eccc26b1a5590c1"><div class="ttname"><a href="All__system__messages_8txt.html#ad2a0984fa89a383a5eccc26b1a5590c1">will</a></div><div class="ttdeci"></td >< td > &</td >< td > t want your writing to be edited mercilessly and redistributed at will</div><div class="ttdef"><b>Definition:</b> <a href="All__system__messages_8txt_source.html#l00914">All_system_messages.txt:914</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a641f07fa3b6438b4c27a9f3618237abe"><div class="ttname"><a href="DefaultSettings_8php.html#a641f07fa3b6438b4c27a9f3618237abe">$wgUseCombinedLoginLink</a></div><div class="ttdeci">$wgUseCombinedLoginLink</div><div class="ttdoc">Login / create account link behavior when it's possible for anonymous users to create an account...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03411">DefaultSettings.php:3411</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ae520cd3a6b41c1b7d64da9c4a22f3956"><div class="ttname"><a href="DefaultSettings_8php.html#ae520cd3a6b41c1b7d64da9c4a22f3956">$wgCopyUploadProxy</a></div><div class="ttdeci">$wgCopyUploadProxy</div><div class="ttdoc">Proxy to use for copy upload requests. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00751">DefaultSettings.php:751</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_acb268f4a51af8c4bf404f8b4379176d0"><div class="ttname"><a href="DefaultSettings_8php.html#acb268f4a51af8c4bf404f8b4379176d0">$wgMimeTypeBlacklist</a></div><div class="ttdeci">$wgMimeTypeBlacklist</div><div class="ttdoc">Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00887">DefaultSettings.php:887</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a45e6d8ee8bd1edcb9b8d9588854812d2"><div class="ttname"><a href="DefaultSettings_8php.html#a45e6d8ee8bd1edcb9b8d9588854812d2">$wgSlaveLagWarning</a></div><div class="ttdeci">$wgSlaveLagWarning</div><div class="ttdoc">If lag is higher than $wgSlaveLagWarning, show a warning in some special pages (like watchlist)...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02050">DefaultSettings.php:2050</a></div></div> <div class="ttc" id="group__Constants_html_ga4f23931bebd967faef2136c2ee786010"><div class="ttname"><a href="group__Constants.html#ga4f23931bebd967faef2136c2ee786010">CACHE_NONE</a></div><div class="ttdeci">const CACHE_NONE</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00094">Defines.php:94</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a6f57297b3ba301fd344109b6bec76ef1"><div class="ttname"><a href="DefaultSettings_8php.html#a6f57297b3ba301fd344109b6bec76ef1">$wgResourceLoaderMaxQueryLength</a></div><div class="ttdeci">$wgResourceLoaderMaxQueryLength</div><div class="ttdoc">If set to a positive number, ResourceLoader will not generate URLs whose query string is more than th...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03692">DefaultSettings.php:3692</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ae322b1ba703e6d130ea9712f7fa32fac"><div class="ttname"><a href="DefaultSettings_8php.html#ae322b1ba703e6d130ea9712f7fa32fac">$wgDBOracleDRCP</a></div><div class="ttdeci">$wgDBOracleDRCP</div><div class="ttdoc">Set true to enable Oracle DCRP (supported from 11gR1 onward) </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02036">DefaultSettings.php:2036</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a1630258705d89c1070e12bd7fd4ea05e"><div class="ttname"><a href="DefaultSettings_8php.html#a1630258705d89c1070e12bd7fd4ea05e">$wgPHPSessionHandling</a></div><div class="ttdeci">string $wgPHPSessionHandling</div><div class="ttdoc">Whether to use PHP session handling ($_SESSION and session_*() functions) </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02406">DefaultSettings.php:2406</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a85c1e1b7961efdaabd35d8ef69b39d26"><div class="ttname"><a href="DefaultSettings_8php.html#a85c1e1b7961efdaabd35d8ef69b39d26">$wgSharpenReductionThreshold</a></div><div class="ttdeci">$wgSharpenReductionThreshold</div><div class="ttdoc">Reduction in linear dimensions below which sharpening will be enabled. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01019">DefaultSettings.php:1019</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a40814bcc53ee9750d8f6e720a365bbf4"><div class="ttname"><a href="DefaultSettings_8php.html#a40814bcc53ee9750d8f6e720a365bbf4">$wgSQLMode</a></div><div class="ttdeci">$wgSQLMode</div><div class="ttdoc">SQL Mode - default is turning off all modes, including strict, if set. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01835">DefaultSettings.php:1835</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aaee4c61cd6f42eb466109800d8565860"><div class="ttname"><a href="DefaultSettings_8php.html#aaee4c61cd6f42eb466109800d8565860">$wgDataCenterUpdateStickTTL</a></div><div class="ttdeci">$wgDataCenterUpdateStickTTL</div><div class="ttdoc">After a state-changing request is done by a client, this determines how many seconds that client shou...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01964">DefaultSettings.php:1964</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a75612877f528cecdb711d45fa25588ee"><div class="ttname"><a href="DefaultSettings_8php.html#a75612877f528cecdb711d45fa25588ee">$wgVerifyMimeType</a></div><div class="ttdeci">$wgVerifyMimeType</div><div class="ttdoc">Determines if the MIME type of uploaded files should be checked. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01289">DefaultSettings.php:1289</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aba60a693d3a1d03b2b28235e93bb1931"><div class="ttname"><a href="DefaultSettings_8php.html#aba60a693d3a1d03b2b28235e93bb1931">$wgExternalStores</a></div><div class="ttdeci">$wgExternalStores</div><div class="ttdoc">External stores allow including content from non database sources following URL links. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02088">DefaultSettings.php:2088</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a2afd5037cb087a8d36953b1b0c42e97b"><div class="ttname"><a href="DefaultSettings_8php.html#a2afd5037cb087a8d36953b1b0c42e97b">$wgSend404Code</a></div><div class="ttdeci">$wgSend404Code</div><div class="ttdoc">Some web hosts attempt to rewrite all responses with a 404 (not found) status code, mangling or hiding MediaWiki's output. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03429">DefaultSettings.php:3429</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a8775ad8dc715863ccf18c544d305670a"><div class="ttname"><a href="DefaultSettings_8php.html#a8775ad8dc715863ccf18c544d305670a">$wgFileBlacklist</a></div><div class="ttdeci">$wgFileBlacklist</div><div class="ttdoc">Files with these extensions will never be allowed as uploads. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00873">DefaultSettings.php:873</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a83baba30180bf55340ede9803e134683"><div class="ttname"><a href="DefaultSettings_8php.html#a83baba30180bf55340ede9803e134683">$wgUploadNavigationUrl</a></div><div class="ttdeci">$wgUploadNavigationUrl</div><div class="ttdoc">Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00799">DefaultSettings.php:799</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a26f037db9b5332161fb98b093c48a093"><div class="ttname"><a href="DefaultSettings_8php.html#a26f037db9b5332161fb98b093c48a093">$wgHTCPRouting</a></div><div class="ttdeci">$wgHTCPRouting</div><div class="ttdoc">Routing configuration for HTCP multicast purging. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02793">DefaultSettings.php:2793</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_aa3f60d082e7857a0309c11b2084b0337"><div class="ttname"><a href="DefaultSettings_8php.html#aa3f60d082e7857a0309c11b2084b0337">$wgResponsiveImages</a></div><div class="ttdeci">$wgResponsiveImages</div><div class="ttdoc">Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01479">DefaultSettings.php:1479</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a38a416b3014f48d42676233bff052f11"><div class="ttname"><a href="DefaultSettings_8php.html#a38a416b3014f48d42676233bff052f11">$wgIgnoreImageErrors</a></div><div class="ttdeci">$wgIgnoreImageErrors</div><div class="ttdoc">If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01202">DefaultSettings.php:1202</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a2fcb3ec00bd98bcfbd614c62245594e5"><div class="ttname"><a href="DefaultSettings_8php.html#a2fcb3ec00bd98bcfbd614c62245594e5">$wgTrackingCategories</a></div><div class="ttdeci">$wgTrackingCategories</div><div class="ttdoc">Array holding default tracking category names. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l04047">DefaultSettings.php:4047</a></div></div> <div class="ttc" id="group__Constants_html_gacc984e0536434f044be33aee04f23f3a"><div class="ttname"><a href="group__Constants.html#gacc984e0536434f044be33aee04f23f3a">NS_USER_TALK</a></div><div class="ttdeci">const NS_USER_TALK</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00059">Defines.php:59</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a3a63813b9721056b3b31904b83be14f7"><div class="ttname"><a href="DefaultSettings_8php.html#a3a63813b9721056b3b31904b83be14f7">$wgSVGConverter</a></div><div class="ttdeci">$wgSVGConverter</div><div class="ttdoc">Pick a converter defined in $wgSVGConverters. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01106">DefaultSettings.php:1106</a></div></div> <div class="ttc" id="classResourceLoader_html"><div class="ttname"><a href="classResourceLoader.html">ResourceLoader</a></div><div class="ttdoc">Dynamic JavaScript and CSS resource loading system. </div><div class="ttdef"><b>Definition:</b> <a href="ResourceLoader_8php_source.html#l00036">ResourceLoader.php:36</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ae38a828a2039113cb475de3ca003ce8b"><div class="ttname"><a href="DefaultSettings_8php.html#ae38a828a2039113cb475de3ca003ce8b">$wgPasswordReminderResendTime</a></div><div class="ttdeci">$wgPasswordReminderResendTime</div><div class="ttdoc">Minimum time, in hours, which must elapse between password reminder emails for a given account...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01601">DefaultSettings.php:1601</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ab40e5d5ba287e34034e7911538279dde"><div class="ttname"><a href="DefaultSettings_8php.html#ab40e5d5ba287e34034e7911538279dde">$wgShowArchiveThumbnails</a></div><div class="ttdeci">$wgShowArchiveThumbnails</div><div class="ttdoc">Show thumbnails for old images on the image description page. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01216">DefaultSettings.php:1216</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ae0da4e764d3cef3a5691596ff23029ea"><div class="ttname"><a href="DefaultSettings_8php.html#ae0da4e764d3cef3a5691596ff23029ea">$wgSharedSchema</a></div><div class="ttdeci">$wgSharedSchema</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01888">DefaultSettings.php:1888</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ace4f6269643175973c9fd62ee83aa8ee"><div class="ttname"><a href="DefaultSettings_8php.html#ace4f6269643175973c9fd62ee83aa8ee">$wgLoadScript</a></div><div class="ttdeci">$wgLoadScript</div><div class="ttdoc">The URL path to load.php. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00210">DefaultSettings.php:210</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a56ede431746ce1dde36e634be8964204"><div class="ttname"><a href="DefaultSettings_8php.html#a56ede431746ce1dde36e634be8964204">$wgNoReplyAddress</a></div><div class="ttdeci">$wgNoReplyAddress</div><div class="ttdoc">Reply-To address for e-mail notifications. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01572">DefaultSettings.php:1572</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a7c87182f8297b496f7b19c44388c63cc"><div class="ttname"><a href="DefaultSettings_8php.html#a7c87182f8297b496f7b19c44388c63cc">$wgDirectoryMode</a></div><div class="ttdeci">$wgDirectoryMode</div><div class="ttdoc">Default value for chmoding of new directories. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01467">DefaultSettings.php:1467</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a02d56fb1eb289a21e0c331c94e651eb3"><div class="ttname"><a href="DefaultSettings_8php.html#a02d56fb1eb289a21e0c331c94e651eb3">$wgCacheEpoch</a></div><div class="ttdeci">$wgCacheEpoch</div><div class="ttdoc">Set this to current time to invalidate all prior cached pages. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02500">DefaultSettings.php:2500</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a6ff58fbddbedf4c883d403aeea2186a1"><div class="ttname"><a href="DefaultSettings_8php.html#a6ff58fbddbedf4c883d403aeea2186a1">$wgFileCacheDirectory</a></div><div class="ttdeci">$wgFileCacheDirectory</div><div class="ttdoc">Directory where the cached page will be saved. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00272">DefaultSettings.php:272</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_af32a62f1c6db53b84e16135efba437bc"><div class="ttname"><a href="DefaultSettings_8php.html#af32a62f1c6db53b84e16135efba437bc">$wgUseSharedUploads</a></div><div class="ttdeci">$wgUseSharedUploads</div><div class="ttdoc">If you operate multiple wikis, you can define a shared upload path here. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00692">DefaultSettings.php:692</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ac0804dd093453dd7232ab842e93d7653"><div class="ttname"><a href="DefaultSettings_8php.html#ac0804dd093453dd7232ab842e93d7653">$wgVariantArticlePath</a></div><div class="ttdeci">$wgVariantArticlePath</div><div class="ttdoc">Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03071">DefaultSettings.php:3071</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a113528e00b18775b7b7152dd01c7224c"><div class="ttname"><a href="DefaultSettings_8php.html#a113528e00b18775b7b7152dd01c7224c">$wgEnotifWatchlist</a></div><div class="ttdeci">$wgEnotifWatchlist</div><div class="ttdoc">Allow users to enable email notification ("enotif") on watchlist changes. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01677">DefaultSettings.php:1677</a></div></div> <div class="ttc" id="Setup_8php_html_ab76fcdd0fab108b42da0b76a01e71ff9"><div class="ttname"><a href="Setup_8php.html#ab76fcdd0fab108b42da0b76a01e71ff9">$wgDefaultUserOptions</a></div><div class="ttdeci">if($wgRCFilterByAge) $wgDefaultUserOptions['rcdays']</div><div class="ttdef"><b>Definition:</b> <a href="Setup_8php_source.html#l00282">Setup.php:282</a></div></div> <div class="ttc" id="magicword_8txt_html_a00a23ee10b90fa4327ee4eca02c8a026"><div class="ttname"><a href="magicword_8txt.html#a00a23ee10b90fa4327ee4eca02c8a026">$wgExtensionMessagesFiles</a></div><div class="ttdeci">$wgExtensionMessagesFiles['ExtensionNameMagic']</div><div class="ttdef"><b>Definition:</b> <a href="magicword_8txt_source.html#l00043">magicword.txt:43</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a33f86b92003e3a201096035c13a77411"><div class="ttname"><a href="DefaultSettings_8php.html#a33f86b92003e3a201096035c13a77411">$wgActionPaths</a></div><div class="ttdeci">$wgActionPaths</div><div class="ttdoc">To set 'pretty' URL paths for actions other than plain page views, add to this array. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00366">DefaultSettings.php:366</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a8520a538f4b3953ca3692a57df5e5079"><div class="ttname"><a href="DefaultSettings_8php.html#a8520a538f4b3953ca3692a57df5e5079">$wgDBmysql5</a></div><div class="ttdeci">$wgDBmysql5</div><div class="ttdoc">Set to true to engage MySQL 4.1/5.0 charset-related features; for now will just cause sending of 'SET...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02007">DefaultSettings.php:2007</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ad2b4a6c0eee05614d1c2e869ff966138"><div class="ttname"><a href="DefaultSettings_8php.html#ad2b4a6c0eee05614d1c2e869ff966138">$wgInterwikiCache</a></div><div class="ttdeci">bool array string $wgInterwikiCache</div><div class="ttdoc">Interwiki cache, either as an associative array or a path to a constant database (.cdb) file. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03942">DefaultSettings.php:3942</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a28f0610be6595170e510a3603612bf9e"><div class="ttname"><a href="DefaultSettings_8php.html#a28f0610be6595170e510a3603612bf9e">$wgServerName</a></div><div class="ttdeci">$wgServerName</div><div class="ttdoc">Server name. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00125">DefaultSettings.php:125</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a178ceac9bdde7005996c3563e4278059"><div class="ttname"><a href="DefaultSettings_8php.html#a178ceac9bdde7005996c3563e4278059">$wgEnotifUserTalk</a></div><div class="ttdeci">$wgEnotifUserTalk</div><div class="ttdoc">Allow users to enable email notification ("enotif") when someone edits their user talk page...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01686">DefaultSettings.php:1686</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a145987f1fe979f8352bea9926bee7042"><div class="ttname"><a href="DefaultSettings_8php.html#a145987f1fe979f8352bea9926bee7042">$wgUpdateCompatibleMetadata</a></div><div class="ttdeci">$wgUpdateCompatibleMetadata</div><div class="ttdoc">If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00677">DefaultSettings.php:677</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a38f5ea85feb8f1a1a2f7fe354c2a7f87"><div class="ttname"><a href="DefaultSettings_8php.html#a38f5ea85feb8f1a1a2f7fe354c2a7f87">$wgEnableAutoRotation</a></div><div class="ttdeci">$wgEnableAutoRotation</div><div class="ttdoc">If set to true, images that contain certain the exif orientation tag will be rotated accordingly...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01223">DefaultSettings.php:1223</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a5e25db2a69b14ee1139e1b14df212000"><div class="ttname"><a href="DefaultSettings_8php.html#a5e25db2a69b14ee1139e1b14df212000">$wgUploadDirectory</a></div><div class="ttdeci">$wgUploadDirectory</div><div class="ttdoc">The filesystem path of the images directory. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00266">DefaultSettings.php:266</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a3f74a4f36d9d750703ba5a5a3854c2d3"><div class="ttname"><a href="DefaultSettings_8php.html#a3f74a4f36d9d750703ba5a5a3854c2d3">$wgCdnMaxageSubstitute</a></div><div class="ttdeci">$wgCdnMaxageSubstitute</div><div class="ttdoc">Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load) ...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02694">DefaultSettings.php:2694</a></div></div> <div class="ttc" id="hooks_8txt_html_a9db4adb3a3a4932faad4d7ea9b459bdb"><div class="ttname"><a href="hooks_8txt.html#a9db4adb3a3a4932faad4d7ea9b459bdb">format</a></div><div class="ttdeci">if the prop value should be in the metadata multi language array format</div><div class="ttdef"><b>Definition:</b> <a href="hooks_8txt_source.html#l01610">hooks.txt:1610</a></div></div> <div class="ttc" id="group__Constants_html_gafdd995a93b757a3b8c88d71ef53a3ef7"><div class="ttname"><a href="group__Constants.html#gafdd995a93b757a3b8c88d71ef53a3ef7">NS_TEMPLATE_TALK</a></div><div class="ttdeci">const NS_TEMPLATE_TALK</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00067">Defines.php:67</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ab0ccc7601b69f1c8c472eddce2348a60"><div class="ttname"><a href="DefaultSettings_8php.html#ab0ccc7601b69f1c8c472eddce2348a60">$wgDjvuPostProcessor</a></div><div class="ttdeci">$wgDjvuPostProcessor</div><div class="ttdoc">Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01528">DefaultSettings.php:1528</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a2a0c04d89cc9181fbdc002a95e2b9319"><div class="ttname"><a href="DefaultSettings_8php.html#a2a0c04d89cc9181fbdc002a95e2b9319">$wgAmericanDates</a></div><div class="ttdeci">$wgAmericanDates</div><div class="ttdoc">Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03004">DefaultSettings.php:3004</a></div></div> <div class="ttc" id="group__Constants_html_gab109d7a36685bee982d018cf98e878e3"><div class="ttname"><a href="group__Constants.html#gab109d7a36685bee982d018cf98e878e3">CACHE_DB</a></div><div class="ttdeci">const CACHE_DB</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00095">Defines.php:95</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a1c107b5e1fa46b1e312b7763c5e7b54b"><div class="ttname"><a href="DefaultSettings_8php.html#a1c107b5e1fa46b1e312b7763c5e7b54b">$wgBrowserBlackList</a></div><div class="ttdeci">$wgBrowserBlackList</div><div class="ttdoc">Browser Blacklist for unicode non compliant browsers. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02949">DefaultSettings.php:2949</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a5d4d23d2875c6176125328fdde44010e"><div class="ttname"><a href="DefaultSettings_8php.html#a5d4d23d2875c6176125328fdde44010e">$wgResourceModules</a></div><div class="ttdeci">$wgResourceModules</div><div class="ttdoc">Client-side resource modules. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03484">DefaultSettings.php:3484</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a114a38da941fd958a01fab87862569f0"><div class="ttname"><a href="DefaultSettings_8php.html#a114a38da941fd958a01fab87862569f0">$wgCdnReboundPurgeDelay</a></div><div class="ttdeci">$wgCdnReboundPurgeDelay</div><div class="ttdoc">If set, any SquidPurge call on a URL or URLs will send a second purge no less than this many seconds ...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02687">DefaultSettings.php:2687</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a01c3b237a8adaa3513c952ea52cf6410"><div class="ttname"><a href="DefaultSettings_8php.html#a01c3b237a8adaa3513c952ea52cf6410">$wgAntivirus</a></div><div class="ttdeci">$wgAntivirus</div><div class="ttdoc">Internal name of virus scanner. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l01230">DefaultSettings.php:1230</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a85ce6c476cd8d165885f70dfa4c99243"><div class="ttname"><a href="DefaultSettings_8php.html#a85ce6c476cd8d165885f70dfa4c99243">$wgEnableSidebarCache</a></div><div class="ttdeci">$wgEnableSidebarCache</div><div class="ttdoc">If on, the sidebar navigation links are cached for users with the current language set...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02553">DefaultSettings.php:2553</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_af74f2850d5cc7d00594446d5cfa3951d"><div class="ttname"><a href="DefaultSettings_8php.html#af74f2850d5cc7d00594446d5cfa3951d">$wgSiteSupportPage</a></div><div class="ttdeci">$wgSiteSupportPage</div><div class="ttdoc">If this is set, a "donate" link will appear in the sidebar. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03240">DefaultSettings.php:3240</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_af73d7be8db77244df903063b51f0cc8f"><div class="ttname"><a href="DefaultSettings_8php.html#af73d7be8db77244df903063b51f0cc8f">$wgUsePrivateIPs</a></div><div class="ttdeci">$wgUsePrivateIPs</div><div class="ttdoc">Should forwarded Private IPs be accepted? </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02804">DefaultSettings.php:2804</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a54d1e6ff61d05b1351780a904126571b"><div class="ttname"><a href="DefaultSettings_8php.html#a54d1e6ff61d05b1351780a904126571b">$wgTransactionalTimeLimit</a></div><div class="ttdeci">$wgTransactionalTimeLimit</div><div class="ttdoc">The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02184">DefaultSettings.php:2184</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_afa3a5ff3b407cbd87d60d42fd70f192c"><div class="ttname"><a href="DefaultSettings_8php.html#afa3a5ff3b407cbd87d60d42fd70f192c">$wgFavicon</a></div><div class="ttdeci">$wgFavicon</div><div class="ttdoc">The URL path of the shortcut icon. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l00301">DefaultSettings.php:301</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a870eea8083968ff8aec0d4b78040110e"><div class="ttname"><a href="DefaultSettings_8php.html#a870eea8083968ff8aec0d4b78040110e">$wgMemCachedTimeout</a></div><div class="ttdeci">$wgMemCachedTimeout</div><div class="ttdoc">Read/write timeout for MemCached server communication, in microseconds. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02434">DefaultSettings.php:2434</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_b0f92a87ee026d34ca8fad24187d57bf.html">includes</a></li><li class="navelem"><a class="el" href="DefaultSettings_8php.html">DefaultSettings.php</a></li> <li class="footer">Generated on Tue Apr 11 2017 09:27:15 for MediaWiki by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li> </ul> </div> </body> </html>