MediaWiki  1.27.2
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.2';
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 
1586 
1592 
1596 $wgNewPasswordExpiry = 3600 * 24 * 7;
1597 
1602 
1608 
1613 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
1614 
1632 $wgSMTP = false;
1633 
1638 
1644 
1650 
1651 // TODO move UPO to preferences probably ?
1652 # If set to true, users get a corresponding option in their preferences and can choose to
1653 # enable or disable at their discretion
1654 # If set to false, the corresponding input form on the user preference page is suppressed
1655 # It call this to be a "user-preferences-option (UPO)"
1656 
1663 
1668 
1674 
1680 
1687 
1696 
1702 
1707 
1713  # end of email settings
1715 
1716 /************************************************************************/
1724 $wgDBserver = 'localhost';
1725 
1729 $wgDBport = 5432;
1730 
1734 $wgDBname = 'my_wiki';
1735 
1739 $wgDBuser = 'wikiuser';
1740 
1745 
1749 $wgDBtype = 'mysql';
1750 
1759 $wgDBssl = false;
1760 
1770 
1775 
1780 
1788 
1797 
1802 
1806 $wgDBTableOptions = 'ENGINE=InnoDB';
1807 
1815 
1820 
1825 
1832 
1859 
1864 
1868 $wgSharedTables = [ 'user', 'user_properties' ];
1869 
1875 
1927 
1938 $wgLBFactoryConf = [ 'class' => 'LBFactorySimple' ];
1939 
1947 
1952 
1972 
1989 $wgDBmysql5 = false;
1990 
2019 
2026 
2033 
2038 
2043  # End of DB settings }
2045 
2046 /************************************************************************/
2058 
2071 
2087 
2103 
2111  # end text storage }
2113 
2114 /************************************************************************/
2123 
2128 
2133 
2138 
2143 
2148 
2153 
2159 
2167  # end performance hacks }
2169 
2170 /************************************************************************/
2184 
2203 
2211 
2219 
2226 
2236 
2251  CACHE_NONE => [ 'class' => 'EmptyBagOStuff', 'reportDupes' => false ],
2252  CACHE_DB => [ 'class' => 'SqlBagOStuff', 'loggroup' => 'SQLBagOStuff' ],
2253 
2254  CACHE_ANYTHING => [ 'factory' => 'ObjectCache::newAnything' ],
2255  CACHE_ACCEL => [ 'factory' => 'ObjectCache::getLocalServerInstance' ],
2256  CACHE_MEMCACHED => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2257 
2258  'db-replicated' => [
2259  'class' => 'ReplicatedBagOStuff',
2260  'readFactory' => [
2261  'class' => 'SqlBagOStuff',
2262  'args' => [ [ 'slaveOnly' => true ] ]
2263  ],
2264  'writeFactory' => [
2265  'class' => 'SqlBagOStuff',
2266  'args' => [ [ 'slaveOnly' => false ] ]
2267  ],
2268  'loggroup' => 'SQLBagOStuff'
2269  ],
2270 
2271  'apc' => [ 'class' => 'APCBagOStuff', 'reportDupes' => false ],
2272  'apcu' => [ 'class' => 'APCUBagOStuff', 'reportDupes' => false ],
2273  'xcache' => [ 'class' => 'XCacheBagOStuff', 'reportDupes' => false ],
2274  'wincache' => [ 'class' => 'WinCacheBagOStuff', 'reportDupes' => false ],
2275  'memcached-php' => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2276  'memcached-pecl' => [ 'class' => 'MemcachedPeclBagOStuff', 'loggroup' => 'memcached' ],
2277  'hash' => [ 'class' => 'HashBagOStuff', 'reportDupes' => false ],
2278 ];
2279 
2296 
2313  CACHE_NONE => [
2314  'class' => 'WANObjectCache',
2315  'cacheId' => CACHE_NONE,
2316  'channels' => []
2317  ]
2318  /* Example of a simple single data-center cache:
2319  'memcached-php' => [
2320  'class' => 'WANObjectCache',
2321  'cacheId' => 'memcached-php',
2322  'channels' => [ 'purge' => 'wancache-main-memcached-purge' ]
2323  ]
2324  */
2325 ];
2326 
2341 $wgMainStash = 'db-replicated';
2342 
2348 
2355 
2360 
2365 
2370 
2388 
2393 
2397 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2398 
2404 
2409 
2422 
2430 
2454  'class' => 'LocalisationCache',
2455  'store' => 'detect',
2456  'storeClass' => false,
2457  'storeDirectory' => false,
2458  'manualRecache' => false,
2459 ];
2460 
2465 
2474 $wgCacheEpoch = '20030516000000';
2475 
2481 
2490 
2497 
2505 
2511 
2517 
2528 
2533 
2540 $wgUseGzip = false;
2541 
2546 $wgUseETag = false;
2547 
2555 
2566 
2583  # end of cache settings
2585 
2586 /************************************************************************/
2603 $wgUseSquid = false;
2604 
2608 $wgUseESI = false;
2609 
2616 
2626 
2636 
2645 
2652 
2668 
2675 
2682 
2692 
2700 
2721 
2774 
2780 
2785  # end of HTTP proxy settings
2787 
2788 /************************************************************************/
2809 
2815 
2826 
2831 
2836 
2851 
2856 
2864  'als' => 'gsw',
2865  'bat-smg' => 'sgs',
2866  'be-x-old' => 'be-tarask',
2867  'bh' => 'bho',
2868  'fiu-vro' => 'vro',
2869  'no' => 'nb',
2870  'qqq' => 'qqq', # Used for message documentation.
2871  'qqx' => 'qqx', # Used for viewing message keys.
2872  'roa-rup' => 'rup',
2873  'simple' => 'en',
2874  'zh-classical' => 'lzh',
2875  'zh-min-nan' => 'nan',
2876  'zh-yue' => 'yue',
2877 ];
2878 
2887 
2897 
2908 
2920 
2932 
2949  '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2950  '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2951  '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2952 
2966  '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
2967 
2972  '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
2973 ];
2974 
2988 
2994 
3000 
3006 
3011 
3016 
3021 
3026 
3031 
3042 
3061 
3068 
3089 
3114 
3125  # End of language/charset settings
3127 
3128 /*************************************************************************/
3136 $wgMimeType = 'text/html';
3137 
3146 
3155 
3163 $wgHtml5 = true;
3164 
3174 
3183 
3191 
3207 
3216 
3221 
3227 
3232 $wgDefaultSkin = 'vector';
3233 
3239 $wgFallbackSkin = 'fallback';
3240 
3247 
3252 
3259 
3266 
3273 
3278 
3283 
3289 
3310 
3322 
3327 
3338 
3370  "copyright" => [
3371  "copyright" => [], // placeholder for the built in copyright icon
3372  ],
3373  "poweredby" => [
3374  "mediawiki" => [
3375  // Defaults to point at
3376  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3377  // plus srcset for 1.5x, 2x resolution variants.
3378  "src" => null,
3379  "url" => "//www.mediawiki.org/",
3380  "alt" => "Powered by MediaWiki",
3381  ]
3382  ],
3383 ];
3384 
3392 
3396 $wgEdititis = false;
3397 
3410 
3421 
3429 
3439  # End of output format settings }
3441 
3442 /*************************************************************************/
3465 
3555 
3567 
3573 
3591  'versioned' => [
3592  'server' => 30 * 24 * 60 * 60, // 30 days
3593  'client' => 30 * 24 * 60 * 60, // 30 days
3594  ],
3595  'unversioned' => [
3596  'server' => 5 * 60, // 5 minutes
3597  'client' => 5 * 60, // 5 minutes
3598  ],
3599 ];
3600 
3607 
3615 
3624 
3631 
3658 
3673 
3682 
3692 
3723  'deviceWidthTablet' => '720px',
3724 ];
3725 
3740  "$IP/resources/src/mediawiki.less/",
3741 ];
3742 
3750 
3758 
3771  # End of ResourceLoader settings }
3773 
3774 /*************************************************************************/
3784 
3793 
3821 
3829 
3849 
3877 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
3878 
3885 
3895 
3900 
3925 
3933 
3938  # end of Interwiki caching settings.
3940 
3949 $wgSitesCacheFile = false;
3950  # end of SiteStore caching settings.
3952 
3968 $wgRedirectSources = false;
3969 
3978 
3994 
4000  NS_TALK => true,
4001  NS_USER => true,
4002  NS_USER_TALK => true,
4003  NS_PROJECT => true,
4004  NS_PROJECT_TALK => true,
4005  NS_FILE_TALK => true,
4006  NS_MEDIAWIKI => true,
4007  NS_MEDIAWIKI_TALK => true,
4008  NS_TEMPLATE_TALK => true,
4009  NS_HELP => true,
4010  NS_HELP_TALK => true,
4012 ];
4013 
4030 
4038 
4046 $wgExtraSignatureNamespaces = [];
4047 
4053 $wgMaxRedirects = 1;
4054 
4065 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4066  # End of title and interwiki settings }
4068 
4069 /************************************************************************/
4096 $wgParserConf = [
4097  'class' => 'Parser',
4098  # 'preprocessorClass' => 'Preprocessor_Hash',
4099 ];
4100 
4104 $wgMaxTocLevel = 999;
4105 
4110 $wgMaxPPNodeCount = 1000000;
4111 
4121 $wgMaxGeneratedPPNodeCount = 1000000;
4122 
4129 $wgMaxTemplateDepth = 40;
4130 
4134 $wgMaxPPExpandDepth = 40;
4135 
4146 $wgUrlProtocols = [
4147  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4148  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4149  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4150  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4151 ];
4152 
4156 $wgCleanSignatures = true;
4157 
4161 $wgAllowExternalImages = false;
4162 
4175 $wgAllowExternalImagesFrom = '';
4176 
4186 $wgEnableImageWhitelist = true;
4187 
4196 $wgAllowImageTag = false;
4197 
4219 $wgTidyConfig = null;
4220 
4225 $wgUseTidy = false;
4226 
4231 $wgTidyBin = 'tidy';
4232 
4237 $wgTidyConf = $IP . '/includes/tidy/tidy.conf';
4238 
4243 $wgTidyOpts = '';
4244 
4249 $wgTidyInternal = extension_loaded( 'tidy' );
4250 
4255 $wgDebugTidy = false;
4256 
4262 $wgRawHtml = false;
4263 
4273 $wgExternalLinkTarget = false;
4274 
4281 $wgNoFollowLinks = true;
4282 
4287 $wgNoFollowNsExceptions = [];
4288 
4303 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4304 
4308 $wgAllowDisplayTitle = true;
4309 
4315 $wgRestrictDisplayTitle = true;
4316 
4321 $wgExpensiveParserFunctionLimit = 100;
4322 
4327 $wgPreprocessorCacheThreshold = 1000;
4328 
4332 $wgEnableScaryTranscluding = false;
4333 
4338 $wgTranscludeCacheExpiry = 3600;
4339  # end of parser settings }
4341 
4342 /************************************************************************/
4364 $wgArticleCountMethod = 'link';
4365 
4373 $wgActiveUserDays = 30;
4374  # End of statistics }
4376 
4377 /************************************************************************/
4387 $wgCentralIdLookupProviders = [
4388  'local' => [ 'class' => 'LocalIdLookup' ],
4389 ];
4390 
4395 $wgCentralIdLookupProvider = 'local';
4396 
4420 $wgPasswordPolicy = [
4421  'policies' => [
4422  'bureaucrat' => [
4423  'MinimalPasswordLength' => 8,
4424  'MinimumPasswordLengthToLogin' => 1,
4425  'PasswordCannotMatchUsername' => true,
4426  'PasswordCannotBePopular' => 25,
4427  ],
4428  'sysop' => [
4429  'MinimalPasswordLength' => 8,
4430  'MinimumPasswordLengthToLogin' => 1,
4431  'PasswordCannotMatchUsername' => true,
4432  'PasswordCannotBePopular' => 25,
4433  ],
4434  'bot' => [
4435  'MinimalPasswordLength' => 8,
4436  'MinimumPasswordLengthToLogin' => 1,
4437  'PasswordCannotMatchUsername' => true,
4438  ],
4439  'default' => [
4440  'MinimalPasswordLength' => 1,
4441  'PasswordCannotMatchUsername' => true,
4442  'PasswordCannotMatchBlacklist' => true,
4443  'MaximalPasswordLength' => 4096,
4444  ],
4445  ],
4446  'checks' => [
4447  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4448  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4449  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4450  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4451  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4452  'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4453  ],
4454 ];
4455 
4475 $wgAuthManagerConfig = null;
4476 
4481 $wgAuthManagerAutoConfig = [
4482  'preauth' => [
4485  'sort' => 0,
4486  ],
4489  'sort' => 0,
4490  ],
4491  ],
4492  'primaryauth' => [
4493  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4494  // any other PasswordAuthenticationRequest-based
4495  // PrimaryAuthenticationProvider (or at least any that might return
4496  // FAIL rather than ABSTAIN for a wrong password), or password reset
4497  // won't work right. Do not remove this (or change the key) or
4498  // auto-configuration of other such providers in extensions will
4499  // probably auto-insert themselves in the wrong place.
4502  'args' => [ [
4503  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4504  'authoritative' => false,
4505  ] ],
4506  'sort' => 0,
4507  ],
4510  'args' => [ [
4511  // Last one should be authoritative, or else the user will get
4512  // a less-than-helpful error message (something like "supplied
4513  // authentication info not supported" rather than "wrong
4514  // password") if it too fails.
4515  'authoritative' => true,
4516  ] ],
4517  'sort' => 100,
4518  ],
4519  ],
4520  'secondaryauth' => [
4523  'sort' => 0,
4524  ],
4527  'sort' => 100,
4528  ],
4529  // Linking during login is experimental, enable at your own risk - T134952
4530  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4531  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4532  // 'sort' => 100,
4533  // ],
4536  'sort' => 200,
4537  ],
4538  ],
4539 ];
4540 
4579 $wgReauthenticateTime = [
4580  'default' => 300,
4581 ];
4582 
4598 $wgAllowSecuritySensitiveOperationIfCannotReauthenticate = [
4599  'default' => true,
4600 ];
4601 
4611 $wgChangeCredentialsBlacklist = [
4613 ];
4614 
4624 $wgRemoveCredentialsBlacklist = [
4626 ];
4627 
4632 $wgPasswordSalt = true;
4633 
4639 $wgMinimalPasswordLength = false;
4640 
4652 $wgMaximalPasswordLength = false;
4653 
4659 $wgInvalidPasswordReset = true;
4660 
4666 $wgPasswordDefault = 'pbkdf2';
4667 
4687 $wgPasswordConfig = [
4688  'A' => [
4689  'class' => 'MWOldPassword',
4690  ],
4691  'B' => [
4692  'class' => 'MWSaltedPassword',
4693  ],
4694  'pbkdf2-legacyA' => [
4695  'class' => 'LayeredParameterizedPassword',
4696  'types' => [
4697  'A',
4698  'pbkdf2',
4699  ],
4700  ],
4701  'pbkdf2-legacyB' => [
4702  'class' => 'LayeredParameterizedPassword',
4703  'types' => [
4704  'B',
4705  'pbkdf2',
4706  ],
4707  ],
4708  'bcrypt' => [
4709  'class' => 'BcryptPassword',
4710  'cost' => 9,
4711  ],
4712  'pbkdf2' => [
4713  'class' => 'Pbkdf2Password',
4714  'algo' => 'sha256',
4715  'cost' => '10000',
4716  'length' => '128',
4717  ],
4718 ];
4719 
4726 $wgPasswordResetRoutes = [
4727  'username' => true,
4728  'email' => true,
4729 ];
4730 
4734 $wgMaxSigChars = 255;
4735 
4740 $wgMaxNameChars = 255;
4741 
4746 $wgReservedUsernames = [
4747  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
4748  'Conversion script', // Used for the old Wikipedia software upgrade
4749  'Maintenance script', // Maintenance scripts which perform editing, image import script
4750  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
4751  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
4752  'msg:double-redirect-fixer', // Automatic double redirect fix
4753  'msg:usermessage-editor', // Default user for leaving user messages
4754  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
4755  'msg:spambot_username', // Used by cleanupSpam.php
4756  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
4757 ];
4758 
4766  'ccmeonemails' => 0,
4767  'cols' => 80,
4768  'date' => 'default',
4769  'diffonly' => 0,
4770  'disablemail' => 0,
4771  'editfont' => 'default',
4772  'editondblclick' => 0,
4773  'editsectiononrightclick' => 0,
4774  'enotifminoredits' => 0,
4775  'enotifrevealaddr' => 0,
4776  'enotifusertalkpages' => 1,
4777  'enotifwatchlistpages' => 1,
4778  'extendwatchlist' => 1,
4779  'fancysig' => 0,
4780  'forceeditsummary' => 0,
4781  'gender' => 'unknown',
4782  'hideminor' => 0,
4783  'hidepatrolled' => 0,
4784  'hidecategorization' => 1,
4785  'imagesize' => 2,
4786  'math' => 1,
4787  'minordefault' => 0,
4788  'newpageshidepatrolled' => 0,
4789  'nickname' => '',
4790  'norollbackdiff' => 0,
4791  'numberheadings' => 0,
4792  'previewonfirst' => 0,
4793  'previewontop' => 1,
4794  'rcdays' => 7,
4795  'rclimit' => 50,
4796  'rows' => 25,
4797  'showhiddencats' => 0,
4798  'shownumberswatching' => 1,
4799  'showtoolbar' => 1,
4800  'skin' => false,
4801  'stubthreshold' => 0,
4802  'thumbsize' => 5,
4803  'underline' => 2,
4804  'uselivepreview' => 0,
4805  'usenewrc' => 1,
4806  'watchcreations' => 1,
4807  'watchdefault' => 1,
4808  'watchdeletion' => 0,
4809  'watchuploads' => 1,
4810  'watchlistdays' => 3.0,
4811  'watchlisthideanons' => 0,
4812  'watchlisthidebots' => 0,
4813  'watchlisthideliu' => 0,
4814  'watchlisthideminor' => 0,
4815  'watchlisthideown' => 0,
4816  'watchlisthidepatrolled' => 0,
4817  'watchlisthidecategorization' => 1,
4818  'watchlistreloadautomatically' => 0,
4819  'watchmoves' => 0,
4820  'watchrollback' => 0,
4821  'wllimit' => 250,
4822  'useeditwarning' => 1,
4823  'prefershttps' => 1,
4824 ];
4825 
4829 $wgHiddenPrefs = [];
4830 
4836 $wgInvalidUsernameCharacters = '@:';
4837 
4847 $wgUserrightsInterwikiDelimiter = '@';
4848 
4855 $wgSecureLogin = false;
4856 
4867 $wgAuthenticationTokenVersion = null;
4868 
4877 $wgSessionProviders = [
4880  'args' => [ [
4881  'priority' => 30,
4882  'callUserSetCookiesHook' => true,
4883  ] ],
4884  ],
4887  'args' => [ [
4888  'priority' => 75,
4889  ] ],
4890  ],
4891 ];
4892  # end user accounts }
4894 
4895 /************************************************************************/
4903 $wgAutoblockExpiry = 86400;
4904 
4908 $wgBlockAllowsUTEdit = true;
4909 
4913 $wgSysopEmailBans = true;
4914 
4929 $wgBlockCIDRLimit = [
4930  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
4931  'IPv6' => 19,
4932 ];
4933 
4941 $wgBlockDisablesLogin = false;
4942 
4960 $wgWhitelistRead = false;
4961 
4988 $wgWhitelistReadRegexp = false;
4989 
4994 $wgEmailConfirmToEdit = false;
4995 
5000 $wgHideIdentifiableRedirects = true;
5001 
5026 $wgGroupPermissions = [];
5027 
5029 // Implicit group for all visitors
5030 $wgGroupPermissions['*']['createaccount'] = true;
5031 $wgGroupPermissions['*']['read'] = true;
5032 $wgGroupPermissions['*']['edit'] = true;
5033 $wgGroupPermissions['*']['createpage'] = true;
5034 $wgGroupPermissions['*']['createtalk'] = true;
5035 $wgGroupPermissions['*']['writeapi'] = true;
5036 $wgGroupPermissions['*']['editmyusercss'] = true;
5037 $wgGroupPermissions['*']['editmyuserjs'] = true;
5038 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5039 $wgGroupPermissions['*']['editmywatchlist'] = true;
5040 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5041 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5042 $wgGroupPermissions['*']['editmyoptions'] = true;
5043 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5044 
5045 // Implicit group for all logged-in accounts
5046 $wgGroupPermissions['user']['move'] = true;
5047 $wgGroupPermissions['user']['move-subpages'] = true;
5048 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5049 $wgGroupPermissions['user']['move-categorypages'] = true;
5050 $wgGroupPermissions['user']['movefile'] = true;
5051 $wgGroupPermissions['user']['read'] = true;
5052 $wgGroupPermissions['user']['edit'] = true;
5053 $wgGroupPermissions['user']['createpage'] = true;
5054 $wgGroupPermissions['user']['createtalk'] = true;
5055 $wgGroupPermissions['user']['writeapi'] = true;
5056 $wgGroupPermissions['user']['upload'] = true;
5057 $wgGroupPermissions['user']['reupload'] = true;
5058 $wgGroupPermissions['user']['reupload-shared'] = true;
5059 $wgGroupPermissions['user']['minoredit'] = true;
5060 $wgGroupPermissions['user']['purge'] = true; // can use ?action=purge without clicking "ok"
5061 $wgGroupPermissions['user']['sendemail'] = true;
5062 $wgGroupPermissions['user']['applychangetags'] = true;
5063 $wgGroupPermissions['user']['changetags'] = true;
5064 
5065 // Implicit group for accounts that pass $wgAutoConfirmAge
5066 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5067 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5068 
5069 // Users with bot privilege can have their edits hidden
5070 // from various log pages by default
5071 $wgGroupPermissions['bot']['bot'] = true;
5072 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5073 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5074 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5075 $wgGroupPermissions['bot']['autopatrol'] = true;
5076 $wgGroupPermissions['bot']['suppressredirect'] = true;
5077 $wgGroupPermissions['bot']['apihighlimits'] = true;
5078 $wgGroupPermissions['bot']['writeapi'] = true;
5079 
5080 // Most extra permission abilities go to this group
5081 $wgGroupPermissions['sysop']['block'] = true;
5082 $wgGroupPermissions['sysop']['createaccount'] = true;
5083 $wgGroupPermissions['sysop']['delete'] = true;
5084 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5085 $wgGroupPermissions['sysop']['bigdelete'] = true;
5086 // can view deleted history entries, but not see or restore the text
5087 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5088 // can view deleted revision text
5089 $wgGroupPermissions['sysop']['deletedtext'] = true;
5090 $wgGroupPermissions['sysop']['undelete'] = true;
5091 $wgGroupPermissions['sysop']['editinterface'] = true;
5092 $wgGroupPermissions['sysop']['editusercss'] = true;
5093 $wgGroupPermissions['sysop']['edituserjs'] = true;
5094 $wgGroupPermissions['sysop']['editcontentmodel'] = true;
5095 $wgGroupPermissions['sysop']['import'] = true;
5096 $wgGroupPermissions['sysop']['importupload'] = true;
5097 $wgGroupPermissions['sysop']['move'] = true;
5098 $wgGroupPermissions['sysop']['move-subpages'] = true;
5099 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5100 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5101 $wgGroupPermissions['sysop']['patrol'] = true;
5102 $wgGroupPermissions['sysop']['autopatrol'] = true;
5103 $wgGroupPermissions['sysop']['protect'] = true;
5104 $wgGroupPermissions['sysop']['editprotected'] = true;
5105 $wgGroupPermissions['sysop']['rollback'] = true;
5106 $wgGroupPermissions['sysop']['upload'] = true;
5107 $wgGroupPermissions['sysop']['reupload'] = true;
5108 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5109 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5110 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5111 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5112 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5113 $wgGroupPermissions['sysop']['blockemail'] = true;
5114 $wgGroupPermissions['sysop']['markbotedits'] = true;
5115 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5116 $wgGroupPermissions['sysop']['browsearchive'] = true;
5117 $wgGroupPermissions['sysop']['noratelimit'] = true;
5118 $wgGroupPermissions['sysop']['movefile'] = true;
5119 $wgGroupPermissions['sysop']['unblockself'] = true;
5120 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5121 # $wgGroupPermissions['sysop']['pagelang'] = true;
5122 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5123 $wgGroupPermissions['sysop']['mergehistory'] = true;
5124 $wgGroupPermissions['sysop']['managechangetags'] = true;
5125 
5126 // Permission to change users' group assignments
5127 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5128 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5129 // Permission to change users' groups assignments across wikis
5130 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5131 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5132 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5133 
5134 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5135 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5136 // To hide usernames from users and Sysops
5137 # $wgGroupPermissions['suppress']['hideuser'] = true;
5138 // To hide revisions/log items from users and Sysops
5139 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5140 // To view revisions/log items hidden from users and Sysops
5141 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5142 // For private suppression log access
5143 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5144 
5151 # $wgGroupPermissions['developer']['siteadmin'] = true;
5152 
5164 $wgRevokePermissions = [];
5165 
5169 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5170 
5192 $wgGroupsAddToSelf = [];
5193 
5197 $wgGroupsRemoveFromSelf = [];
5198 
5206 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5207 
5219 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5220 
5230 $wgCascadingRestrictionLevels = [ 'sysop' ];
5231 
5244 $wgSemiprotectedRestrictionLevels = [ 'autoconfirmed' ];
5245 
5254 
5264 $wgNonincludableNamespaces = [];
5265 
5286 $wgAutoConfirmAge = 0;
5287 
5297 $wgAutoConfirmCount = 0;
5298 
5322 $wgAutopromote = [
5323  'autoconfirmed' => [ '&',
5324  [ APCOND_EDITCOUNT, &$wgAutoConfirmCount ],
5325  [ APCOND_AGE, &$wgAutoConfirmAge ],
5326  ],
5327 ];
5328 
5347 $wgAutopromoteOnce = [
5348  'onEdit' => [],
5349 ];
5350 
5355 $wgAutopromoteOnceLogInRC = true;
5356 
5379 $wgAddGroups = [];
5380 
5384 $wgRemoveGroups = [];
5385 
5390 $wgAvailableRights = [];
5391 
5396 $wgDeleteRevisionsLimit = 0;
5397 
5405 $wgHideUserContribLimit = 1000;
5406 
5412 $wgAccountCreationThrottle = 0;
5413 
5425 $wgSpamRegex = [];
5426 
5430 $wgSummarySpamRegex = [];
5431 
5437 $wgEnableDnsBlacklist = false;
5438 
5462 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
5463 
5468 $wgProxyWhitelist = [];
5469 
5475 $wgApplyIpBlocksToXff = false;
5476 
5506 $wgRateLimits = [
5507  // Page edits
5508  'edit' => [
5509  'ip' => [ 8, 60 ],
5510  'newbie' => [ 8, 60 ],
5511  ],
5512  // Page moves
5513  'move' => [
5514  'newbie' => [ 2, 120 ],
5515  'user' => [ 8, 60 ],
5516  ],
5517  // File uploads
5518  'upload' => [
5519  'ip' => [ 8, 60 ],
5520  'newbie' => [ 8, 60 ],
5521  ],
5522  // Page rollbacks
5523  'rollback' => [
5524  'user' => [ 10, 60 ],
5525  'newbie' => [ 5, 120 ]
5526  ],
5527  // Triggering password resets emails
5528  'mailpassword' => [
5529  'ip' => [ 5, 3600 ],
5530  ],
5531  // Emailing other users using MediaWiki
5532  'emailuser' => [
5533  'ip' => [ 5, 86400 ],
5534  'newbie' => [ 5, 86400 ],
5535  'user' => [ 20, 86400 ],
5536  ],
5537  // Purging pages
5538  'purge' => [
5539  'ip' => [ 30, 60 ],
5540  'user' => [ 30, 60 ],
5541  ],
5542  // Purges of link tables
5543  'linkpurge' => [
5544  'ip' => [ 30, 60 ],
5545  'user' => [ 30, 60 ],
5546  ],
5547  // Files rendered via thumb.php or thumb_handler.php
5548  'renderfile' => [
5549  'ip' => [ 700, 30 ],
5550  'user' => [ 700, 30 ],
5551  ],
5552  // Same as above but for non-standard thumbnails
5553  'renderfile-nonstandard' => [
5554  'ip' => [ 70, 30 ],
5555  'user' => [ 70, 30 ],
5556  ],
5557  // Stashing edits into cache before save
5558  'stashedit' => [
5559  'ip' => [ 30, 60 ],
5560  'newbie' => [ 30, 60 ],
5561  ],
5562  // Adding or removing change tags
5563  'changetag' => [
5564  'ip' => [ 8, 60 ],
5565  'newbie' => [ 8, 60 ],
5566  ],
5567 ];
5568 
5573 $wgRateLimitsExcludedIPs = [];
5574 
5580 $wgPutIPinRC = true;
5581 
5586 $wgQueryPageDefaultLimit = 50;
5587 
5600 $wgPasswordAttemptThrottle = [
5601  // Short term limit
5602  [ 'count' => 5, 'seconds' => 300 ],
5603  // Long term limit. We need to balance the risk
5604  // of somebody using this as a DoS attack to lock someone
5605  // out of their account, and someone doing a brute force attack.
5606  [ 'count' => 150, 'seconds' => 60*60*48 ],
5607 ];
5608 
5619 $wgGrantPermissions = [];
5620 
5621 // @TODO: clean up grants
5622 // @TODO: auto-include read/editsemiprotected rights?
5623 
5624 $wgGrantPermissions['basic']['autoconfirmed'] = true;
5625 $wgGrantPermissions['basic']['autopatrol'] = true;
5626 $wgGrantPermissions['basic']['editsemiprotected'] = true;
5627 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
5628 $wgGrantPermissions['basic']['nominornewtalk'] = true;
5629 $wgGrantPermissions['basic']['patrolmarks'] = true;
5630 $wgGrantPermissions['basic']['purge'] = true;
5631 $wgGrantPermissions['basic']['read'] = true;
5632 $wgGrantPermissions['basic']['skipcaptcha'] = true;
5633 $wgGrantPermissions['basic']['writeapi'] = true;
5634 
5635 $wgGrantPermissions['highvolume']['bot'] = true;
5636 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
5637 $wgGrantPermissions['highvolume']['noratelimit'] = true;
5638 $wgGrantPermissions['highvolume']['markbotedits'] = true;
5639 
5640 $wgGrantPermissions['editpage']['edit'] = true;
5641 $wgGrantPermissions['editpage']['minoredit'] = true;
5642 $wgGrantPermissions['editpage']['applychangetags'] = true;
5643 $wgGrantPermissions['editpage']['changetags'] = true;
5644 
5645 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
5646 $wgGrantPermissions['editprotected']['editprotected'] = true;
5647 
5648 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
5649 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
5650 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
5651 
5652 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
5653 
5654 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
5655 $wgGrantPermissions['editinterface']['editinterface'] = true;
5656 $wgGrantPermissions['editinterface']['editusercss'] = true;
5657 $wgGrantPermissions['editinterface']['edituserjs'] = true;
5658 
5659 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
5660 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
5661 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
5662 $wgGrantPermissions['createeditmovepage']['move'] = true;
5663 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
5664 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
5665 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
5666 
5667 $wgGrantPermissions['uploadfile']['upload'] = true;
5668 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
5669 
5670 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
5671 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
5672 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
5673 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
5674 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
5675 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
5676 
5677 $wgGrantPermissions['patrol']['patrol'] = true;
5678 
5679 $wgGrantPermissions['rollback']['rollback'] = true;
5680 
5681 $wgGrantPermissions['blockusers']['block'] = true;
5682 $wgGrantPermissions['blockusers']['blockemail'] = true;
5683 
5684 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
5685 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
5686 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
5687 
5688 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
5689  $wgGrantPermissions['viewdeleted'];
5690 $wgGrantPermissions['delete']['delete'] = true;
5691 $wgGrantPermissions['delete']['bigdelete'] = true;
5692 $wgGrantPermissions['delete']['deletelogentry'] = true;
5693 $wgGrantPermissions['delete']['deleterevision'] = true;
5694 $wgGrantPermissions['delete']['undelete'] = true;
5695 
5696 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
5697 $wgGrantPermissions['protect']['protect'] = true;
5698 
5699 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
5700 
5701 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
5702 
5703 $wgGrantPermissions['sendemail']['sendemail'] = true;
5704 
5705 $wgGrantPermissions['createaccount']['createaccount'] = true;
5706 
5711 $wgGrantPermissionGroups = [
5712  // Hidden grants are implicitly present
5713  'basic' => 'hidden',
5714 
5715  'editpage' => 'page-interaction',
5716  'createeditmovepage' => 'page-interaction',
5717  'editprotected' => 'page-interaction',
5718  'patrol' => 'page-interaction',
5719 
5720  'uploadfile' => 'file-interaction',
5721  'uploadeditmovefile' => 'file-interaction',
5722 
5723  'sendemail' => 'email',
5724 
5725  'viewmywatchlist' => 'watchlist-interaction',
5726  'editviewmywatchlist' => 'watchlist-interaction',
5727 
5728  'editmycssjs' => 'customization',
5729  'editmyoptions' => 'customization',
5730 
5731  'editinterface' => 'administration',
5732  'rollback' => 'administration',
5733  'blockusers' => 'administration',
5734  'delete' => 'administration',
5735  'viewdeleted' => 'administration',
5736  'protect' => 'administration',
5737  'createaccount' => 'administration',
5738 
5739  'highvolume' => 'high-volume',
5740 ];
5741 
5746 $wgEnableBotPasswords = true;
5747 
5753 $wgBotPasswordsCluster = false;
5754 
5763 $wgBotPasswordsDatabase = false;
5764  # end of user rights settings
5766 
5767 /************************************************************************/
5775 $wgSecretKey = false;
5776 
5786 $wgProxyList = [];
5787  # end of proxy scanner settings
5789 
5790 /************************************************************************/
5798 $wgCookieExpiration = 180 * 86400;
5799 
5806 $wgExtendedLoginCookies = [ 'UserID', 'Token' ];
5807 
5814 $wgExtendedLoginCookieExpiration = null;
5815 
5820 $wgCookieDomain = '';
5821 
5826 $wgCookiePath = '/';
5827 
5834 $wgCookieSecure = 'detect';
5835 
5842 $wgDisableCookieCheck = false;
5843 
5849 $wgCookiePrefix = false;
5850 
5856 $wgCookieHttpOnly = true;
5857 
5861 $wgCacheVaryCookies = [];
5862 
5866 $wgSessionName = false;
5867  # end of cookie settings }
5869 
5870 /************************************************************************/
5881 $wgUseTeX = false;
5882  # end LaTeX }
5884 
5885 /************************************************************************/
5898 $wgDebugLogFile = '';
5899 
5903 $wgDebugLogPrefix = '';
5904 
5910 $wgDebugRedirects = false;
5911 
5917 $wgDebugRawPage = false;
5918 
5927 $wgDebugComments = false;
5928 
5937 $wgDebugDumpSql = false;
5938 
5944 $wgTrxProfilerLimits = [
5945  // HTTP GET/HEAD requests.
5946  // Master queries should not happen on GET requests
5947  'GET' => [
5948  'masterConns' => 0,
5949  'writes' => 0,
5950  'readQueryTime' => 5
5951  ],
5952  // HTTP POST requests.
5953  // Master reads and writes will happen for a subset of these.
5954  'POST' => [
5955  'readQueryTime' => 5,
5956  'writeQueryTime' => 1,
5957  'maxAffected' => 500
5958  ],
5959  'POST-nonwrite' => [
5960  'masterConns' => 0,
5961  'writes' => 0,
5962  'readQueryTime' => 5
5963  ],
5964  // Background job runner
5965  'JobRunner' => [
5966  'readQueryTime' => 30,
5967  'writeQueryTime' => 5,
5968  'maxAffected' => 1000
5969  ],
5970  // Command-line scripts
5971  'Maintenance' => [
5972  'writeQueryTime' => 5,
5973  'maxAffected' => 1000
5974  ]
5975 ];
5976 
6007 $wgDebugLogGroups = [];
6008 
6030 $wgMWLoggerDefaultSpi = [
6031  'class' => '\\MediaWiki\\Logger\\LegacySpi',
6032 ];
6033 
6039 $wgShowDebug = false;
6040 
6045 $wgDebugTimestamps = false;
6046 
6050 $wgDebugPrintHttpHeaders = true;
6051 
6055 $wgSpecialVersionShowHooks = false;
6056 
6062 $wgShowSQLErrors = false;
6063 
6070 $wgShowExceptionDetails = false;
6071 
6080 $wgShowDBErrorBacktrace = false;
6081 
6085 $wgLogExceptionBacktrace = true;
6086 
6090 $wgShowHostnames = false;
6091 
6097 $wgOverrideHostname = false;
6098 
6103 $wgDevelopmentWarnings = false;
6104 
6110 $wgDeprecationReleaseLimit = false;
6111 
6116 $wgProfileLimit = 0.0;
6117 
6124 $wgProfileOnly = false;
6125 
6136 $wgStatsdServer = false;
6137 
6145 $wgStatsdMetricPrefix = 'MediaWiki';
6146 
6152 $wgPageInfoTransclusionLimit = 50;
6153 
6160 $wgSiteStatsAsyncFactor = false;
6161 
6171 $wgParserTestFiles = [
6172  "$IP/tests/parser/parserTests.txt",
6173  "$IP/tests/parser/extraParserTests.txt"
6174 ];
6175 
6179 $wgEnableJavaScriptTest = false;
6180 
6185 $wgCachePrefix = false;
6186 
6194 $wgDebugToolbar = false;
6195  # end of profiling, testing and debugging }
6197 
6198 /************************************************************************/
6206 $wgDisableTextSearch = false;
6207 
6212 $wgAdvancedSearchHighlighting = false;
6213 
6218 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6219 
6230 $wgOpenSearchTemplate = false;
6231 
6240 $wgOpenSearchTemplates = [
6241  'application/x-suggestions+json' => false,
6242  'application/x-suggestions+xml' => false,
6243 ];
6244 
6251 $wgEnableOpenSearchSuggest = true;
6252 
6257 $wgOpenSearchDefaultLimit = 10;
6258 
6262 $wgOpenSearchDescriptionLength = 100;
6263 
6267 $wgSearchSuggestCacheExpiry = 1200;
6268 
6273 $wgDisableSearchUpdate = false;
6274 
6284 $wgNamespacesToBeSearchedDefault = [
6285  NS_MAIN => true,
6286 ];
6287 
6292 $wgDisableInternalSearch = false;
6293 
6309 $wgSearchForwardUrl = null;
6310 
6316 $wgUseTwoButtonsSearchForm = true;
6317 
6323 $wgSitemapNamespaces = false;
6324 
6339 $wgSitemapNamespacesPriorities = false;
6340 
6346 $wgEnableSearchContributorsByIP = true;
6347  # end of search settings
6349 
6350 /************************************************************************/
6359 $wgDiff3 = '/usr/bin/diff3';
6360 
6364 $wgDiff = '/usr/bin/diff';
6365 
6371 $wgPreviewOnOpenNamespaces = [
6372  NS_CATEGORY => true
6373 ];
6374 
6380 $wgUniversalEditButton = true;
6381 
6387 $wgUseAutomaticEditSummaries = true;
6388  # end edit UI }
6390 
6391 /************************************************************************/
6401 if ( !isset( $wgCommandLineMode ) ) {
6402  $wgCommandLineMode = false;
6403 }
6409 $wgCommandLineDarkBg = false;
6410 
6419 $wgReadOnly = null;
6420 
6428 $wgReadOnlyFile = false;
6429 
6439 $wgUpgradeKey = false;
6440 
6444 $wgGitBin = '/usr/bin/git';
6445 
6459 $wgGitRepositoryViewers = [
6460  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6461  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6462  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6463  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6464 ];
6465  # End of maintenance }
6467 
6468 /************************************************************************/
6478 $wgRCMaxAge = 90 * 24 * 3600;
6479 
6485 $wgWatchersMaxAge = 180 * 24 * 3600;
6486 
6493 $wgUnwatchedPageSecret = 1;
6494 
6502 $wgRCFilterByAge = false;
6503 
6508 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
6509 
6514 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
6515 
6557 $wgRCFeeds = [];
6558 
6563 $wgRCEngines = [
6564  'redis' => 'RedisPubSubFeedEngine',
6565  'udp' => 'UDPRCFeedEngine',
6566 ];
6567 
6579 $wgRCWatchCategoryMembership = false;
6580 
6585 $wgUseRCPatrol = true;
6586 
6590 $wgUseNPPatrol = true;
6591 
6597 $wgUseFilePatrol = true;
6598 
6602 $wgLogAutopatrol = true;
6603 
6607 $wgFeed = true;
6608 
6613 $wgFeedLimit = 50;
6614 
6623 $wgFeedCacheTimeout = 60;
6624 
6629 $wgFeedDiffCutoff = 32768;
6630 
6643 $wgOverrideSiteFeed = [];
6644 
6650 $wgFeedClasses = [
6651  'rss' => 'RSSFeed',
6652  'atom' => 'AtomFeed',
6653 ];
6654 
6659 $wgAdvertisedFeedTypes = [ 'atom' ];
6660 
6664 $wgRCShowWatchingUsers = false; # UPO
6665 
6669 $wgRCShowChangedSize = true;
6670 
6676 $wgRCChangedSizeThreshold = 500;
6677 
6682 $wgShowUpdatedMarker = true;
6683 
6688 $wgDisableAnonTalk = false;
6689 
6693 $wgAllowCategorizedRecentChanges = false;
6694 
6699 $wgUseTagFilter = true;
6700 
6708 $wgUnwatchedPageThreshold = false;
6709 
6734 $wgRecentChangesFlags = [
6735  'newpage' => [
6736  'letter' => 'newpageletter',
6737  'title' => 'recentchanges-label-newpage',
6738  'legend' => 'recentchanges-legend-newpage',
6739  'grouping' => 'any',
6740  ],
6741  'minor' => [
6742  'letter' => 'minoreditletter',
6743  'title' => 'recentchanges-label-minor',
6744  'legend' => 'recentchanges-legend-minor',
6745  'class' => 'minoredit',
6746  'grouping' => 'all',
6747  ],
6748  'bot' => [
6749  'letter' => 'boteditletter',
6750  'title' => 'recentchanges-label-bot',
6751  'legend' => 'recentchanges-legend-bot',
6752  'class' => 'botedit',
6753  'grouping' => 'all',
6754  ],
6755  'unpatrolled' => [
6756  'letter' => 'unpatrolledletter',
6757  'title' => 'recentchanges-label-unpatrolled',
6758  'legend' => 'recentchanges-legend-unpatrolled',
6759  'grouping' => 'any',
6760  ],
6761 ];
6762  # end RC/watchlist }
6764 
6765 /************************************************************************/
6777 $wgRightsPage = null;
6778 
6784 $wgRightsUrl = null;
6785 
6792 $wgRightsText = null;
6793 
6797 $wgRightsIcon = null;
6798 
6802 $wgUseCopyrightUpload = false;
6803 
6811 $wgMaxCredits = 0;
6812 
6817 $wgShowCreditsIfMax = true;
6818  # end of copyright and credits settings }
6820 
6821 /************************************************************************/
6848 $wgImportSources = [];
6849 
6857 $wgImportTargetNamespace = null;
6858 
6864 $wgExportAllowHistory = true;
6865 
6871 $wgExportMaxHistory = 0;
6872 
6876 $wgExportAllowListContributors = false;
6877 
6889 $wgExportMaxLinkDepth = 0;
6890 
6894 $wgExportFromNamespaces = false;
6895 
6899 $wgExportAllowAll = false;
6900 
6907 $wgExportPagelistLimit = 5000;
6908  # end of import/export }
6910 
6911 /*************************************************************************/
6920 $wgExtensionFunctions = [];
6921 
6949 
6975 $wgMessagesDirs = [];
6976 
6982 $wgExtensionEntryPointListFiles = [];
6983 
6998 $wgParserOutputHooks = [];
6999 
7003 $wgEnableParserLimitReporting = true;
7004 
7013 $wgValidSkinNames = [];
7014 
7021 $wgSpecialPages = [];
7022 
7026 $wgAutoloadClasses = [];
7027 
7033 $wgAutoloadAttemptLowercase = true;
7034 
7087 $wgExtensionCredits = [];
7088 
7093 $wgAuth = null;
7094 
7129 $wgHooks = [];
7130 
7143  __DIR__ . '/ServiceWiring.php'
7144 ];
7145 
7150 $wgJobClasses = [
7151  'refreshLinks' => 'RefreshLinksJob',
7152  'deleteLinks' => 'DeleteLinksJob',
7153  'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
7154  'sendMail' => 'EmaillingJob',
7155  'enotifNotify' => 'EnotifNotifyJob',
7156  'fixDoubleRedirect' => 'DoubleRedirectJob',
7157  'AssembleUploadChunks' => 'AssembleUploadChunksJob',
7158  'PublishStashedFile' => 'PublishStashedFileJob',
7159  'ThumbnailRender' => 'ThumbnailRenderJob',
7160  'recentChangesUpdate' => 'RecentChangesUpdateJob',
7161  'refreshLinksPrioritized' => 'RefreshLinksJob',
7162  'refreshLinksDynamic' => 'RefreshLinksJob',
7163  'activityUpdateJob' => 'ActivityUpdateJob',
7164  'categoryMembershipChange' => 'CategoryMembershipChangeJob',
7165  'cdnPurge' => 'CdnPurgeJob',
7166  'enqueue' => 'EnqueueJob', // local queue for multi-DC setups
7167  'null' => 'NullJob'
7168 ];
7169 
7181 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7182 
7192 $wgJobBackoffThrottling = [];
7193 
7207 $wgJobSerialCommitThreshold = false;
7208 
7215 $wgJobTypeConf = [
7216  'default' => [ 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ],
7217 ];
7218 
7223 $wgJobQueueAggregator = [
7224  'class' => 'JobQueueAggregatorNull'
7225 ];
7226 
7231 $wgSpecialPageCacheUpdates = [
7232  'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
7233 ];
7234 
7242 $wgExceptionHooks = [];
7243 
7251 $wgPagePropLinkInvalidations = [
7252  'hiddencat' => 'categorylinks',
7253 ];
7254  # End extensions }
7256 
7257 /*************************************************************************/
7265 $wgUseCategoryBrowser = false;
7266 
7271 $wgCategoryMagicGallery = true;
7272 
7276 $wgCategoryPagingLimit = 200;
7277 
7303 $wgCategoryCollation = 'uppercase';
7304  # End categories }
7306 
7307 /*************************************************************************/
7318 $wgLogTypes = [
7319  '',
7320  'block',
7321  'protect',
7322  'rights',
7323  'delete',
7324  'upload',
7325  'move',
7326  'import',
7327  'patrol',
7328  'merge',
7329  'suppress',
7330  'tag',
7331  'managetags',
7332  'contentmodel',
7333 ];
7334 
7342 $wgLogRestrictions = [
7343  'suppress' => 'suppressionlog'
7344 ];
7345 
7368 $wgFilterLogTypes = [
7369  'patrol' => true,
7370  'tag' => true,
7371 ];
7372 
7382 $wgLogNames = [
7383  '' => 'all-logs-page',
7384  'block' => 'blocklogpage',
7385  'protect' => 'protectlogpage',
7386  'rights' => 'rightslog',
7387  'delete' => 'dellogpage',
7388  'upload' => 'uploadlogpage',
7389  'move' => 'movelogpage',
7390  'import' => 'importlogpage',
7391  'patrol' => 'patrol-log-page',
7392  'merge' => 'mergelog',
7393  'suppress' => 'suppressionlog',
7394 ];
7395 
7405 $wgLogHeaders = [
7406  '' => 'alllogstext',
7407  'block' => 'blocklogtext',
7408  'delete' => 'dellogpagetext',
7409  'import' => 'importlogpagetext',
7410  'merge' => 'mergelogpagetext',
7411  'move' => 'movelogpagetext',
7412  'patrol' => 'patrol-log-header',
7413  'protect' => 'protectlogtext',
7414  'rights' => 'rightslogtext',
7415  'suppress' => 'suppressionlogtext',
7416  'upload' => 'uploadlogpagetext',
7417 ];
7418 
7425 $wgLogActions = [];
7426 
7433 $wgLogActionsHandlers = [
7434  'block/block' => 'BlockLogFormatter',
7435  'block/reblock' => 'BlockLogFormatter',
7436  'block/unblock' => 'BlockLogFormatter',
7437  'contentmodel/change' => 'ContentModelLogFormatter',
7438  'contentmodel/new' => 'ContentModelLogFormatter',
7439  'delete/delete' => 'DeleteLogFormatter',
7440  'delete/event' => 'DeleteLogFormatter',
7441  'delete/restore' => 'DeleteLogFormatter',
7442  'delete/revision' => 'DeleteLogFormatter',
7443  'import/interwiki' => 'ImportLogFormatter',
7444  'import/upload' => 'ImportLogFormatter',
7445  'managetags/activate' => 'LogFormatter',
7446  'managetags/create' => 'LogFormatter',
7447  'managetags/deactivate' => 'LogFormatter',
7448  'managetags/delete' => 'LogFormatter',
7449  'merge/merge' => 'MergeLogFormatter',
7450  'move/move' => 'MoveLogFormatter',
7451  'move/move_redir' => 'MoveLogFormatter',
7452  'patrol/patrol' => 'PatrolLogFormatter',
7453  'patrol/autopatrol' => 'PatrolLogFormatter',
7454  'protect/modify' => 'ProtectLogFormatter',
7455  'protect/move_prot' => 'ProtectLogFormatter',
7456  'protect/protect' => 'ProtectLogFormatter',
7457  'protect/unprotect' => 'ProtectLogFormatter',
7458  'rights/autopromote' => 'RightsLogFormatter',
7459  'rights/rights' => 'RightsLogFormatter',
7460  'suppress/block' => 'BlockLogFormatter',
7461  'suppress/delete' => 'DeleteLogFormatter',
7462  'suppress/event' => 'DeleteLogFormatter',
7463  'suppress/reblock' => 'BlockLogFormatter',
7464  'suppress/revision' => 'DeleteLogFormatter',
7465  'tag/update' => 'TagLogFormatter',
7466  'upload/overwrite' => 'UploadLogFormatter',
7467  'upload/revert' => 'UploadLogFormatter',
7468  'upload/upload' => 'UploadLogFormatter',
7469 ];
7470 
7479 $wgActionFilteredLogs = [
7480  'block' => [
7481  'block' => [ 'block' ],
7482  'reblock' => [ 'reblock' ],
7483  'unblock' => [ 'unblock' ],
7484  ],
7485  'contentmodel' => [
7486  'change' => [ 'change' ],
7487  'new' => [ 'new' ],
7488  ],
7489  'delete' => [
7490  'delete' => [ 'delete' ],
7491  'restore' => [ 'restore' ],
7492  'event' => [ 'event' ],
7493  'revision' => [ 'revision' ],
7494  ],
7495  'import' => [
7496  'interwiki' => [ 'interwiki' ],
7497  'upload' => [ 'upload' ],
7498  ],
7499  'managetags' => [
7500  'create' => [ 'create' ],
7501  'delete' => [ 'delete' ],
7502  'activate' => [ 'activate' ],
7503  'deactivate' => [ 'deactivate' ],
7504  ],
7505  'move' => [
7506  'move' => [ 'move' ],
7507  'move_redir' => [ 'move_redir' ],
7508  ],
7509  'newusers' => [
7510  'create' => [ 'create', 'newusers' ],
7511  'create2' => [ 'create2' ],
7512  'autocreate' => [ 'autocreate' ],
7513  'byemail' => [ 'byemail' ],
7514  ],
7515  'patrol' => [
7516  'patrol' => [ 'patrol' ],
7517  'autopatrol' => [ 'autopatrol' ],
7518  ],
7519  'protect' => [
7520  'protect' => [ 'protect' ],
7521  'modify' => [ 'modify' ],
7522  'unprotect' => [ 'unprotect' ],
7523  'move_prot' => [ 'move_prot' ],
7524  ],
7525  'rights' => [
7526  'rights' => [ 'rights' ],
7527  'autopromote' => [ 'autopromote' ],
7528  ],
7529  'suppress' => [
7530  'event' => [ 'event' ],
7531  'revision' => [ 'revision' ],
7532  'delete' => [ 'delete' ],
7533  'block' => [ 'block' ],
7534  'reblock' => [ 'reblock' ],
7535  ],
7536  'upload' => [
7537  'upload' => [ 'upload' ],
7538  'overwrite' => [ 'overwrite' ],
7539  ],
7540 ];
7541 
7545 $wgNewUserLog = true;
7546  # end logging }
7548 
7549 /*************************************************************************/
7557 $wgAllowSpecialInclusion = true;
7558 
7563 $wgDisableQueryPageUpdate = false;
7564 
7569 $wgCountCategorizedImagesAsUsed = false;
7570 
7575 $wgMaxRedirectLinksRetrieved = 500;
7576  # end special pages }
7578 
7579 /*************************************************************************/
7594 $wgActions = [
7595  'credits' => true,
7596  'delete' => true,
7597  'edit' => true,
7598  'editchangetags' => 'SpecialPageAction',
7599  'history' => true,
7600  'info' => true,
7601  'markpatrolled' => true,
7602  'protect' => true,
7603  'purge' => true,
7604  'raw' => true,
7605  'render' => true,
7606  'revert' => true,
7607  'revisiondelete' => 'SpecialPageAction',
7608  'rollback' => true,
7609  'submit' => true,
7610  'unprotect' => true,
7611  'unwatch' => true,
7612  'view' => true,
7613  'watch' => true,
7614 ];
7615  # end actions }
7617 
7618 /*************************************************************************/
7629 $wgDefaultRobotPolicy = 'index,follow';
7630 
7645 $wgNamespaceRobotPolicies = [];
7646 
7673 $wgArticleRobotPolicies = [];
7674 
7685 $wgExemptFromUserRobotsControl = null;
7686  # End robot policy }
7688 
7689 /************************************************************************/
7703 $wgEnableAPI = true;
7704 
7710 $wgEnableWriteAPI = true;
7711 
7726 $wgDebugAPI = false;
7727 
7764 $wgAPIModules = [];
7765 
7773 $wgAPIFormatModules = [];
7774 
7782 $wgAPIMetaModules = [];
7783 
7791 $wgAPIPropModules = [];
7792 
7800 $wgAPIListModules = [];
7801 
7806 $wgAPIMaxDBRows = 5000;
7807 
7812 $wgAPIMaxResultSize = 8388608;
7813 
7818 $wgAPIMaxUncachedDiffs = 1;
7819 
7825 $wgAPIMaxLagThreshold = 7;
7826 
7831 $wgAPIRequestLog = false;
7832 
7836 $wgAPICacheHelpTimeout = 60 * 60;
7837 
7842 $wgAPIUselessQueryPages = [
7843  'MIMEsearch', // aiprop=mime
7844  'LinkSearch', // list=exturlusage
7845  'FileDuplicateSearch', // prop=duplicatefiles
7846 ];
7847 
7851 $wgUseAjax = true;
7852 
7858 $wgAjaxExportList = [];
7859 
7863 $wgAjaxUploadDestCheck = true;
7864 
7868 $wgAjaxLicensePreview = true;
7869 
7874 $wgAjaxEditStash = true;
7875 
7896 $wgCrossSiteAJAXdomains = [];
7897 
7903 $wgCrossSiteAJAXdomainExceptions = [];
7904  # End AJAX and API }
7906 
7907 /************************************************************************/
7915 $wgMaxShellMemory = 307200;
7916 
7921 $wgMaxShellFileSize = 102400;
7922 
7926 $wgMaxShellTime = 180;
7927 
7932 $wgMaxShellWallClockTime = 180;
7933 
7957 $wgShellCgroup = false;
7958 
7962 $wgPhpCli = '/usr/bin/php';
7963 
7969 $wgShellLocale = 'en_US.utf8';
7970  # End shell }
7972 
7973 /************************************************************************/
7981 $wgHTTPTimeout = 25;
7982 
7986 $wgAsyncHTTPTimeout = 25;
7987 
7991 $wgHTTPProxy = false;
7992 
8003 $wgLocalVirtualHosts = [];
8004 
8009 $wgHTTPConnectTimeout = 5e0;
8010  # End HTTP client }
8012 
8013 /************************************************************************/
8024 $wgJobRunRate = 1;
8025 
8032 $wgRunJobsAsync = false;
8033 
8037 $wgUpdateRowsPerJob = 300;
8038 
8042 $wgUpdateRowsPerQuery = 100;
8043  # End job queue }
8045 
8046 /************************************************************************/
8057 $wgExternalDiffEngine = false;
8058 
8067 $wgDisableHardRedirects = false;
8068 
8073 $wgLinkHolderBatchSize = 1000;
8074 
8079 $wgRegisterInternalExternals = false;
8080 
8084 $wgMaximumMovedPages = 100;
8085 
8090 $wgFixDoubleRedirects = false;
8091 
8096 $wgRedirectOnLogin = null;
8097 
8118 $wgPoolCounterConf = null;
8119 
8123 $wgUploadMaintenance = false;
8124 
8133 $wgNamespaceContentModels = [];
8134 
8145 $wgContentHandlerTextFallback = 'ignore';
8146 
8160 $wgContentHandlerUseDB = true;
8161 
8172 $wgTextModelsToParse = [
8173  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
8174  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
8175  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
8176 ];
8177 
8183 $wgSiteTypes = [
8184  'mediawiki' => 'MediaWikiSite',
8185 ];
8186 
8192 $wgPagePropsHaveSortkey = true;
8193 
8200 $wgHttpsPort = 443;
8201 
8208 $wgSessionSecret = false;
8209 
8217 $wgSessionInsecureSecrets = false;
8218 
8227 $wgHKDFSecret = false;
8228 
8235 $wgHKDFAlgorithm = 'sha256';
8236 
8243 $wgPageLanguageUseDB = false;
8244 
8265  'modules' => [],
8266  'global' => [
8267  # Timeout in seconds
8268  'timeout' => 360,
8269  # 'domain' is set to $wgCanonicalServer in Setup.php
8270  'forwardCookies' => false,
8271  'HTTPProxy' => null
8272  ]
8273 ];
8274 
8282 $wgSearchRunSuggestedQuery = true;
8283 
8295 $wgPopularPasswordFile = __DIR__ . '/../serialized/commonpasswords.cdb';
8296 
8297 /*
8298  * Max time (in seconds) a user-generated transaction can spend in writes.
8299  * If exceeded, the transaction is rolled back with an error instead of being committed.
8300  *
8301  * @var int|bool Disabled if false
8302  * @since 1.27
8303  */
8304 $wgMaxUserDBWriteDuration = false;
8305 
8325 $wgEventRelayerConfig = [
8326  'default' => [
8327  'class' => 'EventRelayerNull',
8328  ]
8329 ];
8330 
$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:2541
$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:277
$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:248
$wgSquidServers
List of proxy servers to purge on changes; default port is 80.
const NS_MAIN
Definition: Defines.php:69
$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:105
$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:139
$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:1924
$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:138
$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:122
$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:280
$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:141
$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:281
$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
Set to true to put the sending user's email in a Reply-To header instead of From. ...
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface...
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
$wgDBWindowsAuthentication
Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server.
$wgValidateAllHtml
Validate the overall output using tidy and refuse to display the page if it's not valid...
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
$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:104
const AV_SCAN_ABORTED
Definition: Defines.php:140
$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:1798
$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:73
$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:78
$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:74
$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:83
$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:76
$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:77
$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:84
$wgSharedThumbnailScriptPath
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
const NS_HELP
Definition: Defines.php:81
$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:82
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:101
$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:279
$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#l03937">DefaultSettings.php:3937</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#l03239">DefaultSettings.php:3239</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#l03215">DefaultSettings.php:3215</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#l02855">DefaultSettings.php:2855</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#l02397">DefaultSettings.php:2397</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#l02250">DefaultSettings.php:2250</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#l03251">DefaultSettings.php:3251</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#l02480">DefaultSettings.php:2480</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#l00070">Defines.php:70</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#l03606">DefaultSettings.php:3606</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#l01938">DefaultSettings.php:1938</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#l00247">Defines.php:247</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#l03154">DefaultSettings.php:3154</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#l03757">DefaultSettings.php:3757</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#l03277">DefaultSettings.php:3277</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#l02403">DefaultSettings.php:2403</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#l01863">DefaultSettings.php:1863</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#l03770">DefaultSettings.php:3770</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#l03420">DefaultSettings.php:3420</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#l03391">DefaultSettings.php:3391</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#l02032">DefaultSettings.php:2032</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#l00102">Defines.php:102</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#l03672">DefaultSettings.php:3672</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#l02018">DefaultSettings.php:2018</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#l02387">DefaultSettings.php:2387</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#l01814">DefaultSettings.php:1814</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#l01946">DefaultSettings.php:1946</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#l02070">DefaultSettings.php:2070</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#l03409">DefaultSettings.php:3409</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#l02773">DefaultSettings.php:2773</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#l04029">DefaultSettings.php:4029</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#l00072">Defines.php:72</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#l01591">DefaultSettings.php:1591</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#l01874">DefaultSettings.php:1874</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#l02474">DefaultSettings.php:2474</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#l03060">DefaultSettings.php:3060</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#l01667">DefaultSettings.php:1667</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#l02546">DefaultSettings.php:2546</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#l01989">DefaultSettings.php:1989</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#l03924">DefaultSettings.php:3924</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#l01673">DefaultSettings.php:1673</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#l02674">DefaultSettings.php:2674</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#l01473">hooks.txt:1473</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#l00080">Defines.php:80</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#l02993">DefaultSettings.php:2993</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#l00103">Defines.php:103</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#l02938">DefaultSettings.php:2938</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#l03464">DefaultSettings.php:3464</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#l02667">DefaultSettings.php:2667</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#l02527">DefaultSettings.php:2527</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#l03220">DefaultSettings.php:3220</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#l02784">DefaultSettings.php:2784</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#l00119">Defines.php:119</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#l02166">DefaultSettings.php:2166</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#l02408">DefaultSettings.php:2408</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#l00115">Defines.php:115</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_b0f92a87ee026d34ca8fad24187d57bf.html">includes</a></li><li class="navelem"><a class="el" href="DefaultSettings_8php.html">DefaultSettings.php</a></li> <li class="footer">Generated on Tue Apr 11 2017 09:17:45 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>