MediaWiki  1.27.1
DefaultSettings.php
Go to the documentation of this file.
1 <?php
50 if ( !defined( 'MEDIAWIKI' ) ) {
51  echo "This file is part of MediaWiki and is not a valid entry point\n";
52  die( 1 );
53 }
54 
63 
71  'main' => 'GlobalVarConfig::newInstance'
72 ];
73 
78 $wgVersion = '1.27.1';
79 
83 $wgSitename = 'MediaWiki';
84 
92 
110 
119 
126 
127 /************************************************************************/
141 $wgScriptPath = '/wiki';
142 
160 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
161  ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
162  ( strpos( PHP_SAPI, 'isapi' ) === false );
163 
176 
179 /************************************************************************/
202 $wgScript = false;
203 
211 
217 $wgStylePath = false;
219 
226 
233 
239 $wgExtensionDirectory = "{$IP}/extensions";
240 
246 $wgStyleDirectory = "{$IP}/skins";
247 
256 
262 
267 
273 
278 $wgLogo = false;
279 
295 $wgLogoHD = false;
296 
301 $wgFavicon = '/favicon.ico';
302 
309 
319 
335 
342 
351 
367 
370 /************************************************************************/
379 
383 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
384 
389 
399 
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  'xcache' => [ 'class' => 'XCacheBagOStuff', 'reportDupes' => false ],
2273  'wincache' => [ 'class' => 'WinCacheBagOStuff', 'reportDupes' => false ],
2274  'memcached-php' => [ 'class' => 'MemcachedPhpBagOStuff', 'loggroup' => 'memcached' ],
2275  'memcached-pecl' => [ 'class' => 'MemcachedPeclBagOStuff', 'loggroup' => 'memcached' ],
2276  'hash' => [ 'class' => 'HashBagOStuff', 'reportDupes' => false ],
2277 ];
2278 
2295 
2312  CACHE_NONE => [
2313  'class' => 'WANObjectCache',
2314  'cacheId' => CACHE_NONE,
2315  'channels' => []
2316  ]
2317  /* Example of a simple single data-center cache:
2318  'memcached-php' => [
2319  'class' => 'WANObjectCache',
2320  'cacheId' => 'memcached-php',
2321  'channels' => [ 'purge' => 'wancache-main-memcached-purge' ]
2322  ]
2323  */
2324 ];
2325 
2340 $wgMainStash = 'db-replicated';
2341 
2347 
2354 
2359 
2364 
2369 
2387 
2392 
2396 $wgMemCachedServers = [ '127.0.0.1:11211' ];
2397 
2403 
2408 
2421 
2429 
2453  'class' => 'LocalisationCache',
2454  'store' => 'detect',
2455  'storeClass' => false,
2456  'storeDirectory' => false,
2457  'manualRecache' => false,
2458 ];
2459 
2464 
2473 $wgCacheEpoch = '20030516000000';
2474 
2480 
2489 
2496 
2504 
2510 
2516 
2527 
2532 
2539 $wgUseGzip = false;
2540 
2545 $wgUseETag = false;
2546 
2554 
2565 
2582  # end of cache settings
2584 
2585 /************************************************************************/
2602 $wgUseSquid = false;
2603 
2607 $wgUseESI = false;
2608 
2615 
2625 
2635 
2644 
2651 
2667 
2674 
2681 
2691 
2699 
2720 
2773 
2779 
2784  # end of HTTP proxy settings
2786 
2787 /************************************************************************/
2808 
2814 
2825 
2830 
2835 
2850 
2855 
2863  'als' => 'gsw',
2864  'bat-smg' => 'sgs',
2865  'be-x-old' => 'be-tarask',
2866  'bh' => 'bho',
2867  'fiu-vro' => 'vro',
2868  'no' => 'nb',
2869  'qqq' => 'qqq', # Used for message documentation.
2870  'qqx' => 'qqx', # Used for viewing message keys.
2871  'roa-rup' => 'rup',
2872  'simple' => 'en',
2873  'zh-classical' => 'lzh',
2874  'zh-min-nan' => 'nan',
2875  'zh-yue' => 'yue',
2876 ];
2877 
2886 
2896 
2907 
2919 
2931 
2948  '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2949  '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2950  '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2951 
2965  '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
2966 
2971  '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
2972 ];
2973 
2987 
2993 
2999 
3005 
3010 
3015 
3020 
3025 
3030 
3041 
3060 
3067 
3088 
3113 
3124  # End of language/charset settings
3126 
3127 /*************************************************************************/
3135 $wgMimeType = 'text/html';
3136 
3145 
3154 
3162 $wgHtml5 = true;
3163 
3173 
3182 
3190 
3206 
3215 
3220 
3226 
3231 $wgDefaultSkin = 'vector';
3232 
3238 $wgFallbackSkin = 'fallback';
3239 
3246 
3251 
3258 
3265 
3272 
3277 
3282 
3288 
3309 
3321 
3326 
3337 
3369  "copyright" => [
3370  "copyright" => [], // placeholder for the built in copyright icon
3371  ],
3372  "poweredby" => [
3373  "mediawiki" => [
3374  // Defaults to point at
3375  // "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
3376  // plus srcset for 1.5x, 2x resolution variants.
3377  "src" => null,
3378  "url" => "//www.mediawiki.org/",
3379  "alt" => "Powered by MediaWiki",
3380  ]
3381  ],
3382 ];
3383 
3391 
3395 $wgEdititis = false;
3396 
3409 
3420 
3428 
3438  # End of output format settings }
3440 
3441 /*************************************************************************/
3464 
3554 
3566 
3572 
3590  'versioned' => [
3591  'server' => 30 * 24 * 60 * 60, // 30 days
3592  'client' => 30 * 24 * 60 * 60, // 30 days
3593  ],
3594  'unversioned' => [
3595  'server' => 5 * 60, // 5 minutes
3596  'client' => 5 * 60, // 5 minutes
3597  ],
3598 ];
3599 
3606 
3614 
3623 
3630 
3657 
3672 
3681 
3691 
3722  'deviceWidthTablet' => '720px',
3723 ];
3724 
3739  "$IP/resources/src/mediawiki.less/",
3740 ];
3741 
3749 
3757 
3770  # End of ResourceLoader settings }
3772 
3773 /*************************************************************************/
3783 
3792 
3820 
3828 
3848 
3876 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
3877 
3884 
3894 
3899 
3924 
3932 
3937  # end of Interwiki caching settings.
3939 
3948 $wgSitesCacheFile = false;
3949  # end of SiteStore caching settings.
3951 
3967 $wgRedirectSources = false;
3968 
3977 
3993 
3999  NS_TALK => true,
4000  NS_USER => true,
4001  NS_USER_TALK => true,
4002  NS_PROJECT => true,
4003  NS_PROJECT_TALK => true,
4004  NS_FILE_TALK => true,
4005  NS_MEDIAWIKI => true,
4006  NS_MEDIAWIKI_TALK => true,
4007  NS_TEMPLATE_TALK => true,
4008  NS_HELP => true,
4009  NS_HELP_TALK => true,
4011 ];
4012 
4029 
4037 
4045 $wgExtraSignatureNamespaces = [];
4046 
4052 $wgMaxRedirects = 1;
4053 
4064 $wgInvalidRedirectTargets = [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ];
4065  # End of title and interwiki settings }
4067 
4068 /************************************************************************/
4095 $wgParserConf = [
4096  'class' => 'Parser',
4097  # 'preprocessorClass' => 'Preprocessor_Hash',
4098 ];
4099 
4103 $wgMaxTocLevel = 999;
4104 
4109 $wgMaxPPNodeCount = 1000000;
4110 
4120 $wgMaxGeneratedPPNodeCount = 1000000;
4121 
4128 $wgMaxTemplateDepth = 40;
4129 
4133 $wgMaxPPExpandDepth = 40;
4134 
4145 $wgUrlProtocols = [
4146  'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
4147  'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
4148  'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
4149  'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
4150 ];
4151 
4155 $wgCleanSignatures = true;
4156 
4160 $wgAllowExternalImages = false;
4161 
4174 $wgAllowExternalImagesFrom = '';
4175 
4185 $wgEnableImageWhitelist = true;
4186 
4195 $wgAllowImageTag = false;
4196 
4218 $wgTidyConfig = null;
4219 
4224 $wgUseTidy = false;
4225 
4230 $wgTidyBin = 'tidy';
4231 
4236 $wgTidyConf = $IP . '/includes/tidy/tidy.conf';
4237 
4242 $wgTidyOpts = '';
4243 
4248 $wgTidyInternal = extension_loaded( 'tidy' );
4249 
4254 $wgDebugTidy = false;
4255 
4261 $wgRawHtml = false;
4262 
4272 $wgExternalLinkTarget = false;
4273 
4280 $wgNoFollowLinks = true;
4281 
4286 $wgNoFollowNsExceptions = [];
4287 
4302 $wgNoFollowDomainExceptions = [ 'mediawiki.org' ];
4303 
4307 $wgAllowDisplayTitle = true;
4308 
4314 $wgRestrictDisplayTitle = true;
4315 
4320 $wgExpensiveParserFunctionLimit = 100;
4321 
4326 $wgPreprocessorCacheThreshold = 1000;
4327 
4331 $wgEnableScaryTranscluding = false;
4332 
4337 $wgTranscludeCacheExpiry = 3600;
4338  # end of parser settings }
4340 
4341 /************************************************************************/
4363 $wgArticleCountMethod = 'link';
4364 
4372 $wgActiveUserDays = 30;
4373  # End of statistics }
4375 
4376 /************************************************************************/
4386 $wgCentralIdLookupProviders = [
4387  'local' => [ 'class' => 'LocalIdLookup' ],
4388 ];
4389 
4394 $wgCentralIdLookupProvider = 'local';
4395 
4419 $wgPasswordPolicy = [
4420  'policies' => [
4421  'bureaucrat' => [
4422  'MinimalPasswordLength' => 8,
4423  'MinimumPasswordLengthToLogin' => 1,
4424  'PasswordCannotMatchUsername' => true,
4425  'PasswordCannotBePopular' => 25,
4426  ],
4427  'sysop' => [
4428  'MinimalPasswordLength' => 8,
4429  'MinimumPasswordLengthToLogin' => 1,
4430  'PasswordCannotMatchUsername' => true,
4431  'PasswordCannotBePopular' => 25,
4432  ],
4433  'bot' => [
4434  'MinimalPasswordLength' => 8,
4435  'MinimumPasswordLengthToLogin' => 1,
4436  'PasswordCannotMatchUsername' => true,
4437  ],
4438  'default' => [
4439  'MinimalPasswordLength' => 1,
4440  'PasswordCannotMatchUsername' => true,
4441  'PasswordCannotMatchBlacklist' => true,
4442  'MaximalPasswordLength' => 4096,
4443  ],
4444  ],
4445  'checks' => [
4446  'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
4447  'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4448  'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4449  'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4450  'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
4451  'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4452  ],
4453 ];
4454 
4474 $wgAuthManagerConfig = null;
4475 
4480 $wgAuthManagerAutoConfig = [
4481  'preauth' => [
4484  'sort' => 0,
4485  ],
4488  'sort' => 0,
4489  ],
4490  ],
4491  'primaryauth' => [
4492  // TemporaryPasswordPrimaryAuthenticationProvider should come before
4493  // any other PasswordAuthenticationRequest-based
4494  // PrimaryAuthenticationProvider (or at least any that might return
4495  // FAIL rather than ABSTAIN for a wrong password), or password reset
4496  // won't work right. Do not remove this (or change the key) or
4497  // auto-configuration of other such providers in extensions will
4498  // probably auto-insert themselves in the wrong place.
4501  'args' => [ [
4502  // Fall through to LocalPasswordPrimaryAuthenticationProvider
4503  'authoritative' => false,
4504  ] ],
4505  'sort' => 0,
4506  ],
4509  'args' => [ [
4510  // Last one should be authoritative, or else the user will get
4511  // a less-than-helpful error message (something like "supplied
4512  // authentication info not supported" rather than "wrong
4513  // password") if it too fails.
4514  'authoritative' => true,
4515  ] ],
4516  'sort' => 100,
4517  ],
4518  ],
4519  'secondaryauth' => [
4522  'sort' => 0,
4523  ],
4526  'sort' => 100,
4527  ],
4528  // Linking during login is experimental, enable at your own risk - T134952
4529  // MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class => [
4530  // 'class' => MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::class,
4531  // 'sort' => 100,
4532  // ],
4535  'sort' => 200,
4536  ],
4537  ],
4538 ];
4539 
4578 $wgReauthenticateTime = [
4579  'default' => 300,
4580 ];
4581 
4597 $wgAllowSecuritySensitiveOperationIfCannotReauthenticate = [
4598  'default' => true,
4599 ];
4600 
4610 $wgChangeCredentialsBlacklist = [
4612 ];
4613 
4623 $wgRemoveCredentialsBlacklist = [
4625 ];
4626 
4631 $wgPasswordSalt = true;
4632 
4638 $wgMinimalPasswordLength = false;
4639 
4651 $wgMaximalPasswordLength = false;
4652 
4658 $wgInvalidPasswordReset = true;
4659 
4665 $wgPasswordDefault = 'pbkdf2';
4666 
4686 $wgPasswordConfig = [
4687  'A' => [
4688  'class' => 'MWOldPassword',
4689  ],
4690  'B' => [
4691  'class' => 'MWSaltedPassword',
4692  ],
4693  'pbkdf2-legacyA' => [
4694  'class' => 'LayeredParameterizedPassword',
4695  'types' => [
4696  'A',
4697  'pbkdf2',
4698  ],
4699  ],
4700  'pbkdf2-legacyB' => [
4701  'class' => 'LayeredParameterizedPassword',
4702  'types' => [
4703  'B',
4704  'pbkdf2',
4705  ],
4706  ],
4707  'bcrypt' => [
4708  'class' => 'BcryptPassword',
4709  'cost' => 9,
4710  ],
4711  'pbkdf2' => [
4712  'class' => 'Pbkdf2Password',
4713  'algo' => 'sha256',
4714  'cost' => '10000',
4715  'length' => '128',
4716  ],
4717 ];
4718 
4725 $wgPasswordResetRoutes = [
4726  'username' => true,
4727  'email' => true,
4728 ];
4729 
4733 $wgMaxSigChars = 255;
4734 
4739 $wgMaxNameChars = 255;
4740 
4745 $wgReservedUsernames = [
4746  'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
4747  'Conversion script', // Used for the old Wikipedia software upgrade
4748  'Maintenance script', // Maintenance scripts which perform editing, image import script
4749  'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
4750  'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
4751  'msg:double-redirect-fixer', // Automatic double redirect fix
4752  'msg:usermessage-editor', // Default user for leaving user messages
4753  'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
4754  'msg:spambot_username', // Used by cleanupSpam.php
4755  'msg:autochange-username', // Used by anon category RC entries (parser functions, Lua & purges)
4756 ];
4757 
4765  'ccmeonemails' => 0,
4766  'cols' => 80,
4767  'date' => 'default',
4768  'diffonly' => 0,
4769  'disablemail' => 0,
4770  'editfont' => 'default',
4771  'editondblclick' => 0,
4772  'editsectiononrightclick' => 0,
4773  'enotifminoredits' => 0,
4774  'enotifrevealaddr' => 0,
4775  'enotifusertalkpages' => 1,
4776  'enotifwatchlistpages' => 1,
4777  'extendwatchlist' => 1,
4778  'fancysig' => 0,
4779  'forceeditsummary' => 0,
4780  'gender' => 'unknown',
4781  'hideminor' => 0,
4782  'hidepatrolled' => 0,
4783  'hidecategorization' => 1,
4784  'imagesize' => 2,
4785  'math' => 1,
4786  'minordefault' => 0,
4787  'newpageshidepatrolled' => 0,
4788  'nickname' => '',
4789  'norollbackdiff' => 0,
4790  'numberheadings' => 0,
4791  'previewonfirst' => 0,
4792  'previewontop' => 1,
4793  'rcdays' => 7,
4794  'rclimit' => 50,
4795  'rows' => 25,
4796  'showhiddencats' => 0,
4797  'shownumberswatching' => 1,
4798  'showtoolbar' => 1,
4799  'skin' => false,
4800  'stubthreshold' => 0,
4801  'thumbsize' => 5,
4802  'underline' => 2,
4803  'uselivepreview' => 0,
4804  'usenewrc' => 1,
4805  'watchcreations' => 1,
4806  'watchdefault' => 1,
4807  'watchdeletion' => 0,
4808  'watchuploads' => 1,
4809  'watchlistdays' => 3.0,
4810  'watchlisthideanons' => 0,
4811  'watchlisthidebots' => 0,
4812  'watchlisthideliu' => 0,
4813  'watchlisthideminor' => 0,
4814  'watchlisthideown' => 0,
4815  'watchlisthidepatrolled' => 0,
4816  'watchlisthidecategorization' => 1,
4817  'watchlistreloadautomatically' => 0,
4818  'watchmoves' => 0,
4819  'watchrollback' => 0,
4820  'wllimit' => 250,
4821  'useeditwarning' => 1,
4822  'prefershttps' => 1,
4823 ];
4824 
4828 $wgHiddenPrefs = [];
4829 
4835 $wgInvalidUsernameCharacters = '@:';
4836 
4846 $wgUserrightsInterwikiDelimiter = '@';
4847 
4854 $wgSecureLogin = false;
4855 
4866 $wgAuthenticationTokenVersion = null;
4867 
4876 $wgSessionProviders = [
4879  'args' => [ [
4880  'priority' => 30,
4881  'callUserSetCookiesHook' => true,
4882  ] ],
4883  ],
4886  'args' => [ [
4887  'priority' => 75,
4888  ] ],
4889  ],
4890 ];
4891  # end user accounts }
4893 
4894 /************************************************************************/
4902 $wgAutoblockExpiry = 86400;
4903 
4907 $wgBlockAllowsUTEdit = true;
4908 
4912 $wgSysopEmailBans = true;
4913 
4928 $wgBlockCIDRLimit = [
4929  'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
4930  'IPv6' => 19,
4931 ];
4932 
4940 $wgBlockDisablesLogin = false;
4941 
4959 $wgWhitelistRead = false;
4960 
4987 $wgWhitelistReadRegexp = false;
4988 
4993 $wgEmailConfirmToEdit = false;
4994 
4999 $wgHideIdentifiableRedirects = true;
5000 
5025 $wgGroupPermissions = [];
5026 
5028 // Implicit group for all visitors
5029 $wgGroupPermissions['*']['createaccount'] = true;
5030 $wgGroupPermissions['*']['read'] = true;
5031 $wgGroupPermissions['*']['edit'] = true;
5032 $wgGroupPermissions['*']['createpage'] = true;
5033 $wgGroupPermissions['*']['createtalk'] = true;
5034 $wgGroupPermissions['*']['writeapi'] = true;
5035 $wgGroupPermissions['*']['editmyusercss'] = true;
5036 $wgGroupPermissions['*']['editmyuserjs'] = true;
5037 $wgGroupPermissions['*']['viewmywatchlist'] = true;
5038 $wgGroupPermissions['*']['editmywatchlist'] = true;
5039 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
5040 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
5041 $wgGroupPermissions['*']['editmyoptions'] = true;
5042 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5043 
5044 // Implicit group for all logged-in accounts
5045 $wgGroupPermissions['user']['move'] = true;
5046 $wgGroupPermissions['user']['move-subpages'] = true;
5047 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
5048 $wgGroupPermissions['user']['move-categorypages'] = true;
5049 $wgGroupPermissions['user']['movefile'] = true;
5050 $wgGroupPermissions['user']['read'] = true;
5051 $wgGroupPermissions['user']['edit'] = true;
5052 $wgGroupPermissions['user']['createpage'] = true;
5053 $wgGroupPermissions['user']['createtalk'] = true;
5054 $wgGroupPermissions['user']['writeapi'] = true;
5055 $wgGroupPermissions['user']['upload'] = true;
5056 $wgGroupPermissions['user']['reupload'] = true;
5057 $wgGroupPermissions['user']['reupload-shared'] = true;
5058 $wgGroupPermissions['user']['minoredit'] = true;
5059 $wgGroupPermissions['user']['purge'] = true; // can use ?action=purge without clicking "ok"
5060 $wgGroupPermissions['user']['sendemail'] = true;
5061 $wgGroupPermissions['user']['applychangetags'] = true;
5062 $wgGroupPermissions['user']['changetags'] = true;
5063 
5064 // Implicit group for accounts that pass $wgAutoConfirmAge
5065 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
5066 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
5067 
5068 // Users with bot privilege can have their edits hidden
5069 // from various log pages by default
5070 $wgGroupPermissions['bot']['bot'] = true;
5071 $wgGroupPermissions['bot']['autoconfirmed'] = true;
5072 $wgGroupPermissions['bot']['editsemiprotected'] = true;
5073 $wgGroupPermissions['bot']['nominornewtalk'] = true;
5074 $wgGroupPermissions['bot']['autopatrol'] = true;
5075 $wgGroupPermissions['bot']['suppressredirect'] = true;
5076 $wgGroupPermissions['bot']['apihighlimits'] = true;
5077 $wgGroupPermissions['bot']['writeapi'] = true;
5078 
5079 // Most extra permission abilities go to this group
5080 $wgGroupPermissions['sysop']['block'] = true;
5081 $wgGroupPermissions['sysop']['createaccount'] = true;
5082 $wgGroupPermissions['sysop']['delete'] = true;
5083 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
5084 $wgGroupPermissions['sysop']['bigdelete'] = true;
5085 // can view deleted history entries, but not see or restore the text
5086 $wgGroupPermissions['sysop']['deletedhistory'] = true;
5087 // can view deleted revision text
5088 $wgGroupPermissions['sysop']['deletedtext'] = true;
5089 $wgGroupPermissions['sysop']['undelete'] = true;
5090 $wgGroupPermissions['sysop']['editinterface'] = true;
5091 $wgGroupPermissions['sysop']['editusercss'] = true;
5092 $wgGroupPermissions['sysop']['edituserjs'] = true;
5093 $wgGroupPermissions['sysop']['editcontentmodel'] = true;
5094 $wgGroupPermissions['sysop']['import'] = true;
5095 $wgGroupPermissions['sysop']['importupload'] = true;
5096 $wgGroupPermissions['sysop']['move'] = true;
5097 $wgGroupPermissions['sysop']['move-subpages'] = true;
5098 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
5099 $wgGroupPermissions['sysop']['move-categorypages'] = true;
5100 $wgGroupPermissions['sysop']['patrol'] = true;
5101 $wgGroupPermissions['sysop']['autopatrol'] = true;
5102 $wgGroupPermissions['sysop']['protect'] = true;
5103 $wgGroupPermissions['sysop']['editprotected'] = true;
5104 $wgGroupPermissions['sysop']['rollback'] = true;
5105 $wgGroupPermissions['sysop']['upload'] = true;
5106 $wgGroupPermissions['sysop']['reupload'] = true;
5107 $wgGroupPermissions['sysop']['reupload-shared'] = true;
5108 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
5109 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
5110 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
5111 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
5112 $wgGroupPermissions['sysop']['blockemail'] = true;
5113 $wgGroupPermissions['sysop']['markbotedits'] = true;
5114 $wgGroupPermissions['sysop']['apihighlimits'] = true;
5115 $wgGroupPermissions['sysop']['browsearchive'] = true;
5116 $wgGroupPermissions['sysop']['noratelimit'] = true;
5117 $wgGroupPermissions['sysop']['movefile'] = true;
5118 $wgGroupPermissions['sysop']['unblockself'] = true;
5119 $wgGroupPermissions['sysop']['suppressredirect'] = true;
5120 # $wgGroupPermissions['sysop']['pagelang'] = true;
5121 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5122 $wgGroupPermissions['sysop']['mergehistory'] = true;
5123 $wgGroupPermissions['sysop']['managechangetags'] = true;
5124 
5125 // Permission to change users' group assignments
5126 $wgGroupPermissions['bureaucrat']['userrights'] = true;
5127 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
5128 // Permission to change users' groups assignments across wikis
5129 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5130 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
5131 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5132 
5133 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5134 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5135 // To hide usernames from users and Sysops
5136 # $wgGroupPermissions['suppress']['hideuser'] = true;
5137 // To hide revisions/log items from users and Sysops
5138 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5139 // To view revisions/log items hidden from users and Sysops
5140 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5141 // For private suppression log access
5142 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5143 
5150 # $wgGroupPermissions['developer']['siteadmin'] = true;
5151 
5163 $wgRevokePermissions = [];
5164 
5168 $wgImplicitGroups = [ '*', 'user', 'autoconfirmed' ];
5169 
5191 $wgGroupsAddToSelf = [];
5192 
5196 $wgGroupsRemoveFromSelf = [];
5197 
5205 $wgRestrictionTypes = [ 'create', 'edit', 'move', 'upload' ];
5206 
5218 $wgRestrictionLevels = [ '', 'autoconfirmed', 'sysop' ];
5219 
5229 $wgCascadingRestrictionLevels = [ 'sysop' ];
5230 
5243 $wgSemiprotectedRestrictionLevels = [ 'autoconfirmed' ];
5244 
5253 
5263 $wgNonincludableNamespaces = [];
5264 
5285 $wgAutoConfirmAge = 0;
5286 
5296 $wgAutoConfirmCount = 0;
5297 
5321 $wgAutopromote = [
5322  'autoconfirmed' => [ '&',
5323  [ APCOND_EDITCOUNT, &$wgAutoConfirmCount ],
5324  [ APCOND_AGE, &$wgAutoConfirmAge ],
5325  ],
5326 ];
5327 
5346 $wgAutopromoteOnce = [
5347  'onEdit' => [],
5348 ];
5349 
5354 $wgAutopromoteOnceLogInRC = true;
5355 
5378 $wgAddGroups = [];
5379 
5383 $wgRemoveGroups = [];
5384 
5389 $wgAvailableRights = [];
5390 
5395 $wgDeleteRevisionsLimit = 0;
5396 
5404 $wgHideUserContribLimit = 1000;
5405 
5411 $wgAccountCreationThrottle = 0;
5412 
5424 $wgSpamRegex = [];
5425 
5429 $wgSummarySpamRegex = [];
5430 
5436 $wgEnableDnsBlacklist = false;
5437 
5461 $wgDnsBlacklistUrls = [ 'http.dnsbl.sorbs.net.' ];
5462 
5467 $wgProxyWhitelist = [];
5468 
5474 $wgApplyIpBlocksToXff = false;
5475 
5505 $wgRateLimits = [
5506  // Page edits
5507  'edit' => [
5508  'ip' => [ 8, 60 ],
5509  'newbie' => [ 8, 60 ],
5510  ],
5511  // Page moves
5512  'move' => [
5513  'newbie' => [ 2, 120 ],
5514  'user' => [ 8, 60 ],
5515  ],
5516  // File uploads
5517  'upload' => [
5518  'ip' => [ 8, 60 ],
5519  'newbie' => [ 8, 60 ],
5520  ],
5521  // Page rollbacks
5522  'rollback' => [
5523  'user' => [ 10, 60 ],
5524  'newbie' => [ 5, 120 ]
5525  ],
5526  // Triggering password resets emails
5527  'mailpassword' => [
5528  'ip' => [ 5, 3600 ],
5529  ],
5530  // Emailing other users using MediaWiki
5531  'emailuser' => [
5532  'ip' => [ 5, 86400 ],
5533  'newbie' => [ 5, 86400 ],
5534  'user' => [ 20, 86400 ],
5535  ],
5536  // Purging pages
5537  'purge' => [
5538  'ip' => [ 30, 60 ],
5539  'user' => [ 30, 60 ],
5540  ],
5541  // Purges of link tables
5542  'linkpurge' => [
5543  'ip' => [ 30, 60 ],
5544  'user' => [ 30, 60 ],
5545  ],
5546  // Files rendered via thumb.php or thumb_handler.php
5547  'renderfile' => [
5548  'ip' => [ 700, 30 ],
5549  'user' => [ 700, 30 ],
5550  ],
5551  // Same as above but for non-standard thumbnails
5552  'renderfile-nonstandard' => [
5553  'ip' => [ 70, 30 ],
5554  'user' => [ 70, 30 ],
5555  ],
5556  // Stashing edits into cache before save
5557  'stashedit' => [
5558  'ip' => [ 30, 60 ],
5559  'newbie' => [ 30, 60 ],
5560  ],
5561  // Adding or removing change tags
5562  'changetag' => [
5563  'ip' => [ 8, 60 ],
5564  'newbie' => [ 8, 60 ],
5565  ],
5566 ];
5567 
5572 $wgRateLimitsExcludedIPs = [];
5573 
5579 $wgPutIPinRC = true;
5580 
5585 $wgQueryPageDefaultLimit = 50;
5586 
5599 $wgPasswordAttemptThrottle = [
5600  // Short term limit
5601  [ 'count' => 5, 'seconds' => 300 ],
5602  // Long term limit. We need to balance the risk
5603  // of somebody using this as a DoS attack to lock someone
5604  // out of their account, and someone doing a brute force attack.
5605  [ 'count' => 150, 'seconds' => 60*60*48 ],
5606 ];
5607 
5618 $wgGrantPermissions = [];
5619 
5620 // @TODO: clean up grants
5621 // @TODO: auto-include read/editsemiprotected rights?
5622 
5623 $wgGrantPermissions['basic']['autoconfirmed'] = true;
5624 $wgGrantPermissions['basic']['autopatrol'] = true;
5625 $wgGrantPermissions['basic']['editsemiprotected'] = true;
5626 $wgGrantPermissions['basic']['ipblock-exempt'] = true;
5627 $wgGrantPermissions['basic']['nominornewtalk'] = true;
5628 $wgGrantPermissions['basic']['patrolmarks'] = true;
5629 $wgGrantPermissions['basic']['purge'] = true;
5630 $wgGrantPermissions['basic']['read'] = true;
5631 $wgGrantPermissions['basic']['skipcaptcha'] = true;
5632 $wgGrantPermissions['basic']['writeapi'] = true;
5633 
5634 $wgGrantPermissions['highvolume']['bot'] = true;
5635 $wgGrantPermissions['highvolume']['apihighlimits'] = true;
5636 $wgGrantPermissions['highvolume']['noratelimit'] = true;
5637 $wgGrantPermissions['highvolume']['markbotedits'] = true;
5638 
5639 $wgGrantPermissions['editpage']['edit'] = true;
5640 $wgGrantPermissions['editpage']['minoredit'] = true;
5641 $wgGrantPermissions['editpage']['applychangetags'] = true;
5642 $wgGrantPermissions['editpage']['changetags'] = true;
5643 
5644 $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage'];
5645 $wgGrantPermissions['editprotected']['editprotected'] = true;
5646 
5647 $wgGrantPermissions['editmycssjs'] = $wgGrantPermissions['editpage'];
5648 $wgGrantPermissions['editmycssjs']['editmyusercss'] = true;
5649 $wgGrantPermissions['editmycssjs']['editmyuserjs'] = true;
5650 
5651 $wgGrantPermissions['editmyoptions']['editmyoptions'] = true;
5652 
5653 $wgGrantPermissions['editinterface'] = $wgGrantPermissions['editpage'];
5654 $wgGrantPermissions['editinterface']['editinterface'] = true;
5655 $wgGrantPermissions['editinterface']['editusercss'] = true;
5656 $wgGrantPermissions['editinterface']['edituserjs'] = true;
5657 
5658 $wgGrantPermissions['createeditmovepage'] = $wgGrantPermissions['editpage'];
5659 $wgGrantPermissions['createeditmovepage']['createpage'] = true;
5660 $wgGrantPermissions['createeditmovepage']['createtalk'] = true;
5661 $wgGrantPermissions['createeditmovepage']['move'] = true;
5662 $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true;
5663 $wgGrantPermissions['createeditmovepage']['move-subpages'] = true;
5664 $wgGrantPermissions['createeditmovepage']['move-categorypages'] = true;
5665 
5666 $wgGrantPermissions['uploadfile']['upload'] = true;
5667 $wgGrantPermissions['uploadfile']['reupload-own'] = true;
5668 
5669 $wgGrantPermissions['uploadeditmovefile'] = $wgGrantPermissions['uploadfile'];
5670 $wgGrantPermissions['uploadeditmovefile']['reupload'] = true;
5671 $wgGrantPermissions['uploadeditmovefile']['reupload-shared'] = true;
5672 $wgGrantPermissions['uploadeditmovefile']['upload_by_url'] = true;
5673 $wgGrantPermissions['uploadeditmovefile']['movefile'] = true;
5674 $wgGrantPermissions['uploadeditmovefile']['suppressredirect'] = true;
5675 
5676 $wgGrantPermissions['patrol']['patrol'] = true;
5677 
5678 $wgGrantPermissions['rollback']['rollback'] = true;
5679 
5680 $wgGrantPermissions['blockusers']['block'] = true;
5681 $wgGrantPermissions['blockusers']['blockemail'] = true;
5682 
5683 $wgGrantPermissions['viewdeleted']['browsearchive'] = true;
5684 $wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
5685 $wgGrantPermissions['viewdeleted']['deletedtext'] = true;
5686 
5687 $wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
5688  $wgGrantPermissions['viewdeleted'];
5689 $wgGrantPermissions['delete']['delete'] = true;
5690 $wgGrantPermissions['delete']['bigdelete'] = true;
5691 $wgGrantPermissions['delete']['deletelogentry'] = true;
5692 $wgGrantPermissions['delete']['deleterevision'] = true;
5693 $wgGrantPermissions['delete']['undelete'] = true;
5694 
5695 $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
5696 $wgGrantPermissions['protect']['protect'] = true;
5697 
5698 $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;
5699 
5700 $wgGrantPermissions['editmywatchlist']['editmywatchlist'] = true;
5701 
5702 $wgGrantPermissions['sendemail']['sendemail'] = true;
5703 
5704 $wgGrantPermissions['createaccount']['createaccount'] = true;
5705 
5710 $wgGrantPermissionGroups = [
5711  // Hidden grants are implicitly present
5712  'basic' => 'hidden',
5713 
5714  'editpage' => 'page-interaction',
5715  'createeditmovepage' => 'page-interaction',
5716  'editprotected' => 'page-interaction',
5717  'patrol' => 'page-interaction',
5718 
5719  'uploadfile' => 'file-interaction',
5720  'uploadeditmovefile' => 'file-interaction',
5721 
5722  'sendemail' => 'email',
5723 
5724  'viewmywatchlist' => 'watchlist-interaction',
5725  'editviewmywatchlist' => 'watchlist-interaction',
5726 
5727  'editmycssjs' => 'customization',
5728  'editmyoptions' => 'customization',
5729 
5730  'editinterface' => 'administration',
5731  'rollback' => 'administration',
5732  'blockusers' => 'administration',
5733  'delete' => 'administration',
5734  'viewdeleted' => 'administration',
5735  'protect' => 'administration',
5736  'createaccount' => 'administration',
5737 
5738  'highvolume' => 'high-volume',
5739 ];
5740 
5745 $wgEnableBotPasswords = true;
5746 
5752 $wgBotPasswordsCluster = false;
5753 
5762 $wgBotPasswordsDatabase = false;
5763  # end of user rights settings
5765 
5766 /************************************************************************/
5774 $wgSecretKey = false;
5775 
5785 $wgProxyList = [];
5786  # end of proxy scanner settings
5788 
5789 /************************************************************************/
5797 $wgCookieExpiration = 180 * 86400;
5798 
5805 $wgExtendedLoginCookies = [ 'UserID', 'Token' ];
5806 
5813 $wgExtendedLoginCookieExpiration = null;
5814 
5819 $wgCookieDomain = '';
5820 
5825 $wgCookiePath = '/';
5826 
5833 $wgCookieSecure = 'detect';
5834 
5841 $wgDisableCookieCheck = false;
5842 
5848 $wgCookiePrefix = false;
5849 
5855 $wgCookieHttpOnly = true;
5856 
5860 $wgCacheVaryCookies = [];
5861 
5865 $wgSessionName = false;
5866  # end of cookie settings }
5868 
5869 /************************************************************************/
5880 $wgUseTeX = false;
5881  # end LaTeX }
5883 
5884 /************************************************************************/
5897 $wgDebugLogFile = '';
5898 
5902 $wgDebugLogPrefix = '';
5903 
5909 $wgDebugRedirects = false;
5910 
5916 $wgDebugRawPage = false;
5917 
5926 $wgDebugComments = false;
5927 
5936 $wgDebugDumpSql = false;
5937 
5943 $wgTrxProfilerLimits = [
5944  // HTTP GET/HEAD requests.
5945  // Master queries should not happen on GET requests
5946  'GET' => [
5947  'masterConns' => 0,
5948  'writes' => 0,
5949  'readQueryTime' => 5
5950  ],
5951  // HTTP POST requests.
5952  // Master reads and writes will happen for a subset of these.
5953  'POST' => [
5954  'readQueryTime' => 5,
5955  'writeQueryTime' => 1,
5956  'maxAffected' => 500
5957  ],
5958  'POST-nonwrite' => [
5959  'masterConns' => 0,
5960  'writes' => 0,
5961  'readQueryTime' => 5
5962  ],
5963  // Background job runner
5964  'JobRunner' => [
5965  'readQueryTime' => 30,
5966  'writeQueryTime' => 5,
5967  'maxAffected' => 1000
5968  ],
5969  // Command-line scripts
5970  'Maintenance' => [
5971  'writeQueryTime' => 5,
5972  'maxAffected' => 1000
5973  ]
5974 ];
5975 
6006 $wgDebugLogGroups = [];
6007 
6029 $wgMWLoggerDefaultSpi = [
6030  'class' => '\\MediaWiki\\Logger\\LegacySpi',
6031 ];
6032 
6038 $wgShowDebug = false;
6039 
6044 $wgDebugTimestamps = false;
6045 
6049 $wgDebugPrintHttpHeaders = true;
6050 
6054 $wgSpecialVersionShowHooks = false;
6055 
6061 $wgShowSQLErrors = false;
6062 
6069 $wgShowExceptionDetails = false;
6070 
6079 $wgShowDBErrorBacktrace = false;
6080 
6084 $wgLogExceptionBacktrace = true;
6085 
6089 $wgShowHostnames = false;
6090 
6096 $wgOverrideHostname = false;
6097 
6102 $wgDevelopmentWarnings = false;
6103 
6109 $wgDeprecationReleaseLimit = false;
6110 
6115 $wgProfileLimit = 0.0;
6116 
6123 $wgProfileOnly = false;
6124 
6135 $wgStatsdServer = false;
6136 
6144 $wgStatsdMetricPrefix = 'MediaWiki';
6145 
6151 $wgPageInfoTransclusionLimit = 50;
6152 
6159 $wgSiteStatsAsyncFactor = false;
6160 
6170 $wgParserTestFiles = [
6171  "$IP/tests/parser/parserTests.txt",
6172  "$IP/tests/parser/extraParserTests.txt"
6173 ];
6174 
6178 $wgEnableJavaScriptTest = false;
6179 
6184 $wgCachePrefix = false;
6185 
6193 $wgDebugToolbar = false;
6194  # end of profiling, testing and debugging }
6196 
6197 /************************************************************************/
6205 $wgDisableTextSearch = false;
6206 
6211 $wgAdvancedSearchHighlighting = false;
6212 
6217 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
6218 
6229 $wgOpenSearchTemplate = false;
6230 
6239 $wgOpenSearchTemplates = [
6240  'application/x-suggestions+json' => false,
6241  'application/x-suggestions+xml' => false,
6242 ];
6243 
6250 $wgEnableOpenSearchSuggest = true;
6251 
6256 $wgOpenSearchDefaultLimit = 10;
6257 
6261 $wgOpenSearchDescriptionLength = 100;
6262 
6266 $wgSearchSuggestCacheExpiry = 1200;
6267 
6272 $wgDisableSearchUpdate = false;
6273 
6283 $wgNamespacesToBeSearchedDefault = [
6284  NS_MAIN => true,
6285 ];
6286 
6291 $wgDisableInternalSearch = false;
6292 
6308 $wgSearchForwardUrl = null;
6309 
6315 $wgUseTwoButtonsSearchForm = true;
6316 
6322 $wgSitemapNamespaces = false;
6323 
6338 $wgSitemapNamespacesPriorities = false;
6339 
6345 $wgEnableSearchContributorsByIP = true;
6346  # end of search settings
6348 
6349 /************************************************************************/
6358 $wgDiff3 = '/usr/bin/diff3';
6359 
6363 $wgDiff = '/usr/bin/diff';
6364 
6370 $wgPreviewOnOpenNamespaces = [
6371  NS_CATEGORY => true
6372 ];
6373 
6379 $wgUniversalEditButton = true;
6380 
6386 $wgUseAutomaticEditSummaries = true;
6387  # end edit UI }
6389 
6390 /************************************************************************/
6400 if ( !isset( $wgCommandLineMode ) ) {
6401  $wgCommandLineMode = false;
6402 }
6408 $wgCommandLineDarkBg = false;
6409 
6418 $wgReadOnly = null;
6419 
6427 $wgReadOnlyFile = false;
6428 
6438 $wgUpgradeKey = false;
6439 
6443 $wgGitBin = '/usr/bin/git';
6444 
6458 $wgGitRepositoryViewers = [
6459  'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6460  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6461  'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6462  'https://phabricator.wikimedia.org/r/revision/%R;%H',
6463 ];
6464  # End of maintenance }
6466 
6467 /************************************************************************/
6477 $wgRCMaxAge = 90 * 24 * 3600;
6478 
6484 $wgWatchersMaxAge = 180 * 24 * 3600;
6485 
6492 $wgUnwatchedPageSecret = 1;
6493 
6501 $wgRCFilterByAge = false;
6502 
6507 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
6508 
6513 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
6514 
6556 $wgRCFeeds = [];
6557 
6562 $wgRCEngines = [
6563  'redis' => 'RedisPubSubFeedEngine',
6564  'udp' => 'UDPRCFeedEngine',
6565 ];
6566 
6578 $wgRCWatchCategoryMembership = false;
6579 
6584 $wgUseRCPatrol = true;
6585 
6589 $wgUseNPPatrol = true;
6590 
6596 $wgUseFilePatrol = true;
6597 
6601 $wgLogAutopatrol = true;
6602 
6606 $wgFeed = true;
6607 
6612 $wgFeedLimit = 50;
6613 
6622 $wgFeedCacheTimeout = 60;
6623 
6628 $wgFeedDiffCutoff = 32768;
6629 
6642 $wgOverrideSiteFeed = [];
6643 
6649 $wgFeedClasses = [
6650  'rss' => 'RSSFeed',
6651  'atom' => 'AtomFeed',
6652 ];
6653 
6658 $wgAdvertisedFeedTypes = [ 'atom' ];
6659 
6663 $wgRCShowWatchingUsers = false; # UPO
6664 
6668 $wgRCShowChangedSize = true;
6669 
6675 $wgRCChangedSizeThreshold = 500;
6676 
6681 $wgShowUpdatedMarker = true;
6682 
6687 $wgDisableAnonTalk = false;
6688 
6692 $wgAllowCategorizedRecentChanges = false;
6693 
6698 $wgUseTagFilter = true;
6699 
6707 $wgUnwatchedPageThreshold = false;
6708 
6733 $wgRecentChangesFlags = [
6734  'newpage' => [
6735  'letter' => 'newpageletter',
6736  'title' => 'recentchanges-label-newpage',
6737  'legend' => 'recentchanges-legend-newpage',
6738  'grouping' => 'any',
6739  ],
6740  'minor' => [
6741  'letter' => 'minoreditletter',
6742  'title' => 'recentchanges-label-minor',
6743  'legend' => 'recentchanges-legend-minor',
6744  'class' => 'minoredit',
6745  'grouping' => 'all',
6746  ],
6747  'bot' => [
6748  'letter' => 'boteditletter',
6749  'title' => 'recentchanges-label-bot',
6750  'legend' => 'recentchanges-legend-bot',
6751  'class' => 'botedit',
6752  'grouping' => 'all',
6753  ],
6754  'unpatrolled' => [
6755  'letter' => 'unpatrolledletter',
6756  'title' => 'recentchanges-label-unpatrolled',
6757  'legend' => 'recentchanges-legend-unpatrolled',
6758  'grouping' => 'any',
6759  ],
6760 ];
6761  # end RC/watchlist }
6763 
6764 /************************************************************************/
6776 $wgRightsPage = null;
6777 
6783 $wgRightsUrl = null;
6784 
6791 $wgRightsText = null;
6792 
6796 $wgRightsIcon = null;
6797 
6801 $wgUseCopyrightUpload = false;
6802 
6810 $wgMaxCredits = 0;
6811 
6816 $wgShowCreditsIfMax = true;
6817  # end of copyright and credits settings }
6819 
6820 /************************************************************************/
6847 $wgImportSources = [];
6848 
6856 $wgImportTargetNamespace = null;
6857 
6863 $wgExportAllowHistory = true;
6864 
6870 $wgExportMaxHistory = 0;
6871 
6875 $wgExportAllowListContributors = false;
6876 
6888 $wgExportMaxLinkDepth = 0;
6889 
6893 $wgExportFromNamespaces = false;
6894 
6898 $wgExportAllowAll = false;
6899 
6906 $wgExportPagelistLimit = 5000;
6907  # end of import/export }
6909 
6910 /*************************************************************************/
6919 $wgExtensionFunctions = [];
6920 
6948 
6974 $wgMessagesDirs = [];
6975 
6981 $wgExtensionEntryPointListFiles = [];
6982 
6997 $wgParserOutputHooks = [];
6998 
7002 $wgEnableParserLimitReporting = true;
7003 
7012 $wgValidSkinNames = [];
7013 
7020 $wgSpecialPages = [];
7021 
7025 $wgAutoloadClasses = [];
7026 
7032 $wgAutoloadAttemptLowercase = true;
7033 
7086 $wgExtensionCredits = [];
7087 
7092 $wgAuth = null;
7093 
7128 $wgHooks = [];
7129 
7142  __DIR__ . '/ServiceWiring.php'
7143 ];
7144 
7149 $wgJobClasses = [
7150  'refreshLinks' => 'RefreshLinksJob',
7151  'deleteLinks' => 'DeleteLinksJob',
7152  'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
7153  'sendMail' => 'EmaillingJob',
7154  'enotifNotify' => 'EnotifNotifyJob',
7155  'fixDoubleRedirect' => 'DoubleRedirectJob',
7156  'AssembleUploadChunks' => 'AssembleUploadChunksJob',
7157  'PublishStashedFile' => 'PublishStashedFileJob',
7158  'ThumbnailRender' => 'ThumbnailRenderJob',
7159  'recentChangesUpdate' => 'RecentChangesUpdateJob',
7160  'refreshLinksPrioritized' => 'RefreshLinksJob',
7161  'refreshLinksDynamic' => 'RefreshLinksJob',
7162  'activityUpdateJob' => 'ActivityUpdateJob',
7163  'categoryMembershipChange' => 'CategoryMembershipChangeJob',
7164  'cdnPurge' => 'CdnPurgeJob',
7165  'enqueue' => 'EnqueueJob', // local queue for multi-DC setups
7166  'null' => 'NullJob'
7167 ];
7168 
7180 $wgJobTypesExcludedFromDefaultQueue = [ 'AssembleUploadChunks', 'PublishStashedFile' ];
7181 
7191 $wgJobBackoffThrottling = [];
7192 
7206 $wgJobSerialCommitThreshold = false;
7207 
7214 $wgJobTypeConf = [
7215  'default' => [ 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ],
7216 ];
7217 
7222 $wgJobQueueAggregator = [
7223  'class' => 'JobQueueAggregatorNull'
7224 ];
7225 
7230 $wgSpecialPageCacheUpdates = [
7231  'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
7232 ];
7233 
7241 $wgExceptionHooks = [];
7242 
7250 $wgPagePropLinkInvalidations = [
7251  'hiddencat' => 'categorylinks',
7252 ];
7253  # End extensions }
7255 
7256 /*************************************************************************/
7264 $wgUseCategoryBrowser = false;
7265 
7270 $wgCategoryMagicGallery = true;
7271 
7275 $wgCategoryPagingLimit = 200;
7276 
7302 $wgCategoryCollation = 'uppercase';
7303  # End categories }
7305 
7306 /*************************************************************************/
7317 $wgLogTypes = [
7318  '',
7319  'block',
7320  'protect',
7321  'rights',
7322  'delete',
7323  'upload',
7324  'move',
7325  'import',
7326  'patrol',
7327  'merge',
7328  'suppress',
7329  'tag',
7330  'managetags',
7331  'contentmodel',
7332 ];
7333 
7341 $wgLogRestrictions = [
7342  'suppress' => 'suppressionlog'
7343 ];
7344 
7367 $wgFilterLogTypes = [
7368  'patrol' => true,
7369  'tag' => true,
7370 ];
7371 
7381 $wgLogNames = [
7382  '' => 'all-logs-page',
7383  'block' => 'blocklogpage',
7384  'protect' => 'protectlogpage',
7385  'rights' => 'rightslog',
7386  'delete' => 'dellogpage',
7387  'upload' => 'uploadlogpage',
7388  'move' => 'movelogpage',
7389  'import' => 'importlogpage',
7390  'patrol' => 'patrol-log-page',
7391  'merge' => 'mergelog',
7392  'suppress' => 'suppressionlog',
7393 ];
7394 
7404 $wgLogHeaders = [
7405  '' => 'alllogstext',
7406  'block' => 'blocklogtext',
7407  'delete' => 'dellogpagetext',
7408  'import' => 'importlogpagetext',
7409  'merge' => 'mergelogpagetext',
7410  'move' => 'movelogpagetext',
7411  'patrol' => 'patrol-log-header',
7412  'protect' => 'protectlogtext',
7413  'rights' => 'rightslogtext',
7414  'suppress' => 'suppressionlogtext',
7415  'upload' => 'uploadlogpagetext',
7416 ];
7417 
7424 $wgLogActions = [];
7425 
7432 $wgLogActionsHandlers = [
7433  'block/block' => 'BlockLogFormatter',
7434  'block/reblock' => 'BlockLogFormatter',
7435  'block/unblock' => 'BlockLogFormatter',
7436  'contentmodel/change' => 'ContentModelLogFormatter',
7437  'contentmodel/new' => 'ContentModelLogFormatter',
7438  'delete/delete' => 'DeleteLogFormatter',
7439  'delete/event' => 'DeleteLogFormatter',
7440  'delete/restore' => 'DeleteLogFormatter',
7441  'delete/revision' => 'DeleteLogFormatter',
7442  'import/interwiki' => 'ImportLogFormatter',
7443  'import/upload' => 'ImportLogFormatter',
7444  'managetags/activate' => 'LogFormatter',
7445  'managetags/create' => 'LogFormatter',
7446  'managetags/deactivate' => 'LogFormatter',
7447  'managetags/delete' => 'LogFormatter',
7448  'merge/merge' => 'MergeLogFormatter',
7449  'move/move' => 'MoveLogFormatter',
7450  'move/move_redir' => 'MoveLogFormatter',
7451  'patrol/patrol' => 'PatrolLogFormatter',
7452  'patrol/autopatrol' => 'PatrolLogFormatter',
7453  'protect/modify' => 'ProtectLogFormatter',
7454  'protect/move_prot' => 'ProtectLogFormatter',
7455  'protect/protect' => 'ProtectLogFormatter',
7456  'protect/unprotect' => 'ProtectLogFormatter',
7457  'rights/autopromote' => 'RightsLogFormatter',
7458  'rights/rights' => 'RightsLogFormatter',
7459  'suppress/block' => 'BlockLogFormatter',
7460  'suppress/delete' => 'DeleteLogFormatter',
7461  'suppress/event' => 'DeleteLogFormatter',
7462  'suppress/reblock' => 'BlockLogFormatter',
7463  'suppress/revision' => 'DeleteLogFormatter',
7464  'tag/update' => 'TagLogFormatter',
7465  'upload/overwrite' => 'UploadLogFormatter',
7466  'upload/revert' => 'UploadLogFormatter',
7467  'upload/upload' => 'UploadLogFormatter',
7468 ];
7469 
7478 $wgActionFilteredLogs = [
7479  'block' => [
7480  'block' => [ 'block' ],
7481  'reblock' => [ 'reblock' ],
7482  'unblock' => [ 'unblock' ],
7483  ],
7484  'contentmodel' => [
7485  'change' => [ 'change' ],
7486  'new' => [ 'new' ],
7487  ],
7488  'delete' => [
7489  'delete' => [ 'delete' ],
7490  'restore' => [ 'restore' ],
7491  'event' => [ 'event' ],
7492  'revision' => [ 'revision' ],
7493  ],
7494  'import' => [
7495  'interwiki' => [ 'interwiki' ],
7496  'upload' => [ 'upload' ],
7497  ],
7498  'managetags' => [
7499  'create' => [ 'create' ],
7500  'delete' => [ 'delete' ],
7501  'activate' => [ 'activate' ],
7502  'deactivate' => [ 'deactivate' ],
7503  ],
7504  'move' => [
7505  'move' => [ 'move' ],
7506  'move_redir' => [ 'move_redir' ],
7507  ],
7508  'newusers' => [
7509  'create' => [ 'create', 'newusers' ],
7510  'create2' => [ 'create2' ],
7511  'autocreate' => [ 'autocreate' ],
7512  'byemail' => [ 'byemail' ],
7513  ],
7514  'patrol' => [
7515  'patrol' => [ 'patrol' ],
7516  'autopatrol' => [ 'autopatrol' ],
7517  ],
7518  'protect' => [
7519  'protect' => [ 'protect' ],
7520  'modify' => [ 'modify' ],
7521  'unprotect' => [ 'unprotect' ],
7522  'move_prot' => [ 'move_prot' ],
7523  ],
7524  'rights' => [
7525  'rights' => [ 'rights' ],
7526  'autopromote' => [ 'autopromote' ],
7527  ],
7528  'suppress' => [
7529  'event' => [ 'event' ],
7530  'revision' => [ 'revision' ],
7531  'delete' => [ 'delete' ],
7532  'block' => [ 'block' ],
7533  'reblock' => [ 'reblock' ],
7534  ],
7535  'upload' => [
7536  'upload' => [ 'upload' ],
7537  'overwrite' => [ 'overwrite' ],
7538  ],
7539 ];
7540 
7544 $wgNewUserLog = true;
7545  # end logging }
7547 
7548 /*************************************************************************/
7556 $wgAllowSpecialInclusion = true;
7557 
7562 $wgDisableQueryPageUpdate = false;
7563 
7568 $wgCountCategorizedImagesAsUsed = false;
7569 
7574 $wgMaxRedirectLinksRetrieved = 500;
7575  # end special pages }
7577 
7578 /*************************************************************************/
7593 $wgActions = [
7594  'credits' => true,
7595  'delete' => true,
7596  'edit' => true,
7597  'editchangetags' => 'SpecialPageAction',
7598  'history' => true,
7599  'info' => true,
7600  'markpatrolled' => true,
7601  'protect' => true,
7602  'purge' => true,
7603  'raw' => true,
7604  'render' => true,
7605  'revert' => true,
7606  'revisiondelete' => 'SpecialPageAction',
7607  'rollback' => true,
7608  'submit' => true,
7609  'unprotect' => true,
7610  'unwatch' => true,
7611  'view' => true,
7612  'watch' => true,
7613 ];
7614  # end actions }
7616 
7617 /*************************************************************************/
7628 $wgDefaultRobotPolicy = 'index,follow';
7629 
7644 $wgNamespaceRobotPolicies = [];
7645 
7672 $wgArticleRobotPolicies = [];
7673 
7684 $wgExemptFromUserRobotsControl = null;
7685  # End robot policy }
7687 
7688 /************************************************************************/
7702 $wgEnableAPI = true;
7703 
7709 $wgEnableWriteAPI = true;
7710 
7725 $wgDebugAPI = false;
7726 
7763 $wgAPIModules = [];
7764 
7772 $wgAPIFormatModules = [];
7773 
7781 $wgAPIMetaModules = [];
7782 
7790 $wgAPIPropModules = [];
7791 
7799 $wgAPIListModules = [];
7800 
7805 $wgAPIMaxDBRows = 5000;
7806 
7811 $wgAPIMaxResultSize = 8388608;
7812 
7817 $wgAPIMaxUncachedDiffs = 1;
7818 
7824 $wgAPIMaxLagThreshold = 7;
7825 
7830 $wgAPIRequestLog = false;
7831 
7835 $wgAPICacheHelpTimeout = 60 * 60;
7836 
7841 $wgAPIUselessQueryPages = [
7842  'MIMEsearch', // aiprop=mime
7843  'LinkSearch', // list=exturlusage
7844  'FileDuplicateSearch', // prop=duplicatefiles
7845 ];
7846 
7850 $wgUseAjax = true;
7851 
7857 $wgAjaxExportList = [];
7858 
7862 $wgAjaxUploadDestCheck = true;
7863 
7867 $wgAjaxLicensePreview = true;
7868 
7873 $wgAjaxEditStash = true;
7874 
7895 $wgCrossSiteAJAXdomains = [];
7896 
7902 $wgCrossSiteAJAXdomainExceptions = [];
7903  # End AJAX and API }
7905 
7906 /************************************************************************/
7914 $wgMaxShellMemory = 307200;
7915 
7920 $wgMaxShellFileSize = 102400;
7921 
7925 $wgMaxShellTime = 180;
7926 
7931 $wgMaxShellWallClockTime = 180;
7932 
7956 $wgShellCgroup = false;
7957 
7961 $wgPhpCli = '/usr/bin/php';
7962 
7968 $wgShellLocale = 'en_US.utf8';
7969  # End shell }
7971 
7972 /************************************************************************/
7980 $wgHTTPTimeout = 25;
7981 
7985 $wgAsyncHTTPTimeout = 25;
7986 
7990 $wgHTTPProxy = false;
7991 
8002 $wgLocalVirtualHosts = [];
8003 
8008 $wgHTTPConnectTimeout = 5e0;
8009  # End HTTP client }
8011 
8012 /************************************************************************/
8023 $wgJobRunRate = 1;
8024 
8031 $wgRunJobsAsync = true;
8032 
8036 $wgUpdateRowsPerJob = 300;
8037 
8041 $wgUpdateRowsPerQuery = 100;
8042  # End job queue }
8044 
8045 /************************************************************************/
8056 $wgExternalDiffEngine = false;
8057 
8066 $wgDisableHardRedirects = false;
8067 
8072 $wgLinkHolderBatchSize = 1000;
8073 
8078 $wgRegisterInternalExternals = false;
8079 
8083 $wgMaximumMovedPages = 100;
8084 
8089 $wgFixDoubleRedirects = false;
8090 
8095 $wgRedirectOnLogin = null;
8096 
8117 $wgPoolCounterConf = null;
8118 
8122 $wgUploadMaintenance = false;
8123 
8132 $wgNamespaceContentModels = [];
8133 
8144 $wgContentHandlerTextFallback = 'ignore';
8145 
8159 $wgContentHandlerUseDB = true;
8160 
8171 $wgTextModelsToParse = [
8172  CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
8173  CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
8174  CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
8175 ];
8176 
8182 $wgSiteTypes = [
8183  'mediawiki' => 'MediaWikiSite',
8184 ];
8185 
8191 $wgPagePropsHaveSortkey = true;
8192 
8199 $wgHttpsPort = 443;
8200 
8207 $wgSessionSecret = false;
8208 
8216 $wgSessionInsecureSecrets = false;
8217 
8226 $wgHKDFSecret = false;
8227 
8234 $wgHKDFAlgorithm = 'sha256';
8235 
8242 $wgPageLanguageUseDB = false;
8243 
8264  'modules' => [],
8265  'global' => [
8266  # Timeout in seconds
8267  'timeout' => 360,
8268  # 'domain' is set to $wgCanonicalServer in Setup.php
8269  'forwardCookies' => false,
8270  'HTTPProxy' => null
8271  ]
8272 ];
8273 
8281 $wgSearchRunSuggestedQuery = true;
8282 
8294 $wgPopularPasswordFile = __DIR__ . '/../serialized/commonpasswords.cdb';
8295 
8296 /*
8297  * Max time (in seconds) a user-generated transaction can spend in writes.
8298  * If exceeded, the transaction is rolled back with an error instead of being committed.
8299  *
8300  * @var int|bool Disabled if false
8301  * @since 1.27
8302  */
8303 $wgMaxUserDBWriteDuration = false;
8304 
8324 $wgEventRelayerConfig = [
8325  'default' => [
8326  'class' => 'EventRelayerNull',
8327  ]
8328 ];
8329 
$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#l03936">DefaultSettings.php:3936</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#l03238">DefaultSettings.php:3238</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#l03214">DefaultSettings.php:3214</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#l02854">DefaultSettings.php:2854</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#l02396">DefaultSettings.php:2396</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#l03250">DefaultSettings.php:3250</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#l02479">DefaultSettings.php:2479</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#l03605">DefaultSettings.php:3605</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#l03153">DefaultSettings.php:3153</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#l03756">DefaultSettings.php:3756</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#l03276">DefaultSettings.php:3276</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#l02402">DefaultSettings.php:2402</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#l03769">DefaultSettings.php:3769</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#l03419">DefaultSettings.php:3419</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#l03390">DefaultSettings.php:3390</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#l03671">DefaultSettings.php:3671</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#l02386">DefaultSettings.php:2386</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#l03408">DefaultSettings.php:3408</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#l02772">DefaultSettings.php:2772</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#l04028">DefaultSettings.php:4028</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#l02473">DefaultSettings.php:2473</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#l03059">DefaultSettings.php:3059</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#l02545">DefaultSettings.php:2545</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#l03923">DefaultSettings.php:3923</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#l02673">DefaultSettings.php:2673</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#l02992">DefaultSettings.php:2992</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#l02937">DefaultSettings.php:2937</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#l03463">DefaultSettings.php:3463</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#l02666">DefaultSettings.php:2666</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#l02526">DefaultSettings.php:2526</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#l03219">DefaultSettings.php:3219</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#l02783">DefaultSettings.php:2783</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#l02407">DefaultSettings.php:2407</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 Fri Feb 17 2017 15:39:59 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>