50 if ( !defined(
'MEDIAWIKI' ) ) {
51 echo
"This file is part of MediaWiki and is not a valid entry point\n";
71 'main' =>
'GlobalVarConfig::newInstance'
161 ( strpos( PHP_SAPI,
'apache2filter' ) ===
false ) &&
162 ( strpos( PHP_SAPI,
'isapi' ) ===
false );
557 'description' =>
true,
559 'categories' =>
false,
563 'licensemessages' => [
568 'local' =>
'generic-local',
573 'foreign' =>
'generic-foreign',
594 'filepage' =>
'$DESCRIPTION',
598 'description' =>
'$TEXT',
601 'uncategorized' =>
'',
865 # HTML may contain cookie-stealing JavaScript and web bugs
866 'html',
'htm',
'js',
'jsb',
'mhtml',
'mht',
'xhtml',
'xht',
867 # PHP scripts may execute arbitrary code on the server
868 'php',
'phtml',
'php3',
'php4',
'php5',
'phps',
869 # Other types that may be interpreted by some servers
870 'shtml',
'jhtml',
'pl',
'py',
'cgi',
871 # May contain harmful executables for Windows victims
872 'exe',
'scr',
'dll',
'msi',
'vbs',
'bat',
'com',
'pif',
'cmd',
'vxd',
'cpl' ];
879 # HTML may contain cookie-stealing JavaScript and web bugs
880 'text/html',
'text/javascript',
'text/x-javascript',
'application/x-shellscript',
881 # PHP scripts may execute arbitrary code on the server
882 'application/x-php',
'text/x-php',
883 # Other types that may be interpreted by some servers
884 'text/x-python',
'text/x-perl',
'text/x-bash',
'text/x-sh',
'text/x-csh',
885 # Client-side hazards on Internet Explorer
886 'text/scriptlet',
'application/x-msdownload',
887 # Windows metafile, client-side vulnerability on some systems
888 'application/x-msmetafile',
942 # "application/x-shockwave-flash", //flash/shockwave movie
950 'image/jpeg' =>
'JpegHandler',
951 'image/png' =>
'PNGHandler',
952 'image/gif' =>
'GIFHandler',
953 'image/tiff' =>
'TiffHandler',
954 'image/webp' =>
'WebPHandler',
955 'image/x-ms-bmp' =>
'BmpHandler',
956 'image/x-bmp' =>
'BmpHandler',
957 'image/x-xcf' =>
'XCFHandler',
958 'image/svg+xml' =>
'SvgHandler',
959 'image/svg' =>
'SvgHandler',
960 'image/vnd.djvu' =>
'DjVuHandler',
961 'image/x.djvu' =>
'DjVuHandler',
962 'image/x-djvu' =>
'DjVuHandler',
1095 '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1096 'sodipodi' =>
'$path/sodipodi -z -w $width -f $input -e $output',
1097 'inkscape' =>
'$path/inkscape -z -w $width -f $input -e $output',
1098 'batik' =>
'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1100 'rsvg' =>
'$path/rsvg-convert -w $width -h $height -o $output $input',
1101 'imgserv' =>
'$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1102 'ImagickExt' => [
'SvgHandler::rasterizeImagickExt' ],
1272 'command' =>
'clamscan --no-summary ',
1279 'messagepattern' =>
'/.*?:(.*)/sim',
1331 'http://www.w3.org/2000/svg:svg' =>
'image/svg+xml',
1332 'svg' =>
'image/svg+xml',
1333 'http://www.lysator.liu.se/~alla/dia/:diagram' =>
'application/x-dia-diagram',
1334 'http://www.w3.org/1999/xhtml:html' =>
'text/html',
1335 'html' =>
'text/html',
1448 'imagesPerRow' => 0,
1449 'imageWidth' => 120,
1450 'imageHeight' => 120,
1451 'captionLength' =>
true,
1455 'showBytes' =>
true,
1456 'mode' =>
'traditional',
1664 # If set to true, users get a corresponding option in their preferences and can choose to
1665 # enable or disable at their discretion
1666 # If set to false, the corresponding input form on the user preference page is suppressed
1667 # It call this to be a "user-preferences-option (UPO)"
2264 CACHE_NONE => [
'class' =>
'EmptyBagOStuff',
'reportDupes' =>
false ],
2265 CACHE_DB => [
'class' =>
'SqlBagOStuff',
'loggroup' =>
'SQLBagOStuff' ],
2268 CACHE_ACCEL => [
'factory' =>
'ObjectCache::getLocalServerInstance' ],
2269 CACHE_MEMCACHED => [
'class' =>
'MemcachedPhpBagOStuff',
'loggroup' =>
'memcached' ],
2271 'db-replicated' => [
2272 'class' =>
'ReplicatedBagOStuff',
2274 'class' =>
'SqlBagOStuff',
2275 'args' => [ [
'slaveOnly' =>
true ] ]
2278 'class' =>
'SqlBagOStuff',
2279 'args' => [ [
'slaveOnly' =>
false ] ]
2281 'loggroup' =>
'SQLBagOStuff'
2284 'apc' => [
'class' =>
'APCBagOStuff',
'reportDupes' =>
false ],
2285 'xcache' => [
'class' =>
'XCacheBagOStuff',
'reportDupes' =>
false ],
2286 'wincache' => [
'class' =>
'WinCacheBagOStuff',
'reportDupes' =>
false ],
2287 'memcached-php' => [
'class' =>
'MemcachedPhpBagOStuff',
'loggroup' =>
'memcached' ],
2288 'memcached-pecl' => [
'class' =>
'MemcachedPeclBagOStuff',
'loggroup' =>
'memcached' ],
2289 'hash' => [
'class' =>
'HashBagOStuff',
'reportDupes' =>
false ],
2326 'class' =>
'WANObjectCache',
2473 'class' =>
'LocalisationCache',
2474 'store' =>
'detect',
2475 'storeClass' =>
false,
2476 'storeDirectory' =>
false,
2477 'manualRecache' =>
false,
2879 'be-x-old' =>
'be-tarask',
2884 'qqx' =>
'qqx', # Used
for viewing
message keys.
2887 'zh-classical' =>
'lzh',
2888 'zh-min-nan' =>
'nan',
2953 '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2954 '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2955 '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2970 '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
2976 '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
3383 "url" =>
"//www.mediawiki.org/",
3384 "alt" =>
"Powered by MediaWiki",
3596 'server' => 30 * 24 * 60 * 60,
3597 'client' => 30 * 24 * 60 * 60,
3727 'deviceWidthTablet' =>
'720px',
3744 "$IP/resources/src/mediawiki.less/",
3953 $wgSitesCacheFile =
false;
3972 $wgRedirectSources =
false;
4050 $wgExtraSignatureNamespaces = [];
4057 $wgMaxRedirects = 1;
4069 $wgInvalidRedirectTargets = [
'Filepath',
'Mypage',
'Mytalk',
'Redirect' ];
4101 'class' =>
'Parser',
4102 # 'preprocessorClass' => 'Preprocessor_Hash',
4108 $wgMaxTocLevel = 999;
4114 $wgMaxPPNodeCount = 1000000;
4125 $wgMaxGeneratedPPNodeCount = 1000000;
4133 $wgMaxTemplateDepth = 40;
4138 $wgMaxPPExpandDepth = 40;
4151 'bitcoin:',
'ftp://',
'ftps://',
'geo:',
'git://',
'gopher://',
'http://',
4152 'https://',
'irc://',
'ircs://',
'magnet:',
'mailto:',
'mms://',
'news:',
4153 'nntp://',
'redis://',
'sftp://',
'sip:',
'sips:',
'sms:',
'ssh://',
4154 'svn://',
'tel:',
'telnet://',
'urn:',
'worldwind://',
'xmpp:',
'//'
4160 $wgCleanSignatures =
true;
4165 $wgAllowExternalImages =
false;
4379 # End
of statistics }
4393 'local' => [
'class' =>
'LocalIdLookup' ],
4428 'MinimalPasswordLength' => 8,
4429 'MinimumPasswordLengthToLogin' => 1,
4430 'PasswordCannotMatchUsername' =>
true,
4431 'PasswordCannotBePopular' => 25,
4434 'MinimalPasswordLength' => 8,
4435 'MinimumPasswordLengthToLogin' => 1,
4436 'PasswordCannotMatchUsername' =>
true,
4437 'PasswordCannotBePopular' => 25,
4440 'MinimalPasswordLength' => 8,
4441 'MinimumPasswordLengthToLogin' => 1,
4442 'PasswordCannotMatchUsername' =>
true,
4445 'MinimalPasswordLength' => 1,
4446 'PasswordCannotMatchUsername' =>
true,
4447 'PasswordCannotMatchBlacklist' =>
true,
4448 'MaximalPasswordLength' => 4096,
4452 'MinimalPasswordLength' =>
'PasswordPolicyChecks::checkMinimalPasswordLength',
4453 'MinimumPasswordLengthToLogin' =>
'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4454 'PasswordCannotMatchUsername' =>
'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4455 'PasswordCannotMatchBlacklist' =>
'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4456 'MaximalPasswordLength' =>
'PasswordPolicyChecks::checkMaximalPasswordLength',
4457 'PasswordCannotBePopular' =>
'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4516 'authoritative' =>
false,
4527 'authoritative' =>
true,
4532 'secondaryauth' => [
4701 'class' =>
'MWOldPassword',
4704 'class' =>
'MWSaltedPassword',
4706 'pbkdf2-legacyA' => [
4707 'class' =>
'LayeredParameterizedPassword',
4713 'pbkdf2-legacyB' => [
4714 'class' =>
'LayeredParameterizedPassword',
4721 'class' =>
'BcryptPassword',
4725 'class' =>
'Pbkdf2Password',
4759 'MediaWiki default',
4760 'Conversion script',
4761 'Maintenance script',
4762 'Template namespace initialisation script',
4764 'msg:double-redirect-fixer',
4765 'msg:usermessage-editor',
4767 'msg:spambot_username',
4768 'msg:autochange-username',
4778 'ccmeonemails' => 0,
4780 'date' =>
'default',
4783 'editfont' =>
'default',
4784 'editondblclick' => 0,
4785 'editsectiononrightclick' => 0,
4786 'enotifminoredits' => 0,
4787 'enotifrevealaddr' => 0,
4788 'enotifusertalkpages' => 1,
4789 'enotifwatchlistpages' => 1,
4790 'extendwatchlist' => 1,
4792 'forceeditsummary' => 0,
4793 'gender' =>
'unknown',
4795 'hidepatrolled' => 0,
4796 'hidecategorization' => 1,
4799 'minordefault' => 0,
4800 'newpageshidepatrolled' => 0,
4802 'norollbackdiff' => 0,
4803 'numberheadings' => 0,
4804 'previewonfirst' => 0,
4805 'previewontop' => 1,
4809 'showhiddencats' => 0,
4810 'shownumberswatching' => 1,
4813 'stubthreshold' => 0,
4816 'uselivepreview' => 0,
4818 'watchcreations' => 1,
4819 'watchdefault' => 1,
4820 'watchdeletion' => 0,
4821 'watchuploads' => 1,
4822 'watchlistdays' => 3.0,
4823 'watchlisthideanons' => 0,
4824 'watchlisthidebots' => 0,
4825 'watchlisthideliu' => 0,
4826 'watchlisthideminor' => 0,
4827 'watchlisthideown' => 0,
4828 'watchlisthidepatrolled' => 0,
4829 'watchlisthidecategorization' => 1,
4830 'watchlistreloadautomatically' => 0,
4832 'watchrollback' => 0,
4834 'useeditwarning' => 1,
4835 'prefershttps' => 1,
4894 'callUserSetCookiesHook' =>
true,
4904 # end
user accounts }
4942 'IPv4' => 16, # Blocks larger than a /16 (64k
addresses)
will not be allowed
5055 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5133 # $wgGroupPermissions['sysop']['pagelang'] = true;
5134 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5143 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5145 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5147 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5148 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5150 # $wgGroupPermissions['suppress']['hideuser'] = true;
5152 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5154 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5156 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5164 # $wgGroupPermissions['developer']['siteadmin'] = true;
5336 'autoconfirmed' => [
'&',
5523 'newbie' => [ 8, 60 ],
5527 'newbie' => [ 2, 120 ],
5528 'user' => [ 8, 60 ],
5533 'newbie' => [ 8, 60 ],
5537 'user' => [ 10, 60 ],
5538 'newbie' => [ 5, 120 ]
5542 'ip' => [ 5, 3600 ],
5546 'ip' => [ 5, 86400 ],
5547 'newbie' => [ 5, 86400 ],
5548 'user' => [ 20, 86400 ],
5553 'user' => [ 30, 60 ],
5558 'user' => [ 30, 60 ],
5562 'ip' => [ 700, 30 ],
5563 'user' => [ 700, 30 ],
5566 'renderfile-nonstandard' => [
5568 'user' => [ 70, 30 ],
5573 'newbie' => [ 30, 60 ],
5578 'newbie' => [ 8, 60 ],
5615 [
'count' => 5,
'seconds' => 300 ],
5619 [
'count' => 150,
'seconds' => 60*60*48 ],
5726 'basic' =>
'hidden',
5728 'editpage' =>
'page-interaction',
5729 'createeditmovepage' =>
'page-interaction',
5730 'editprotected' =>
'page-interaction',
5731 'patrol' =>
'page-interaction',
5733 'uploadfile' =>
'file-interaction',
5734 'uploadeditmovefile' =>
'file-interaction',
5736 'sendemail' =>
'email',
5738 'viewmywatchlist' =>
'watchlist-interaction',
5739 'editviewmywatchlist' =>
'watchlist-interaction',
5741 'editmycssjs' =>
'customization',
5742 'editmyoptions' =>
'customization',
5744 'editinterface' =>
'administration',
5745 'rollback' =>
'administration',
5746 'blockusers' =>
'administration',
5747 'delete' =>
'administration',
5748 'viewdeleted' =>
'administration',
5749 'protect' =>
'administration',
5750 'createaccount' =>
'administration',
5752 'highvolume' =>
'high-volume',
5955 'readQueryTime' => 5
5960 'readQueryTime' => 5,
5961 'writeQueryTime' => 1,
5962 'maxAffected' => 500
5964 'POST-nonwrite' => [
5967 'readQueryTime' => 5
5971 'readQueryTime' => 5,
5972 'writeQueryTime' => 1,
5973 'maxAffected' => 500
5977 'readQueryTime' => 30,
5978 'writeQueryTime' => 5,
5979 'maxAffected' => 1000
5983 'writeQueryTime' => 5,
5984 'maxAffected' => 1000
6042 'class' =>
'\\MediaWiki\\Logger\\LegacySpi',
6183 "$IP/tests/parser/parserTests.txt",
6184 "$IP/tests/parser/extraParserTests.txt"
6206 # end
of profiling, testing
and debugging }
6252 'application/x-suggestions+json' =>
false,
6253 'application/x-suggestions+xml' =>
false,
6471 'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6472 'https://phabricator.wikimedia.org/r/revision/%R;%H',
6473 'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6474 'https://phabricator.wikimedia.org/r/revision/%R;%H',
6476 # End
of maintenance }
6575 'redis' =>
'RedisPubSubFeedEngine',
6576 'udp' =>
'UDPRCFeedEngine',
6663 'atom' =>
'AtomFeed',
6747 'letter' =>
'newpageletter',
6748 'title' =>
'recentchanges-label-newpage',
6749 'legend' =>
'recentchanges-legend-newpage',
6750 'grouping' =>
'any',
6753 'letter' =>
'minoreditletter',
6754 'title' =>
'recentchanges-label-minor',
6755 'legend' =>
'recentchanges-legend-minor',
6756 'class' =>
'minoredit',
6757 'grouping' =>
'all',
6760 'letter' =>
'boteditletter',
6761 'title' =>
'recentchanges-label-bot',
6762 'legend' =>
'recentchanges-legend-bot',
6763 'class' =>
'botedit',
6764 'grouping' =>
'all',
6767 'letter' =>
'unpatrolledletter',
6768 'title' =>
'recentchanges-label-unpatrolled',
6769 'legend' =>
'recentchanges-legend-unpatrolled',
6770 'grouping' =>
'any',
6773 # end RC/watchlist }
6919 # end
of import/export }
7155 __DIR__ .
'/ServiceWiring.php'
7163 'refreshLinks' =>
'RefreshLinksJob',
7164 'deleteLinks' =>
'DeleteLinksJob',
7165 'htmlCacheUpdate' =>
'HTMLCacheUpdateJob',
7166 'sendMail' =>
'EmaillingJob',
7167 'enotifNotify' =>
'EnotifNotifyJob',
7168 'fixDoubleRedirect' =>
'DoubleRedirectJob',
7169 'AssembleUploadChunks' =>
'AssembleUploadChunksJob',
7170 'PublishStashedFile' =>
'PublishStashedFileJob',
7171 'ThumbnailRender' =>
'ThumbnailRenderJob',
7172 'recentChangesUpdate' =>
'RecentChangesUpdateJob',
7173 'refreshLinksPrioritized' =>
'RefreshLinksJob',
7174 'refreshLinksDynamic' =>
'RefreshLinksJob',
7175 'activityUpdateJob' =>
'ActivityUpdateJob',
7176 'categoryMembershipChange' =>
'CategoryMembershipChangeJob',
7177 'cdnPurge' =>
'CdnPurgeJob',
7178 'enqueue' =>
'EnqueueJob',
7228 'default' => [
'class' =>
'JobQueueDB',
'order' =>
'random',
'claimTTL' => 3600 ],
7236 'class' =>
'JobQueueAggregatorNull'
7244 'Statistics' => [
'SiteStatsUpdate',
'cacheUpdate' ]
7264 'hiddencat' =>
'categorylinks',
7355 'suppress' =>
'suppressionlog'
7392 '' =>
'all-logs-page',
7393 'block' =>
'blocklogpage',
7394 'protect' =>
'protectlogpage',
7395 'rights' =>
'rightslog',
7396 'delete' =>
'dellogpage',
7397 'upload' =>
'uploadlogpage',
7398 'move' =>
'movelogpage',
7399 'import' =>
'importlogpage',
7400 'patrol' =>
'patrol-log-page',
7401 'merge' =>
'mergelog',
7402 'suppress' =>
'suppressionlog',
7415 '' =>
'alllogstext',
7416 'block' =>
'blocklogtext',
7417 'delete' =>
'dellogpagetext',
7418 'import' =>
'importlogpagetext',
7419 'merge' =>
'mergelogpagetext',
7420 'move' =>
'movelogpagetext',
7421 'patrol' =>
'patrol-log-header',
7422 'protect' =>
'protectlogtext',
7423 'rights' =>
'rightslogtext',
7424 'suppress' =>
'suppressionlogtext',
7425 'upload' =>
'uploadlogpagetext',
7443 'block/block' =>
'BlockLogFormatter',
7444 'block/reblock' =>
'BlockLogFormatter',
7445 'block/unblock' =>
'BlockLogFormatter',
7446 'contentmodel/change' =>
'ContentModelLogFormatter',
7447 'contentmodel/new' =>
'ContentModelLogFormatter',
7448 'delete/delete' =>
'DeleteLogFormatter',
7449 'delete/event' =>
'DeleteLogFormatter',
7450 'delete/restore' =>
'DeleteLogFormatter',
7451 'delete/revision' =>
'DeleteLogFormatter',
7452 'import/interwiki' =>
'ImportLogFormatter',
7453 'import/upload' =>
'ImportLogFormatter',
7454 'managetags/activate' =>
'LogFormatter',
7455 'managetags/create' =>
'LogFormatter',
7456 'managetags/deactivate' =>
'LogFormatter',
7457 'managetags/delete' =>
'LogFormatter',
7458 'merge/merge' =>
'MergeLogFormatter',
7459 'move/move' =>
'MoveLogFormatter',
7460 'move/move_redir' =>
'MoveLogFormatter',
7461 'patrol/patrol' =>
'PatrolLogFormatter',
7462 'patrol/autopatrol' =>
'PatrolLogFormatter',
7463 'protect/modify' =>
'ProtectLogFormatter',
7464 'protect/move_prot' =>
'ProtectLogFormatter',
7465 'protect/protect' =>
'ProtectLogFormatter',
7466 'protect/unprotect' =>
'ProtectLogFormatter',
7467 'rights/autopromote' =>
'RightsLogFormatter',
7468 'rights/rights' =>
'RightsLogFormatter',
7469 'suppress/block' =>
'BlockLogFormatter',
7470 'suppress/delete' =>
'DeleteLogFormatter',
7471 'suppress/event' =>
'DeleteLogFormatter',
7472 'suppress/reblock' =>
'BlockLogFormatter',
7473 'suppress/revision' =>
'DeleteLogFormatter',
7474 'tag/update' =>
'TagLogFormatter',
7475 'upload/overwrite' =>
'UploadLogFormatter',
7476 'upload/revert' =>
'UploadLogFormatter',
7477 'upload/upload' =>
'UploadLogFormatter',
7490 'block' => [
'block' ],
7491 'reblock' => [
'reblock' ],
7492 'unblock' => [
'unblock' ],
7495 'change' => [
'change' ],
7499 'delete' => [
'delete' ],
7500 'restore' => [
'restore' ],
7501 'event' => [
'event' ],
7502 'revision' => [
'revision' ],
7505 'interwiki' => [
'interwiki' ],
7506 'upload' => [
'upload' ],
7509 'create' => [
'create' ],
7510 'delete' => [
'delete' ],
7511 'activate' => [
'activate' ],
7512 'deactivate' => [
'deactivate' ],
7515 'move' => [
'move' ],
7516 'move_redir' => [
'move_redir' ],
7519 'create' => [
'create',
'newusers' ],
7520 'create2' => [
'create2' ],
7521 'autocreate' => [
'autocreate' ],
7522 'byemail' => [
'byemail' ],
7525 'patrol' => [
'patrol' ],
7526 'autopatrol' => [
'autopatrol' ],
7529 'protect' => [
'protect' ],
7530 'modify' => [
'modify' ],
7531 'unprotect' => [
'unprotect' ],
7532 'move_prot' => [
'move_prot' ],
7535 'rights' => [
'rights' ],
7536 'autopromote' => [
'autopromote' ],
7539 'event' => [
'event' ],
7540 'revision' => [
'revision' ],
7541 'delete' => [
'delete' ],
7542 'block' => [
'block' ],
7543 'reblock' => [
'reblock' ],
7546 'upload' => [
'upload' ],
7547 'overwrite' => [
'overwrite' ],
7585 # end special
pages }
7607 'editchangetags' =>
'SpecialPageAction',
7610 'markpatrolled' =>
true,
7616 'revisiondelete' =>
'SpecialPageAction',
7619 'unprotect' =>
true,
7695 # End robot policy }
7854 'FileDuplicateSearch',
7913 # End AJAX
and API }
8200 'mediawiki' =>
'MediaWikiSite',
8283 # Timeout in seconds
8285 # 'domain' is set to $wgCanonicalServer in Setup.php
8286 'forwardCookies' =>
false,
8343 'class' =>
'EventRelayerNull',
$wgPasswordSenderName
Sender name for e-mail notifications.
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine...
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
$wgResourceLoaderLESSVars
Global LESS variables.
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
$wgUseInstantCommons
Use Commons as a remote file repository.
bool $wgPingback
Share data about this installation with MediaWiki developers.
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
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
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page...
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article...
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
$wgSquidMaxage
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
$wgNewUserLog
Maintain a log of newusers at Log/newusers?
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
$wgDebugTimestamps
Prefix debug messages with relative timestamp.
$wgMainStash
Main object stash type.
$wgMaxArticleSize
Maximum article size in kilobytes.
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
$wgSearchType
Search type.
$wgExtensionCredits
An array of information about installed extensions keyed by their 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...
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it...
$wgPagePropsHaveSortkey
Whether the page_props table has a pp_sortkey column.
const CONTENT_MODEL_WIKITEXT
$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.
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.
$wgHKDFSecret
Secret for hmac-based key derivation function (fast, cryptographically secure random numbers)...
$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. ...
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki...
$wgAPIFormatModules
API format module extensions.
$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.
$wgMaxNameChars
Maximum number of bytes in username.
$wgSquidServers
List of proxy servers to purge on changes; default port is 80.
$wgEnableAPI
Enable the MediaWiki API for convenient access to machine-readable data via api.php.
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
$wgAllowExternalImagesFrom
If $wgAllowExternalImages is false, you can allow an on-wiki whitelist of regular expression fragment...
$wgMessagesDirs
Extension messages directories.
$wgSitename
Name of the site.
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
$wgEnableOpenSearchSuggest
Enable OpenSearch suggestions requested by MediaWiki.
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
$wgFixDoubleRedirects
Fix double redirects after a page move.
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands. ...
$wgUseKeyHeader
Send the Key HTTP header for better caching.
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
processing should stop and the error should be shown to the user * false
$wgJsMimeType
Previously used as content type in HTML script tags.
$wgSysopEmailBans
Allow sysops to ban users from accessing Emailuser.
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or ".any.subdomain.net".
$wgDBadminpassword
Separate password for maintenance tasks.
$wgTidyBin
The path to the tidy binary.
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
$wgDebugLogGroups
Map of string log group names to log destinations.
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined in ...
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
$wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
string $wgPopularPasswordFile
Where popular password file is located.
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
$wgPasswordDefault
Default password type to use when hashing user passwords.
$wgNamespaceRobotPolicies
Robot policies per namespaces.
$wgResourceLoaderValidateStaticJS
If set to true, statically-sourced (file-backed) JavaScript resources will be parsed for validity bef...
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits...
$wgMimeType
The default Content-Type header.
$wgShowSQLErrors
Whether to show "we're sorry, but there has been a database error" pages.
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
$wgUpdateRowsPerJob
Number of rows to update per job.
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
$wgDBpassword
Database user's password.
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KB ImageMagick convert for example can b...
$wgDBerrorLog
File to log database errors to.
$wgSharedUploadDBname
DB name with metadata about shared directory.
$wgDebugToolbar
Display the new debugging toolbar.
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
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
$wgPasswordExpireGrace
If a user's password is expired, the number of seconds when they can still login, and cancel their pa...
$wgInternalServer
Internal server name as known to CDN, if different.
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
$wgRepositoryBaseUrl
Base URL for a repository wiki.
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
$wgEnableWriteAPI
Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised ...
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
$wgDebugComments
Send debug data to an HTML comment in the output.
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KB. ...
$wgFileBackends
File backend structure configuration.
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset...
$wgSecretKey
This should always be customised in LocalSettings.php.
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
$wgHttpsPort
Port where you have HTTPS running Supports HTTPS on non-standard ports.
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
$wgEnableScaryTranscluding
Enable interwiki transcluding.
$wgHtml5Version
Defines the value of the version attribute in the <html> 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.
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
$wgLocalFileRepo
File repository structures.
$wgResourceLoaderMinifierStatementsOnOwnLine
Put each statement on its own line when minifying JavaScript.
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
$wgAllowCategorizedRecentChanges
Enable filtering of categories in Recentchanges.
$wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
$wgSecureLogin
This is to let user authenticate using https when they come from http.
$wgDBmwschema
Mediawiki schema.
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
$wgMaxUserDBWriteDuration
Name of the external diff engine to use.
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
Array $wgGrantPermissionGroups
Map of grants to their UI grouping.
$wgAuthManagerConfig
Configure AuthManager.
$wgUseImageResize
Whether to enable server-side image thumbnailing.
$wgMetaNamespace
Name of the project namespace.
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither, or both.
$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...
$wgAPIPropModules
API Query prop module extensions.
$wgExiftool
Path to exiftool binary.
$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
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
$wgJobQueueAggregator
Which aggregator to use for tracking which queues have jobs.
$wgMimeInfoFile
Sets the MIME type info file to use by MimeMagic.php.
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level...
$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
$wgNamespaceAliases
Namespace aliases.
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
$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.
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
$wgMainWANCache
Main Wide-Area-Network cache type.
$wgSharedUploadDirectory
Path on the file system where shared uploads can be found.
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit...
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
$wgGroupsAddToSelf
A map of group names that the user is in, to group names that those users are allowed to add or revok...
$wgLogAutopatrol
Log autopatrol actions to the log table.
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
$wgShowExceptionDetails
If set to true, uncaught exceptions will print a complete stack trace to output.
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
$wgAuth $wgAuth
Authentication plugin.
$wgHiddenPrefs
An array of preferences to not show for the user.
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
$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.
$wgLogRestrictions
This restricts log access to those who have a certain right Users without this will not see it in the...
$wgMediaHandlers
Plugins for media file type handling.
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers)...
$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).
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key...
$wgMimeTypeFile
Sets the MIME type definition file to use by MimeMagic.php.
$wgRevokePermissions
Permission keys revoked from users in each group.
$wgShowDBErrorBacktrace
If true, show a backtrace for database errors.
$wgAPIModules
API module extensions.
$wgJobClasses
Maps jobs to their handling classes; extensions can add to this to provide custom jobs...
$wgWANObjectCaches
Advanced WAN object cache configuration.
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
int[] $wgReauthenticateTime
Time frame for re-authentication.
$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.
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
$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.
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
$wgAllowJavaUploads
Allow Java archive uploads.
$wgLogNames
Lists the message key string for each log type.
$wgHTTPProxy
Proxy to use for CURL requests.
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
$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. ...
$wgDebugLogFile
Filename for debug logging.
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface...
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
$wgDBWindowsAuthentication
Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server.
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
$wgValidateAllHtml
Validate the overall output using tidy and refuse to display the page if it's not valid...
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
$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.
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go...
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
$wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempo...
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
$wgSessionSecret
Secret for session storage.
$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...
$wgDebugDumpSql
Write SQL queries to the debug log.
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
$wgGroupPermissions
Permission keys given to users in each group.
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
$wgSharpenParameter
Sharpening parameter to ImageMagick.
$wgShowDebug
Display debug data at the bottom of the main content area.
$wgMaxSigChars
Maximum number of Unicode characters in signature.
$wgAllowSchemaUpdates
Allow schema updates.
$wgUnwatchedPageThreshold
If set to an integer, pages that are watched by this many users or more will not require the unwatche...
$wgDebugRawPage
If true, log debugging data from action=raw and load.php.
$wgUseSquid
Enable/disable CDN.
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages.php from updating those pages.
$wgStyleSheetPath
The URL path to index.php.
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats...
$wgStatsdServer
Destination of statsd metrics.
$wgContentHandlerUseDB
Set to false to disable use of the database fields introduced by the ContentHandler facility...
$wgEnableUploads
Uploads have to be specially set up to be secure.
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
you have access to all of the normal MediaWiki so you can get a DB use the cache
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
$wgDisableHardRedirects
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected f...
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
$wgPhpCli
Executable path of the PHP cli binary (php/php5).
$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
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
$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...
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
$wgExtensionDirectory
Filesystem extensions directory.
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
$wgEnotifMinorEdits
Send notification mails on minor edits to watchlist pages.
global $wgCommandLineMode
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
$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.
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
$wgExternalServers
An array of external MySQL servers.
$wgPasswordPolicy
Password policy for local wiki users.
$wgShowEXIF
Show Exif data, on by default if available.
$wgRateLimitsExcludedIPs
Array of IPs which should be excluded from rate limits.
$wgParserCacheType
The cache type for storing article HTML.
$wgDefaultRobotPolicy
Default robot policy.
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
$wgTrxProfilerLimits
Performance expectations for DB usage.
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
$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
$wgCachePages
Allow client-side caching of pages.
$wgGitBin
Fully specified path to git binary.
$wgTidyConf
The path to the tidy config file.
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
$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...
$wgNoFollowLinks
If true, external URL links in wiki text will be given the rel="nofollow" attribute as a hint to sear...
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
$wgUseAjax
Enable AJAX framework.
$wgDeletedDirectory
What directory to place deleted uploads in.
$wgLocalisationCacheConf
Localisation cache configuration.
$wgActionFilteredLogs
List of log types that can be filtered by action types.
$wgAjaxEditStash
Have clients send edits to be prepared when filling in edit summaries.
$wgLogoHD
Array with URL paths to HD versions of the wiki logo.
$wgDBssl
Whether to use SSL in DB connection.
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function, so users can't decide whether pages in that namespace are indexed by search engines.
$wgInterwikiScopes
Specify number of domains to check for messages.
$wgValidSkinNames
List of valid skin names.
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
$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.
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 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 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
$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 ...
$wgExtensionMessagesFiles
Extension messages files.
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
$wgExternalDiffEngine
Name of the external diff engine to use.
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process, so that it can display an informative error message if cookies are disabled.
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
$wgMiserMode
Disable database-intensive features.
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache...
$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.
$wgHideUserContribLimit
The maximum number of edits a user can have and can still be hidden by users with the hideuser permis...
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
$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
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
$wgProxyList
Big list of banned IP addresses.
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
$wgSiteStatsAsyncFactor
Set this to an integer to only do synchronous site_stats updates one every this many updates...
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
array bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
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.
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
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
$wgAPIMaxLagThreshold
Maximum amount of DB lag on a majority of DB slaves to tolerate before forcing bots to retry any writ...
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e.g.
$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.
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
$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.
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
int[] bool[] string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions...
$wgCachePrefix
Overwrite the caching key prefix with custom value.
$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...
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category. ...
and(b) You must cause any modified files to carry prominent notices stating that You changed the files
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
$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.
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging...
CACHE_MEMCACHED $wgMainCacheType
$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.
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
$wgProfileOnly
Don't put non-profiling info into log file.
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine to use for a given URI scheme...
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in transcache database table.
$wgSharedDB
Shared database for multiple wikis.
$wgEnableParserCache
Kept for extension compatibility; see $wgParserCacheType.
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
$wgImgAuthDetails
Set this to true if you use img_auth and want the user to see details on why access failed...
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
$wgSpecialPages
Special page list.
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
$wgRequirePasswordforEmailChange
Whether the user must enter their password to change their e-mail address.
$wgMetaNamespaceTalk
Name of the project talk namespace.
$wgMimeDetectorCommand
Sets an external MIME detector program.
$wgRateLimits
Simple rate limiter options to brake edit floods.
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
$wgDisabledVariants
Disabled variants array of language variant conversion.
$wgRightsPage
Override for copyright metadata.
int[] bool[] $wgAllowSecuritySensitiveOperationIfCannotReauthenticate
Whether to allow security-sensitive operations when re-authentication is not possible.
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link...
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
$wgDebugAPI
WARNING: SECURITY THREAT - debug use only.
$wgGalleryOptions
Default parameters for the "<gallery>" tag.
$wgClockSkewFudge
Clock skew or the one-second resolution of time() can occasionally cause cache problems when the user...
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
$wgSessionName
Override to customise the session name.
$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...
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
$wgDBTableOptions
MySQL table options to use during installation or update.
$wgTidyConfig
Configuration for HTML postprocessing tool.
$wgScriptExtension
The extension to append to script names by default.
$wgArticleRobotPolicies
Robot policies per article.
$wgHooks
Global list of hooks.
$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
$wgRCFilterByAge
Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be store...
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history...
$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.
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
$wgAutopromote
Automatically add a usergroup to any user who matches certain conditions.
$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.
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
CONTENT_MODEL_JAVASCRIPT
Uploads have to be specially set up to be secure.
$wgDebugLogPrefix
Prefix for debug log lines.
$wgDBname
Name of the database.
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
$wgSquidServersNoPurge
As above, except these servers aren't purged on page changes; use to set a list of trusted proxies...
$wgAccountCreationThrottle
Number of accounts each IP address may create, 0 to disable.
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
$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.
$wgSummarySpamRegex
Same as the above except for edit summaries.
$wgLocalVirtualHosts
Local virtual hosts.
$wgShellLocale
Locale for LC_CTYPE, to work around http://bugs.php.net/bug.php?id=45132 For Unix-like operating syst...
$wgCookieExpiration
Default cookie lifetime, in seconds.
float[] $wgJobBackoffThrottling
Map of job types to how many job "work items" should be run per second on each job runner process...
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
Value object for representing interwiki records.
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
$wgReadOnly
Set this to a string to put the wiki into read-only mode.
$wgSessionCacheType
The cache type for storing session data.
$wgUploadPath
The URL path for the images directory.
$wgConf
wgConf hold the site configuration.
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
$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...
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
$wgEmergencyContact
Site admin email address.
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing...
$wgDiff3
Path to the GNU diff3 utility.
$wgFileExtensions
This is the list of preferred extensions for uploading files.
$wgPasswordConfig
Configuration for built-in password types.
$wgExtraNamespaces
Additional namespaces.
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode. ...
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
$wgEnotifRevealEditorAddress
Set the Reply-to address in notifications to the editor's address, if user allowed this in the prefer...
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
$wgHTTPConnectTimeout
Timeout for connections done internally (in seconds) Only works for curl.
$wgInvalidPasswordReset
Specifies if users should be sent to a password-reset form on login, if their password doesn't meet t...
$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 <link rel="canonical"> tag on every page indicating the canonical server which should be use...
$wgSharedThumbnailScriptPath
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
$wgUseTidy
Set this to true to use the deprecated tidy configuration parameters.
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
The ContentHandler facility adds support for arbitrary content types on wiki pages
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
$wgAllDBsAreLocalhost
Make all database connections secretly go to localhost.
$wgTidyInternal
Set this to true to use the tidy extension.
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
$wgTrivialMimeDetection
Switch for trivial MIME detection.
$wgJobTypeConf
Map of job types to configuration arrays.
$wgDBadminuser
Separate username for maintenance tasks.
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
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
$wgUpgradeKey
When you run the web-based upgrade utility, it will tell you what to set this to in order to authoriz...
$wgScriptPath
The path we should point to.
Array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but onl...
$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.
$wgProfileLimit
Only record profiling info for pages that took longer than this.
$wgResourceLoaderSources
Extensions should register foreign module sources here.
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges, Newpages.
$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.
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
$wgActions
Array of allowed values for the "title=foo&action=<action>" parameter.
$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...
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
$wgGrammarForms
Some languages need different word forms, usually for different cases.
$wgDisableAuthManager
Disable AuthManager.
$wgUpdateRowsPerQuery
Number of rows to update per query.
$wgDBprefix
Table name prefix.
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
$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...
$wgAPIListModules
API Query list module extensions.
$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.
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
$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.
$wgCategoryPagingLimit
Paging limit for categories.
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
$wgStyleDirectory
Filesystem stylesheets directory.
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type...
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
to move a page</td >< td > &*You are moving the page across *A non empty talk page already exists under the new or *You uncheck the box below In those you will have to move or merge the page manually if desired</td >< td > be sure to &You are responsible for making sure that links continue to point where they are supposed to go Note that the page will &a page at the new title
$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.
$wgPasswordSalt
For compatibility with old installations set to false.
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList...
$wgAPIMetaModules
API Query meta module extensions.
$wgAllowSlowParserFunctions
Enable slow parser functions.
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
$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.
$wgUseTwoButtonsSearchForm
Search form behavior.
$wgDisableTextSearch
Set this to true to disable the full text search feature.
$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 <title> element in SVG files.
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
$wgSiteNotice
Site notice shown at the top of each page.
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
$wgDisableInternalSearch
Disable the internal MySQL-based search, to allow it to be implemented by an extension instead...
$wgJobRunRate
Number of jobs to perform per request.
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
$wgRCFeeds
Recentchanges items are periodically purged; entries older than this many seconds will go...
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
$wgMemCachedServers
The list of MemCached servers and port numbers.
$wgArticlePath
The URL path for primary article page views.
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
$wgObjectCaches
Advanced object cache configuration.
$wgServer
URL of the server.
$wgNonincludableNamespaces
Pages in namespaces in this array can not be used as templates.
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
$wgFetchCommonsDescriptions
Fetch commons image description pages and display them on the local wiki?
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
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
$wgLockManagers
Array of configuration arrays for each lock manager.
$wgLBFactoryConf
Load balancer factory configuration To set up a multi-master wiki farm, set the class here to somethi...
$wgXhtmlDefaultNamespace
The default xmlns attribute.
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
$wgUseSiteJs
Use the site's Javascript page?
$wgRCShowChangedSize
Show the amount of changed characters in recent changes.
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
$wgDisableSearchUpdate
If you've disabled search semi-permanently, this also disables updates to the table.
$wgTidyOpts
The command line options to the tidy binary.
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header...
This is a class for holding configuration settings, particularly for multi-wiki sites.
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap.php script is run, or false if one is to be generated for all namespaces.
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights, it is possible to modify users on different databases if the delimiter is used, e.g.
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back...
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL...
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
</td >< td > &</td >< td > t want your writing to be edited mercilessly and redistributed at will
$wgDebugTidy
Put tidy warnings in HTML comments Only works for internal tidy.
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account...
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki whitelist of regular expression fragment...
$wgCopyUploadProxy
Proxy to use for copy upload requests.
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages...
$wgMimeTypeBlacklist
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled...
$wgSlaveLagWarning
If lag is higher than $wgSlaveLagWarning, show a warning in some special pages (like watchlist)...
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
$wgResourceLoaderMaxQueryLength
If set to a positive number, ResourceLoader will not generate URLs whose query string is more than th...
$wgDBOracleDRCP
Set true to enable Oracle DCRP (supported from 11gR1 onward)
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
$wgDebugPrintHttpHeaders
Print HTTP headers for every request in the debug information.
string bool $wgBotPasswordsDatabase
Database name for the bot_passwords table.
$wgExternalLinkTarget
Set a default target for external links, e.g.
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
$wgExternalStores
External stores allow including content from non database sources following URL links.
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code, mangling or hiding MediaWiki's output.
$wgRightsIcon
Override for copyright metadata.
$wgSessionInsecureSecrets
If for some reason you can't install the PHP OpenSSL or mcrypt extensions, you can set this to true t...
$wgFileBlacklist
Files with these extensions will never be allowed as uploads.
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
Array bool $wgEnableBotPasswords
Whether to enable bot passwords.
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
$wgOpenSearchDescriptionLength
Minimum length of extract in .
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
$wgSiteTypes
Register handlers for specific types of sites.
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
$wgTrackingCategories
Array holding default tracking category names.
$wgUploadMaintenance
To disable file delete/restore temporarily.
$wgDiff
Path to the GNU diff utility.
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
Dynamic JavaScript and CSS resource loading system.
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account...
$wgRCLinkLimits
List of Limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages...
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
$wgLoadScript
The URL path to load.php.
$wgNoReplyAddress
Reply-To address for e-mail notifications.
$wgDirectoryMode
Default value for chmoding of new directories.
$wgUseTeX
To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package a...
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
$wgFileCacheDirectory
Directory where the cached page will be saved.
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
$wgUseSharedUploads
If you operate multiple wikis, you can define a shared upload path here.
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for slave-lag prone jobs one job at a time.
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
$wgDBmysql5
Set to true to engage MySQL 4.1/5.0 charset-related features; for now will just cause sending of 'SET...
bool array string $wgInterwikiCache
Interwiki cache, either as an associative array or a path to a constant database (.cdb) file.
$wgServerName
Server name.
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page...
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly...
$wgUploadDirectory
The filesystem path of the images directory.
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load) ...
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
if the prop value should be in the metadata multi language array format
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
$wgAmericanDates
Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'...
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
$wgBrowserBlackList
Browser Blacklist for unicode non compliant browsers.
$wgResourceModules
Client-side resource modules.
$wgCdnReboundPurgeDelay
If set, any SquidPurge call on a URL or URLs will send a second purge no less than this many seconds ...
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
$wgAntivirus
Internal name of virus scanner.
$wgFeedClasses
Available feeds objects.
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set...
$wgExceptionHooks
Hooks that are used for outputting exceptions.
$wgSiteSupportPage
If this is set, a "donate" link will appear in the sidebar.
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
$wgAjaxExportList
List of Ajax-callable functions.
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
$wgTransactionalTimeLimit
The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...
$wgParserOutputHooks
Parser output hooks.
$wgFavicon
The URL path of the shortcut icon.
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.