MediaWiki  1.27.4
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.27.4';
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 
404 
410 
415 
431 
515 
520 
527 
537 
548  // Fields to make available in the dialog. `true` means that this field is visible, `false` means
549  // that it is hidden. The "Name" field can't be hidden. Note that you also have to add the
550  // matching replacement to the 'filepage' format key below to make use of these.
551  'fields' => [
552  'description' => true,
553  'date' => false,
554  'categories' => false,
555  ],
556  // Suffix of localisation messages used to describe the license under which the uploaded file will
557  // be released. The same value may be set for both 'local' and 'foreign' uploads.
558  'licensemessages' => [
559  // The 'local' messages are used for local uploads on this wiki:
560  // * upload-form-label-own-work-message-generic-local
561  // * upload-form-label-not-own-work-message-generic-local
562  // * upload-form-label-not-own-work-local-generic-local
563  'local' => 'generic-local',
564  // The 'foreign' messages are used for cross-wiki uploads from other wikis to this wiki:
565  // * upload-form-label-own-work-message-generic-foreign
566  // * upload-form-label-not-own-work-message-generic-foreign
567  // * upload-form-label-not-own-work-local-generic-foreign
568  'foreign' => 'generic-foreign',
569  ],
570  // Upload comment to use. Available replacements:
571  // * $HOST - domain name from which a cross-wiki upload originates
572  // * $PAGENAME - wiki page name from which an upload originates
573  'comment' => '',
574  // Format of the file page wikitext to be generated from the fields input by the user.
575  'format' => [
576  // Wrapper for the whole page. Available replacements:
577  // * $DESCRIPTION - file description, as input by the user (only if the 'description' field is
578  // enabled), wrapped as defined below in the 'description' key
579  // * $DATE - file creation date, as input by the user (only if the 'date' field is enabled)
580  // * $SOURCE - as defined below in the 'ownwork' key, may be extended in the future
581  // * $AUTHOR - linked user name, may be extended in the future
582  // * $LICENSE - as defined below in the 'license' key, may be extended in the future
583  // * $CATEGORIES - file categories wikitext, as input by the user (only if the 'categories'
584  // field is enabled), or if no input, as defined below in the 'uncategorized' key
585  'filepage' => '$DESCRIPTION',
586  // Wrapped for file description. Available replacements:
587  // * $LANGUAGE - source wiki's content language
588  // * $TEXT - input by the user
589  'description' => '$TEXT',
590  'ownwork' => '',
591  'license' => '',
592  'uncategorized' => '',
593  ],
594 ];
595 
628 
640 
652 $wgShowEXIF = function_exists( 'exif_read_data' );
653 
660 
675 
679 $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
680 
685 
689 $wgSharedUploadDirectory = "/var/www/wiki3/images";
690 
696 
701 
707 
714 
721 
728 
734 
744 
761 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB
762 
770 
782 
789 
802 
807 
822 
829 
838 $wgRepositoryBaseUrl = "https://commons.wikimedia.org/wiki/File:";
839 
848 $wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp' ];
849 
856  # HTML may contain cookie-stealing JavaScript and web bugs
857  'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
858  # PHP scripts may execute arbitrary code on the server
859  'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
860  # Other types that may be interpreted by some servers
861  'shtml', 'jhtml', 'pl', 'py', 'cgi',
862  # May contain harmful executables for Windows victims
863  'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ];
864 
870  # HTML may contain cookie-stealing JavaScript and web bugs
871  'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
872  # PHP scripts may execute arbitrary code on the server
873  'application/x-php', 'text/x-php',
874  # Other types that may be interpreted by some servers
875  'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
876  # Client-side hazards on Internet Explorer
877  'text/scriptlet', 'application/x-msdownload',
878  # Windows metafile, client-side vulnerability on some systems
879  'application/x-msmetafile',
880 ];
881 
888 
895 
903 
911 
916 
928  MEDIATYPE_BITMAP, // all bitmap formats
929  MEDIATYPE_AUDIO, // all audio formats
930  MEDIATYPE_VIDEO, // all plain video formats
931  "image/svg+xml", // svg (only needed if inline rendering of svg is not supported)
932  "application/pdf", // PDF files
933  # "application/x-shockwave-flash", //flash/shockwave movie
934 ];
935 
941  'image/jpeg' => 'JpegHandler',
942  'image/png' => 'PNGHandler',
943  'image/gif' => 'GIFHandler',
944  'image/tiff' => 'TiffHandler',
945  'image/webp' => 'WebPHandler',
946  'image/x-ms-bmp' => 'BmpHandler',
947  'image/x-bmp' => 'BmpHandler',
948  'image/x-xcf' => 'XCFHandler',
949  'image/svg+xml' => 'SvgHandler', // official
950  'image/svg' => 'SvgHandler', // compat
951  'image/vnd.djvu' => 'DjVuHandler', // official
952  'image/x.djvu' => 'DjVuHandler', // compat
953  'image/x-djvu' => 'DjVuHandler', // compat
954 ];
955 
964  // the usual case
965  CONTENT_MODEL_WIKITEXT => 'WikitextContentHandler',
966  // dumb version, no syntax highlighting
967  CONTENT_MODEL_JAVASCRIPT => 'JavaScriptContentHandler',
968  // simple implementation, for use by extensions, etc.
969  CONTENT_MODEL_JSON => 'JsonContentHandler',
970  // dumb version, no syntax highlighting
971  CONTENT_MODEL_CSS => 'CssContentHandler',
972  // plain text, for use by extensions, etc.
973  CONTENT_MODEL_TEXT => 'TextContentHandler',
974 ];
975 
982 
992 
996 $wgImageMagickConvertCommand = '/usr/bin/convert';
997 
1003 
1008 
1013 
1019 
1033 
1039 $wgJpegTran = '/usr/bin/jpegtran';
1040 
1061 
1066 $wgExiv2Command = '/usr/bin/exiv2';
1067 
1073 $wgExiftool = '/usr/bin/exiftool';
1074 
1085  'ImageMagick' =>
1086  '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1087  'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
1088  'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
1089  'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1090  . '$output $input',
1091  'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input',
1092  'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1093  'ImagickExt' => [ 'SvgHandler::rasterizeImagickExt' ],
1094 ];
1095 
1099 $wgSVGConverter = 'ImageMagick';
1100 
1105 
1110 
1116 
1129 
1144 
1152 
1167 
1174 $wgThumbnailEpoch = '20030516000000';
1175 
1183 
1196 
1205 
1210 
1217 
1224 
1260 
1261  # setup for clamav
1262  'clamav' => [
1263  'command' => 'clamscan --no-summary ',
1264  'codemap' => [
1265  "0" => AV_NO_VIRUS, # no virus
1266  "1" => AV_VIRUS_FOUND, # virus found
1267  "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
1268  "*" => AV_SCAN_FAILED, # else scan failed
1269  ],
1270  'messagepattern' => '/.*?:(.*)/sim',
1271  ],
1272 ];
1273 
1278 
1283 
1289 $wgMimeTypeFile = 'includes/mime.types';
1290 
1295 $wgMimeInfoFile = 'includes/mime.info';
1296 
1309 
1316 
1322  'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
1323  'svg' => 'image/svg+xml',
1324  'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
1325  'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
1326  'html' => 'text/html', // application/xhtml+xml?
1327 ];
1328 
1338  [ 320, 240 ],
1339  [ 640, 480 ],
1340  [ 800, 600 ],
1341  [ 1024, 768 ],
1342  [ 1280, 1024 ]
1343 ];
1344 
1351  120,
1352  150,
1353  180,
1354  200,
1355  250,
1356  300
1357 ];
1358 
1369 
1386 
1398 
1411 
1418 
1426 
1434 
1439  'imagesPerRow' => 0, // Default number of images per-row in the gallery. 0 -> Adapt to screensize
1440  'imageWidth' => 120, // Width of the cells containing images in galleries (in "px")
1441  'imageHeight' => 120, // Height of the cells containing images in galleries (in "px")
1442  'captionLength' => 25, // Length of caption to truncate (in characters)
1443  'showBytes' => true, // Show the filesize in bytes in categories
1444  'mode' => 'traditional',
1445 ];
1446 
1453 
1458 
1470 
1482 
1489 
1495 $wgDjvuTxt = null;
1496 
1512 
1518 $wgDjvuPostProcessor = 'pnmtojpeg';
1519 
1524  # end of DJvu }
1526  # end of file uploads }
1528 
1529 /************************************************************************/
1540 
1549 
1555 $wgPasswordSenderName = 'MediaWiki Mail';
1556 
1563 
1570 
1576 
1587 
1593 
1597 $wgNewPasswordExpiry = 3600 * 24 * 7;
1598 
1603 
1609 
1614 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1615 
1633 $wgSMTP = false;
1634 
1639 
1645 
1651 
1652 // TODO move UPO to preferences probably ?
1653 # If set to true, users get a corresponding option in their preferences and can choose to
1654 # enable or disable at their discretion
1655 # If set to false, the corresponding input form on the user preference page is suppressed
1656 # It call this to be a "user-preferences-option (UPO)"
1657 
1664 
1669 
1675 
1681 
1688 
1697 
1703 
1708 
1714  # end of email settings
1716 
1717 /************************************************************************/
1725 $wgDBserver = 'localhost';
1726 
1730 $wgDBport = 5432;
1731 
1735 $wgDBname = 'my_wiki';
1736 
1740 $wgDBuser = 'wikiuser';
1741 
1746 
1750 $wgDBtype = 'mysql';
1751 
1760 $wgDBssl = false;
1761 
1771 
1776 
1781 
1789 
1798 
1803 
1807 $wgDBTableOptions = 'ENGINE=InnoDB';
1808 
1816 
1821 
1826 
1833 
1860 
1865 
1869 $wgSharedTables = [ 'user', 'user_properties' ];
1870 
1876 
1928 
1939 $wgLBFactoryConf = [ 'class' => 'LBFactorySimple' ];
1940 
1948 
1953 
1973 
1990 $wgDBmysql5 = false;
1991 
2020 
2027 
2034 
2039 
2044  # End of DB settings }
2046 
2047 /************************************************************************/
2059 
2072 
2088 
2104 
2112  # end text storage }
2114 
2115 /************************************************************************/
2124 
2129 
2134 
2139 
2144 
2149 
2154 
2160 
2168  # end performance hacks }
2170 
2171 /************************************************************************/
2185 
2204 
2212 
2220 
2227 
2237 
2252  CACHE_NONE => [ 'class' => 'EmptyBagOStuff', 'reportDupes' => false ],
2253  CACHE_DB => [ 'class' => 'SqlBagOStuff', 'loggroup' => 'SQLBagOStuff' ],
2254 
2255  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2256  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2257  CACHE_MEMCACHED => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2258 
2259  'db-replicated' => [
2260  'class' => 'ReplicatedBagOStuff',
2261  'readFactory' => [
2262  'class' => 'SqlBagOStuff',
2263  'args' => [ [ 'slaveOnly' => true ] ]
2264  ],
2265  'writeFactory' => [
2266  'class' => 'SqlBagOStuff',
2267  'args' => [ [ 'slaveOnly' => false ] ]
2268  ],
2269  'loggroup' => 'SQLBagOStuff'
2270  ],
2271 
2272  'apc' => [ 'class' => 'APCBagOStuff', 'reportDupes' => false ],
2273  'apcu' => [ 'class' => 'APCUBagOStuff', 'reportDupes' => false ],
2274  'xcache' => [ 'class' => 'XCacheBagOStuff', 'reportDupes' => false ],
2275  'wincache' => [ 'class' => 'WinCacheBagOStuff', 'reportDupes' => false ],
2276  'memcached-php' => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2277  'memcached-pecl' => [ 'class' => 'MemcachedPeclBagOStuff', 'loggroup' => 'memcached' ],
2278  'hash' => [ 'class' => 'HashBagOStuff', 'reportDupes' => false ],
2279 ];
2280 
2297 
2314  CACHE_NONE => [
2315  'class' => 'WANObjectCache',
2316  'cacheId' => CACHE_NONE,
2317  'channels' => []
2318  ]
2319  /* Example of a simple single data-center cache:
2320  'memcached-php' => [
2321  'class' => 'WANObjectCache',
2322  'cacheId' => 'memcached-php',
2323  'channels' => [ 'purge' => 'wancache-main-memcached-purge' ]
2324  ]
2325  */
2326 ];
2327 
2342 $wgMainStash = 'db-replicated';
2343 
2349 
2356 
2361 
2366 
2371 
2389 
2394 
2398 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2399 
2405 
2410 
2423 
2431 
2455  'class' => 'LocalisationCache',
2456  'store' => 'detect',
2457  'storeClass' => false,
2458  'storeDirectory' => false,
2459  'manualRecache' => false,
2460 ];
2461 
2466 
2475 $wgCacheEpoch = '20030516000000';
2476 
2482 
2491 
2498 
2506 
2512 
2518 
2529 
2534 
2541 $wgUseGzip = false;
2542 
2547 $wgUseETag = false;
2548 
2556 
2567 
2584  # end of cache settings
2586 
2587 /************************************************************************/
2604 $wgUseSquid = false;
2605 
2609 $wgUseESI = false;
2610 
2617 
2627 
2637 
2646 
2653 
2669 
2676 
2683 
2693 
2701 
2722 
2775 
2781 
2786  # end of HTTP proxy settings
2788 
2789 /************************************************************************/
2810 
2816 
2827 
2832 
2837 
2852 
2857 
2865  'als' => 'gsw',
2866  'bat-smg' => 'sgs',
2867  'be-x-old' => 'be-tarask',
2868  'bh' => 'bho',
2869  'fiu-vro' => 'vro',
2870  'no' => 'nb',
2871  'qqq' => 'qqq', # Used for message documentation.
2872  'qqx' => 'qqx', # Used for viewing message keys.
2873  'roa-rup' => 'rup',
2874  'simple' => 'en',
2875  'zh-classical' => 'lzh',
2876  'zh-min-nan' => 'nan',
2877  'zh-yue' => 'yue',
2878 ];
2879 
2888 
2898 
2909 
2921 
2933 
2950  '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2951  '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2952  '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2953 
2967  '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
2968 
2973  '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
2974 ];
2975 
2989 
2995 
3001 
3007 
3012 
3017 
3022 
3027 
3032 
3043 
3062 
3069 
3090 
3115 
3126  # End of language/charset settings
3128 
3129 /*************************************************************************/
3137 $wgMimeType = 'text/html';
3138 
3147 
3156 
3164 $wgHtml5 = true;
3165 
3175 
3184 
3192 
3208 
3217 
3222 
3228 
3233 $wgDefaultSkin = 'vector';
3234 
3240 $wgFallbackSkin = 'fallback';
3241 
3248 
3253 
3260 
3267 
3274 
3279 
3284 
3290 
3311 
3323 
3328 
3339 
3371  "copyright" => [
3372  "copyright" => [], // placeholder for the built in copyright icon
3373  ],
3374  "poweredby" => [
3375  "mediawiki" => [
3376  // Defaults to point at
3377  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3378  // plus srcset for 1.5x, 2x resolution variants.
3379  "src" => null,
3380  "url" => "//www.mediawiki.org/",
3381  "alt" => "Powered by MediaWiki",
3382  ]
3383  ],
3384 ];
3385 
3393 
3397 $wgEdititis = false;
3398 
3411 
3422 
3430 
3440  # End of output format settings }
3442 
3443 /*************************************************************************/
3466 
3556 
3568 
3574 
3592  'versioned' => [
3593  'server' => 30 * 24 * 60 * 60, // 30 days
3594  'client' => 30 * 24 * 60 * 60, // 30 days
3595  ],
3596  'unversioned' => [
3597  'server' => 5 * 60, // 5 minutes
3598  'client' => 5 * 60, // 5 minutes
3599  ],
3600 ];
3601 
3608 
3616 
3625 
3632 
3659 
3674 
3683 
3693 
3724  'deviceWidthTablet' => '720px',
3725 ];
3726 
3741  "$IP/resources/src/mediawiki.less/",
3742 ];
3743 
3751 
3759 
3772  # End of ResourceLoader settings }
3774 
3775 /*************************************************************************/
3785 
3794 
3822 
3830 
3850 
3878 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
3879 
3886 
3896 
3901 
3926 
3934 
3939  # end of Interwiki caching settings.
3941 
3950 $wgSitesCacheFile = false;
3951  # end of SiteStore caching settings.
3953 
3969 $wgRedirectSources = false;
3970 
3979 
3995 
4001  NS_TALK => true,
4002  NS_USER => true,
4003  NS_USER_TALK => true,
4004  NS_PROJECT => true,
4005  NS_PROJECT_TALK => true,
4006  NS_FILE_TALK => true,
4007  NS_MEDIAWIKI => true,
4008  NS_MEDIAWIKI_TALK => true,
4009  NS_TEMPLATE_TALK => true,
4010  NS_HELP => true,
4011  NS_HELP_TALK => true,
4013 ];
4014 
4031 
4039 
4047 $wgExtraSignatureNamespaces = [];
4048 
4054 $wgMaxRedirects = 1;
4055 
4066 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4067  # End of title and interwiki settings }
4069 
4070 /************************************************************************/
4097 $wgParserConf = [
4098  'class' => 'Parser',
4099  # 'preprocessorClass' => 'Preprocessor_Hash',
4100 ];
4101 
4105 $wgMaxTocLevel = 999;
4106 
4111 $wgMaxPPNodeCount = 1000000;
4112 
4122 $wgMaxGeneratedPPNodeCount = 1000000;
4123 
4130 $wgMaxTemplateDepth = 40;
4131 
4135 $wgMaxPPExpandDepth = 40;
4136 
4147 $wgUrlProtocols = [
4148  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4149  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4150  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4151  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4152 ];
4153 
4157 $wgCleanSignatures = true;
4158 
4162 $wgAllowExternalImages = false;
4163 
4176 $wgAllowExternalImagesFrom = '';
4177 
4187 $wgEnableImageWhitelist = true;
4188 
4197 $wgAllowImageTag = false;
4198 
4220 $wgTidyConfig = null;
4221 
4226 $wgUseTidy = false;
4227 
4232 $wgTidyBin = 'tidy';
4233 
4238 $wgTidyConf = $IP . '/includes/tidy/tidy.conf';
4239 
4244 $wgTidyOpts = '';
4245 
4250 $wgTidyInternal = extension_loaded( 'tidy' );
4251 
4256 $wgDebugTidy = false;
4257 
4263 $wgRawHtml = false;
4264 
4274 $wgExternalLinkTarget = false;
4275 
4282 $wgNoFollowLinks = true;
4283 
4288 $wgNoFollowNsExceptions = [];
4289 
4304 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4305 
4309 $wgAllowDisplayTitle = true;
4310 
4316 $wgRestrictDisplayTitle = true;
4317 
4322 $wgExpensiveParserFunctionLimit = 100;
4323 
4328 $wgPreprocessorCacheThreshold = 1000;
4329 
4333 $wgEnableScaryTranscluding = false;
4334 
4339 $wgTranscludeCacheExpiry = 3600;
4340  # end of parser settings }
4342 
4343 /************************************************************************/
4365 $wgArticleCountMethod = 'link';
4366 
4374 $wgActiveUserDays = 30;
4375  # End of statistics }
4377 
4378 /************************************************************************/
4388 $wgCentralIdLookupProviders = [
4389  'local' => [ 'class' => 'LocalIdLookup' ],
4390 ];
4391 
4396 $wgCentralIdLookupProvider = 'local';
4397 
4421 $wgPasswordPolicy = [
4422  'policies' => [
4423  'bureaucrat' => [
4424  'MinimalPasswordLength' => 8,
4425  'MinimumPasswordLengthToLogin' => 1,
4426  'PasswordCannotMatchUsername' => true,
4427  'PasswordCannotBePopular' => 25,
4428  ],
4429  'sysop' => [
4430  'MinimalPasswordLength' => 8,
4431  'MinimumPasswordLengthToLogin' => 1,
4432  'PasswordCannotMatchUsername' => true,
4433  'PasswordCannotBePopular' => 25,
4434  ],
4435  'bot' => [
4436  'MinimalPasswordLength' => 8,
4437  'MinimumPasswordLengthToLogin' => 1,
4438  'PasswordCannotMatchUsername' => true,
4439  ],
4440  'default' => [
4441  'MinimalPasswordLength' => 1,
4442  'PasswordCannotMatchUsername' => true,
4443  'PasswordCannotMatchBlacklist' => true,
4444  'MaximalPasswordLength' => 4096,
4445  ],
4446  ],
4447  'checks' => [
4448  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4449  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4450  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4451  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4452  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4453  'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4454  ],
4455 ];
4456 
4476 $wgAuthManagerConfig = null;
4477 
4482 $wgAuthManagerAutoConfig = [
4483  'preauth' => [
4486  'sort' => 0,
4487  ],
4490  'sort' => 0,
4491  ],
4492  ],
4493  'primaryauth' => [
4494  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4495  // any other PasswordAuthenticationRequest-based
4496  // PrimaryAuthenticationProvider (or at least any that might return
4497  // FAIL rather than ABSTAIN for a wrong password), or password reset
4498  // won't work right. Do not remove this (or change the key) or
4499  // auto-configuration of other such providers in extensions will
4500  // probably auto-insert themselves in the wrong place.
4503  'args' => [ [
4504  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4505  'authoritative' => false,
4506  ] ],
4507  'sort' => 0,
4508  ],
4511  'args' => [ [
4512  // Last one should be authoritative, or else the user will get
4513  // a less-than-helpful error message (something like "supplied
4514  // authentication info not supported" rather than "wrong
4515  // password") if it too fails.
4516  'authoritative' => true,
4517  ] ],
4518  'sort' => 100,
4519  ],
4520  ],
4521  'secondaryauth' => [
4524  'sort' => 0,
4525  ],
4528  'sort' => 100,
4529  ],
4530  // Linking during login is experimental, enable at your own risk - T134952
4531  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4532  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4533  // 'sort' => 100,
4534  // ],
4537  'sort' => 200,
4538  ],
4539  ],
4540 ];
4541 
4580 $wgReauthenticateTime = [
4581  'default' => 300,
4582 ];
4583 
4599 $wgAllowSecuritySensitiveOperationIfCannotReauthenticate = [
4600  'default' => true,
4601 ];
4602 
4612 $wgChangeCredentialsBlacklist = [
4614 ];
4615 
4625 $wgRemoveCredentialsBlacklist = [
4627 ];
4628 
4633 $wgPasswordSalt = true;
4634 
4640 $wgMinimalPasswordLength = false;
4641 
4653 $wgMaximalPasswordLength = false;
4654 
4660 $wgInvalidPasswordReset = true;
4661 
4667 $wgPasswordDefault = 'pbkdf2';
4668 
4688 $wgPasswordConfig = [
4689  'A' => [
4690  'class' => 'MWOldPassword',
4691  ],
4692  'B' => [
4693  'class' => 'MWSaltedPassword',
4694  ],
4695  'pbkdf2-legacyA' => [
4696  'class' => 'LayeredParameterizedPassword',
4697  'types' => [
4698  'A',
4699  'pbkdf2',
4700  ],
4701  ],
4702  'pbkdf2-legacyB' => [
4703  'class' => 'LayeredParameterizedPassword',
4704  'types' => [
4705  'B',
4706  'pbkdf2',
4707  ],
4708  ],
4709  'bcrypt' => [
4710  'class' => 'BcryptPassword',
4711  'cost' => 9,
4712  ],
4713  'pbkdf2' => [
4714  'class' => 'Pbkdf2Password',
4715  'algo' => 'sha256',
4716  'cost' => '10000',
4717  'length' => '128',
4718  ],
4719 ];
4720 
4727 $wgPasswordResetRoutes = [
4728  'username' => true,
4729  'email' => true,
4730 ];
4731 
4735 $wgMaxSigChars = 255;
4736 
4741 $wgMaxNameChars = 255;
4742 
4747 $wgReservedUsernames = [
4748  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
4749  'Conversion script', // Used for the old Wikipedia software upgrade
4750  'Maintenance script', // Maintenance scripts which perform editing, image import script
4751  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
4752  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
4753  'msg:double-redirect-fixer', // Automatic double redirect fix
4754  'msg:usermessage-editor', // Default user for leaving user messages
4755  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
4756  'msg:spambot_username', // Used by cleanupSpam.php
4757  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
4758 ];
4759 
4767  'ccmeonemails' => 0,
4768  'cols' => 80,
4769  'date' => 'default',
4770  'diffonly' => 0,
4771  'disablemail' => 0,
4772  'editfont' => 'default',
4773  'editondblclick' => 0,
4774  'editsectiononrightclick' => 0,
4775  'enotifminoredits' => 0,
4776  'enotifrevealaddr' => 0,
4777  'enotifusertalkpages' => 1,
4778  'enotifwatchlistpages' => 1,
4779  'extendwatchlist' => 1,
4780  'fancysig' => 0,
4781  'forceeditsummary' => 0,
4782  'gender' => 'unknown',
4783  'hideminor' => 0,
4784  'hidepatrolled' => 0,
4785  'hidecategorization' => 1,
4786  'imagesize' => 2,
4787  'math' => 1,
4788  'minordefault' => 0,
4789  'newpageshidepatrolled' => 0,
4790  'nickname' => '',
4791  'norollbackdiff' => 0,
4792  'numberheadings' => 0,
4793  'previewonfirst' => 0,
4794  'previewontop' => 1,
4795  'rcdays' => 7,
4796  'rclimit' => 50,
4797  'rows' => 25,
4798  'showhiddencats' => 0,
4799  'shownumberswatching' => 1,
4800  'showtoolbar' => 1,
4801  'skin' => false,
4802  'stubthreshold' => 0,
4803  'thumbsize' => 5,
4804  'underline' => 2,
4805  'uselivepreview' => 0,
4806  'usenewrc' => 1,
4807  'watchcreations' => 1,
4808  'watchdefault' => 1,
4809  'watchdeletion' => 0,
4810  'watchuploads' => 1,
4811  'watchlistdays' => 3.0,
4812  'watchlisthideanons' => 0,
4813  'watchlisthidebots' => 0,
4814  'watchlisthideliu' => 0,
4815  'watchlisthideminor' => 0,
4816  'watchlisthideown' => 0,
4817  'watchlisthidepatrolled' => 0,
4818  'watchlisthidecategorization' => 1,
4819  'watchlistreloadautomatically' => 0,
4820  'watchmoves' => 0,
4821  'watchrollback' => 0,
4822  'wllimit' => 250,
4823  'useeditwarning' => 1,
4824  'prefershttps' => 1,
4825 ];
4826 
4830 $wgHiddenPrefs = [];
4831 
4837 $wgInvalidUsernameCharacters = '@:';
4838 
4848 $wgUserrightsInterwikiDelimiter = '@';
4849 
4856 $wgSecureLogin = false;
4857 
4868 $wgAuthenticationTokenVersion = null;
4869 
4878 $wgSessionProviders = [
4881  'args' => [ [
4882  'priority' => 30,
4883  'callUserSetCookiesHook' => true,
4884  ] ],
4885  ],
4888  'args' => [ [
4889  'priority' => 75,
4890  ] ],
4891  ],
4892 ];
4893  # end user accounts }
4895 
4896 /************************************************************************/
4904 $wgAutoblockExpiry = 86400;
4905 
4909 $wgBlockAllowsUTEdit = true;
4910 
4914 $wgSysopEmailBans = true;
4915 
4930 $wgBlockCIDRLimit = [
4931  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
4932  'IPv6' => 19,
4933 ];
4934 
4942 $wgBlockDisablesLogin = false;
4943 
4961 $wgWhitelistRead = false;
4962 
4989 $wgWhitelistReadRegexp = false;
4990 
4995 $wgEmailConfirmToEdit = false;
4996 
5001 $wgHideIdentifiableRedirects = true;
5002 
5027 $wgGroupPermissions = [];
5028 
5030 // Implicit group for all visitors
5031 $wgGroupPermissions['*']['createaccount'] = true;
5032 $wgGroupPermissions['*']['read'] = true;
5033 $wgGroupPermissions['*']['edit'] = true;
5034 $wgGroupPermissions['*']['createpage'] = true;
5035 $wgGroupPermissions['*']['createtalk'] = true;
5036 $wgGroupPermissions['*']['writeapi'] = true;
5037 $wgGroupPermissions['*']['editmyusercss'] = true;
5038 $wgGroupPermissions['*']['editmyuserjs'] = true;
5039 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5040 $wgGroupPermissions['*']['editmywatchlist'] = true;
5041 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5042 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5043 $wgGroupPermissions['*']['editmyoptions'] = true;
5044 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5045 
5046 // Implicit group for all logged-in accounts
5047 $wgGroupPermissions['user']['move'] = true;
5048 $wgGroupPermissions['user']['move-subpages'] = true;
5049 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5050 $wgGroupPermissions['user']['move-categorypages'] = true;
5051 $wgGroupPermissions['user']['movefile'] = true;
5052 $wgGroupPermissions['user']['read'] = true;
5053 $wgGroupPermissions['user']['edit'] = true;
5054 $wgGroupPermissions['user']['createpage'] = true;
5055 $wgGroupPermissions['user']['createtalk'] = true;
5056 $wgGroupPermissions['user']['writeapi'] = true;
5057 $wgGroupPermissions['user']['upload'] = true;
5058 $wgGroupPermissions['user']['reupload'] = true;
5059 $wgGroupPermissions['user']['reupload-shared'] = true;
5060 $wgGroupPermissions['user']['minoredit'] = true;
5061 $wgGroupPermissions['user']['purge'] = true; // can use ?action=purge without clicking "ok"
5062 $wgGroupPermissions['user']['sendemail'] = true;
5063 $wgGroupPermissions['user']['applychangetags'] = true;
5064 $wgGroupPermissions['user']['changetags'] = true;
5065 
5066 // Implicit group for accounts that pass $wgAutoConfirmAge
5067 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5068 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5069 
5070 // Users with bot privilege can have their edits hidden
5071 // from various log pages by default
5072 $wgGroupPermissions['bot']['bot'] = true;
5073 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5074 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5075 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5076 $wgGroupPermissions['bot']['autopatrol'] = true;
5077 $wgGroupPermissions['bot']['suppressredirect'] = true;
5078 $wgGroupPermissions['bot']['apihighlimits'] = true;
5079 $wgGroupPermissions['bot']['writeapi'] = true;
5080 
5081 // Most extra permission abilities go to this group
5082 $wgGroupPermissions['sysop']['block'] = true;
5083 $wgGroupPermissions['sysop']['createaccount'] = true;
5084 $wgGroupPermissions['sysop']['delete'] = true;
5085 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5086 $wgGroupPermissions['sysop']['bigdelete'] = true;
5087 // can view deleted history entries, but not see or restore the text
5088 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5089 // can view deleted revision text
5090 $wgGroupPermissions['sysop']['deletedtext'] = true;
5091 $wgGroupPermissions['sysop']['undelete'] = true;
5092 $wgGroupPermissions['sysop']['editinterface'] = true;
5093 $wgGroupPermissions['sysop']['editusercss'] = true;
5094 $wgGroupPermissions['sysop']['edituserjs'] = true;
5095 $wgGroupPermissions['sysop']['editcontentmodel'] = true;
5096 $wgGroupPermissions['sysop']['import'] = true;
5097 $wgGroupPermissions['sysop']['importupload'] = true;
5098 $wgGroupPermissions['sysop']['move'] = true;
5099 $wgGroupPermissions['sysop']['move-subpages'] = true;
5100 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5101 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5102 $wgGroupPermissions['sysop']['patrol'] = true;
5103 $wgGroupPermissions['sysop']['autopatrol'] = true;
5104 $wgGroupPermissions['sysop']['protect'] = true;
5105 $wgGroupPermissions['sysop']['editprotected'] = true;
5106 $wgGroupPermissions['sysop']['rollback'] = true;
5107 $wgGroupPermissions['sysop']['upload'] = true;
5108 $wgGroupPermissions['sysop']['reupload'] = true;
5109 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5110 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5111 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5112 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5113 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5114 $wgGroupPermissions['sysop']['blockemail'] = true;
5115 $wgGroupPermissions['sysop']['markbotedits'] = true;
5116 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5117 $wgGroupPermissions['sysop']['browsearchive'] = true;
5118 $wgGroupPermissions['sysop']['noratelimit'] = true;
5119 $wgGroupPermissions['sysop']['movefile'] = true;
5120 $wgGroupPermissions['sysop']['unblockself'] = true;
5121 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5122 # $wgGroupPermissions['sysop']['pagelang'] = true;
5123 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5124 $wgGroupPermissions['sysop']['mergehistory'] = true;
5125 $wgGroupPermissions['sysop']['managechangetags'] = true;
5126 
5127 // Permission to change users' group assignments
5128 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5129 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5130 // Permission to change users' groups assignments across wikis
5131 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5132 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5133 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5134 
5135 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5136 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5137 // To hide usernames from users and Sysops
5138 # $wgGroupPermissions['suppress']['hideuser'] = true;
5139 // To hide revisions/log items from users and Sysops
5140 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5141 // To view revisions/log items hidden from users and Sysops
5142 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5143 // For private suppression log access
5144 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5145 
5152 # $wgGroupPermissions['developer']['siteadmin'] = true;
5153 
5165 $wgRevokePermissions = [];
5166 
5170 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5171 
5193 $wgGroupsAddToSelf = [];
5194 
5198 $wgGroupsRemoveFromSelf = [];
5199 
5207 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5208 
5220 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5221 
5231 $wgCascadingRestrictionLevels = [ 'sysop' ];
5232 
5245 $wgSemiprotectedRestrictionLevels = [ 'autoconfirmed' ];
5246 
5255 
5265 $wgNonincludableNamespaces = [];
5266 
5287 $wgAutoConfirmAge = 0;
5288 
5298 $wgAutoConfirmCount = 0;
5299 
5323 $wgAutopromote = [
5324  'autoconfirmed' => [ '&',
5325  [ APCOND_EDITCOUNT, &$wgAutoConfirmCount ],
5326  [ APCOND_AGE, &$wgAutoConfirmAge ],
5327  ],
5328 ];
5329 
5348 $wgAutopromoteOnce = [
5349  'onEdit' => [],
5350 ];
5351 
5356 $wgAutopromoteOnceLogInRC = true;
5357 
5380 $wgAddGroups = [];
5381 
5385 $wgRemoveGroups = [];
5386 
5391 $wgAvailableRights = [];
5392 
5397 $wgDeleteRevisionsLimit = 0;
5398 
5406 $wgHideUserContribLimit = 1000;
5407 
5413 $wgAccountCreationThrottle = 0;
5414 
5426 $wgSpamRegex = [];
5427 
5431 $wgSummarySpamRegex = [];
5432 
5438 $wgEnableDnsBlacklist = false;
5439 
5463 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
5464 
5469 $wgProxyWhitelist = [];
5470 
5476 $wgApplyIpBlocksToXff = false;
5477 
5507 $wgRateLimits = [
5508  // Page edits
5509  'edit' => [
5510  'ip' => [ 8, 60 ],
5511  'newbie' => [ 8, 60 ],
5512  ],
5513  // Page moves
5514  'move' => [
5515  'newbie' => [ 2, 120 ],
5516  'user' => [ 8, 60 ],
5517  ],
5518  // File uploads
5519  'upload' => [
5520  'ip' => [ 8, 60 ],
5521  'newbie' => [ 8, 60 ],
5522  ],
5523  // Page rollbacks
5524  'rollback' => [
5525  'user' => [ 10, 60 ],
5526  'newbie' => [ 5, 120 ]
5527  ],
5528  // Triggering password resets emails
5529  'mailpassword' => [
5530  'ip' => [ 5, 3600 ],
5531  ],
5532  // Emailing other users using MediaWiki
5533  'emailuser' => [
5534  'ip' => [ 5, 86400 ],
5535  'newbie' => [ 5, 86400 ],
5536  'user' => [ 20, 86400 ],
5537  ],
5538  // Purging pages
5539  'purge' => [
5540  'ip' => [ 30, 60 ],
5541  'user' => [ 30, 60 ],
5542  ],
5543  // Purges of link tables
5544  'linkpurge' => [
5545  'ip' => [ 30, 60 ],
5546  'user' => [ 30, 60 ],
5547  ],
5548  // Files rendered via thumb.php or thumb_handler.php
5549  'renderfile' => [
5550  'ip' => [ 700, 30 ],
5551  'user' => [ 700, 30 ],
5552  ],
5553  // Same as above but for non-standard thumbnails
5554  'renderfile-nonstandard' => [
5555  'ip' => [ 70, 30 ],
5556  'user' => [ 70, 30 ],
5557  ],
5558  // Stashing edits into cache before save
5559  'stashedit' => [
5560  'ip' => [ 30, 60 ],
5561  'newbie' => [ 30, 60 ],
5562  ],
5563  // Adding or removing change tags
5564  'changetag' => [
5565  'ip' => [ 8, 60 ],
5566  'newbie' => [ 8, 60 ],
5567  ],
5568 ];
5569 
5574 $wgRateLimitsExcludedIPs = [];
5575 
5581 $wgPutIPinRC = true;
5582 
5587 $wgQueryPageDefaultLimit = 50;
5588 
5601 $wgPasswordAttemptThrottle = [
5602  // Short term limit
5603  [ 'count' => 5, 'seconds' => 300 ],
5604  // Long term limit. We need to balance the risk
5605  // of somebody using this as a DoS attack to lock someone
5606  // out of their account, and someone doing a brute force attack.
5607  [ 'count' => 150, 'seconds' => 60*60*48 ],
5608 ];
5609 
5620 $wgGrantPermissions = [];
5621 
5622 // @TODO: clean up grants
5623 // @TODO: auto-include read/editsemiprotected rights?
5624 
5625 $wgGrantPermissions['basic']['autoconfirmed'] = true;
5626 $wgGrantPermissions['basic']['autopatrol'] = true;
5627 $wgGrantPermissions['basic']['editsemiprotected'] = true;
5628 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
5629 $wgGrantPermissions['basic']['nominornewtalk'] = true;
5630 $wgGrantPermissions['basic']['patrolmarks'] = true;
5631 $wgGrantPermissions['basic']['purge'] = true;
5632 $wgGrantPermissions['basic']['read'] = true;
5633 $wgGrantPermissions['basic']['skipcaptcha'] = true;
5634 $wgGrantPermissions['basic']['writeapi'] = true;
5635 
5636 $wgGrantPermissions['highvolume']['bot'] = true;
5637 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
5638 $wgGrantPermissions['highvolume']['noratelimit'] = true;
5639 $wgGrantPermissions['highvolume']['markbotedits'] = true;
5640 
5641 $wgGrantPermissions['editpage']['edit'] = true;
5642 $wgGrantPermissions['editpage']['minoredit'] = true;
5643 $wgGrantPermissions['editpage']['applychangetags'] = true;
5644 $wgGrantPermissions['editpage']['changetags'] = true;
5645 
5646 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
5647 $wgGrantPermissions['editprotected']['editprotected'] = true;
5648 
5649 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
5650 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
5651 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
5652 
5653 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
5654 
5655 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
5656 $wgGrantPermissions['editinterface']['editinterface'] = true;
5657 $wgGrantPermissions['editinterface']['editusercss'] = true;
5658 $wgGrantPermissions['editinterface']['edituserjs'] = true;
5659 
5660 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
5661 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
5662 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
5663 $wgGrantPermissions['createeditmovepage']['move'] = true;
5664 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
5665 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
5666 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
5667 
5668 $wgGrantPermissions['uploadfile']['upload'] = true;
5669 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
5670 
5671 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
5672 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
5673 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
5674 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
5675 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
5676 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
5677 
5678 $wgGrantPermissions['patrol']['patrol'] = true;
5679 
5680 $wgGrantPermissions['rollback']['rollback'] = true;
5681 
5682 $wgGrantPermissions['blockusers']['block'] = true;
5683 $wgGrantPermissions['blockusers']['blockemail'] = true;
5684 
5685 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
5686 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
5687 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
5688 
5689 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
5690  $wgGrantPermissions['viewdeleted'];
5691 $wgGrantPermissions['delete']['delete'] = true;
5692 $wgGrantPermissions['delete']['bigdelete'] = true;
5693 $wgGrantPermissions['delete']['deletelogentry'] = true;
5694 $wgGrantPermissions['delete']['deleterevision'] = true;
5695 $wgGrantPermissions['delete']['undelete'] = true;
5696 
5697 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
5698 $wgGrantPermissions['protect']['protect'] = true;
5699 
5700 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
5701 
5702 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
5703 
5704 $wgGrantPermissions['sendemail']['sendemail'] = true;
5705 
5706 $wgGrantPermissions['createaccount']['createaccount'] = true;
5707 
5712 $wgGrantPermissionGroups = [
5713  // Hidden grants are implicitly present
5714  'basic' => 'hidden',
5715 
5716  'editpage' => 'page-interaction',
5717  'createeditmovepage' => 'page-interaction',
5718  'editprotected' => 'page-interaction',
5719  'patrol' => 'page-interaction',
5720 
5721  'uploadfile' => 'file-interaction',
5722  'uploadeditmovefile' => 'file-interaction',
5723 
5724  'sendemail' => 'email',
5725 
5726  'viewmywatchlist' => 'watchlist-interaction',
5727  'editviewmywatchlist' => 'watchlist-interaction',
5728 
5729  'editmycssjs' => 'customization',
5730  'editmyoptions' => 'customization',
5731 
5732  'editinterface' => 'administration',
5733  'rollback' => 'administration',
5734  'blockusers' => 'administration',
5735  'delete' => 'administration',
5736  'viewdeleted' => 'administration',
5737  'protect' => 'administration',
5738  'createaccount' => 'administration',
5739 
5740  'highvolume' => 'high-volume',
5741 ];
5742 
5747 $wgEnableBotPasswords = true;
5748 
5754 $wgBotPasswordsCluster = false;
5755 
5764 $wgBotPasswordsDatabase = false;
5765  # end of user rights settings
5767 
5768 /************************************************************************/
5776 $wgSecretKey = false;
5777 
5787 $wgProxyList = [];
5788  # end of proxy scanner settings
5790 
5791 /************************************************************************/
5799 $wgCookieExpiration = 180 * 86400;
5800 
5807 $wgExtendedLoginCookies = [ 'UserID', 'Token' ];
5808 
5815 $wgExtendedLoginCookieExpiration = null;
5816 
5821 $wgCookieDomain = '';
5822 
5827 $wgCookiePath = '/';
5828 
5835 $wgCookieSecure = 'detect';
5836 
5843 $wgDisableCookieCheck = false;
5844 
5850 $wgCookiePrefix = false;
5851 
5857 $wgCookieHttpOnly = true;
5858 
5862 $wgCacheVaryCookies = [];
5863 
5867 $wgSessionName = false;
5868  # end of cookie settings }
5870 
5871 /************************************************************************/
5882 $wgUseTeX = false;
5883  # end LaTeX }
5885 
5886 /************************************************************************/
5899 $wgDebugLogFile = '';
5900 
5904 $wgDebugLogPrefix = '';
5905 
5911 $wgDebugRedirects = false;
5912 
5918 $wgDebugRawPage = false;
5919 
5928 $wgDebugComments = false;
5929 
5938 $wgDebugDumpSql = false;
5939 
5945 $wgTrxProfilerLimits = [
5946  // HTTP GET/HEAD requests.
5947  // Master queries should not happen on GET requests
5948  'GET' => [
5949  'masterConns' => 0,
5950  'writes' => 0,
5951  'readQueryTime' => 5
5952  ],
5953  // HTTP POST requests.
5954  // Master reads and writes will happen for a subset of these.
5955  'POST' => [
5956  'readQueryTime' => 5,
5957  'writeQueryTime' => 1,
5958  'maxAffected' => 500
5959  ],
5960  'POST-nonwrite' => [
5961  'masterConns' => 0,
5962  'writes' => 0,
5963  'readQueryTime' => 5
5964  ],
5965  // Background job runner
5966  'JobRunner' => [
5967  'readQueryTime' => 30,
5968  'writeQueryTime' => 5,
5969  'maxAffected' => 1000
5970  ],
5971  // Command-line scripts
5972  'Maintenance' => [
5973  'writeQueryTime' => 5,
5974  'maxAffected' => 1000
5975  ]
5976 ];
5977 
6008 $wgDebugLogGroups = [];
6009 
6031 $wgMWLoggerDefaultSpi = [
6032  'class' => '\\MediaWiki\\Logger\\LegacySpi',
6033 ];
6034 
6040 $wgShowDebug = false;
6041 
6046 $wgDebugTimestamps = false;
6047 
6051 $wgDebugPrintHttpHeaders = true;
6052 
6056 $wgSpecialVersionShowHooks = false;
6057 
6063 $wgShowSQLErrors = false;
6064 
6071 $wgShowExceptionDetails = false;
6072 
6081 $wgShowDBErrorBacktrace = false;
6082 
6086 $wgLogExceptionBacktrace = true;
6087 
6091 $wgShowHostnames = false;
6092 
6098 $wgOverrideHostname = false;
6099 
6104 $wgDevelopmentWarnings = false;
6105 
6111 $wgDeprecationReleaseLimit = false;
6112 
6117 $wgProfileLimit = 0.0;
6118 
6125 $wgProfileOnly = false;
6126 
6137 $wgStatsdServer = false;
6138 
6146 $wgStatsdMetricPrefix = 'MediaWiki';
6147 
6153 $wgPageInfoTransclusionLimit = 50;
6154 
6161 $wgSiteStatsAsyncFactor = false;
6162 
6172 $wgParserTestFiles = [
6173  "$IP/tests/parser/parserTests.txt",
6174  "$IP/tests/parser/extraParserTests.txt"
6175 ];
6176 
6180 $wgEnableJavaScriptTest = false;
6181 
6186 $wgCachePrefix = false;
6187 
6195 $wgDebugToolbar = false;
6196  # end of profiling, testing and debugging }
6198 
6199 /************************************************************************/
6207 $wgDisableTextSearch = false;
6208 
6213 $wgAdvancedSearchHighlighting = false;
6214 
6219 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6220 
6231 $wgOpenSearchTemplate = false;
6232 
6241 $wgOpenSearchTemplates = [
6242  'application/x-suggestions+json' => false,
6243  'application/x-suggestions+xml' => false,
6244 ];
6245 
6252 $wgEnableOpenSearchSuggest = true;
6253 
6258 $wgOpenSearchDefaultLimit = 10;
6259 
6263 $wgOpenSearchDescriptionLength = 100;
6264 
6268 $wgSearchSuggestCacheExpiry = 1200;
6269 
6274 $wgDisableSearchUpdate = false;
6275 
6285 $wgNamespacesToBeSearchedDefault = [
6286  NS_MAIN => true,
6287 ];
6288 
6293 $wgDisableInternalSearch = false;
6294 
6310 $wgSearchForwardUrl = null;
6311 
6317 $wgUseTwoButtonsSearchForm = true;
6318 
6324 $wgSitemapNamespaces = false;
6325 
6340 $wgSitemapNamespacesPriorities = false;
6341 
6347 $wgEnableSearchContributorsByIP = true;
6348  # end of search settings
6350 
6351 /************************************************************************/
6360 $wgDiff3 = '/usr/bin/diff3';
6361 
6365 $wgDiff = '/usr/bin/diff';
6366 
6372 $wgPreviewOnOpenNamespaces = [
6373  NS_CATEGORY => true
6374 ];
6375 
6381 $wgUniversalEditButton = true;
6382 
6388 $wgUseAutomaticEditSummaries = true;
6389  # end edit UI }
6391 
6392 /************************************************************************/
6402 if ( !isset( $wgCommandLineMode ) ) {
6403  $wgCommandLineMode = false;
6404 }
6410 $wgCommandLineDarkBg = false;
6411 
6420 $wgReadOnly = null;
6421 
6429 $wgReadOnlyFile = false;
6430 
6440 $wgUpgradeKey = false;
6441 
6445 $wgGitBin = '/usr/bin/git';
6446 
6460 $wgGitRepositoryViewers = [
6461  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6462  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6463  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6464  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6465 ];
6466  # End of maintenance }
6468 
6469 /************************************************************************/
6479 $wgRCMaxAge = 90 * 24 * 3600;
6480 
6486 $wgWatchersMaxAge = 180 * 24 * 3600;
6487 
6494 $wgUnwatchedPageSecret = 1;
6495 
6503 $wgRCFilterByAge = false;
6504 
6509 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
6510 
6515 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
6516 
6558 $wgRCFeeds = [];
6559 
6564 $wgRCEngines = [
6565  'redis' => 'RedisPubSubFeedEngine',
6566  'udp' => 'UDPRCFeedEngine',
6567 ];
6568 
6580 $wgRCWatchCategoryMembership = false;
6581 
6586 $wgUseRCPatrol = true;
6587 
6591 $wgUseNPPatrol = true;
6592 
6598 $wgUseFilePatrol = true;
6599 
6603 $wgLogAutopatrol = true;
6604 
6608 $wgFeed = true;
6609 
6614 $wgFeedLimit = 50;
6615 
6624 $wgFeedCacheTimeout = 60;
6625 
6630 $wgFeedDiffCutoff = 32768;
6631 
6644 $wgOverrideSiteFeed = [];
6645 
6651 $wgFeedClasses = [
6652  'rss' => 'RSSFeed',
6653  'atom' => 'AtomFeed',
6654 ];
6655 
6660 $wgAdvertisedFeedTypes = [ 'atom' ];
6661 
6665 $wgRCShowWatchingUsers = false; # UPO
6666 
6670 $wgRCShowChangedSize = true;
6671 
6677 $wgRCChangedSizeThreshold = 500;
6678 
6683 $wgShowUpdatedMarker = true;
6684 
6689 $wgDisableAnonTalk = false;
6690 
6694 $wgAllowCategorizedRecentChanges = false;
6695 
6700 $wgUseTagFilter = true;
6701 
6709 $wgUnwatchedPageThreshold = false;
6710 
6735 $wgRecentChangesFlags = [
6736  'newpage' => [
6737  'letter' => 'newpageletter',
6738  'title' => 'recentchanges-label-newpage',
6739  'legend' => 'recentchanges-legend-newpage',
6740  'grouping' => 'any',
6741  ],
6742  'minor' => [
6743  'letter' => 'minoreditletter',
6744  'title' => 'recentchanges-label-minor',
6745  'legend' => 'recentchanges-legend-minor',
6746  'class' => 'minoredit',
6747  'grouping' => 'all',
6748  ],
6749  'bot' => [
6750  'letter' => 'boteditletter',
6751  'title' => 'recentchanges-label-bot',
6752  'legend' => 'recentchanges-legend-bot',
6753  'class' => 'botedit',
6754  'grouping' => 'all',
6755  ],
6756  'unpatrolled' => [
6757  'letter' => 'unpatrolledletter',
6758  'title' => 'recentchanges-label-unpatrolled',
6759  'legend' => 'recentchanges-legend-unpatrolled',
6760  'grouping' => 'any',
6761  ],
6762 ];
6763  # end RC/watchlist }
6765 
6766 /************************************************************************/
6778 $wgRightsPage = null;
6779 
6785 $wgRightsUrl = null;
6786 
6793 $wgRightsText = null;
6794 
6798 $wgRightsIcon = null;
6799 
6803 $wgUseCopyrightUpload = false;
6804 
6812 $wgMaxCredits = 0;
6813 
6818 $wgShowCreditsIfMax = true;
6819  # end of copyright and credits settings }
6821 
6822 /************************************************************************/
6849 $wgImportSources = [];
6850 
6858 $wgImportTargetNamespace = null;
6859 
6865 $wgExportAllowHistory = true;
6866 
6872 $wgExportMaxHistory = 0;
6873 
6877 $wgExportAllowListContributors = false;
6878 
6890 $wgExportMaxLinkDepth = 0;
6891 
6895 $wgExportFromNamespaces = false;
6896 
6900 $wgExportAllowAll = false;
6901 
6908 $wgExportPagelistLimit = 5000;
6909  # end of import/export }
6911 
6912 /*************************************************************************/
6921 $wgExtensionFunctions = [];
6922 
6950 
6976 $wgMessagesDirs = [];
6977 
6983 $wgExtensionEntryPointListFiles = [];
6984 
6999 $wgParserOutputHooks = [];
7000 
7004 $wgEnableParserLimitReporting = true;
7005 
7014 $wgValidSkinNames = [];
7015 
7022 $wgSpecialPages = [];
7023 
7027 $wgAutoloadClasses = [];
7028 
7034 $wgAutoloadAttemptLowercase = true;
7035 
7088 $wgExtensionCredits = [];
7089 
7094 $wgAuth = null;
7095 
7130 $wgHooks = [];
7131 
7144  __DIR__ . '/ServiceWiring.php'
7145 ];
7146 
7151 $wgJobClasses = [
7152  'refreshLinks' => 'RefreshLinksJob',
7153  'deleteLinks' => 'DeleteLinksJob',
7154  'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
7155  'sendMail' => 'EmaillingJob',
7156  'enotifNotify' => 'EnotifNotifyJob',
7157  'fixDoubleRedirect' => 'DoubleRedirectJob',
7158  'AssembleUploadChunks' => 'AssembleUploadChunksJob',
7159  'PublishStashedFile' => 'PublishStashedFileJob',
7160  'ThumbnailRender' => 'ThumbnailRenderJob',
7161  'recentChangesUpdate' => 'RecentChangesUpdateJob',
7162  'refreshLinksPrioritized' => 'RefreshLinksJob',
7163  'refreshLinksDynamic' => 'RefreshLinksJob',
7164  'activityUpdateJob' => 'ActivityUpdateJob',
7165  'categoryMembershipChange' => 'CategoryMembershipChangeJob',
7166  'cdnPurge' => 'CdnPurgeJob',
7167  'enqueue' => 'EnqueueJob', // local queue for multi-DC setups
7168  'null' => 'NullJob'
7169 ];
7170 
7182 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7183 
7193 $wgJobBackoffThrottling = [];
7194 
7208 $wgJobSerialCommitThreshold = false;
7209 
7216 $wgJobTypeConf = [
7217  'default' => [ 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ],
7218 ];
7219 
7224 $wgJobQueueAggregator = [
7225  'class' => 'JobQueueAggregatorNull'
7226 ];
7227 
7232 $wgSpecialPageCacheUpdates = [
7233  'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
7234 ];
7235 
7243 $wgExceptionHooks = [];
7244 
7252 $wgPagePropLinkInvalidations = [
7253  'hiddencat' => 'categorylinks',
7254 ];
7255  # End extensions }
7257 
7258 /*************************************************************************/
7266 $wgUseCategoryBrowser = false;
7267 
7272 $wgCategoryMagicGallery = true;
7273 
7277 $wgCategoryPagingLimit = 200;
7278 
7304 $wgCategoryCollation = 'uppercase';
7305  # End categories }
7307 
7308 /*************************************************************************/
7319 $wgLogTypes = [
7320  '',
7321  'block',
7322  'protect',
7323  'rights',
7324  'delete',
7325  'upload',
7326  'move',
7327  'import',
7328  'patrol',
7329  'merge',
7330  'suppress',
7331  'tag',
7332  'managetags',
7333  'contentmodel',
7334 ];
7335 
7343 $wgLogRestrictions = [
7344  'suppress' => 'suppressionlog'
7345 ];
7346 
7369 $wgFilterLogTypes = [
7370  'patrol' => true,
7371  'tag' => true,
7372 ];
7373 
7383 $wgLogNames = [
7384  '' => 'all-logs-page',
7385  'block' => 'blocklogpage',
7386  'protect' => 'protectlogpage',
7387  'rights' => 'rightslog',
7388  'delete' => 'dellogpage',
7389  'upload' => 'uploadlogpage',
7390  'move' => 'movelogpage',
7391  'import' => 'importlogpage',
7392  'patrol' => 'patrol-log-page',
7393  'merge' => 'mergelog',
7394  'suppress' => 'suppressionlog',
7395 ];
7396 
7406 $wgLogHeaders = [
7407  '' => 'alllogstext',
7408  'block' => 'blocklogtext',
7409  'delete' => 'dellogpagetext',
7410  'import' => 'importlogpagetext',
7411  'merge' => 'mergelogpagetext',
7412  'move' => 'movelogpagetext',
7413  'patrol' => 'patrol-log-header',
7414  'protect' => 'protectlogtext',
7415  'rights' => 'rightslogtext',
7416  'suppress' => 'suppressionlogtext',
7417  'upload' => 'uploadlogpagetext',
7418 ];
7419 
7426 $wgLogActions = [];
7427 
7434 $wgLogActionsHandlers = [
7435  'block/block' => 'BlockLogFormatter',
7436  'block/reblock' => 'BlockLogFormatter',
7437  'block/unblock' => 'BlockLogFormatter',
7438  'contentmodel/change' => 'ContentModelLogFormatter',
7439  'contentmodel/new' => 'ContentModelLogFormatter',
7440  'delete/delete' => 'DeleteLogFormatter',
7441  'delete/event' => 'DeleteLogFormatter',
7442  'delete/restore' => 'DeleteLogFormatter',
7443  'delete/revision' => 'DeleteLogFormatter',
7444  'import/interwiki' => 'ImportLogFormatter',
7445  'import/upload' => 'ImportLogFormatter',
7446  'managetags/activate' => 'LogFormatter',
7447  'managetags/create' => 'LogFormatter',
7448  'managetags/deactivate' => 'LogFormatter',
7449  'managetags/delete' => 'LogFormatter',
7450  'merge/merge' => 'MergeLogFormatter',
7451  'move/move' => 'MoveLogFormatter',
7452  'move/move_redir' => 'MoveLogFormatter',
7453  'patrol/patrol' => 'PatrolLogFormatter',
7454  'patrol/autopatrol' => 'PatrolLogFormatter',
7455  'protect/modify' => 'ProtectLogFormatter',
7456  'protect/move_prot' => 'ProtectLogFormatter',
7457  'protect/protect' => 'ProtectLogFormatter',
7458  'protect/unprotect' => 'ProtectLogFormatter',
7459  'rights/autopromote' => 'RightsLogFormatter',
7460  'rights/rights' => 'RightsLogFormatter',
7461  'suppress/block' => 'BlockLogFormatter',
7462  'suppress/delete' => 'DeleteLogFormatter',
7463  'suppress/event' => 'DeleteLogFormatter',
7464  'suppress/reblock' => 'BlockLogFormatter',
7465  'suppress/revision' => 'DeleteLogFormatter',
7466  'tag/update' => 'TagLogFormatter',
7467  'upload/overwrite' => 'UploadLogFormatter',
7468  'upload/revert' => 'UploadLogFormatter',
7469  'upload/upload' => 'UploadLogFormatter',
7470 ];
7471 
7480 $wgActionFilteredLogs = [
7481  'block' => [
7482  'block' => [ 'block' ],
7483  'reblock' => [ 'reblock' ],
7484  'unblock' => [ 'unblock' ],
7485  ],
7486  'contentmodel' => [
7487  'change' => [ 'change' ],
7488  'new' => [ 'new' ],
7489  ],
7490  'delete' => [
7491  'delete' => [ 'delete' ],
7492  'restore' => [ 'restore' ],
7493  'event' => [ 'event' ],
7494  'revision' => [ 'revision' ],
7495  ],
7496  'import' => [
7497  'interwiki' => [ 'interwiki' ],
7498  'upload' => [ 'upload' ],
7499  ],
7500  'managetags' => [
7501  'create' => [ 'create' ],
7502  'delete' => [ 'delete' ],
7503  'activate' => [ 'activate' ],
7504  'deactivate' => [ 'deactivate' ],
7505  ],
7506  'move' => [
7507  'move' => [ 'move' ],
7508  'move_redir' => [ 'move_redir' ],
7509  ],
7510  'newusers' => [
7511  'create' => [ 'create', 'newusers' ],
7512  'create2' => [ 'create2' ],
7513  'autocreate' => [ 'autocreate' ],
7514  'byemail' => [ 'byemail' ],
7515  ],
7516  'patrol' => [
7517  'patrol' => [ 'patrol' ],
7518  'autopatrol' => [ 'autopatrol' ],
7519  ],
7520  'protect' => [
7521  'protect' => [ 'protect' ],
7522  'modify' => [ 'modify' ],
7523  'unprotect' => [ 'unprotect' ],
7524  'move_prot' => [ 'move_prot' ],
7525  ],
7526  'rights' => [
7527  'rights' => [ 'rights' ],
7528  'autopromote' => [ 'autopromote' ],
7529  ],
7530  'suppress' => [
7531  'event' => [ 'event' ],
7532  'revision' => [ 'revision' ],
7533  'delete' => [ 'delete' ],
7534  'block' => [ 'block' ],
7535  'reblock' => [ 'reblock' ],
7536  ],
7537  'upload' => [
7538  'upload' => [ 'upload' ],
7539  'overwrite' => [ 'overwrite' ],
7540  ],
7541 ];
7542 
7546 $wgNewUserLog = true;
7547  # end logging }
7549 
7550 /*************************************************************************/
7558 $wgAllowSpecialInclusion = true;
7559 
7564 $wgDisableQueryPageUpdate = false;
7565 
7570 $wgCountCategorizedImagesAsUsed = false;
7571 
7576 $wgMaxRedirectLinksRetrieved = 500;
7577  # end special pages }
7579 
7580 /*************************************************************************/
7595 $wgActions = [
7596  'credits' => true,
7597  'delete' => true,
7598  'edit' => true,
7599  'editchangetags' => 'SpecialPageAction',
7600  'history' => true,
7601  'info' => true,
7602  'markpatrolled' => true,
7603  'protect' => true,
7604  'purge' => true,
7605  'raw' => true,
7606  'render' => true,
7607  'revert' => true,
7608  'revisiondelete' => 'SpecialPageAction',
7609  'rollback' => true,
7610  'submit' => true,
7611  'unprotect' => true,
7612  'unwatch' => true,
7613  'view' => true,
7614  'watch' => true,
7615 ];
7616  # end actions }
7618 
7619 /*************************************************************************/
7630 $wgDefaultRobotPolicy = 'index,follow';
7631 
7646 $wgNamespaceRobotPolicies = [];
7647 
7674 $wgArticleRobotPolicies = [];
7675 
7686 $wgExemptFromUserRobotsControl = null;
7687  # End robot policy }
7689 
7690 /************************************************************************/
7704 $wgEnableAPI = true;
7705 
7711 $wgEnableWriteAPI = true;
7712 
7727 $wgDebugAPI = false;
7728 
7765 $wgAPIModules = [];
7766 
7774 $wgAPIFormatModules = [];
7775 
7783 $wgAPIMetaModules = [];
7784 
7792 $wgAPIPropModules = [];
7793 
7801 $wgAPIListModules = [];
7802 
7807 $wgAPIMaxDBRows = 5000;
7808 
7813 $wgAPIMaxResultSize = 8388608;
7814 
7819 $wgAPIMaxUncachedDiffs = 1;
7820 
7826 $wgAPIMaxLagThreshold = 7;
7827 
7832 $wgAPIRequestLog = false;
7833 
7837 $wgAPICacheHelpTimeout = 60 * 60;
7838 
7843 $wgAPIUselessQueryPages = [
7844  'MIMEsearch', // aiprop=mime
7845  'LinkSearch', // list=exturlusage
7846  'FileDuplicateSearch', // prop=duplicatefiles
7847 ];
7848 
7852 $wgUseAjax = true;
7853 
7859 $wgAjaxExportList = [];
7860 
7864 $wgAjaxUploadDestCheck = true;
7865 
7869 $wgAjaxLicensePreview = true;
7870 
7875 $wgAjaxEditStash = true;
7876 
7897 $wgCrossSiteAJAXdomains = [];
7898 
7904 $wgCrossSiteAJAXdomainExceptions = [];
7905  # End AJAX and API }
7907 
7908 /************************************************************************/
7916 $wgMaxShellMemory = 307200;
7917 
7922 $wgMaxShellFileSize = 102400;
7923 
7927 $wgMaxShellTime = 180;
7928 
7933 $wgMaxShellWallClockTime = 180;
7934 
7958 $wgShellCgroup = false;
7959 
7963 $wgPhpCli = '/usr/bin/php';
7964 
7970 $wgShellLocale = 'en_US.utf8';
7971  # End shell }
7973 
7974 /************************************************************************/
7982 $wgHTTPTimeout = 25;
7983 
7987 $wgAsyncHTTPTimeout = 25;
7988 
7992 $wgHTTPProxy = false;
7993 
8004 $wgLocalVirtualHosts = [];
8005 
8010 $wgHTTPConnectTimeout = 5e0;
8011  # End HTTP client }
8013 
8014 /************************************************************************/
8025 $wgJobRunRate = 1;
8026 
8033 $wgRunJobsAsync = false;
8034 
8038 $wgUpdateRowsPerJob = 300;
8039 
8043 $wgUpdateRowsPerQuery = 100;
8044  # End job queue }
8046 
8047 /************************************************************************/
8058 $wgExternalDiffEngine = false;
8059 
8068 $wgDisableHardRedirects = false;
8069 
8074 $wgLinkHolderBatchSize = 1000;
8075 
8080 $wgRegisterInternalExternals = false;
8081 
8085 $wgMaximumMovedPages = 100;
8086 
8091 $wgFixDoubleRedirects = false;
8092 
8097 $wgRedirectOnLogin = null;
8098 
8119 $wgPoolCounterConf = null;
8120 
8124 $wgUploadMaintenance = false;
8125 
8134 $wgNamespaceContentModels = [];
8135 
8146 $wgContentHandlerTextFallback = 'ignore';
8147 
8161 $wgContentHandlerUseDB = true;
8162 
8173 $wgTextModelsToParse = [
8174  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
8175  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
8176  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
8177 ];
8178 
8184 $wgSiteTypes = [
8185  'mediawiki' => 'MediaWikiSite',
8186 ];
8187 
8193 $wgPagePropsHaveSortkey = true;
8194 
8201 $wgHttpsPort = 443;
8202 
8209 $wgSessionSecret = false;
8210 
8218 $wgSessionInsecureSecrets = false;
8219 
8228 $wgHKDFSecret = false;
8229 
8236 $wgHKDFAlgorithm = 'sha256';
8237 
8244 $wgPageLanguageUseDB = false;
8245 
8266  'modules' => [],
8267  'global' => [
8268  # Timeout in seconds
8269  'timeout' => 360,
8270  # 'domain' is set to $wgCanonicalServer in Setup.php
8271  'forwardCookies' => false,
8272  'HTTPProxy' => null
8273  ]
8274 ];
8275 
8283 $wgSearchRunSuggestedQuery = true;
8284 
8296 $wgPopularPasswordFile = __DIR__ . '/../serialized/commonpasswords.cdb';
8297 
8298 /*
8299  * Max time (in seconds) a user-generated transaction can spend in writes.
8300  * If exceeded, the transaction is rolled back with an error instead of being committed.
8301  *
8302  * @var int|bool Disabled if false
8303  * @since 1.27
8304  */
8305 $wgMaxUserDBWriteDuration = false;
8306 
8326 $wgEventRelayerConfig = [
8327  'default' => [
8328  'class' => 'EventRelayerNull',
8329  ]
8330 ];
8331 
$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:2545
$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:278
$wgCdnMaxageLagged
Cache timeout for the CDN when DB slave 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:249
$wgSquidServers
List of proxy servers to purge on changes; default port is 80.
const NS_MAIN
Definition: Defines.php:70
$wgSitename
Name of the site.
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
const CACHE_ACCEL
Definition: Defines.php:106
$wgUseKeyHeader
Send the Key HTTP header for better caching.
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
$wgJsMimeType
Previously used as content type in HTML script tags.
$IP
Definition: WebStart.php: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:140
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
$wgDBpassword
Database user's password.
$wgDBerrorLog
File to log database errors to.
$wgSharedUploadDBname
DB name with metadata about shared directory.
globals txt Globals are evil The original MediaWiki code relied on globals for processing context far too often MediaWiki development since then has been a story of slowly moving context out of global variables and into objects Storing processing context in object member variables allows those objects to be reused in a much more flexible way Consider the elegance of
database rows
Definition: globals.txt:10
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
$wgPasswordExpireGrace
If a user's password is expired, the number of seconds when they can still login, and cancel their pa...
$wgInternalServer
Internal server name as known to CDN, if different.
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
$wgRepositoryBaseUrl
Base URL for a repository wiki.
processing should stop and the error should be shown to the user * false
Definition: hooks.txt:189
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
$wgDBtype
Database type.
$wgFileBackends
File backend structure configuration.
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 an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing 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:1928
$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.
$wgEditEncoding
Character set for use in the article edit box.
$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:139
$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.
const MEDIATYPE_VIDEO
Definition: Defines.php:123
$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:281
$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:142
$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:282
$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.
$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.
$wgCompressRevisions
We can also compress text stored in the 'text' table.
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example, thumbnail generation.
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface...
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
$wgDBWindowsAuthentication
Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server.
$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.
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
const CACHE_MEMCACHED
Definition: Defines.php:105
const AV_SCAN_ABORTED
Definition: Defines.php:141
$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:1802
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
$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:190
$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
Send notification mails on minor edits to watchlist pages.
global $wgCommandLineMode
Definition: Setup.php:513
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:154
$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:74
$wgShowEXIF
Show Exif data, on by default if available.
$wgParserCacheType
The cache type for storing article HTML.
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
The ContentHandler facility adds support for arbitrary content types on wiki instead of relying on wikitext for everything It was introduced in MediaWiki Each kind of and so on Built in content types as usual *javascript user provided javascript code *json simple implementation for use by extensions
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing we can concentrate it all in an extension file
Definition: hooks.txt: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
These are additional characters that should be replaced with '-' 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:79
$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:75
$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:84
$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.
title
$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:77
$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:78
$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.
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...
The interwiki class All information is loaded on creation when called by Interwiki::fetch( $prefix )...
Definition: Interwiki.php:31
$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:342
$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:85
$wgSharedThumbnailScriptPath
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
const NS_HELP
Definition: Defines.php:82
$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).
$wgAllDBsAreLocalhost
Make all database connections secretly go to localhost.
$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:83
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:605
$wgSlaveLagCritical
$wgGrammarForms
Some languages need different word forms, usually for different cases.
$wgDBprefix
Table name prefix.
const CACHE_ANYTHING
Definition: Defines.php:102
$wgHtml5
Previously used to determine if we should output an HTML5 doctype.
$wgAllowHTMLEmail
For parts of the system that have been updated to provide HTML email content, send both text and HTML...
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
$wgDBcompress
Whether to use compression in DB connection.
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
$wgStyleDirectory
Filesystem stylesheets directory.
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3...
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
$wgSessionHandler
$wgAllowSlowParserFunctions
Enable slow parser functions.
const CONTENT_MODEL_CSS
Definition: Defines.php:280
$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#l01128">DefaultSettings.php:1128</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#l03938">DefaultSettings.php:3938</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#l03240">DefaultSettings.php:3240</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#l03216">DefaultSettings.php:3216</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#l02856">DefaultSettings.php:2856</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#l02398">DefaultSettings.php:2398</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#l00927">DefaultSettings.php:927</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#l02251">DefaultSettings.php:2251</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#l03252">DefaultSettings.php:3252</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#l02481">DefaultSettings.php:2481</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#l00684">DefaultSettings.php:684</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#l00071">Defines.php:71</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#l03607">DefaultSettings.php:3607</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#l00639">DefaultSettings.php:639</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#l01939">DefaultSettings.php:1939</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#l00248">Defines.php:248</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#l03155">DefaultSettings.php:3155</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#l03758">DefaultSettings.php:3758</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#l03278">DefaultSettings.php:3278</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#l02404">DefaultSettings.php:2404</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#l01864">DefaultSettings.php:1864</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#l01417">DefaultSettings.php:1417</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#l00117">SiteConfiguration.php:117</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#l03771">DefaultSettings.php:3771</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#l03421">DefaultSettings.php:3421</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#l03392">DefaultSettings.php:3392</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#l00733">DefaultSettings.php:733</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#l00869">DefaultSettings.php:869</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#l02033">DefaultSettings.php:2033</a></div></div> <div class="ttc" id="group__Constants_html_ga4f23931bebd967faef2136c2ee786010"><div class="ttname"><a href="group__Constants.html#ga4f23931bebd967faef2136c2ee786010">CACHE_NONE</a></div><div class="ttdeci">const CACHE_NONE</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00103">Defines.php:103</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_a6f57297b3ba301fd344109b6bec76ef1"><div class="ttname"><a href="DefaultSettings_8php.html#a6f57297b3ba301fd344109b6bec76ef1">$wgResourceLoaderMaxQueryLength</a></div><div class="ttdeci">$wgResourceLoaderMaxQueryLength</div><div class="ttdoc">If set to a positive number, ResourceLoader will not generate URLs whose query string is more than th...</div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l03673">DefaultSettings.php:3673</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#l02019">DefaultSettings.php:2019</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#l02388">DefaultSettings.php:2388</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#l01012">DefaultSettings.php:1012</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#l01815">DefaultSettings.php:1815</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#l01947">DefaultSettings.php:1947</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#l01282">DefaultSettings.php:1282</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#l02071">DefaultSettings.php:2071</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#l03410">DefaultSettings.php:3410</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#l00855">DefaultSettings.php:855</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#l00781">DefaultSettings.php:781</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#l02774">DefaultSettings.php:2774</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#l01469">DefaultSettings.php:1469</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#l01195">DefaultSettings.php:1195</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#l04030">DefaultSettings.php:4030</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#l00073">Defines.php:73</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#l01099">DefaultSettings.php:1099</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#l01592">DefaultSettings.php:1592</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#l01209">DefaultSettings.php:1209</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#l01875">DefaultSettings.php:1875</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#l01562">DefaultSettings.php:1562</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#l01457">DefaultSettings.php:1457</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#l02475">DefaultSettings.php:2475</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#l00674">DefaultSettings.php:674</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#l03061">DefaultSettings.php:3061</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#l01668">DefaultSettings.php:1668</a></div></div> <div class="ttc" id="DefaultSettings_8php_html_ac9000e43c7c307ef848096150a4d2e92"><div class="ttname"><a href="DefaultSettings_8php.html#ac9000e43c7c307ef848096150a4d2e92">$wgUseETag</a></div><div class="ttdeci">$wgUseETag</div><div class="ttdoc">Whether MediaWiki should send an ETag header. </div><div class="ttdef"><b>Definition:</b> <a href="DefaultSettings_8php_source.html#l02547">DefaultSettings.php:2547</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#l00281">Setup.php:281</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#l01990">DefaultSettings.php:1990</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#l03925">DefaultSettings.php:3925</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#l01674">DefaultSettings.php:1674</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#l00659">DefaultSettings.php:659</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#l01216">DefaultSettings.php:1216</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#l02675">DefaultSettings.php:2675</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#l01477">hooks.txt:1477</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#l00081">Defines.php:81</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#l01518">DefaultSettings.php:1518</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#l02994">DefaultSettings.php:2994</a></div></div> <div class="ttc" id="group__Constants_html_gab109d7a36685bee982d018cf98e878e3"><div class="ttname"><a href="group__Constants.html#gab109d7a36685bee982d018cf98e878e3">CACHE_DB</a></div><div class="ttdeci">const CACHE_DB</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00104">Defines.php:104</a></div></div> <div class="ttc" id="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#l02939">DefaultSettings.php:2939</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#l03465">DefaultSettings.php:3465</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#l02668">DefaultSettings.php:2668</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#l01223">DefaultSettings.php:1223</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#l02528">DefaultSettings.php:2528</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#l03221">DefaultSettings.php:3221</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#l02785">DefaultSettings.php:2785</a></div></div> <div class="ttc" id="group__Constants_html_ga4bdfdba875eb77751e22b78bbdab8e0a"><div class="ttname"><a href="group__Constants.html#ga4bdfdba875eb77751e22b78bbdab8e0a">MEDIATYPE_AUDIO</a></div><div class="ttdeci">const MEDIATYPE_AUDIO</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00120">Defines.php:120</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#l02167">DefaultSettings.php:2167</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#l02409">DefaultSettings.php:2409</a></div></div> <div class="ttc" id="group__Constants_html_gabb0f66cac07dda66fd2c96a99de1fa6a"><div class="ttname"><a href="group__Constants.html#gabb0f66cac07dda66fd2c96a99de1fa6a">MEDIATYPE_BITMAP</a></div><div class="ttdeci">const MEDIATYPE_BITMAP</div><div class="ttdef"><b>Definition:</b> <a href="Defines_8php_source.html#l00116">Defines.php:116</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_8a18e807163faa1f0c426c97f3962518.html">includes</a></li><li class="navelem"><a class="el" href="DefaultSettings_8php.html">DefaultSettings.php</a></li> <li class="footer">Generated on Wed Nov 15 2017 21:46:10 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>