Go to the documentation of this file.
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 );
556 'description' =>
true,
558 'categories' =>
false,
562 'licensemessages' => [
567 'local' =>
'generic-local',
572 'foreign' =>
'generic-foreign',
593 'filepage' =>
'$DESCRIPTION',
597 'description' =>
'$TEXT',
600 'uncategorized' =>
'',
875 # HTML may contain cookie-stealing JavaScript and web bugs
876 'html',
'htm',
'js',
'jsb',
'mhtml',
'mht',
'xhtml',
'xht',
877 # PHP scripts may execute arbitrary code on the server
878 'php',
'phtml',
'php3',
'php4',
'php5',
'phps',
879 # Other types that may be interpreted by some servers
880 'shtml',
'jhtml',
'pl',
'py',
'cgi',
881 # May contain harmful executables for Windows victims
882 'exe',
'scr',
'dll',
'msi',
'vbs',
'bat',
'com',
'pif',
'cmd',
'vxd',
'cpl' ];
889 # HTML may contain cookie-stealing JavaScript and web bugs
890 'text/html',
'text/javascript',
'text/x-javascript',
'application/x-shellscript',
891 # PHP scripts may execute arbitrary code on the server
892 'application/x-php',
'text/x-php',
893 # Other types that may be interpreted by some servers
894 'text/x-python',
'text/x-perl',
'text/x-bash',
'text/x-sh',
'text/x-csh',
895 # Client-side hazards on Internet Explorer
896 'text/scriptlet',
'application/x-msdownload',
897 # Windows metafile, client-side vulnerability on some systems
898 'application/x-msmetafile',
952 # "application/x-shockwave-flash", //flash/shockwave movie
969 'image/jpeg' =>
'MockBitmapHandler',
970 'image/png' =>
'MockBitmapHandler',
971 'image/gif' =>
'MockBitmapHandler',
972 'image/tiff' =>
'MockBitmapHandler',
973 'image/webp' =>
'MockBitmapHandler',
974 'image/x-ms-bmp' =>
'MockBitmapHandler',
975 'image/x-bmp' =>
'MockBitmapHandler',
976 'image/x-xcf' =>
'MockBitmapHandler',
977 'image/svg+xml' =>
'MockSvgHandler',
978 'image/vnd.djvu' =>
'MockDjVuHandler',
1111 '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1112 'sodipodi' =>
'$path/sodipodi -z -w $width -f $input -e $output',
1113 'inkscape' =>
'$path/inkscape -z -w $width -f $input -e $output',
1114 'batik' =>
'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1116 'rsvg' =>
'$path/rsvg-convert -w $width -h $height -o $output $input',
1117 'imgserv' =>
'$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1118 'ImagickExt' => [
'SvgHandler::rasterizeImagickExt' ],
1288 'command' =>
'clamscan --no-summary ',
1295 'messagepattern' =>
'/.*?:(.*)/sim',
1347 'http://www.w3.org/2000/svg:svg' =>
'image/svg+xml',
1348 'svg' =>
'image/svg+xml',
1349 'http://www.lysator.liu.se/~alla/dia/:diagram' =>
'application/x-dia-diagram',
1350 'http://www.w3.org/1999/xhtml:html' =>
'text/html',
1351 'html' =>
'text/html',
1689 # If set to true, users get a corresponding option in their preferences and can choose to
1690 # enable or disable at their discretion
1691 # If set to false, the corresponding input form on the user preference page is suppressed
1692 # It call this to be a "user-preferences-option (UPO)"
2295 CACHE_NONE => [
'class' =>
'EmptyBagOStuff',
'reportDupes' =>
false ],
2296 CACHE_DB => [
'class' =>
'SqlBagOStuff',
'loggroup' =>
'SQLBagOStuff' ],
2299 CACHE_ACCEL => [
'factory' =>
'ObjectCache::getLocalServerInstance' ],
2300 CACHE_MEMCACHED => [
'class' =>
'MemcachedPhpBagOStuff',
'loggroup' =>
'memcached' ],
2302 'db-replicated' => [
2303 'class' =>
'ReplicatedBagOStuff',
2305 'class' =>
'SqlBagOStuff',
2306 'args' => [ [
'slaveOnly' =>
true ] ]
2309 'class' =>
'SqlBagOStuff',
2310 'args' => [ [
'slaveOnly' =>
false ] ]
2312 'loggroup' =>
'SQLBagOStuff',
2313 'reportDupes' =>
false
2316 'apc' => [
'class' =>
'APCBagOStuff',
'reportDupes' =>
false ],
2317 'apcu' => [
'class' =>
'APCUBagOStuff',
'reportDupes' =>
false ],
2318 'xcache' => [
'class' =>
'XCacheBagOStuff',
'reportDupes' =>
false ],
2319 'wincache' => [
'class' =>
'WinCacheBagOStuff',
'reportDupes' =>
false ],
2320 'memcached-php' => [
'class' =>
'MemcachedPhpBagOStuff',
'loggroup' =>
'memcached' ],
2321 'memcached-pecl' => [
'class' =>
'MemcachedPeclBagOStuff',
'loggroup' =>
'memcached' ],
2322 'hash' => [
'class' =>
'HashBagOStuff',
'reportDupes' =>
false ],
2359 'class' =>
'WANObjectCache',
2512 'class' =>
'LocalisationCache',
2513 'store' =>
'detect',
2514 'storeClass' =>
false,
2515 'storeDirectory' =>
false,
2516 'manualRecache' =>
false,
3446 "url" =>
"//www.mediawiki.org/",
3447 "alt" =>
"Powered by MediaWiki",
3659 'server' => 30 * 24 * 60 * 60,
3660 'client' => 30 * 24 * 60 * 60,
3798 'deviceWidthTablet' =>
'720px',
3815 "$IP/resources/src/mediawiki.less/",
4022 $wgSitesCacheFile =
false;
4041 $wgRedirectSources =
false;
4179 'class' =>
'Parser',
4180 # 'preprocessorClass' => 'Preprocessor_Hash',
4229 'bitcoin:',
'ftp://',
'ftps://',
'geo:',
'git://',
'gopher://',
'http://',
4230 'https://',
'irc://',
'ircs://',
'magnet:',
'mailto:',
'mms://',
'news:',
4231 'nntp://',
'redis://',
'sftp://',
'sip:',
'sips:',
'sms:',
'ssh://',
4232 'svn://',
'tel:',
'telnet://',
'urn:',
'worldwind://',
'xmpp:',
'//'
4470 # End
of statistics }
4484 'local' => [
'class' =>
'LocalIdLookup' ],
4519 'MinimalPasswordLength' => 8,
4520 'MinimumPasswordLengthToLogin' => 1,
4521 'PasswordCannotMatchUsername' =>
true,
4522 'PasswordCannotBePopular' => 25,
4525 'MinimalPasswordLength' => 8,
4526 'MinimumPasswordLengthToLogin' => 1,
4527 'PasswordCannotMatchUsername' =>
true,
4528 'PasswordCannotBePopular' => 25,
4531 'MinimalPasswordLength' => 8,
4532 'MinimumPasswordLengthToLogin' => 1,
4533 'PasswordCannotMatchUsername' =>
true,
4536 'MinimalPasswordLength' => 1,
4537 'PasswordCannotMatchUsername' =>
true,
4538 'PasswordCannotMatchBlacklist' =>
true,
4539 'MaximalPasswordLength' => 4096,
4543 'MinimalPasswordLength' =>
'PasswordPolicyChecks::checkMinimalPasswordLength',
4544 'MinimumPasswordLengthToLogin' =>
'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4545 'PasswordCannotMatchUsername' =>
'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4546 'PasswordCannotMatchBlacklist' =>
'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4547 'MaximalPasswordLength' =>
'PasswordPolicyChecks::checkMaximalPasswordLength',
4548 'PasswordCannotBePopular' =>
'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4600 'authoritative' =>
false,
4611 'authoritative' =>
true,
4616 'secondaryauth' => [
4785 'class' =>
'MWOldPassword',
4788 'class' =>
'MWSaltedPassword',
4790 'pbkdf2-legacyA' => [
4791 'class' =>
'LayeredParameterizedPassword',
4797 'pbkdf2-legacyB' => [
4798 'class' =>
'LayeredParameterizedPassword',
4805 'class' =>
'BcryptPassword',
4809 'class' =>
'Pbkdf2Password',
4843 'MediaWiki default',
4844 'Conversion script',
4845 'Maintenance script',
4846 'Template namespace initialisation script',
4849 'msg:double-redirect-fixer',
4850 'msg:usermessage-editor',
4852 'msg:spambot_username',
4853 'msg:autochange-username',
4863 'ccmeonemails' => 0,
4865 'date' =>
'default',
4868 'editfont' =>
'monospace',
4869 'editondblclick' => 0,
4870 'editsectiononrightclick' => 0,
4871 'enotifminoredits' => 0,
4872 'enotifrevealaddr' => 0,
4873 'enotifusertalkpages' => 1,
4874 'enotifwatchlistpages' => 1,
4875 'extendwatchlist' => 1,
4877 'forceeditsummary' => 0,
4878 'gender' =>
'unknown',
4880 'hidepatrolled' => 0,
4881 'hidecategorization' => 1,
4884 'minordefault' => 0,
4885 'newpageshidepatrolled' => 0,
4887 'norollbackdiff' => 0,
4888 'numberheadings' => 0,
4889 'previewonfirst' => 0,
4890 'previewontop' => 1,
4892 'rcenhancedfilters' => 0,
4893 'rcenhancedfilters-disable' => 0,
4896 'showhiddencats' => 0,
4897 'shownumberswatching' => 1,
4900 'stubthreshold' => 0,
4903 'uselivepreview' => 0,
4905 'watchcreations' => 1,
4906 'watchdefault' => 1,
4907 'watchdeletion' => 0,
4908 'watchuploads' => 1,
4909 'watchlistdays' => 3.0,
4910 'watchlisthideanons' => 0,
4911 'watchlisthidebots' => 0,
4912 'watchlisthideliu' => 0,
4913 'watchlisthideminor' => 0,
4914 'watchlisthideown' => 0,
4915 'watchlisthidepatrolled' => 0,
4916 'watchlisthidecategorization' => 1,
4917 'watchlistreloadautomatically' => 0,
4918 'watchlistunwatchlinks' => 0,
4920 'watchrollback' => 0,
4922 'useeditwarning' => 1,
4923 'prefershttps' => 1,
4982 'callUserSetCookiesHook' =>
true,
4992 # end
user accounts }
5146 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5224 # $wgGroupPermissions['sysop']['pagelang'] = true;
5225 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5234 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5236 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5238 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5239 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5241 # $wgGroupPermissions['suppress']['hideuser'] = true;
5243 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5245 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5247 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5255 # $wgGroupPermissions['developer']['siteadmin'] = true;
5461 'autoconfirmed' => [
'&',
5682 'newbie' => [ 8, 60 ],
5686 'newbie' => [ 2, 120 ],
5687 'user' => [ 8, 60 ],
5692 'newbie' => [ 8, 60 ],
5696 'user' => [ 10, 60 ],
5697 'newbie' => [ 5, 120 ]
5701 'ip' => [ 5, 3600 ],
5705 'ip' => [ 5, 86400 ],
5706 'newbie' => [ 5, 86400 ],
5707 'user' => [ 20, 86400 ],
5712 'user' => [ 30, 60 ],
5717 'user' => [ 30, 60 ],
5721 'ip' => [ 700, 30 ],
5722 'user' => [ 700, 30 ],
5725 'renderfile-nonstandard' => [
5727 'user' => [ 70, 30 ],
5732 'newbie' => [ 30, 60 ],
5737 'newbie' => [ 8, 60 ],
5740 'editcontentmodel' => [
5741 'newbie' => [ 2, 120 ],
5742 'user' => [ 8, 60 ],
5779 [
'count' => 5,
'seconds' => 300 ],
5783 [
'count' => 150,
'seconds' => 60 * 60 * 48 ],
5894 'basic' =>
'hidden',
5896 'editpage' =>
'page-interaction',
5897 'createeditmovepage' =>
'page-interaction',
5898 'editprotected' =>
'page-interaction',
5899 'patrol' =>
'page-interaction',
5901 'uploadfile' =>
'file-interaction',
5902 'uploadeditmovefile' =>
'file-interaction',
5904 'sendemail' =>
'email',
5906 'viewmywatchlist' =>
'watchlist-interaction',
5907 'editviewmywatchlist' =>
'watchlist-interaction',
5909 'editmycssjs' =>
'customization',
5910 'editmyoptions' =>
'customization',
5912 'editinterface' =>
'administration',
5913 'rollback' =>
'administration',
5914 'blockusers' =>
'administration',
5915 'delete' =>
'administration',
5916 'viewdeleted' =>
'administration',
5917 'viewrestrictedlogs' =>
'administration',
5918 'protect' =>
'administration',
5919 'createaccount' =>
'administration',
5921 'highvolume' =>
'high-volume',
5923 'privateinfo' =>
'private-information',
6135 'readQueryTime' => 5
6140 'readQueryTime' => 5,
6141 'writeQueryTime' => 1,
6142 'maxAffected' => 1000
6144 'POST-nonwrite' => [
6147 'readQueryTime' => 5
6151 'readQueryTime' => 5,
6152 'writeQueryTime' => 1,
6153 'maxAffected' => 1000,
6160 'readQueryTime' => 30,
6161 'writeQueryTime' => 5,
6162 'maxAffected' => 500
6166 'writeQueryTime' => 5,
6167 'maxAffected' => 1000
6225 'class' =>
'\\MediaWiki\\Logger\\LegacySpi',
6398 # end
of profiling, testing
and debugging }
6444 'application/x-suggestions+json' =>
false,
6445 'application/x-suggestions+xml' =>
false,
6663 'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6664 'https://phabricator.wikimedia.org/r/revision/%R;%H',
6665 'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6666 'https://phabricator.wikimedia.org/r/revision/%R;%H',
6668 # End
of maintenance }
6780 'redis' =>
'RedisPubSubFeedEngine',
6781 'udp' =>
'UDPRCFeedEngine',
6895 'atom' =>
'AtomFeed',
6979 'letter' =>
'newpageletter',
6980 'title' =>
'recentchanges-label-newpage',
6981 'legend' =>
'recentchanges-legend-newpage',
6982 'grouping' =>
'any',
6985 'letter' =>
'minoreditletter',
6986 'title' =>
'recentchanges-label-minor',
6987 'legend' =>
'recentchanges-legend-minor',
6988 'class' =>
'minoredit',
6989 'grouping' =>
'all',
6992 'letter' =>
'boteditletter',
6993 'title' =>
'recentchanges-label-bot',
6994 'legend' =>
'recentchanges-legend-bot',
6995 'class' =>
'botedit',
6996 'grouping' =>
'all',
6999 'letter' =>
'unpatrolledletter',
7000 'title' =>
'recentchanges-label-unpatrolled',
7001 'legend' =>
'recentchanges-legend-unpatrolled',
7002 'grouping' =>
'any',
7005 # end RC/watchlist }
7151 # end
of import/export }
7387 __DIR__ .
'/ServiceWiring.php'
7397 'refreshLinks' =>
'RefreshLinksJob',
7398 'deleteLinks' =>
'DeleteLinksJob',
7399 'htmlCacheUpdate' =>
'HTMLCacheUpdateJob',
7400 'sendMail' =>
'EmaillingJob',
7401 'enotifNotify' =>
'EnotifNotifyJob',
7402 'fixDoubleRedirect' =>
'DoubleRedirectJob',
7403 'AssembleUploadChunks' =>
'AssembleUploadChunksJob',
7404 'PublishStashedFile' =>
'PublishStashedFileJob',
7405 'ThumbnailRender' =>
'ThumbnailRenderJob',
7406 'recentChangesUpdate' =>
'RecentChangesUpdateJob',
7407 'refreshLinksPrioritized' =>
'RefreshLinksJob',
7408 'refreshLinksDynamic' =>
'RefreshLinksJob',
7409 'activityUpdateJob' =>
'ActivityUpdateJob',
7410 'categoryMembershipChange' =>
'CategoryMembershipChangeJob',
7411 'cdnPurge' =>
'CdnPurgeJob',
7412 'enqueue' =>
'EnqueueJob',
7462 'default' => [
'class' =>
'JobQueueDB',
'order' =>
'random',
'claimTTL' => 3600 ],
7470 'class' =>
'JobQueueAggregatorNull'
7491 'Statistics' => [
'SiteStatsUpdate',
'cacheUpdate' ]
7502 'hiddencat' =>
'categorylinks',
7593 'suppress' =>
'suppressionlog'
7630 '' =>
'all-logs-page',
7631 'block' =>
'blocklogpage',
7632 'protect' =>
'protectlogpage',
7633 'rights' =>
'rightslog',
7634 'delete' =>
'dellogpage',
7635 'upload' =>
'uploadlogpage',
7636 'move' =>
'movelogpage',
7637 'import' =>
'importlogpage',
7638 'patrol' =>
'patrol-log-page',
7639 'merge' =>
'mergelog',
7640 'suppress' =>
'suppressionlog',
7653 '' =>
'alllogstext',
7654 'block' =>
'blocklogtext',
7655 'delete' =>
'dellogpagetext',
7656 'import' =>
'importlogpagetext',
7657 'merge' =>
'mergelogpagetext',
7658 'move' =>
'movelogpagetext',
7659 'patrol' =>
'patrol-log-header',
7660 'protect' =>
'protectlogtext',
7661 'rights' =>
'rightslogtext',
7662 'suppress' =>
'suppressionlogtext',
7663 'upload' =>
'uploadlogpagetext',
7681 'block/block' =>
'BlockLogFormatter',
7682 'block/reblock' =>
'BlockLogFormatter',
7683 'block/unblock' =>
'BlockLogFormatter',
7684 'contentmodel/change' =>
'ContentModelLogFormatter',
7685 'contentmodel/new' =>
'ContentModelLogFormatter',
7686 'delete/delete' =>
'DeleteLogFormatter',
7687 'delete/delete_redir' =>
'DeleteLogFormatter',
7688 'delete/event' =>
'DeleteLogFormatter',
7689 'delete/restore' =>
'DeleteLogFormatter',
7690 'delete/revision' =>
'DeleteLogFormatter',
7691 'import/interwiki' =>
'ImportLogFormatter',
7692 'import/upload' =>
'ImportLogFormatter',
7693 'managetags/activate' =>
'LogFormatter',
7694 'managetags/create' =>
'LogFormatter',
7695 'managetags/deactivate' =>
'LogFormatter',
7696 'managetags/delete' =>
'LogFormatter',
7697 'merge/merge' =>
'MergeLogFormatter',
7698 'move/move' =>
'MoveLogFormatter',
7699 'move/move_redir' =>
'MoveLogFormatter',
7700 'patrol/patrol' =>
'PatrolLogFormatter',
7701 'patrol/autopatrol' =>
'PatrolLogFormatter',
7702 'protect/modify' =>
'ProtectLogFormatter',
7703 'protect/move_prot' =>
'ProtectLogFormatter',
7704 'protect/protect' =>
'ProtectLogFormatter',
7705 'protect/unprotect' =>
'ProtectLogFormatter',
7706 'rights/autopromote' =>
'RightsLogFormatter',
7707 'rights/rights' =>
'RightsLogFormatter',
7708 'suppress/block' =>
'BlockLogFormatter',
7709 'suppress/delete' =>
'DeleteLogFormatter',
7710 'suppress/event' =>
'DeleteLogFormatter',
7711 'suppress/reblock' =>
'BlockLogFormatter',
7712 'suppress/revision' =>
'DeleteLogFormatter',
7713 'tag/update' =>
'TagLogFormatter',
7714 'upload/overwrite' =>
'UploadLogFormatter',
7715 'upload/revert' =>
'UploadLogFormatter',
7716 'upload/upload' =>
'UploadLogFormatter',
7729 'block' => [
'block' ],
7730 'reblock' => [
'reblock' ],
7731 'unblock' => [
'unblock' ],
7734 'change' => [
'change' ],
7738 'delete' => [
'delete' ],
7739 'delete_redir' => [
'delete_redir' ],
7740 'restore' => [
'restore' ],
7741 'event' => [
'event' ],
7742 'revision' => [
'revision' ],
7745 'interwiki' => [
'interwiki' ],
7746 'upload' => [
'upload' ],
7749 'create' => [
'create' ],
7750 'delete' => [
'delete' ],
7751 'activate' => [
'activate' ],
7752 'deactivate' => [
'deactivate' ],
7755 'move' => [
'move' ],
7756 'move_redir' => [
'move_redir' ],
7759 'create' => [
'create',
'newusers' ],
7760 'create2' => [
'create2' ],
7761 'autocreate' => [
'autocreate' ],
7762 'byemail' => [
'byemail' ],
7765 'patrol' => [
'patrol' ],
7766 'autopatrol' => [
'autopatrol' ],
7769 'protect' => [
'protect' ],
7770 'modify' => [
'modify' ],
7771 'unprotect' => [
'unprotect' ],
7772 'move_prot' => [
'move_prot' ],
7775 'rights' => [
'rights' ],
7776 'autopromote' => [
'autopromote' ],
7779 'event' => [
'event' ],
7780 'revision' => [
'revision' ],
7781 'delete' => [
'delete' ],
7782 'block' => [
'block' ],
7783 'reblock' => [
'reblock' ],
7786 'upload' => [
'upload' ],
7787 'overwrite' => [
'overwrite' ],
7825 # end special
pages }
7847 'editchangetags' =>
'SpecialPageAction',
7850 'markpatrolled' =>
true,
7856 'revisiondelete' =>
'SpecialPageAction',
7859 'unprotect' =>
true,
7935 # End robot policy }
8094 'FileDuplicateSearch',
8153 # End AJAX
and API }
8499 'mediawiki' =>
'MediaWikiSite',
8601 # Timeout in seconds
8603 # 'domain' is set to $wgCanonicalServer in Setup.php
8604 'forwardCookies' =>
false,
8670 'class' =>
'EventRelayerNull',
8698 'https://3hub.co' =>
true,
8699 'https://morepro.info' =>
true,
8700 'https://p.ato.mx' =>
true,
8701 'https://s.ato.mx' =>
true,
8702 'https://adserver.adtech.de' =>
true,
8703 'https://ums.adtechus.com' =>
true,
8704 'https://cas.criteo.com' =>
true,
8705 'https://cat.nl.eu.criteo.com' =>
true,
8706 'https://atpixel.alephd.com' =>
true,
8707 'https://rtb.metrigo.com' =>
true,
8708 'https://d5p.de17a.com' =>
true,
8709 'https://ad.lkqd.net/vpaid/vpaid.js' =>
true,
$wgSend404Code
Some web hosts attempt to rewrite all responses with a 404 (not found) status code,...
$wgProfileLimit
Only record profiling info for pages that took longer than this.
$wgConf
wgConf hold the site configuration.
$wgNonincludableNamespaces
Pages in namespaces in this array can not be used as templates.
$wgEventRelayerConfig
Mapping of event channels (or channel categories) to EventRelayer configuration.
$wgInterwikiScopes
Specify number of domains to check for messages.
Array $wgGrantPermissionGroups
Map of grants to their UI grouping.
$wgActionFilteredLogs
List of log types that can be filtered by action types.
$wgHiddenPrefs
An array of preferences to not show for the user.
$wgMemCachedServers
The list of MemCached servers and port numbers.
$wgAppleTouchIcon
The URL path of the icon for iPhone and iPod Touch web app bookmarks.
$wgDjvuTxt
Path of the djvutxt DJVU text extraction utility Enable this and $wgDjvuDump to enable text layer ext...
$wgLocalInterwiki
The interwiki prefix of the current wiki, or false if it doesn't have one.
$wgJsMimeType
Previously used as content type in HTML script tags.
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
$wgFeedLimit
Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges,...
$wgDebugRedirects
If true, instead of redirecting, show a page with a link to the redirect destination.
$wgRCLinkLimits
List of Limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
$wgAllowJavaUploads
Allow Java archive uploads.
$wgPhpCli
Executable path of the PHP cli binary (php/php5).
$wgActions
Array of allowed values for the "title=foo&action=<action>" parameter.
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
$wgUseAutomaticEditSummaries
If user doesn't specify any edit summary when making a an edit, MediaWiki will try to automatically c...
$wgAuthManagerConfig
Configure AuthManager.
bool $wgPingback
Share data about this installation with MediaWiki developers.
$wgSiteStatsAsyncFactor
Set this to an integer to only do synchronous site_stats updates one every this many updates.
$wgAPIListModules
API Query list module extensions.
$wgUseTagFilter
Allow filtering by change tag in recentchanges, history, etc Has no effect if no tags are defined in ...
$wgProxyWhitelist
Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods mi...
$wgLocalVirtualHosts
Local virtual hosts.
$wgSitemapNamespacesPriorities
Custom namespace priorities for sitemaps.
$wgHTTPConnectTimeout
Timeout for connections done internally (in seconds) Only works for curl.
$wgNamespaceContentModels
Associative array mapping namespace IDs to the name of the content model pages in that namespace shou...
$wgMaxCredits
Set this to the number of authors that you want to be credited below an article text.
$wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
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
string[] $wgChangeCredentialsBlacklist
List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials ...
$wgProxyList
Big list of banned IP addresses.
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
$wgCSPFalsePositiveUrls
List of urls which appear often to be triggering CSP reports but do not appear to be caused by actual...
$wgMaximalPasswordLength
Specifies the maximal length of a user password (T64685).
$wgIncludeLegacyJavaScript
Whether to ensure the mediawiki.legacy library is loaded before other modules.
$wgShowSQLErrors
Whether to show "we're sorry, but there has been a database error" pages.
$wgDBserver
Database host name or IP address.
processing should stop and the error should be shown to the user * false
$wgFileBlacklist
Files with these extensions will never be allowed as uploads.
$wgDisableHardRedirects
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected f...
string bool $wgBotPasswordsDatabase
Database name for the bot_passwords table.
$wgRCLinkDays
List of Days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
$wgMangleFlashPolicy
When OutputHandler is used, mangle any output that contains <cross-domain-policy>.
$wgMimeType
The default Content-Type header.
$wgMaxArticleSize
Maximum article size in kilobytes.
$wgAPIModules
API module extensions.
$wgResourceLoaderMaxQueryLength
If set to a positive number, ResourceLoader will not generate URLs whose query string is more than th...
$wgProfileOnly
Don't put non-profiling info into log file.
$wgExperimentalHtmlIds
Abandoned experiment with HTML5-style ID escaping.
$wgDisabledVariants
Disabled variants array of language variant conversion.
$wgSysopEmailBans
Allow sysops to ban users from accessing Emailuser.
Array $wgGrantPermissions
Map of (grant => right => boolean) Users authorize consumers (like Apps) to act on their behalf but o...
$wgFixDoubleRedirects
Fix double redirects after a page move.
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
$wgJobTypeConf
Map of job types to configuration arrays.
$wgExemptFromUserRobotsControl
An array of namespace keys in which the INDEX/__NOINDEX__ magic words will not function,...
$wgHKDFAlgorithm
Algorithm for hmac-based key derivation function (fast, cryptographically secure random numbers).
$wgStyleSheetPath
The URL path to index.php.
$wgExternalStores
External stores allow including content from non database sources following URL links.
$wgResponsiveImages
Generate and use thumbnails suitable for screens with 1.5 and 2.0 pixel densities.
$wgInvalidateCacheOnLocalSettingsChange
Invalidate various caches when LocalSettings.php changes.
$wgAjaxLicensePreview
Enable previewing licences via AJAX.
This is a class for holding configuration settings, particularly for multi-wiki sites.
$wgDebugRawPage
If true, log debugging data from action=raw and load.php.
$wgTmpDirectory
The local filesystem path to a temporary directory.
$wgRightsText
If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
$wgDBname
Name of the database.
$wgRevokePermissions
Permission keys revoked from users in each group.
$wgMaximumMovedPages
Maximum number of pages to move at once when moving subpages with a page.
$wgHTMLFormAllowTableFormat
Temporary variable that allows HTMLForms to be rendered as tables.
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
$wgBlockAllowsUTEdit
Set this to true to allow blocked users to edit their own user talk page.
$wgEdititis
Display user edit counts in various prominent places.
$wgExternalInterwikiFragmentMode
Which ID escaping mode should be used for external interwiki links? See documentation for $wgFragment...
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
$wgFeedCacheTimeout
Minimum timeout for cached Recentchanges feed, in seconds.
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
$wgRedirectOnLogin
Allow redirection to another page when a user logs in.
$wgMimeInfoFile
Sets the MIME type info file to use by MimeMagic.php.
$wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
$wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
$wgExiftool
Path to exiftool binary.
$wgLegalTitleChars
Allowed title characters – regex character class Don't change this unless you know what you're doing.
float[] $wgJobBackoffThrottling
Map of job types to how many job "work items" should be run per second on each job runner process.
$wgDiff3
Path to the GNU diff3 utility.
$wgExperiencedUserMemberSince
Name of the external diff engine to use.
$wgPasswordDefault
Default password type to use when hashing user passwords.
$wgSearchTypeAlternatives
Alternative search types Sometimes you want to support multiple search engines for testing.
$wgParserConf
Parser configuration.
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
$wgWhitelistReadRegexp
Pages anonymous user may see, set as an array of regular expressions.
$wgMaxTemplateDepth
Maximum recursion depth for templates within templates.
$wgSharpenParameter
Sharpening parameter to ImageMagick.
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
$wgScript
The URL path to index.php.
$wgDBport
Database port number (for PostgreSQL and Microsoft SQL Server).
$wgCookiePath
Set this variable if you want to restrict cookies to a certain path within the domain specified by $w...
$wgHTCPMulticastTTL
HTCP multicast TTL.
int $wgCommentTableSchemaMigrationStage
Comment table schema migration stage.
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
$wgTranscludeCacheExpiry
Expiry time for transcluded templates cached in transcache database table.
$wgSharedDB
Shared database for multiple wikis.
$wgPasswordResetRoutes
Whether to allow password resets ("enter some identifying data, and we'll send an email with a tempor...
$wgSVGMaxSize
Don't scale a SVG larger than this.
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
string[] $wgRemoveCredentialsBlacklist
List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials a...
$wgLocalFileRepo
File repository structures.
$wgWANObjectCaches
Advanced WAN object cache configuration.
$wgDjvuPostProcessor
Shell command for the DJVU post processor Default: pnmtojpeg, since ddjvu generates ppm output Set th...
$wgVersion
MediaWiki version number.
$wgAmericanDates
Enable dates like 'May 12' instead of '12 May', if the default date format is 'dmy or mdy'.
$wgAutoblockExpiry
Number of seconds before autoblock entries expire.
$wgUploadMaintenance
To disable file delete/restore temporarily.
$wgExtensionMessagesFiles
Extension messages files.
$wgSessionInsecureSecrets
If for some reason you can't install the PHP OpenSSL or mcrypt extensions, you can set this to true t...
$wgShowCreditsIfMax
If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
string[] $wgSoftBlockRanges
IP ranges that should be considered soft-blocked (anon-only, account creation allowed).
string bool $wgBotPasswordsCluster
Cluster for the bot_passwords table If false, the normal cluster will be used.
$wgNoFollowDomainExceptions
If this is set to an array of domains, external links to these domain names (or any subdomains) will ...
$wgUseTwoButtonsSearchForm
Search form behavior.
$wgCategoryMagicGallery
On category pages, show thumbnail gallery for images belonging to that category instead of listing th...
$wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.
$wgMessagesDirs
Extension messages directories.
$wgShowHostnames
Expose backend server host names through the API and various HTML comments.
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
$wgSharedUploadDBprefix
Optional table prefix used in database.
$wgDeprecationReleaseLimit
Release limitation to wfDeprecated warnings, if set to a release number development warnings will not...
$wgMaxUploadSize
Max size for uploads, in bytes.
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
$wgDBmwschema
Mediawiki schema.
$wgUseTeX
To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package a...
$wgDefaultUserOptions
Settings added to this array will override the default globals for the user preferences used by anony...
$wgExternalServers
An array of external MySQL servers.
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
$wgDBmysql5
Set to true to engage MySQL 4.1/5.0 charset-related features; for now will just cause sending of 'SET...
$wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
$wgMaxMsgCacheEntrySize
Maximum entry size in the message cache, in bytes.
bool[] $wgAllowSecuritySensitiveOperationIfCannotReauthenticate
Whether to allow security-sensitive operations when re-authentication is not possible.
$wgLegacySchemaConversion
If set to true, the MediaWiki 1.4 to 1.5 schema conversion will create stub reference rows in the tex...
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
$wgDiff
Path to the GNU diff utility.
$wgJobQueueAggregator
Which aggregator to use for tracking which queues have jobs.
$wgFileExtensions
This is the list of preferred extensions for uploading files.
$wgEnableUserEmail
Set to true to enable user-to-user e-mail.
$wgEnotifRevealEditorAddress
Set the Reply-to address in notifications to the editor's address, if user allowed this in the prefer...
$wgUseSharedUploads
If you operate multiple wikis, you can define a shared upload path here.
$wgWantedPagesThreshold
Number of links to a page required before it is deemed "wanted".
$wgDisableTitleConversion
Whether to enable language variant conversion for links.
$wgUnwatchedPageSecret
If active watchers (per above) are this number or less, do not disclose it.
$wgResourceLoaderLESSImportPaths
Default import paths for LESS modules.
$wgHideIdentifiableRedirects
Should MediaWiki attempt to protect user's privacy when doing redirects? Keep this true if access cou...
int bool $wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
$wgLangObjCacheSize
Language cache size, or really how many languages can we handle simultaneously without degrading to c...
$wgExtensionAssetsPath
The URL path of the extensions directory.
bool array string $wgInterwikiCache
Interwiki cache, either as an associative array or a path to a constant database (....
$wgExportAllowAll
Whether to allow exporting the entire wiki into a single file.
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
$wgAjaxUploadDestCheck
Enable AJAX check for file overwrite, pre-upload.
$wgMimeTypeBlacklist
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
$wgLBFactoryConf
Load balancer factory configuration To set up a multi-master wiki farm, set the class here to somethi...
$wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be use...
$wgLogActions
Lists the message key string for formatting individual events of each type and action when listed in ...
$wgUseSquid
Enable/disable CDN.
$wgAPIUselessQueryPages
The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
$wgFragmentMode
How should section IDs be encoded? This array can contain 1 or 2 elements, each of them can be one of...
$wgHashedSharedUploadDirectory
Set the following to false especially if you have a set of files that need to be accessible by all wi...
$wgAllowSchemaUpdates
Allow schema updates.
$wgDebugTidy
Put tidy warnings in HTML comments Only works for internal tidy.
$wgDisableTextSearch
Set this to true to disable the full text search feature.
$wgArticleRobotPolicies
Robot policies per article.
$wgCacheDirectory
Directory for caching data in the local filesystem.
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
$wgOpenSearchTemplate
Template for OpenSearch suggestions, defaults to API action=opensearch.
const CONTENT_MODEL_WIKITEXT
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
int $wgHTTPTimeout
Timeout for HTTP requests done internally, in seconds.
$wgTransactionalTimeLimit
The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...
$wgBreakFrames
Break out of framesets.
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
$wgDebugLogPrefix
Prefix for debug log lines.
$wgDBOracleDRCP
Set true to enable Oracle DCRP (supported from 11gR1 onward)
$wgStrictFileExtensions
If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
$wgContentHandlerUseDB
Set to false to disable use of the database fields introduced by the ContentHandler facility.
$wgForeignUploadTargets
Array of foreign file repo names (set in $wgForeignFileRepos above) that are allowable upload targets...
you have access to all of the normal MediaWiki so you can get a DB use the cache
$wgLogo
The URL path of the wiki logo.
$wgHideUserContribLimit
The maximum number of edits a user can have and can still be hidden by users with the hideuser permis...
$wgEnableParserCache
Kept for extension compatibility; see $wgParserCacheType.
$wgOpenSearchTemplates
Templates for OpenSearch suggestions, defaults to API action=opensearch.
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
$wgEnableOpenSearchSuggest
Enable OpenSearch suggestions requested by MediaWiki.
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
$wgJobRunRate
Number of jobs to perform per request.
$wgMetaNamespace
Name of the project namespace.
$wgDBpassword
Database user's password.
$wgFixMalayalamUnicode
Set this to true to replace ZWJ-based chillu sequences in Malayalam text with their Unicode 5....
$wgDBprefix
Table name prefix.
$wgStylePath
The URL path of the skins directory.
$wgThumbnailMinimumBucketDistance
When using thumbnail buckets as defined above, this sets the minimum distance to the bucket above the...
$wgAllowSiteCSSOnRestrictedPages
Whether to allow site-wide CSS (MediaWiki:Common.css and friends) on restricted pages like Special:Us...
$wgExtensionEntryPointListFiles
Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList....
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
$wgUseSiteJs
Use the site's Javascript page?
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
The ContentHandler facility adds support for arbitrary content types on wiki pages
$wgClockSkewFudge
Clock skew or the one-second resolution of time() can occasionally cause cache problems when the user...
$wgUploadStashScalerBaseUrl
To enable remote on-demand scaling, set this to the thumbnail base URL.
$wgThumbnailEpoch
If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if th...
$wgCrossSiteAJAXdomainExceptions
Domains that should not be allowed to make AJAX requests, even if they match one of the domains allow...
$wgWhitelistRead
Pages anonymous user may see, set as an array of pages titles.
$wgMaxNameChars
Maximum number of bytes in username.
$wgResourceLoaderStorageVersion
Cache version for client-side ResourceLoader module storage.
$wgDBerrorLog
File to log database errors to.
$wgPasswordExpireGrace
If a user's password is expired, the number of seconds when they can still login, and cancel their pa...
$wgUploadStashMaxAge
The maximum age of temporary (incomplete) uploaded files.
$wgPasswordSenderName
Sender name for e-mail notifications.
$wgRepositoryBaseUrl
Base URL for a repository wiki.
bool $wgEnableWANCacheReaper
Verify and enforce WAN cache purges using reliable DB sources as streams.
$wgExperiencedUserEdits
Name of the external diff engine to use.
bool $wgAssumeProxiesUseDefaultProtocolPorts
When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the w...
$wgSearchHighlightBoundaries
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the wor...
$wgUseInstantCommons
Use Commons as a remote file repository.
$wgMediaHandlers
Plugins for media file type handling.
$wgDBadminuser
Separate username for maintenance tasks.
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
$wgResourceModules
Client-side resource modules.
$wgReferrerPolicy
Value for the referrer policy meta tag.
$wgResourceLoaderValidateJS
If set to true, JavaScript modules loaded from wiki pages will be parsed prior to minification to val...
$wgAPIRequestLog
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.
$wgStructuredChangeFiltersEnableExperimentalViews
Whether to show the new experimental views (like namespaces, tags, and users) in RecentChanges filter...
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
$wgAutopromote
Array containing the conditions of automatic promotion of a user to specific groups.
$wgContentHandlerTextFallback
How to react if a plain text version of a non-text Content object is requested using ContentHandler::...
$wgAllowImageTag
A different approach to the above: simply allow the "<img>" tag to be used.
$wgShowDebug
Display debug data at the bottom of the main content area.
$wgRightsPage
Override for copyright metadata.
$wgHTTPProxy
Proxy to use for CURL requests.
$wgRawHtml
Allow raw, unchecked HTML in "<html>...</html>" sections.
$wgEnableScaryTranscluding
Enable interwiki transcluding.
$wgAttemptFailureEpoch
Certain operations are avoided if there were too many recent failures, for example,...
$wgEnotifUseRealName
Use real name instead of username in e-mail "from" field.
$wgDBservers
Database load balancer This is a two-dimensional array, an array of server info structures Fields are...
$wgRCChangedSizeThreshold
If the difference between the character counts of the text before and after the edit is below that va...
$wgAllowUserCss
Allow user Cascading Style Sheets (CSS)? This enables a lot of neat customizations,...
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
$wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
$wgSVGConverterPath
If not in the executable PATH, specify the SVG converter path.
$wgNoReplyAddress
Reply-To address for e-mail notifications.
$wgDBWindowsAuthentication
Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server.
$wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails,...
$wgHooks
Global list of hooks.
$wgSharedUploadPath
Full path on the web server where shared uploads can be found.
$wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
$wgInvalidPasswordReset
Specifies if users should be sent to a password-reset form on login, if their password doesn't meet t...
$wgSQLiteDataDir
To override default SQLite data directory ($docroot/../data)
$wgUseKeyHeader
Send the Key HTTP header for better caching.
$wgSquidServersNoPurge
As above, except these servers aren't purged on page changes; use to set a list of trusted proxies,...
$wgLoginLanguageSelector
Show a bar of language selection links in the user login and user registration forms; edit the "login...
$wgUploadSizeWarning
Warn if uploaded files are larger than this (in bytes), or false to disable.
</source > ! result< div class="mw-highlight mw-content-ltr" dir="ltr">< pre >< span ></span >< span class="kd"> var</span >< span class="nx"> a</span >< span class="p"></span ></pre ></div > ! end ! test Multiline< source/> in lists !input *< source > a b</source > *foo< source > a b</source > ! html< ul >< li >< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul >< ul >< li > foo< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul > ! html tidy< ul >< li >< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul >< ul >< li > foo< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul > ! end ! test Custom attributes !input< source lang="javascript" id="foo" class="bar" dir="rtl" style="font-size: larger;"> var a
$wgEmergencyContact
Site admin email address.
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
string null $wgAuthenticationTokenVersion
Versioning for authentication tokens.
$wgContentHandlers
Plugins for page content model handling.
$wgFooterIcons
Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code You can ad...
$wgMaxUserDBWriteDuration
Name of the external diff engine to use.
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
$wgPreprocessorCacheThreshold
Preprocessor caching threshold Setting it to 'false' will disable the preprocessor cache.
$wgLinkHolderBatchSize
LinkHolderArray batch size For debugging.
$wgLockManagers
Array of configuration arrays for each lock manager.
$wgFilterLogTypes
Show/hide links on Special:Log will be shown for these log types.
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
string $wgCentralIdLookupProvider
Central ID lookup provider to use by default.
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
$wgExtraSignatureNamespaces
Array of namespaces, in addition to the talk namespaces, where signatures (~~~~) are likely to be use...
$wgFallbackSkin
Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
$wgCacheVaryCookies
A list of cookies that vary the cache (for use by extensions)
global $wgCommandLineMode
$wgCrossSiteAJAXdomains
Settings for incoming cross-site AJAX requests: Newer browsers support cross-site AJAX when the targe...
$wgDefaultLanguageVariant
Default variant code, if false, the default will be the language code.
$wgCachePrefix
Overwrite the caching key prefix with custom value.
$wgAPICacheHelpTimeout
Set the timeout for the API help text cache.
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
$wgDisableInternalSearch
Disable the internal MySQL-based search, to allow it to be implemented by an extension instead.
in the Source form of any Derivative Works that You all copyright
$wgAllowExternalImagesFrom
If the above is false, you can specify an exception here.
$wgStyleVersion
Bump this number when changing the global style sheets and JavaScript.
$wgStatsdMetricPrefix
Prefix for metric names sent to $wgStatsdServer.
$wgResourceLoaderMinifierStatementsOnOwnLine
Put each statement on its own line when minifying JavaScript.
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
$wgQueryPageDefaultLimit
Integer defining default number of entries to show on special pages which are query-pages such as Spe...
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3....
$wgHtml5Version
Defines the value of the version attribute in the <html> tag, if any.
$wgDebugLogGroups
Map of string log group names to log destinations.
$wgUseDatabaseMessages
Translation using MediaWiki: namespace.
$wgLoadScript
The URL path to load.php.
$wgMimeTypeFile
Sets the MIME type definition file to use by MimeMagic.php.
$wgExpensiveParserFunctionLimit
Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
$wgAntivirusSetup
Configuration for different virus scanners.
$wgApiFrameOptions
Disallow framing of API pages directly, by setting the X-Frame-Options header.
$wgObjectCaches
Advanced object cache configuration.
$wgExportAllowHistory
If set to false, disables the full-history option on Special:Export.
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
$wgLogExceptionBacktrace
If true, send the exception backtrace to the error log.
$wgRCFeeds
Recentchanges items are periodically purged; entries older than this many seconds will go.
$wgFetchCommonsDescriptions
Fetch commons image description pages and display them on the local wiki?
$wgMimeDetectorCommand
Sets an external MIME detector program.
$wgFixArabicUnicode
Set this to true to replace Arabic presentation forms with their standard forms in the U+0600-U+06FF ...
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
$wgPasswordReminderResendTime
Minimum time, in hours, which must elapse between password reminder emails for a given account.
float bool $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
$wgImgAuthDetails
Set this to true if you use img_auth and want the user to see details on why access failed.
$wgUseGzip
When using the file cache, we can store the cached HTML gzipped to save disk space.
$wgInvalidRedirectTargets
Array of invalid page redirect targets.
$wgAPIMaxLagThreshold
Maximum amount of DB lag on a majority of DB replica DBs to tolerate before forcing bots to retry any...
$wgUserrightsInterwikiDelimiter
Character used as a delimiter when testing for interwiki userrights (In Special:UserRights,...
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
$wgImplicitGroups
Implicit groups, aren't shown on Special:Listusers or somewhere else.
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
$wgPreviewOnOpenNamespaces
Which namespaces have special treatment where they should be preview-on-open Internally only Category...
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
$wgLogTypes
The logging system has two levels: an event type, which describes the general category and can be vie...
$wgExtendedLoginCookieExpiration
Default login cookie lifetime, in seconds.
$wgPasswordSalt
For compatibility with old installations set to false.
$wgResourceLoaderSources
Extensions should register foreign module sources here.
$wgParserCacheType
The cache type for storing article HTML.
$wgLocalisationCacheConf
Localisation cache configuration.
$wgMaxImageArea
The maximum number of pixels a source image can have if it is to be scaled down by a scaler that requ...
$wgUseCombinedLoginLink
Login / create account link behavior when it's possible for anonymous users to create an account.
$wgUseCopyrightUpload
Set this to true if you want detailed copyright information forms on Upload.
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
$wgUseCategoryBrowser
Use experimental, DMOZ-like category browser.
$wgEnableDnsBlacklist
Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
$wgDefaultSkin
Default skin, for new users and anonymous visitors.
$wgUpdateRowsPerQuery
Number of rows to update per query.
$wgReservedUsernames
Array of usernames which may not be registered or logged in from Maintenance scripts can still use th...
$wgEnableMagicLinks
Enable the magic links feature of automatically turning ISBN xxx, PMID xxx, RFC xxx into links.
and that you know you can do these things To protect your rights
$wgSessionName
Override to customise the session name.
$wgParserTestFiles
Parser test suite files to be run by parserTests.php when no specific filename is passed to it.
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
$wgImportSources
List of interwiki prefixes for wikis we'll accept as sources for Special:Import and API action=import...
$wgCopyUploadProxy
Proxy to use for copy upload requests.
$wgAPIMetaModules
API Query meta module extensions.
$wgFileBackends
File backend structure configuration.
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
$wgDjvuOutputExtension
File extension for the DJVU post processor output.
$wgMemCachedDebug
If enabled, will send MemCached debugging information to $wgDebugLogFile.
$wgNamespaceProtection
Set the minimum permissions required to edit pages in each namespace.
$wgExternalLinkTarget
Set a default target for external links, e.g.
$wgMaxJobDBWriteDuration
Name of the external diff engine to use.
$wgMaxShellTime
Maximum CPU time in seconds for shell processes under Linux.
$wgPageInfoTransclusionLimit
InfoAction retrieves a list of transclusion links (both to and from).
$wgEnableSearchContributorsByIP
If true, searches for IP addresses will be redirected to that IP's contributions page.
$wgDeleteRevisionsLimit
Optional to restrict deletion of pages with higher revision counts to users with the 'bigdelete' perm...
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
$wgUpdateRowsPerJob
Number of rows to update per job.
$wgCommandLineDarkBg
For colorized maintenance script output, is your terminal background dark ?
$wgRCShowWatchingUsers
Show watching users in recent changes, watchlist and page history views.
$wgExtensionCredits
An array of information about installed extensions keyed by their type.
$wgImportTargetNamespace
Optional default target namespace for interwiki imports.
$wgCookieHttpOnly
Set authentication cookies to HttpOnly to prevent access by JavaScript, in browsers that support this...
$wgCompressRevisions
We can also compress text stored in the 'text' table.
$wgExportAllowListContributors
Return distinct author list (when not returning full history)
$wgFeedClasses
Available feeds objects.
$wgAutoConfirmAge
Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group me...
$wgDebugLogFile
Filename for debug logging.
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
$wgEnableUserEmailBlacklist
Set to true to enable user-to-user e-mail blacklist.
$wgDisableLangConversion
Whether to enable language variant conversion.
$wgSearchForwardUrl
Set this to a URL to forward search requests to some external location.
$wgShowDBErrorBacktrace
If true, show a backtrace for database errors.
$wgAPIMaxResultSize
The maximum size (in bytes) of an API result.
$wgCanonicalServer
Canonical URL of the server, to use in IRC feeds and notification e-mails.
$wgMemoryLimit
The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit i...
$wgUniversalEditButton
Enable the UniversalEditButton for browsers that support it (currently only Firefox with an extension...
$wgCacheSharedUploads
Cache shared metadata in memcached.
$wgConfigRegistry
Registry of factory functions to create config objects: The 'main' key must be set,...
$wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
$wgExternalDiffEngine
Name of the external diff engine to use.
$wgValidSkinNames
List of valid skin names.
$wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnai...
</td >< td > &</td >< td > t want your writing to be edited mercilessly and redistributed at will
$wgInterwikiExpiry
Expiry time for cache of interwiki table.
$wgAutopromoteOnceLogInRC
Put user rights log entries for autopromotion in recent changes?
bool $wgPageLanguageUseDB
Enable page language feature Allows setting page language in database.
$wgCachePages
Allow client-side caching of pages.
$wgResourceLoaderLESSVars
Global LESS variables.
$wgTranslateNumerals
For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
$wgAllowUserCssPrefs
Allow user-preferences implemented in CSS? This allows users to customise the site appearance to a gr...
$wgDebugTimestamps
Prefix debug messages with relative timestamp.
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
$wgDBcompress
Whether to use compression in DB connection.
$wgMaxShellFileSize
Maximum file size created by shell processes under linux, in KB ImageMagick convert for example can b...
array $wgRangeContributionsCIDRLimit
Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
$wgAdvancedSearchHighlighting
Set to true to have nicer highlighted text in search results, by default off due to execution overhea...
MediaWiki has optional support for a high performance
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
$wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e.
$wgMsgCacheExpiry
Expiry time for the message cache key.
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
$wgCookieExpiration
Default cookie lifetime, in seconds.
$wgShowRollbackEditCount
The $wgShowRollbackEditCount variable is used to show how many edits can be rolled back.
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
$wgNamespaceAliases
Namespace aliases.
$wgForcedRawSMaxage
Default maximum age for raw CSS/JS accesses.
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
$wgDebugPrintHttpHeaders
Print HTTP headers for every request in the debug information.
$wgTidyConf
The path to the tidy config file.
$wgSlaveLagWarning
If lag is higher than $wgSlaveLagWarning, show a warning in some special pages (like watchlist).
$wgGitBin
Fully specified path to git binary.
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
$wgNoFollowNsExceptions
Namespaces in which $wgNoFollowLinks doesn't apply.
$wgUrlProtocols
URL schemes that should be recognized as valid by wfParseUrl().
$wgLocalTZoffset
Set an offset from UTC in minutes to use for the default timezone setting for anonymous users and new...
$wgExportMaxHistory
If set nonzero, Special:Export requests for history of pages with more revisions than this will be re...
$wgExportFromNamespaces
Whether to allow the "export all pages in namespace" option.
$wgExtensionDirectory
Filesystem extensions directory.
$wgNoFollowLinks
If true, external URL links in wiki text will be given the rel="nofollow" attribute as a hint to sear...
$wgServerName
Server name.
$wgRateLimits
Simple rate limiter options to brake edit floods.
$wgLogoHD
Array with URL paths to HD versions of the wiki logo.
$wgResourceLoaderStorageEnabled
Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the...
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
$wgLogRestrictions
This restricts log access to those who have a certain right Users without this will not see it in the...
$wgMaxRedirectLinksRetrieved
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
$wgCookieDomain
Set to set an explicit domain on the login cookies eg, "justthis.domain.org" or "....
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
$wgLocalInterwikis
Array for multiple $wgLocalInterwiki values, in case there are several interwiki prefixes that point ...
$wgTidyInternal
Set this to true to use the tidy extension.
$wgDeletedDirectory
What directory to place deleted uploads in.
$wgIgnoreImageErrors
If set, inline scaled images will still produce "<img>" tags ready for output instead of showing an e...
$wgSharpenReductionThreshold
Reduction in linear dimensions below which sharpening will be enabled.
$wgSiteSupportPage
If this is set, a "donate" link will appear in the sidebar.
$wgParserOutputHooks
Parser output hooks.
$wgMetaNamespaceTalk
Name of the project talk namespace.
$wgServer
URL of the server.
$wgRevisionCacheExpiry
Revision text may be cached in $wgMemc to reduce load on external storage servers and object extracti...
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
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of either verbatim or with modifications and or translated into another language(Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying
$wgAllowImageMoving
Allows to move images and other media files.
$wgActiveUserDays
How many days user must be idle before he is considered inactive.
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
$wgSummarySpamRegex
Same as the above except for edit summaries.
$wgLanguageCode
Site language code.
$wgEnableParserLimitReporting
Whether to include the NewPP limit report as a HTML comment.
$wgExportMaxLinkDepth
If non-zero, Special:Export accepts a "pagelink-depth" parameter up to this specified level,...
$wgSitename
Name of the site.
$wgReadOnly
Set this to a string to put the wiki into read-only mode.
$wgDevelopmentWarnings
If set to true MediaWiki will throw notices for some possible error conditions and for deprecated fun...
$wgRightsIcon
Override for copyright metadata.
$wgEditSubmitButtonLabelPublish
Whether to label the store-to-database-and-show-to-others button in the editor as "Save page"/"Save c...
$wgFeedDiffCutoff
When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this s...
$wgPasswordAttemptThrottle
Limit password attempts to X attempts per Y seconds per IP per account.
$wgDirectoryMode
Default value for chmoding of new directories.
$wgBlockDisablesLogin
If true, blocked users will not be allowed to login.
$wgRCShowChangedSize
Show the amount of changed characters in recent changes.
$wgUseTidy
Set this to true to use the deprecated tidy configuration parameters.
$wgExtensionFunctions
A list of callback functions which are called once MediaWiki is fully initialised.
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
$wgNamespaceRobotPolicies
Robot policies per namespaces.
$wgLogAutopatrol
Log autopatrol actions to the log table.
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
$wgSearchType
Search type.
$wgAddGroups
$wgAddGroups and $wgRemoveGroups can be used to give finer control over who can assign which groups a...
$wgSearchSuggestCacheExpiry
Expiry time for search suggestion responses.
$wgDisableOutputCompression
Disable output compression (enabled by default if zlib is available)
$wgUploadDirectory
The filesystem path of the images directory.
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
$wgSitemapNamespaces
Array of namespaces to generate a Google sitemap for when the maintenance/generateSitemap....
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
$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...
$wgDBTableOptions
MySQL table options to use during installation or update.
$wgSquidServers
List of proxy servers to purge on changes; default port is 80.
$wgTrivialMimeDetection
Switch for trivial MIME detection.
$wgCustomConvertCommand
Use another resizing converter, e.g.
$wgResourceLoaderMinifierMaxLineLength
Maximum line length when minifying JavaScript.
$wgInvalidUsernameCharacters
Characters to prevent during new account creations.
$wgAutoloadClasses
Array mapping class names to filenames, for autoloading.
$wgFavicon
The URL path of the shortcut icon.
if the prop value should be in the metadata multi language array format
$wgLegacyJavaScriptGlobals
Whether or not to assign configuration variables to the global window object.
$wgLearnerEdits
The following variables define 3 user experience levels:
$wgLogActionsHandlers
The same as above, but here values are names of classes, not messages.
$wgEnableAsyncUploads
Enable deferred upload tasks that use the job queue.
$wgUploadNavigationUrl
Point the upload navigation link to an external URL Useful if you want to use a shared repository by ...
$wgOverrideHostname
Override server hostname detection with a hardcoded value.
$wgResourceBasePath
The default 'remoteBasePath' value for instances of ResourceLoaderFileModule.
$wgShortPagesNamespaceBlacklist
Optional array of namespaces which should be blacklisted from Special:ShortPages Only pages inside $w...
$wgForceUIMsgAsContentMsg
When translating messages with wfMessage(), it is not always clear what should be considered UI messa...
$wgSiteTypes
Register handlers for specific types of sites.
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
$wgContentNamespaces
Array of namespaces which can be deemed to contain valid "content", as far as the site statistics are...
$wgJobClasses
Maps jobs to their handlers; extensions can add to this to provide custom jobs.
$wgEmailConfirmToEdit
Should editors be required to have a validated e-mail address before being allowed to edit?
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i....
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
$wgRunJobsAsync
When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job exec...
$wgMaxShellWallClockTime
Maximum wall clock time (i.e.
$wgCascadingRestrictionLevels
Restriction levels that can be used with cascading protection.
$wgArticlePath
The URL path for primary article page views.
$wgSessionCacheType
The cache type for storing session data.
$wgSquidPurgeUseHostHeader
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServer...
$wgJpegTran
used for lossless jpeg rotation
$wgDisableCookieCheck
By default, MediaWiki checks if the client supports cookies during the login process,...
$wgDisableSearchUpdate
If you've disabled search semi-permanently, this also disables updates to the table.
$wgMWLoggerDefaultSpi
Default service provider for creating Psr\Log\LoggerInterface instances.
$wgTidyOpts
The command line options to the tidy binary.
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
$wgShellCgroup
Under Linux: a cgroup directory used to constrain memory usage of shell commands.
$wgAjaxExportList
List of Ajax-callable functions.
$wgUserEmailConfirmationTokenExpiry
The time, in seconds, when an email confirmation email expires.
$wgGitInfoCacheDirectory
Directory where GitInfo will look for pre-computed cache files.
$wgImageLimits
Limit images on image description pages to a user-selectable limit.
$wgAutoConfirmCount
Number of edits an account requires before it is autoconfirmed.
$wgCentralIdLookupProviders
Central ID lookup providers Key is the provider ID, value is a specification for ObjectFactory.
$wgXhtmlDefaultNamespace
The default xmlns attribute.
$wgActionPaths
To set 'pretty' URL paths for actions other than plain page views, add to this array.
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
$wgBlockCIDRLimit
Limits on the possible sizes of range blocks.
$wgSharedUploadDBname
DB name with metadata about shared directory.
$wgMiserMode
Disable database-intensive features.
$wgGitRepositoryViewers
Map GIT repository URLs to viewer URLs to provide links in Special:Version.
$wgTidyConfig
Configuration for HTML postprocessing tool.
$wgEnableJavaScriptTest
Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit).
$wgPoolCounterConf
Configuration for processing pool control, for use in high-traffic wikis.
$wgResourceLoaderValidateStaticJS
If set to true, statically-sourced (file-backed) JavaScript resources will be parsed for validity bef...
$wgEnotifFromEditor
True: from page editor if s/he opted-in.
$wgSharedUploadDirectory
Path on the file system where shared uploads can be found.
$wgUseTinyRGBForJPGThumbnails
When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and ...
$wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
$wgSemiprotectedRestrictionLevels
Restriction levels that should be considered "semiprotected".
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
$wgCookieSetOnAutoblock
Whether to set a cookie when a user is autoblocked.
$wgRateLimitsExcludedIPs
Array of IPs / CIDR ranges which should be excluded from rate limits.
$wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
$wgReadOnlyFile
If this lock file exists (size > 0), the wiki will be forced into read-only mode.
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
$wgApplyIpBlocksToXff
Whether to look at the X-Forwarded-For header's list of (potentially spoofed) IPs and apply IP blocks...
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
$wgEditPageFrameOptions
The X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages.
$wgGroupPermissions
Permission keys given to users in each group.
$wgEnableWriteAPI
Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised ...
$wgDebugComments
Send debug data to an HTML comment in the output.
$wgExiv2Command
Some tests and extensions use exiv2 to manipulate the Exif metadata in some image formats.
$wgGrammarForms
Some languages need different word forms, usually for different cases.
$wgLocaltimezone
Fake out the timezone that the server thinks it's in.
$wgPagePropLinkInvalidations
Page property link table invalidation lists.
$wgAjaxEditStash
Have clients send edits to be prepared when filling in edit summaries.
$wgHttpsPort
Port where you have HTTPS running Supports HTTPS on non-standard ports.
$wgCleanSignatures
If true, removes (by substituting) templates in signatures.
$wgAllowCategorizedRecentChanges
Enable filtering of categories in Recentchanges.
$wgUsejQueryThree
Use jQuery 3 (with jQuery Migrate) instead of jQuery 1.
CACHE_MEMCACHED $wgMainCacheType
$wgOpenSearchDescriptionLength
Minimum length of extract in .
Value object for representing interwiki records.
$wgShowExceptionDetails
If set to true, uncaught exceptions will print a complete stack trace to output.
$wgThumbUpright
Adjust width of upright images when parameter 'upright' is used This allows a nicer look for upright ...
$wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
$wgExtraGenderNamespaces
Same as above, but for namespaces with gender distinction.
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
$wgInterwikiFallbackSite
Fallback site, if unable to resolve from cache.
int[] $wgReauthenticateTime
Time frame for re-authentication.
$wgCookieSecure
Whether the "secure" flag should be set on the cookie.
$wgSessionProviders
MediaWiki\Session\SessionProvider configuration.
$wgSiteNotice
Site notice shown at the top of each page.
static detectServer()
Work out an appropriate URL prefix containing scheme and host, based on information detected from $_S...
$wgTrackingCategories
Array holding default tracking category names.
$wgShellLocale
Locale for LC_ALL, to provide a known environment for locale-sensitive operations.
$wgRestrictionLevels
Rights which can be required for each protection level (via action=protect)
$wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
$wgEnableUploads
Uploads have to be specially set up to be secure.
$wgRenderHashAppend
Append a configured value to the parser cache and the sitenotice key so that they can be kept separat...
$wgMaxGeneratedPPNodeCount
A complexity limit on template expansion: the maximum number of elements generated by Preprocessor::p...
$wgLearnerMemberSince
Name of the external diff engine to use.
$wgAdvertisedFeedTypes
Which feed types should we provide by default? This can include 'rss', 'atom', neither,...
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
$wgSVGConverters
Scalable Vector Graphics (SVG) may be uploaded as images.
int bool $wgExtensionInfoMTime
When loading extensions through the extension registration system, this can be used to invalidate the...
$wgAllowCopyUploads
Allow for upload to be copied from an URL.
$wgStructuredChangeFiltersShowPreference
Whether a preference is displayed for structured change filters.
$wgTextModelsToParse
Determines which types of text are parsed as wikitext.
$wgAPIPropModules
API Query prop module extensions.
$wgOverrideSiteFeed
Override the site's default RSS/ATOM feed for recentchanges that appears on every page.
$wgSkipSkins
Specify the names of skins that should not be presented in the list of available skins in user prefer...
string $wgPopularPasswordFile
Where popular password file is located.
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
$wgLogNames
Lists the message key string for each log type.
$wgEnotifImpersonal
Send a generic mail instead of a personalised mail for each user.
$wgFileCacheDirectory
Directory where the cached page will be saved.
$wgUploadPath
The URL path for the images 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
$wgMaxTocLevel
Maximum indent level of toc.
$wgMaxRedirects
Max number of redirects to follow when resolving redirects.
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
$wgRestrictionTypes
Set of available actions that can be restricted via action=protect You probably shouldn't change this...
bool $wgSearchRunSuggestedQuery
Controls whether zero-result search queries with suggestions should display results for these suggest...
$wgArticleCountMethod
Method used to determine if a page in a content namespace should be counted as a valid article.
bool $wgEnableBotPasswords
Whether to enable bot passwords.
$wgXhtmlNamespaces
Permit other namespaces in addition to the w3.org default.
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
const CONTENT_MODEL_JAVASCRIPT
$wgMaxSigChars
Maximum number of Unicode characters in signature.
$wgDBuser
Database username.
$wgAuth $wgAuth
Authentication plugin.
$wgDBerrorLogTZ
Timezone to use in the error log.
$wgAllowTitlesInSVG
Disallow <title> element in SVG files.
$wgPasswordPolicy
Password policy for local wiki users.
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
$wgWikiDiff2MovedParagraphDetectionCutoff
wikidiff2 supports detection of changes in moved paragraphs.
$wgDebugDumpSql
Write SQL queries to the debug log.
$wgAllowSlowParserFunctions
Enable slow parser functions.
$wgPagePropsHaveSortkey
Whether the page_props table has a pp_sortkey column.
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
$wgResourceModuleSkinStyles
Skin-specific styles for resource modules.
$wgMinimalPasswordLength
Specifies the minimal length of a user password.
$wgGroupsAddToSelf
A map of group names that the user is in, to group names that those users are allowed to add or revok...
$wgRCFilterByAge
Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be store...
$wgSpecialPages
Special page list.
$wgDebugToolbar
Display the new debugging toolbar.
$wgAntivirus
Internal name of virus scanner.
$wgDisableQueryPageUpdate
Set this to an array of special page names to prevent maintenance/updateSpecialPages....
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
$wgEnableAPI
Enable the MediaWiki API for convenient access to machine-readable data via api.php.
$wgHKDFSecret
Secret for hmac-based key derivation function (fast, cryptographically secure random numbers).
$wgHTTPImportTimeout
Timeout for HTTP requests done internally for transwiki imports, in seconds.
$wgRestrictDisplayTitle
For consistency, restrict DISPLAYTITLE to text that normalizes to the same canonical DB key.
$wgAutoloadAttemptLowercase
Switch controlling legacy case-insensitive classloading.
$wgPasswordSender
Sender email address for e-mail notifications.
$wgTidyBin
The path to the tidy binary.
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
$wgAllowDisplayTitle
Allow DISPLAYTITLE to change title display.
$wgUseSiteCss
Use the site's Cascading Style Sheets (CSS)?
$wgExtraLanguageCodes
List of mappings from one language code to another.
$wgAPIFormatModules
API format module extensions.
$wgUseESI
If you run Squid3 with ESI support, enable this (default:false):
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
$wgSecretKey
This should always be customised in LocalSettings.php.
$wgScriptPath
The path we should point to.
$wgNamespacesWithSubpages
Which namespaces should support subpages? See Language.php for a list of namespaces.
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
$wgPasswordConfig
Configuration for built-in password types.
$wgDBadminpassword
Separate password for maintenance tasks.
$wgUseAjax
Enable AJAX framework.
$wgDBssl
Whether to use SSL in DB connection.
$wgWatchersMaxAge
Page watchers inactive for more than this many seconds are considered inactive.
$wgVariantArticlePath
Like $wgArticlePath, but on multi-variant wikis, this provides a path format that describes which par...
$wgMaxShellMemory
Maximum amount of virtual memory available to shell processes under linux, in KB.
$wgResourceLoaderDebug
The default debug mode (on/off) for of ResourceLoader requests.
$wgUseImageResize
Whether to enable server-side image thumbnailing.
$wgAccountCreationThrottle
Number of accounts each IP address may create per specified period(s).
$wgEnotifMaxRecips
Maximum number of users to mail at once when using impersonal mail.
$wgUploadThumbnailRenderMethod
The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRend...
$wgStructuredChangeFiltersOnWatchlist
Whether to enable RCFilters app on Special:Watchlist.
$wgLocalStylePath
The URL path of the skins directory.
$wgSpecialVersionShowHooks
Show the contents of $wgHooks in Special:Version.
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
$wgShowEXIF
Show Exif data, on by default if available.
$wgMaxPPNodeCount
A complexity limit on template expansion: the maximum number of nodes visited by PPFrame::expand()
$wgSecureLogin
This is to let user authenticate using https when they come from http.
$wgCookiePrefix
Cookies generated by MediaWiki have names starting with this prefix.
$wgValidateAllHtml
Validate the overall output using tidy and refuse to display the page if it's not valid.
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
$wgAPIMaxDBRows
Maximum amount of rows to scan in a DB query in the API The default value is generally fine.
$wgMainStash
Main object stash type.
$wgStyleDirectory
Filesystem stylesheets directory.
$wgUpgradeKey
When you run the web-based upgrade utility, it will tell you what to set this to in order to authoriz...
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
$wgScriptExtension
The extension to append to script names by default.
$wgSessionSecret
Secret for session storage.
$wgDefaultRobotPolicy
Default robot policy.
$wgAllowUserJs
Allow user Javascript page? This enables a lot of neat customizations, but may increase security risk...
$wgUnwatchedPageThreshold
If set to an integer, pages that are watched by this many users or more will not require the unwatche...
$wgTrxProfilerLimits
Performance expectations for DB usage.
$wgExtraNamespaces
Additional namespaces.
$wgUploadThumbnailRenderHttpCustomDomain
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HTT...
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
$wgCategoryPagingLimit
Paging limit for categories.
$wgNewUserLog
Maintain a log of newusers at Log/newusers?
$wgNamespacesToBeSearchedDefault
List of namespaces which are searched by default.
$wgUsePigLatinVariant
Whether to enable the pig latin variant of English (en-x-piglatin), used to ease variant development ...
$wgMainWANCache
Main Wide-Area-Network cache type.
$wgGalleryOptions
Parameters for the "<gallery>" tag.
$wgAutopromoteOnce
Automatically add a usergroup to any user who matches certain conditions.
$wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
$wgCdnReboundPurgeDelay
If set, any SquidPurge call on a URL or URLs will send a second purge no less than this many seconds ...
$wgEnableAutoRotation
If set to true, images that contain certain the exif orientation tag will be rotated accordingly.
array $wgVirtualRestConfig
Global configuration variable for Virtual REST Services.
$wgCheckFileExtensions
This is a flag to determine whether or not to check file extensions on upload.
$wgAllUnicodeFixes
Set this to always convert certain Unicode sequences to modern ones regardless of the content languag...
$wgInternalServer
Internal server name as known to CDN, if different.
$wgDisableAnonTalk
Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history,...
$wgSquidMaxage
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
$wgInterwikiPrefixDisplayTypes
Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwik...
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
$wgStatsdServer
Destination of statsd metrics.
$wgCountCategorizedImagesAsUsed
On Special:Unusedimages, consider images "used", if they are put into a category.
$wgDummyLanguageCodes
Functionally the same as $wgExtraLanguageCodes, but deprecated.
the array() calling protocol came about after MediaWiki 1.4rc1.
$wgPasswordExpirationDays
The number of days that a user's password is good for.
$wgRCWatchCategoryMembership
Treat category membership changes as a RecentChange.
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
$wgFeed
Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages.
$wgAsyncHTTPTimeout
Timeout for Asynchronous (background) HTTP requests, in seconds.
$wgRightsUrl
Set this to specify an external URL containing details about the content license used on your wiki.
$wgAllowExternalImages
Whether to allow inline image pointing to other websites.
$wgUsePathInfo
Whether to support URLs like index.php/Page_title These often break when PHP is set up in CGI mode.
$wgImageMagickTempDir
Temporary directory used for ImageMagick.
$wgSQLMode
SQL Mode - default is turning off all modes, including strict, if set.
$wgEnableImageWhitelist
If $wgAllowExternalImages is false, you can allow an on-wiki whitelist of regular expression fragment...
$wgExportPagelistLimit
Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
$wgSharedThumbnailScriptPath
$wgSpamRegex
Edits matching these regular expressions in body text will be recognised as spam and rejected automat...
$wgOpenSearchDefaultLimit
Integer defining default number of entries to show on OpenSearch call.
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.
$wgAllowSpecialInclusion
Allow special page inclusions such as {{Special:Allpages}}.