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' =>
'',
873 # HTML may contain cookie-stealing JavaScript and web bugs
874 'html',
'htm',
'js',
'jsb',
'mhtml',
'mht',
'xhtml',
'xht',
875 # PHP scripts may execute arbitrary code on the server
876 'php',
'phtml',
'php3',
'php4',
'php5',
'phps',
877 # Other types that may be interpreted by some servers
878 'shtml',
'jhtml',
'pl',
'py',
'cgi',
879 # May contain harmful executables for Windows victims
880 'exe',
'scr',
'dll',
'msi',
'vbs',
'bat',
'com',
'pif',
'cmd',
'vxd',
'cpl' ];
887 # HTML may contain cookie-stealing JavaScript and web bugs
888 'text/html',
'text/javascript',
'text/x-javascript',
'application/x-shellscript',
889 # PHP scripts may execute arbitrary code on the server
890 'application/x-php',
'text/x-php',
891 # Other types that may be interpreted by some servers
892 'text/x-python',
'text/x-perl',
'text/x-bash',
'text/x-sh',
'text/x-csh',
893 # Client-side hazards on Internet Explorer
894 'text/scriptlet',
'application/x-msdownload',
895 # Windows metafile, client-side vulnerability on some systems
896 'application/x-msmetafile',
950 # "application/x-shockwave-flash", //flash/shockwave movie
1092 '$path/convert -background "#ffffff00" -thumbnail $widthx$height\! $input PNG:$output',
1093 'sodipodi' =>
'$path/sodipodi -z -w $width -f $input -e $output',
1094 'inkscape' =>
'$path/inkscape -z -w $width -f $input -e $output',
1095 'batik' =>
'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
1097 'rsvg' =>
'$path/rsvg-convert -w $width -h $height -o $output $input',
1098 'imgserv' =>
'$path/imgserv-wrapper -i svg -o png -w$width $input $output',
1099 'ImagickExt' => [
'SvgHandler::rasterizeImagickExt' ],
1269 'command' =>
'clamscan --no-summary ',
1276 'messagepattern' =>
'/.*?:(.*)/sim',
1328 'http://www.w3.org/2000/svg:svg' =>
'image/svg+xml',
1329 'svg' =>
'image/svg+xml',
1330 'http://www.lysator.liu.se/~alla/dia/:diagram' =>
'application/x-dia-diagram',
1331 'http://www.w3.org/1999/xhtml:html' =>
'text/html',
1332 'html' =>
'text/html',
1446 'imagesPerRow' => 0,
1448 'imageWidth' => 120,
1450 'imageHeight' => 120,
1455 'captionLength' =>
true,
1457 'showBytes' =>
true,
1458 'mode' =>
'traditional',
1667 # If set to true, users get a corresponding option in their preferences and can choose to
1668 # enable or disable at their discretion
1669 # If set to false, the corresponding input form on the user preference page is suppressed
1670 # It call this to be a "user-preferences-option (UPO)"
2273 CACHE_NONE => [
'class' =>
'EmptyBagOStuff',
'reportDupes' =>
false ],
2274 CACHE_DB => [
'class' =>
'SqlBagOStuff',
'loggroup' =>
'SQLBagOStuff' ],
2277 CACHE_ACCEL => [
'factory' =>
'ObjectCache::getLocalServerInstance' ],
2278 CACHE_MEMCACHED => [
'class' =>
'MemcachedPhpBagOStuff',
'loggroup' =>
'memcached' ],
2280 'db-replicated' => [
2281 'class' =>
'ReplicatedBagOStuff',
2283 'class' =>
'SqlBagOStuff',
2284 'args' => [ [
'slaveOnly' =>
true ] ]
2287 'class' =>
'SqlBagOStuff',
2288 'args' => [ [
'slaveOnly' =>
false ] ]
2290 'loggroup' =>
'SQLBagOStuff',
2291 'reportDupes' =>
false
2294 'apc' => [
'class' =>
'APCBagOStuff',
'reportDupes' =>
false ],
2295 'apcu' => [
'class' =>
'APCUBagOStuff',
'reportDupes' =>
false ],
2296 'xcache' => [
'class' =>
'XCacheBagOStuff',
'reportDupes' =>
false ],
2297 'wincache' => [
'class' =>
'WinCacheBagOStuff',
'reportDupes' =>
false ],
2298 'memcached-php' => [
'class' =>
'MemcachedPhpBagOStuff',
'loggroup' =>
'memcached' ],
2299 'memcached-pecl' => [
'class' =>
'MemcachedPeclBagOStuff',
'loggroup' =>
'memcached' ],
2300 'hash' => [
'class' =>
'HashBagOStuff',
'reportDupes' =>
false ],
2337 'class' =>
'WANObjectCache',
2490 'class' =>
'LocalisationCache',
2491 'store' =>
'detect',
2492 'storeClass' =>
false,
2493 'storeDirectory' =>
false,
2494 'manualRecache' =>
false,
2965 $wgBrowserBlackList = [
2976 '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2977 '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2978 '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
2993 '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
2999 '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
3014 $wgLegacySchemaConversion =
false;
3020 $wgAmericanDates =
false;
3026 $wgTranslateNumerals =
true;
3032 $wgUseDatabaseMessages =
true;
3037 $wgMsgCacheExpiry = 86400;
3042 $wgMaxMsgCacheEntrySize = 10000;
3047 $wgDisableLangConversion =
false;
3052 $wgDisableTitleConversion =
false;
3057 $wgDefaultLanguageVariant =
false;
3068 $wgDisabledVariants = [];
3087 $wgVariantArticlePath =
false;
3094 $wgLoginLanguageSelector =
false;
3115 $wgForceUIMsgAsContentMsg = [];
3140 $wgLocaltimezone =
null;
3151 $wgLocalTZoffset =
null;
3163 $wgMimeType =
'text/html';
3200 $wgHtml5Version =
null;
3209 $wgHTMLFormAllowTableFormat =
true;
3217 $wgUseMediaWikiUIEverywhere =
false;
3225 $wgOOUIEditPage =
true;
3234 $wgEditSubmitButtonLabelPublish =
false;
3250 $wgXhtmlNamespaces = [];
3264 $wgSiteSupportPage =
'';
3270 $wgValidateAllHtml =
false;
3276 $wgDefaultSkin =
'vector';
3283 $wgFallbackSkin =
'fallback';
3302 $wgAllowUserJs =
false;
3309 $wgAllowUserCss =
false;
3316 $wgAllowUserCssPrefs =
true;
3321 $wgUseSiteJs =
true;
3326 $wgUseSiteCss =
true;
3332 $wgBreakFrames =
false;
3353 $wgEditPageFrameOptions =
'DENY';
3365 $wgApiFrameOptions =
'DENY';
3370 $wgDisableOutputCompression =
false;
3381 $wgExperimentalHtmlIds =
false;
3423 "url" =>
"//www.mediawiki.org/",
3424 "alt" =>
"Powered by MediaWiki",
3435 $wgUseCombinedLoginLink =
false;
3440 $wgEdititis =
false;
3453 $wgSend404Code =
true;
3464 $wgShowRollbackEditCount = 10;
3472 $wgEnableCanonicalServerLink =
false;
3482 $wgMangleFlashPolicy =
true;
3508 $wgResourceModules = [];
3598 $wgResourceModuleSkinStyles = [];
3610 $wgResourceLoaderSources = [];
3616 $wgResourceBasePath =
null;
3634 $wgResourceLoaderMaxage = [
3636 'server' => 30 * 24 * 60 * 60,
3637 'client' => 30 * 24 * 60 * 60,
3650 $wgResourceLoaderDebug =
false;
3658 $wgResourceLoaderMinifierStatementsOnOwnLine =
false;
3667 $wgResourceLoaderMinifierMaxLineLength = 1000;
3674 $wgIncludeLegacyJavaScript =
false;
3684 $wgUsejQueryThree =
false;
3711 $wgLegacyJavaScriptGlobals =
true;
3726 $wgResourceLoaderMaxQueryLength =
false;
3735 $wgResourceLoaderValidateJS =
true;
3745 $wgResourceLoaderValidateStaticJS =
false;
3770 $wgResourceLoaderLESSVars = [
3777 'deviceWidthTablet' =>
'720px',
3793 $wgResourceLoaderLESSImportPaths = [
3794 "$IP/resources/src/mediawiki.less/",
3801 $wgResourceLoaderStorageEnabled =
true;
3809 $wgResourceLoaderStorageVersion = 1;
3822 $wgAllowSiteCSSOnRestrictedPages =
false;
3835 $wgMetaNamespace =
false;
3844 $wgMetaNamespaceTalk =
false;
3872 $wgExtraNamespaces = [];
3880 $wgExtraGenderNamespaces = [];
3929 $wgLegalTitleChars =
" %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
3936 $wgLocalInterwiki =
false;
3946 $wgLocalInterwikis = [];
3951 $wgInterwikiExpiry = 10800;
3976 $wgInterwikiCache =
false;
3984 $wgInterwikiScopes = 3;
3989 $wgInterwikiFallbackSite =
'wiki';
4001 $wgSitesCacheFile =
false;
4020 $wgRedirectSources =
false;
4029 $wgCapitalLinks =
true;
4045 $wgCapitalLinkOverrides = [];
4051 $wgNamespacesWithSubpages = [
4082 $wgTrackingCategories = [];
4090 $wgContentNamespaces = [
NS_MAIN ];
4099 $wgExtraSignatureNamespaces = [];
4106 $wgMaxRedirects = 1;
4118 $wgInvalidRedirectTargets = [
'Filepath',
'Mypage',
'Mytalk',
'Redirect' ];
4150 'class' =>
'Parser',
4151 # 'preprocessorClass' => 'Preprocessor_Hash',
4157 $wgMaxTocLevel = 999;
4163 $wgMaxPPNodeCount = 1000000;
4174 $wgMaxGeneratedPPNodeCount = 1000000;
4182 $wgMaxTemplateDepth = 40;
4187 $wgMaxPPExpandDepth = 40;
4200 'bitcoin:',
'ftp://',
'ftps://',
'geo:',
'git://',
'gopher://',
'http://',
4201 'https://',
'irc://',
'ircs://',
'magnet:',
'mailto:',
'mms://',
'news:',
4202 'nntp://',
'redis://',
'sftp://',
'sip:',
'sips:',
'sms:',
'ssh://',
4203 'svn://',
'tel:',
'telnet://',
'urn:',
'worldwind://',
'xmpp:',
'//'
4209 $wgCleanSignatures =
true;
4214 $wgAllowExternalImages =
false;
4228 $wgAllowExternalImagesFrom =
'';
4239 $wgEnableImageWhitelist =
true;
4249 $wgAllowImageTag =
false;
4275 $wgTidyConfig =
null;
4287 $wgTidyBin =
'tidy';
4293 $wgTidyConf =
$IP .
'/includes/tidy/tidy.conf';
4305 $wgTidyInternal = extension_loaded(
'tidy' );
4311 $wgDebugTidy =
false;
4329 $wgExternalLinkTarget =
false;
4337 $wgNoFollowLinks =
true;
4343 $wgNoFollowNsExceptions = [];
4358 $wgNoFollowDomainExceptions = [
'mediawiki.org' ];
4363 $wgAllowDisplayTitle =
true;
4370 $wgRestrictDisplayTitle =
true;
4376 $wgExpensiveParserFunctionLimit = 100;
4382 $wgPreprocessorCacheThreshold = 1000;
4387 $wgEnableScaryTranscluding =
false;
4393 $wgTranscludeCacheExpiry = 3600;
4401 $wgEnableMagicLinks = [
4431 $wgArticleCountMethod =
'link';
4440 $wgActiveUserDays = 30;
4441 # End
of statistics }
4454 $wgCentralIdLookupProviders = [
4455 'local' => [
'class' =>
'LocalIdLookup' ],
4462 $wgCentralIdLookupProvider =
'local';
4487 $wgPasswordPolicy = [
4490 'MinimalPasswordLength' => 8,
4491 'MinimumPasswordLengthToLogin' => 1,
4492 'PasswordCannotMatchUsername' =>
true,
4493 'PasswordCannotBePopular' => 25,
4496 'MinimalPasswordLength' => 8,
4497 'MinimumPasswordLengthToLogin' => 1,
4498 'PasswordCannotMatchUsername' =>
true,
4499 'PasswordCannotBePopular' => 25,
4502 'MinimalPasswordLength' => 8,
4503 'MinimumPasswordLengthToLogin' => 1,
4504 'PasswordCannotMatchUsername' =>
true,
4507 'MinimalPasswordLength' => 1,
4508 'PasswordCannotMatchUsername' =>
true,
4509 'PasswordCannotMatchBlacklist' =>
true,
4510 'MaximalPasswordLength' => 4096,
4514 'MinimalPasswordLength' =>
'PasswordPolicyChecks::checkMinimalPasswordLength',
4515 'MinimumPasswordLengthToLogin' =>
'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
4516 'PasswordCannotMatchUsername' =>
'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
4517 'PasswordCannotMatchBlacklist' =>
'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
4518 'MaximalPasswordLength' =>
'PasswordPolicyChecks::checkMaximalPasswordLength',
4519 'PasswordCannotBePopular' =>
'PasswordPolicyChecks::checkPopularPasswordBlacklist'
4542 $wgAuthManagerConfig =
null;
4548 $wgAuthManagerAutoConfig = [
4571 'authoritative' =>
false,
4582 'authoritative' =>
true,
4587 'secondaryauth' => [
4646 $wgReauthenticateTime = [
4665 $wgAllowSecuritySensitiveOperationIfCannotReauthenticate = [
4678 $wgChangeCredentialsBlacklist = [
4691 $wgRemoveCredentialsBlacklist = [
4699 $wgPasswordSalt =
true;
4706 $wgMinimalPasswordLength =
false;
4719 $wgMaximalPasswordLength =
false;
4726 $wgInvalidPasswordReset =
true;
4733 $wgPasswordDefault =
'pbkdf2';
4754 $wgPasswordConfig = [
4756 'class' =>
'MWOldPassword',
4759 'class' =>
'MWSaltedPassword',
4761 'pbkdf2-legacyA' => [
4762 'class' =>
'LayeredParameterizedPassword',
4768 'pbkdf2-legacyB' => [
4769 'class' =>
'LayeredParameterizedPassword',
4776 'class' =>
'BcryptPassword',
4780 'class' =>
'Pbkdf2Password',
4793 $wgPasswordResetRoutes = [
4801 $wgMaxSigChars = 255;
4807 $wgMaxNameChars = 255;
4813 $wgReservedUsernames = [
4814 'MediaWiki default',
4815 'Conversion script',
4816 'Maintenance script',
4817 'Template namespace initialisation script',
4820 'msg:double-redirect-fixer',
4821 'msg:usermessage-editor',
4823 'msg:spambot_username',
4824 'msg:autochange-username',
4834 'ccmeonemails' => 0,
4836 'date' =>
'default',
4839 'editfont' =>
'default',
4840 'editondblclick' => 0,
4841 'editsectiononrightclick' => 0,
4842 'enotifminoredits' => 0,
4843 'enotifrevealaddr' => 0,
4844 'enotifusertalkpages' => 1,
4845 'enotifwatchlistpages' => 1,
4846 'extendwatchlist' => 1,
4848 'forceeditsummary' => 0,
4849 'gender' =>
'unknown',
4851 'hidepatrolled' => 0,
4852 'hidecategorization' => 1,
4855 'minordefault' => 0,
4856 'newpageshidepatrolled' => 0,
4858 'norollbackdiff' => 0,
4859 'numberheadings' => 0,
4860 'previewonfirst' => 0,
4861 'previewontop' => 1,
4863 'rcenhancedfilters' => 0,
4866 'showhiddencats' => 0,
4867 'shownumberswatching' => 1,
4870 'stubthreshold' => 0,
4873 'uselivepreview' => 0,
4875 'watchcreations' => 1,
4876 'watchdefault' => 1,
4877 'watchdeletion' => 0,
4878 'watchuploads' => 1,
4879 'watchlistdays' => 3.0,
4880 'watchlisthideanons' => 0,
4881 'watchlisthidebots' => 0,
4882 'watchlisthideliu' => 0,
4883 'watchlisthideminor' => 0,
4884 'watchlisthideown' => 0,
4885 'watchlisthidepatrolled' => 0,
4886 'watchlisthidecategorization' => 1,
4887 'watchlistreloadautomatically' => 0,
4889 'watchrollback' => 0,
4891 'useeditwarning' => 1,
4892 'prefershttps' => 1,
4898 $wgHiddenPrefs = [];
4905 $wgInvalidUsernameCharacters =
'@:';
4916 $wgUserrightsInterwikiDelimiter =
'@';
4924 $wgSecureLogin =
false;
4936 $wgAuthenticationTokenVersion =
null;
4946 $wgSessionProviders = [
4951 'callUserSetCookiesHook' =>
true,
4961 # end
user accounts }
4972 $wgAutoblockExpiry = 86400;
4977 $wgBlockAllowsUTEdit =
true;
4982 $wgSysopEmailBans =
true;
4998 $wgBlockCIDRLimit = [
5010 $wgBlockDisablesLogin =
false;
5029 $wgWhitelistRead =
false;
5057 $wgWhitelistReadRegexp =
false;
5063 $wgEmailConfirmToEdit =
false;
5069 $wgHideIdentifiableRedirects =
true;
5095 $wgGroupPermissions = [];
5099 $wgGroupPermissions[
'*'][
'createaccount'] =
true;
5100 $wgGroupPermissions[
'*'][
'read'] =
true;
5101 $wgGroupPermissions[
'*'][
'edit'] =
true;
5102 $wgGroupPermissions[
'*'][
'createpage'] =
true;
5103 $wgGroupPermissions[
'*'][
'createtalk'] =
true;
5104 $wgGroupPermissions[
'*'][
'writeapi'] =
true;
5105 $wgGroupPermissions[
'*'][
'editmyusercss'] =
true;
5106 $wgGroupPermissions[
'*'][
'editmyuserjs'] =
true;
5107 $wgGroupPermissions[
'*'][
'viewmywatchlist'] =
true;
5108 $wgGroupPermissions[
'*'][
'editmywatchlist'] =
true;
5109 $wgGroupPermissions[
'*'][
'viewmyprivateinfo'] =
true;
5110 $wgGroupPermissions[
'*'][
'editmyprivateinfo'] =
true;
5111 $wgGroupPermissions[
'*'][
'editmyoptions'] =
true;
5112 # $wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
5115 $wgGroupPermissions[
'user'][
'move'] =
true;
5116 $wgGroupPermissions[
'user'][
'move-subpages'] =
true;
5117 $wgGroupPermissions[
'user'][
'move-rootuserpages'] =
true;
5118 $wgGroupPermissions[
'user'][
'move-categorypages'] =
true;
5119 $wgGroupPermissions[
'user'][
'movefile'] =
true;
5120 $wgGroupPermissions[
'user'][
'read'] =
true;
5121 $wgGroupPermissions[
'user'][
'edit'] =
true;
5122 $wgGroupPermissions[
'user'][
'createpage'] =
true;
5123 $wgGroupPermissions[
'user'][
'createtalk'] =
true;
5124 $wgGroupPermissions[
'user'][
'writeapi'] =
true;
5125 $wgGroupPermissions[
'user'][
'upload'] =
true;
5126 $wgGroupPermissions[
'user'][
'reupload'] =
true;
5127 $wgGroupPermissions[
'user'][
'reupload-shared'] =
true;
5128 $wgGroupPermissions[
'user'][
'minoredit'] =
true;
5129 $wgGroupPermissions[
'user'][
'purge'] =
true;
5130 $wgGroupPermissions[
'user'][
'sendemail'] =
true;
5131 $wgGroupPermissions[
'user'][
'applychangetags'] =
true;
5132 $wgGroupPermissions[
'user'][
'changetags'] =
true;
5133 $wgGroupPermissions[
'user'][
'editcontentmodel'] =
true;
5136 $wgGroupPermissions[
'autoconfirmed'][
'autoconfirmed'] =
true;
5137 $wgGroupPermissions[
'autoconfirmed'][
'editsemiprotected'] =
true;
5141 $wgGroupPermissions[
'bot'][
'bot'] =
true;
5142 $wgGroupPermissions[
'bot'][
'autoconfirmed'] =
true;
5143 $wgGroupPermissions[
'bot'][
'editsemiprotected'] =
true;
5144 $wgGroupPermissions[
'bot'][
'nominornewtalk'] =
true;
5145 $wgGroupPermissions[
'bot'][
'autopatrol'] =
true;
5146 $wgGroupPermissions[
'bot'][
'suppressredirect'] =
true;
5147 $wgGroupPermissions[
'bot'][
'apihighlimits'] =
true;
5148 $wgGroupPermissions[
'bot'][
'writeapi'] =
true;
5151 $wgGroupPermissions[
'sysop'][
'block'] =
true;
5152 $wgGroupPermissions[
'sysop'][
'createaccount'] =
true;
5153 $wgGroupPermissions[
'sysop'][
'delete'] =
true;
5155 $wgGroupPermissions[
'sysop'][
'bigdelete'] =
true;
5157 $wgGroupPermissions[
'sysop'][
'deletedhistory'] =
true;
5159 $wgGroupPermissions[
'sysop'][
'deletedtext'] =
true;
5160 $wgGroupPermissions[
'sysop'][
'undelete'] =
true;
5161 $wgGroupPermissions[
'sysop'][
'editinterface'] =
true;
5162 $wgGroupPermissions[
'sysop'][
'editusercss'] =
true;
5163 $wgGroupPermissions[
'sysop'][
'edituserjs'] =
true;
5164 $wgGroupPermissions[
'sysop'][
'import'] =
true;
5165 $wgGroupPermissions[
'sysop'][
'importupload'] =
true;
5166 $wgGroupPermissions[
'sysop'][
'move'] =
true;
5167 $wgGroupPermissions[
'sysop'][
'move-subpages'] =
true;
5168 $wgGroupPermissions[
'sysop'][
'move-rootuserpages'] =
true;
5169 $wgGroupPermissions[
'sysop'][
'move-categorypages'] =
true;
5170 $wgGroupPermissions[
'sysop'][
'patrol'] =
true;
5171 $wgGroupPermissions[
'sysop'][
'autopatrol'] =
true;
5172 $wgGroupPermissions[
'sysop'][
'protect'] =
true;
5173 $wgGroupPermissions[
'sysop'][
'editprotected'] =
true;
5174 $wgGroupPermissions[
'sysop'][
'rollback'] =
true;
5175 $wgGroupPermissions[
'sysop'][
'upload'] =
true;
5176 $wgGroupPermissions[
'sysop'][
'reupload'] =
true;
5177 $wgGroupPermissions[
'sysop'][
'reupload-shared'] =
true;
5178 $wgGroupPermissions[
'sysop'][
'unwatchedpages'] =
true;
5179 $wgGroupPermissions[
'sysop'][
'autoconfirmed'] =
true;
5180 $wgGroupPermissions[
'sysop'][
'editsemiprotected'] =
true;
5181 $wgGroupPermissions[
'sysop'][
'ipblock-exempt'] =
true;
5182 $wgGroupPermissions[
'sysop'][
'blockemail'] =
true;
5183 $wgGroupPermissions[
'sysop'][
'markbotedits'] =
true;
5184 $wgGroupPermissions[
'sysop'][
'apihighlimits'] =
true;
5185 $wgGroupPermissions[
'sysop'][
'browsearchive'] =
true;
5186 $wgGroupPermissions[
'sysop'][
'noratelimit'] =
true;
5187 $wgGroupPermissions[
'sysop'][
'movefile'] =
true;
5188 $wgGroupPermissions[
'sysop'][
'unblockself'] =
true;
5189 $wgGroupPermissions[
'sysop'][
'suppressredirect'] =
true;
5190 # $wgGroupPermissions['sysop']['pagelang'] = true;
5191 # $wgGroupPermissions['sysop']['upload_by_url'] = true;
5192 $wgGroupPermissions[
'sysop'][
'mergehistory'] =
true;
5193 $wgGroupPermissions[
'sysop'][
'managechangetags'] =
true;
5194 $wgGroupPermissions[
'sysop'][
'deletechangetags'] =
true;
5197 $wgGroupPermissions[
'bureaucrat'][
'userrights'] =
true;
5198 $wgGroupPermissions[
'bureaucrat'][
'noratelimit'] =
true;
5200 # $wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
5202 # $wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
5204 # $wgGroupPermissions['sysop']['deletelogentry'] = true;
5205 # $wgGroupPermissions['sysop']['deleterevision'] = true;
5207 # $wgGroupPermissions['suppress']['hideuser'] = true;
5209 # $wgGroupPermissions['suppress']['suppressrevision'] = true;
5211 # $wgGroupPermissions['suppress']['viewsuppressed'] = true;
5213 # $wgGroupPermissions['suppress']['suppressionlog'] = true;
5221 # $wgGroupPermissions['developer']['siteadmin'] = true;
5234 $wgRevokePermissions = [];
5239 $wgImplicitGroups = [
'*',
'user',
'autoconfirmed' ];
5262 $wgGroupsAddToSelf = [];
5267 $wgGroupsRemoveFromSelf = [];
5276 $wgRestrictionTypes = [
'create',
'edit',
'move',
'upload' ];
5289 $wgRestrictionLevels = [
'',
'autoconfirmed',
'sysop' ];
5300 $wgCascadingRestrictionLevels = [
'sysop' ];
5314 $wgSemiprotectedRestrictionLevels = [
'autoconfirmed' ];
5334 $wgNonincludableNamespaces = [];
5356 $wgAutoConfirmAge = 0;
5367 $wgAutoConfirmCount = 0;
5427 'autoconfirmed' => [
'&',
5451 $wgAutopromoteOnce = [
5459 $wgAutopromoteOnceLogInRC =
true;
5488 $wgRemoveGroups = [];
5494 $wgAvailableRights = [];
5500 $wgDeleteRevisionsLimit = 0;
5509 $wgHideUserContribLimit = 1000;
5532 $wgAccountCreationThrottle = [ [
5553 $wgSummarySpamRegex = [];
5560 $wgEnableDnsBlacklist =
false;
5585 $wgDnsBlacklistUrls = [
'http.dnsbl.sorbs.net.' ];
5591 $wgProxyWhitelist = [];
5600 $wgSoftBlockRanges = [];
5607 $wgApplyIpBlocksToXff =
false;
5648 'newbie' => [ 8, 60 ],
5652 'newbie' => [ 2, 120 ],
5653 'user' => [ 8, 60 ],
5658 'newbie' => [ 8, 60 ],
5662 'user' => [ 10, 60 ],
5663 'newbie' => [ 5, 120 ]
5667 'ip' => [ 5, 3600 ],
5671 'ip' => [ 5, 86400 ],
5672 'newbie' => [ 5, 86400 ],
5673 'user' => [ 20, 86400 ],
5678 'user' => [ 30, 60 ],
5683 'user' => [ 30, 60 ],
5687 'ip' => [ 700, 30 ],
5688 'user' => [ 700, 30 ],
5691 'renderfile-nonstandard' => [
5693 'user' => [ 70, 30 ],
5698 'newbie' => [ 30, 60 ],
5703 'newbie' => [ 8, 60 ],
5706 'editcontentmodel' => [
5707 'newbie' => [ 2, 120 ],
5708 'user' => [ 8, 60 ],
5716 $wgRateLimitsExcludedIPs = [];
5723 $wgPutIPinRC =
true;
5729 $wgQueryPageDefaultLimit = 50;
5743 $wgPasswordAttemptThrottle = [
5745 [
'count' => 5,
'seconds' => 300 ],
5749 [
'count' => 150,
'seconds' => 60*60*48 ],
5762 $wgGrantPermissions = [];
5767 $wgGrantPermissions[
'basic'][
'autoconfirmed'] =
true;
5768 $wgGrantPermissions[
'basic'][
'autopatrol'] =
true;
5769 $wgGrantPermissions[
'basic'][
'editsemiprotected'] =
true;
5770 $wgGrantPermissions[
'basic'][
'ipblock-exempt'] =
true;
5771 $wgGrantPermissions[
'basic'][
'nominornewtalk'] =
true;
5772 $wgGrantPermissions[
'basic'][
'patrolmarks'] =
true;
5773 $wgGrantPermissions[
'basic'][
'purge'] =
true;
5774 $wgGrantPermissions[
'basic'][
'read'] =
true;
5775 $wgGrantPermissions[
'basic'][
'skipcaptcha'] =
true;
5776 $wgGrantPermissions[
'basic'][
'writeapi'] =
true;
5778 $wgGrantPermissions[
'highvolume'][
'bot'] =
true;
5779 $wgGrantPermissions[
'highvolume'][
'apihighlimits'] =
true;
5780 $wgGrantPermissions[
'highvolume'][
'noratelimit'] =
true;
5781 $wgGrantPermissions[
'highvolume'][
'markbotedits'] =
true;
5783 $wgGrantPermissions[
'editpage'][
'edit'] =
true;
5784 $wgGrantPermissions[
'editpage'][
'minoredit'] =
true;
5785 $wgGrantPermissions[
'editpage'][
'applychangetags'] =
true;
5786 $wgGrantPermissions[
'editpage'][
'changetags'] =
true;
5788 $wgGrantPermissions[
'editprotected'] = $wgGrantPermissions[
'editpage'];
5789 $wgGrantPermissions[
'editprotected'][
'editprotected'] =
true;
5791 $wgGrantPermissions[
'editmycssjs'] = $wgGrantPermissions[
'editpage'];
5792 $wgGrantPermissions[
'editmycssjs'][
'editmyusercss'] =
true;
5793 $wgGrantPermissions[
'editmycssjs'][
'editmyuserjs'] =
true;
5795 $wgGrantPermissions[
'editmyoptions'][
'editmyoptions'] =
true;
5797 $wgGrantPermissions[
'editinterface'] = $wgGrantPermissions[
'editpage'];
5798 $wgGrantPermissions[
'editinterface'][
'editinterface'] =
true;
5799 $wgGrantPermissions[
'editinterface'][
'editusercss'] =
true;
5800 $wgGrantPermissions[
'editinterface'][
'edituserjs'] =
true;
5802 $wgGrantPermissions[
'createeditmovepage'] = $wgGrantPermissions[
'editpage'];
5803 $wgGrantPermissions[
'createeditmovepage'][
'createpage'] =
true;
5804 $wgGrantPermissions[
'createeditmovepage'][
'createtalk'] =
true;
5805 $wgGrantPermissions[
'createeditmovepage'][
'move'] =
true;
5806 $wgGrantPermissions[
'createeditmovepage'][
'move-rootuserpages'] =
true;
5807 $wgGrantPermissions[
'createeditmovepage'][
'move-subpages'] =
true;
5808 $wgGrantPermissions[
'createeditmovepage'][
'move-categorypages'] =
true;
5810 $wgGrantPermissions[
'uploadfile'][
'upload'] =
true;
5811 $wgGrantPermissions[
'uploadfile'][
'reupload-own'] =
true;
5813 $wgGrantPermissions[
'uploadeditmovefile'] = $wgGrantPermissions[
'uploadfile'];
5814 $wgGrantPermissions[
'uploadeditmovefile'][
'reupload'] =
true;
5815 $wgGrantPermissions[
'uploadeditmovefile'][
'reupload-shared'] =
true;
5816 $wgGrantPermissions[
'uploadeditmovefile'][
'upload_by_url'] =
true;
5817 $wgGrantPermissions[
'uploadeditmovefile'][
'movefile'] =
true;
5818 $wgGrantPermissions[
'uploadeditmovefile'][
'suppressredirect'] =
true;
5820 $wgGrantPermissions[
'patrol'][
'patrol'] =
true;
5822 $wgGrantPermissions[
'rollback'][
'rollback'] =
true;
5824 $wgGrantPermissions[
'blockusers'][
'block'] =
true;
5825 $wgGrantPermissions[
'blockusers'][
'blockemail'] =
true;
5827 $wgGrantPermissions[
'viewdeleted'][
'browsearchive'] =
true;
5828 $wgGrantPermissions[
'viewdeleted'][
'deletedhistory'] =
true;
5829 $wgGrantPermissions[
'viewdeleted'][
'deletedtext'] =
true;
5831 $wgGrantPermissions[
'viewrestrictedlogs'][
'suppressionlog'] =
true;
5833 $wgGrantPermissions[
'delete'] = $wgGrantPermissions[
'editpage'] +
5834 $wgGrantPermissions[
'viewdeleted'];
5835 $wgGrantPermissions[
'delete'][
'delete'] =
true;
5836 $wgGrantPermissions[
'delete'][
'bigdelete'] =
true;
5837 $wgGrantPermissions[
'delete'][
'deletelogentry'] =
true;
5838 $wgGrantPermissions[
'delete'][
'deleterevision'] =
true;
5839 $wgGrantPermissions[
'delete'][
'undelete'] =
true;
5841 $wgGrantPermissions[
'protect'] = $wgGrantPermissions[
'editprotected'];
5842 $wgGrantPermissions[
'protect'][
'protect'] =
true;
5844 $wgGrantPermissions[
'viewmywatchlist'][
'viewmywatchlist'] =
true;
5846 $wgGrantPermissions[
'editmywatchlist'][
'editmywatchlist'] =
true;
5848 $wgGrantPermissions[
'sendemail'][
'sendemail'] =
true;
5850 $wgGrantPermissions[
'createaccount'][
'createaccount'] =
true;
5852 $wgGrantPermissions[
'privateinfo'][
'viewmyprivateinfo'] =
true;
5858 $wgGrantPermissionGroups = [
5860 'basic' =>
'hidden',
5862 'editpage' =>
'page-interaction',
5863 'createeditmovepage' =>
'page-interaction',
5864 'editprotected' =>
'page-interaction',
5865 'patrol' =>
'page-interaction',
5867 'uploadfile' =>
'file-interaction',
5868 'uploadeditmovefile' =>
'file-interaction',
5870 'sendemail' =>
'email',
5872 'viewmywatchlist' =>
'watchlist-interaction',
5873 'editviewmywatchlist' =>
'watchlist-interaction',
5875 'editmycssjs' =>
'customization',
5876 'editmyoptions' =>
'customization',
5878 'editinterface' =>
'administration',
5879 'rollback' =>
'administration',
5880 'blockusers' =>
'administration',
5881 'delete' =>
'administration',
5882 'viewdeleted' =>
'administration',
5883 'viewrestrictedlogs' =>
'administration',
5884 'protect' =>
'administration',
5885 'createaccount' =>
'administration',
5887 'highvolume' =>
'high-volume',
5889 'privateinfo' =>
'private-information',
5896 $wgEnableBotPasswords =
true;
5903 $wgBotPasswordsCluster =
false;
5913 $wgBotPasswordsDatabase =
false;
5925 $wgSecretKey =
false;
5948 $wgCookieExpiration = 30 * 86400;
5956 $wgExtendedLoginCookieExpiration = 180 * 86400;
5962 $wgCookieDomain =
'';
5968 $wgCookiePath =
'/';
5976 $wgCookieSecure =
'detect';
5984 $wgDisableCookieCheck =
false;
5998 $wgCookieHttpOnly =
true;
6003 $wgCacheVaryCookies = [];
6008 $wgSessionName =
false;
6017 $wgCookieSetOnAutoblock =
false;
6049 $wgDebugLogFile =
'';
6054 $wgDebugLogPrefix =
'';
6061 $wgDebugRedirects =
false;
6068 $wgDebugRawPage =
false;
6078 $wgDebugComments =
false;
6088 $wgDebugDumpSql =
false;
6095 $wgTrxProfilerLimits = [
6101 'readQueryTime' => 5
6106 'readQueryTime' => 5,
6107 'writeQueryTime' => 1,
6108 'maxAffected' => 1000
6110 'POST-nonwrite' => [
6113 'readQueryTime' => 5
6117 'readQueryTime' => 5,
6118 'writeQueryTime' => 1,
6119 'maxAffected' => 1000
6123 'readQueryTime' => 30,
6124 'writeQueryTime' => 5,
6125 'maxAffected' => 500
6129 'writeQueryTime' => 5,
6130 'maxAffected' => 1000
6164 $wgDebugLogGroups = [];
6187 $wgMWLoggerDefaultSpi = [
6188 'class' =>
'\\MediaWiki\\Logger\\LegacySpi',
6196 $wgShowDebug =
false;
6202 $wgDebugTimestamps =
false;
6207 $wgDebugPrintHttpHeaders =
true;
6212 $wgSpecialVersionShowHooks =
false;
6219 $wgShowSQLErrors =
false;
6227 $wgShowExceptionDetails =
false;
6237 $wgShowDBErrorBacktrace =
false;
6242 $wgLogExceptionBacktrace =
true;
6247 $wgShowHostnames =
false;
6254 $wgOverrideHostname =
false;
6260 $wgDevelopmentWarnings =
false;
6267 $wgDeprecationReleaseLimit =
false;
6273 $wgProfileLimit = 0.0;
6281 $wgProfileOnly =
false;
6293 $wgStatsdServer =
false;
6302 $wgStatsdMetricPrefix =
'MediaWiki';
6310 $wgStatsdSamplingRates = [];
6317 $wgPageInfoTransclusionLimit = 50;
6325 $wgSiteStatsAsyncFactor =
false;
6336 $wgParserTestFiles = [
6337 "$IP/tests/parser/parserTests.txt",
6338 "$IP/tests/parser/extraParserTests.txt"
6344 $wgEnableJavaScriptTest =
false;
6350 $wgCachePrefix =
false;
6359 $wgDebugToolbar =
false;
6360 # end
of profiling, testing
and debugging }
6371 $wgDisableTextSearch =
false;
6377 $wgAdvancedSearchHighlighting =
false;
6383 $wgSearchHighlightBoundaries =
'[\p{Z}\p{P}\p{C}]';
6395 $wgOpenSearchTemplate =
false;
6405 $wgOpenSearchTemplates = [
6406 'application/x-suggestions+json' =>
false,
6407 'application/x-suggestions+xml' =>
false,
6416 $wgEnableOpenSearchSuggest =
true;
6422 $wgOpenSearchDefaultLimit = 10;
6427 $wgOpenSearchDescriptionLength = 100;
6432 $wgSearchSuggestCacheExpiry = 1200;
6438 $wgDisableSearchUpdate =
false;
6449 $wgNamespacesToBeSearchedDefault = [
6457 $wgDisableInternalSearch =
false;
6474 $wgSearchForwardUrl =
null;
6481 $wgUseTwoButtonsSearchForm =
true;
6488 $wgSitemapNamespaces =
false;
6504 $wgSitemapNamespacesPriorities =
false;
6511 $wgEnableSearchContributorsByIP =
true;
6524 $wgDiff3 =
'/usr/bin/diff3';
6529 $wgDiff =
'/usr/bin/diff';
6536 $wgPreviewOnOpenNamespaces = [
6545 $wgUniversalEditButton =
true;
6552 $wgUseAutomaticEditSummaries =
true;
6574 $wgCommandLineDarkBg =
false;
6593 $wgReadOnlyFile =
false;
6604 $wgUpgradeKey =
false;
6609 $wgGitBin =
'/usr/bin/git';
6624 $wgGitRepositoryViewers = [
6625 'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
6626 'https://phabricator.wikimedia.org/r/revision/%R;%H',
6627 'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
6628 'https://phabricator.wikimedia.org/r/revision/%R;%H',
6630 # End
of maintenance }
6643 $wgRCMaxAge = 90 * 24 * 3600;
6650 $wgWatchersMaxAge = 180 * 24 * 3600;
6658 $wgUnwatchedPageSecret = 1;
6667 $wgRCFilterByAge =
false;
6673 $wgRCLinkLimits = [ 50, 100, 250, 500 ];
6679 $wgRCLinkDays = [ 1, 3, 7, 14, 30 ];
6742 'redis' =>
'RedisPubSubFeedEngine',
6743 'udp' =>
'UDPRCFeedEngine',
6757 $wgRCWatchCategoryMembership =
false;
6763 $wgUseRCPatrol =
true;
6768 $wgUseNPPatrol =
true;
6775 $wgUseFilePatrol =
true;
6780 $wgLogAutopatrol =
true;
6801 $wgFeedCacheTimeout = 60;
6807 $wgFeedDiffCutoff = 32768;
6821 $wgOverrideSiteFeed = [];
6830 'atom' =>
'AtomFeed',
6837 $wgAdvertisedFeedTypes = [
'atom' ];
6842 $wgRCShowWatchingUsers =
false; # UPO
6847 $wgRCShowChangedSize =
true;
6854 $wgRCChangedSizeThreshold = 500;
6860 $wgShowUpdatedMarker =
true;
6866 $wgDisableAnonTalk =
false;
6871 $wgAllowCategorizedRecentChanges =
false;
6877 $wgUseTagFilter =
true;
6886 $wgUnwatchedPageThreshold =
false;
6912 $wgRecentChangesFlags = [
6914 'letter' =>
'newpageletter',
6915 'title' =>
'recentchanges-label-newpage',
6916 'legend' =>
'recentchanges-legend-newpage',
6917 'grouping' =>
'any',
6920 'letter' =>
'minoreditletter',
6921 'title' =>
'recentchanges-label-minor',
6922 'legend' =>
'recentchanges-legend-minor',
6923 'class' =>
'minoredit',
6924 'grouping' =>
'all',
6927 'letter' =>
'boteditletter',
6928 'title' =>
'recentchanges-label-bot',
6929 'legend' =>
'recentchanges-legend-bot',
6930 'class' =>
'botedit',
6931 'grouping' =>
'all',
6934 'letter' =>
'unpatrolledletter',
6935 'title' =>
'recentchanges-label-unpatrolled',
6936 'legend' =>
'recentchanges-legend-unpatrolled',
6937 'grouping' =>
'any',
6940 # end RC/watchlist }
6955 $wgRightsPage =
null;
6962 $wgRightsUrl =
null;
6970 $wgRightsText =
null;
6975 $wgRightsIcon =
null;
6980 $wgUseCopyrightUpload =
false;
6995 $wgShowCreditsIfMax =
true;
7026 $wgImportSources = [];
7035 $wgImportTargetNamespace =
null;
7042 $wgExportAllowHistory =
true;
7049 $wgExportMaxHistory = 0;
7054 $wgExportAllowListContributors =
false;
7067 $wgExportMaxLinkDepth = 0;
7072 $wgExportFromNamespaces =
false;
7077 $wgExportAllowAll =
false;
7085 $wgExportPagelistLimit = 5000;
7086 # end
of import/export }
7098 $wgExtensionFunctions = [];
7153 $wgMessagesDirs = [];
7160 $wgExtensionEntryPointListFiles = [];
7176 $wgParserOutputHooks = [];
7181 $wgEnableParserLimitReporting =
true;
7191 $wgValidSkinNames = [];
7199 $wgSpecialPages = [];
7211 $wgAutoloadAttemptLowercase =
true;
7265 $wgExtensionCredits = [];
7322 __DIR__ .
'/ServiceWiring.php'
7330 'refreshLinks' =>
'RefreshLinksJob',
7331 'deleteLinks' =>
'DeleteLinksJob',
7332 'htmlCacheUpdate' =>
'HTMLCacheUpdateJob',
7333 'sendMail' =>
'EmaillingJob',
7334 'enotifNotify' =>
'EnotifNotifyJob',
7335 'fixDoubleRedirect' =>
'DoubleRedirectJob',
7336 'AssembleUploadChunks' =>
'AssembleUploadChunksJob',
7337 'PublishStashedFile' =>
'PublishStashedFileJob',
7338 'ThumbnailRender' =>
'ThumbnailRenderJob',
7339 'recentChangesUpdate' =>
'RecentChangesUpdateJob',
7340 'refreshLinksPrioritized' =>
'RefreshLinksJob',
7341 'refreshLinksDynamic' =>
'RefreshLinksJob',
7342 'activityUpdateJob' =>
'ActivityUpdateJob',
7343 'categoryMembershipChange' =>
'CategoryMembershipChangeJob',
7344 'cdnPurge' =>
'CdnPurgeJob',
7345 'enqueue' =>
'EnqueueJob',
7360 $wgJobTypesExcludedFromDefaultQueue = [
'AssembleUploadChunks',
'PublishStashedFile' ];
7371 $wgJobBackoffThrottling = [];
7386 $wgJobSerialCommitThreshold =
false;
7395 'default' => [
'class' =>
'JobQueueDB',
'order' =>
'random',
'claimTTL' => 3600 ],
7402 $wgJobQueueAggregator = [
7403 'class' =>
'JobQueueAggregatorNull'
7417 $wgJobQueueIncludeInMaxLagFactor =
false;
7423 $wgSpecialPageCacheUpdates = [
7424 'Statistics' => [
'SiteStatsUpdate',
'cacheUpdate' ]
7434 $wgExceptionHooks = [];
7443 $wgPagePropLinkInvalidations = [
7444 'hiddencat' =>
'categorylinks',
7457 $wgUseCategoryBrowser =
false;
7463 $wgCategoryMagicGallery =
true;
7468 $wgCategoryPagingLimit = 200;
7495 $wgCategoryCollation =
'uppercase';
7534 $wgLogRestrictions = [
7535 'suppress' =>
'suppressionlog'
7557 $wgFilterLogTypes = [
7572 '' =>
'all-logs-page',
7573 'block' =>
'blocklogpage',
7574 'protect' =>
'protectlogpage',
7575 'rights' =>
'rightslog',
7576 'delete' =>
'dellogpage',
7577 'upload' =>
'uploadlogpage',
7578 'move' =>
'movelogpage',
7579 'import' =>
'importlogpage',
7580 'patrol' =>
'patrol-log-page',
7581 'merge' =>
'mergelog',
7582 'suppress' =>
'suppressionlog',
7595 '' =>
'alllogstext',
7596 'block' =>
'blocklogtext',
7597 'delete' =>
'dellogpagetext',
7598 'import' =>
'importlogpagetext',
7599 'merge' =>
'mergelogpagetext',
7600 'move' =>
'movelogpagetext',
7601 'patrol' =>
'patrol-log-header',
7602 'protect' =>
'protectlogtext',
7603 'rights' =>
'rightslogtext',
7604 'suppress' =>
'suppressionlogtext',
7605 'upload' =>
'uploadlogpagetext',
7622 $wgLogActionsHandlers = [
7623 'block/block' =>
'BlockLogFormatter',
7624 'block/reblock' =>
'BlockLogFormatter',
7625 'block/unblock' =>
'BlockLogFormatter',
7626 'contentmodel/change' =>
'ContentModelLogFormatter',
7627 'contentmodel/new' =>
'ContentModelLogFormatter',
7628 'delete/delete' =>
'DeleteLogFormatter',
7629 'delete/delete_redir' =>
'DeleteLogFormatter',
7630 'delete/event' =>
'DeleteLogFormatter',
7631 'delete/restore' =>
'DeleteLogFormatter',
7632 'delete/revision' =>
'DeleteLogFormatter',
7633 'import/interwiki' =>
'ImportLogFormatter',
7634 'import/upload' =>
'ImportLogFormatter',
7635 'managetags/activate' =>
'LogFormatter',
7636 'managetags/create' =>
'LogFormatter',
7637 'managetags/deactivate' =>
'LogFormatter',
7638 'managetags/delete' =>
'LogFormatter',
7639 'merge/merge' =>
'MergeLogFormatter',
7640 'move/move' =>
'MoveLogFormatter',
7641 'move/move_redir' =>
'MoveLogFormatter',
7642 'patrol/patrol' =>
'PatrolLogFormatter',
7643 'patrol/autopatrol' =>
'PatrolLogFormatter',
7644 'protect/modify' =>
'ProtectLogFormatter',
7645 'protect/move_prot' =>
'ProtectLogFormatter',
7646 'protect/protect' =>
'ProtectLogFormatter',
7647 'protect/unprotect' =>
'ProtectLogFormatter',
7648 'rights/autopromote' =>
'RightsLogFormatter',
7649 'rights/rights' =>
'RightsLogFormatter',
7650 'suppress/block' =>
'BlockLogFormatter',
7651 'suppress/delete' =>
'DeleteLogFormatter',
7652 'suppress/event' =>
'DeleteLogFormatter',
7653 'suppress/reblock' =>
'BlockLogFormatter',
7654 'suppress/revision' =>
'DeleteLogFormatter',
7655 'tag/update' =>
'TagLogFormatter',
7656 'upload/overwrite' =>
'UploadLogFormatter',
7657 'upload/revert' =>
'UploadLogFormatter',
7658 'upload/upload' =>
'UploadLogFormatter',
7669 $wgActionFilteredLogs = [
7671 'block' => [
'block' ],
7672 'reblock' => [
'reblock' ],
7673 'unblock' => [
'unblock' ],
7676 'change' => [
'change' ],
7680 'delete' => [
'delete' ],
7681 'delete_redir' => [
'delete_redir' ],
7682 'restore' => [
'restore' ],
7683 'event' => [
'event' ],
7684 'revision' => [
'revision' ],
7687 'interwiki' => [
'interwiki' ],
7688 'upload' => [
'upload' ],
7691 'create' => [
'create' ],
7692 'delete' => [
'delete' ],
7693 'activate' => [
'activate' ],
7694 'deactivate' => [
'deactivate' ],
7697 'move' => [
'move' ],
7698 'move_redir' => [
'move_redir' ],
7701 'create' => [
'create',
'newusers' ],
7702 'create2' => [
'create2' ],
7703 'autocreate' => [
'autocreate' ],
7704 'byemail' => [
'byemail' ],
7707 'patrol' => [
'patrol' ],
7708 'autopatrol' => [
'autopatrol' ],
7711 'protect' => [
'protect' ],
7712 'modify' => [
'modify' ],
7713 'unprotect' => [
'unprotect' ],
7714 'move_prot' => [
'move_prot' ],
7717 'rights' => [
'rights' ],
7718 'autopromote' => [
'autopromote' ],
7721 'event' => [
'event' ],
7722 'revision' => [
'revision' ],
7723 'delete' => [
'delete' ],
7724 'block' => [
'block' ],
7725 'reblock' => [
'reblock' ],
7728 'upload' => [
'upload' ],
7729 'overwrite' => [
'overwrite' ],
7736 $wgNewUserLog =
true;
7748 $wgAllowSpecialInclusion =
true;
7754 $wgDisableQueryPageUpdate =
false;
7760 $wgCountCategorizedImagesAsUsed =
false;
7766 $wgMaxRedirectLinksRetrieved = 500;
7767 # end special
pages }
7789 'editchangetags' =>
'SpecialPageAction',
7792 'markpatrolled' =>
true,
7798 'revisiondelete' =>
'SpecialPageAction',
7801 'unprotect' =>
true,
7820 $wgDefaultRobotPolicy =
'index,follow';
7836 $wgNamespaceRobotPolicies = [];
7864 $wgArticleRobotPolicies = [];
7876 $wgExemptFromUserRobotsControl =
null;
7877 # End robot policy }
7894 $wgEnableAPI =
true;
7901 $wgEnableWriteAPI =
true;
7917 $wgDebugAPI =
false;
7964 $wgAPIFormatModules = [];
7973 $wgAPIMetaModules = [];
7982 $wgAPIPropModules = [];
7991 $wgAPIListModules = [];
7997 $wgAPIMaxDBRows = 5000;
8003 $wgAPIMaxResultSize = 8388608;
8009 $wgAPIMaxUncachedDiffs = 1;
8016 $wgAPIMaxLagThreshold = 7;
8022 $wgAPIRequestLog =
false;
8027 $wgAPICacheHelpTimeout = 60 * 60;
8033 $wgAPIUselessQueryPages = [
8036 'FileDuplicateSearch',
8049 $wgAjaxExportList = [];
8054 $wgAjaxUploadDestCheck =
true;
8059 $wgAjaxLicensePreview =
true;
8065 $wgAjaxEditStash =
true;
8087 $wgCrossSiteAJAXdomains = [];
8094 $wgCrossSiteAJAXdomainExceptions = [];
8095 # End AJAX
and API }
8106 $wgMaxShellMemory = 307200;
8112 $wgMaxShellFileSize = 102400;
8117 $wgMaxShellTime = 180;
8123 $wgMaxShellWallClockTime = 180;
8148 $wgShellCgroup =
false;
8153 $wgPhpCli =
'/usr/bin/php';
8160 $wgShellLocale =
'en_US.utf8';
8172 $wgHTTPTimeout = 25;
8178 $wgHTTPImportTimeout = 25;
8183 $wgAsyncHTTPTimeout = 25;
8188 $wgHTTPProxy =
false;
8200 $wgLocalVirtualHosts = [];
8206 $wgHTTPConnectTimeout = 5e0;
8230 $wgRunJobsAsync =
false;
8235 $wgUpdateRowsPerJob = 300;
8240 $wgUpdateRowsPerQuery = 100;
8255 $wgExternalDiffEngine =
false;
8265 $wgDisableHardRedirects =
false;
8271 $wgLinkHolderBatchSize = 1000;
8277 $wgRegisterInternalExternals =
false;
8282 $wgMaximumMovedPages = 100;
8288 $wgFixDoubleRedirects =
false;
8294 $wgRedirectOnLogin =
null;
8328 $wgPoolCounterConf =
null;
8333 $wgUploadMaintenance =
false;
8343 $wgNamespaceContentModels = [];
8355 $wgContentHandlerTextFallback =
'ignore';
8370 $wgContentHandlerUseDB =
true;
8382 $wgTextModelsToParse = [
8394 'mediawiki' =>
'MediaWikiSite',
8402 $wgPagePropsHaveSortkey =
true;
8418 $wgSessionSecret =
false;
8427 $wgSessionInsecureSecrets =
false;
8437 $wgHKDFSecret =
false;
8445 $wgHKDFAlgorithm =
'sha256';
8453 $wgPageLanguageUseDB =
false;
8496 # Timeout in seconds
8498 # 'domain' is set to $wgCanonicalServer in Setup.php
8499 'forwardCookies' =>
false,
8511 $wgSearchRunSuggestedQuery =
true;
8524 $wgPopularPasswordFile = __DIR__ .
'/../serialized/commonpasswords.cdb';
8533 $wgMaxUserDBWriteDuration =
false;
8554 $wgEventRelayerConfig = [
8556 'class' =>
'EventRelayerNull',
8573 $wgPingback =
false;
8583 $wgCSPFalsePositiveUrls = [
8584 'https://3hub.co' =>
true,
8585 'https://morepro.info' =>
true,
8586 'https://p.ato.mx' =>
true,
8587 'https://s.ato.mx' =>
true,
8588 'https://adserver.adtech.de' =>
true,
8589 'https://ums.adtechus.com' =>
true,
8590 'https://cas.criteo.com' =>
true,
8591 'https://cat.nl.eu.criteo.com' =>
true,
8592 'https://atpixel.alephd.com' =>
true,
8593 'https://rtb.metrigo.com' =>
true,
8594 'https://d5p.de17a.com' =>
true,
8595 'https://ad.lkqd.net/vpaid/vpaid.js' =>
true,
8610 $wgLearnerEdits = 10;
8611 $wgLearnerMemberSince = 4; # days
8612 $wgExperiencedUserEdits = 500;
8613 $wgExperiencedUserMemberSince = 30; # days
8632 $wgInterwikiPrefixDisplayTypes = [];
$wgConf
wgConf hold the site configuration.
$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...
$wgAdditionalMailParams
Additional email parameters, will be passed as the last argument to mail() call.
$wgAllowJavaUploads
Allow Java archive uploads.
$wgUpdateCompatibleMetadata
If to automatically update the img_metadata field if the metadata field is outdated but compatible wi...
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
$wgThumbLimits
Adjust thumbnails on image pages according to a user setting.
$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.
$wgMaxArticleSize
Maximum article size in kilobytes.
if( $wgScript===false) if( $wgLoadScript===false) if( $wgArticlePath===false) if(!empty( $wgActionPaths) &&!isset( $wgActionPaths['view'])) if( $wgResourceBasePath===null) if( $wgStylePath===false) if( $wgLocalStylePath===false) if( $wgExtensionAssetsPath===false) if( $wgLogo===false) if( $wgUploadPath===false) if( $wgUploadDirectory===false) if( $wgReadOnlyFile===false) if( $wgFileCacheDirectory===false) if( $wgDeletedDirectory===false) if( $wgGitInfoCacheDirectory===false && $wgCacheDirectory !==false) if( $wgEnableParserCache===false) if( $wgRightsIcon) if(isset( $wgFooterIcons['copyright']['copyright']) && $wgFooterIcons['copyright']['copyright']===[]) if(isset( $wgFooterIcons['poweredby']) &&isset( $wgFooterIcons['poweredby']['mediawiki']) && $wgFooterIcons['poweredby']['mediawiki']['src']===null) $wgNamespaceProtection[NS_MEDIAWIKI]
Unconditional protection for NS_MEDIAWIKI since otherwise it's too easy for a sysadmin to set $wgName...
if( $wgLocalInterwiki) if( $wgSharedPrefix===false) if( $wgSharedSchema===false) if(! $wgCookiePrefix) $wgCookiePrefix
$wgNewPasswordExpiry
The time, in seconds, when an emailed temporary password expires.
$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.
This is a class for holding configuration settings, particularly for multi-wiki sites.
$wgTmpDirectory
The local filesystem path to a temporary directory.
$wgEnotifMinorEdits
Potentially send notification mails on minor edits to pages.
$wgDBname
Name of the database.
$wgCopyUploadsDomains
A list of domains copy uploads can come from.
global $wgAutoloadClasses
$wgLegacyEncoding
Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked...
$wgJpegPixelFormat
At default setting of 'yuv420', JPEG thumbnails will use 4:2:0 chroma subsampling to reduce file size...
$wgMimeInfoFile
Sets the MIME type info file to use by MimeMagic.php.
$wgExiftool
Path to exiftool binary.
$wgSearchTypeAlternatives
Alternative search types Sometimes you want to support multiple search engines for testing.
$wgUsersNotifiedOnAllChanges
Array of usernames who will be sent a notification email for every change which occurs on a wiki.
if( $wgRCFilterByAge) $wgDefaultUserOptions['rcdays']
$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).
$wgHTCPMulticastTTL
HTCP multicast TTL.
$wgDisableQueryPages
Disable all query pages if miser mode is on, not just some.
$wgSharedDB
Shared database for multiple wikis.
$wgSVGMaxSize
Don't scale a SVG larger than this.
$wgHideInterlanguageLinks
Hide interlanguage links from the sidebar.
$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.
if( $wgUseFileCache|| $wgUseSquid) $wgHtml5
$wgEmailAuthentication
Require email authentication before sending mail to an email address.
$wgSharedUploadDBprefix
Optional table prefix used in database.
$wgMaxUploadSize
Max size for uploads, in bytes.
$wgDBmwschema
Mediawiki schema.
$wgExternalServers
An array of external MySQL servers.
$wgMessageCacheType
The cache type for storing the contents of the MediaWiki namespace.
if(! $wgEmergencyContact) if(! $wgPasswordSender) if(! $wgNoReplyAddress) if( $wgSecureLogin &&substr( $wgServer, 0, 2) !=='//') $wgVirtualRestConfig['global']['domain']
$wgDBmysql5
Set to true to engage MySQL 4.1/5.0 charset-related features; for now will just cause sending of 'SET...
$wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
$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".
$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.
$wgEnotifWatchlist
Allow users to enable email notification ("enotif") on watchlist changes.
$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...
$wgUseSquid
Enable/disable CDN.
$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.
$wgCacheDirectory
Directory for caching data in the local filesystem.
$wgSidebarCacheExpiry
Expiry time for the sidebar cache, in seconds.
const CONTENT_MODEL_WIKITEXT
$wgThumbnailBuckets
When defined, is an array of image widths used as buckets for thumbnail generation.
$wgTransactionalTimeLimit
The minimum amount of time that MediaWiki needs for "slow" write request, particularly ones with mult...
array $wgDefaultExternalStore
The place to put new revisions, false to put them in the local text table.
$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.
$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.
$wgEnableParserCache
Kept for extension compatibility; see $wgParserCacheType.
$wgDjvuRenderer
Path of the ddjvu DJVU renderer Enable this and $wgDjvuDump to enable djvu rendering example: $wgDjvu...
$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...
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
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...
$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.
bool $wgAssumeProxiesUseDefaultProtocolPorts
When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the w...
$wgUseInstantCommons
Use Commons as a remote file repository.
$wgMediaHandlers
Plugins for media file type handling.
$wgDBadminuser
Separate username for maintenance tasks.
$wgReferrerPolicy
Value for the referrer policy meta tag.
$wgHashedUploadDirectory
Set this to false if you do not want MediaWiki to divide your images directory into many subdirectori...
$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...
$wgAdaptiveMessageCache
Instead of caching everything, only cache those messages which have been customised in the site conte...
$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.
$wgSharedUploadPath
Full path on the web server where shared uploads can be found.
$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,...
$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
$wgContentHandlers
Plugins for page content model handling.
$wgAntivirusRequired
Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
$wgLockManagers
Array of configuration arrays for each lock manager.
$wgLanguageConverterCacheType
The cache type for storing language conversion tables, which are used when parsing certain text and i...
$wgUseImageMagick
Resizing can be done using PHP's internal image libraries or using ImageMagick or another third-party...
$wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
global $wgCommandLineMode
$wgEnableSidebarCache
If on, the sidebar navigation links are cached for users with the current language set.
in the Source form of any Derivative Works that You all copyright
$wgStyleVersion
Bump this number when changing the global style sheets and JavaScript.
$wgUploadThumbnailRenderMap
When defined, is an array of thumbnail widths to be rendered at upload time.
$wgDjvuToXML
Path of the djvutoxml executable This works like djvudump except much, much slower as of version 3....
$wgLoadScript
The URL path to load.php.
$wgMimeTypeFile
Sets the MIME type definition file to use by MimeMagic.php.
$wgAntivirusSetup
Configuration for different virus scanners.
$wgObjectCaches
Advanced object cache configuration.
$wgHTCPRouting
Routing configuration for HTCP multicast purging.
$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.
$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.
$wgVaryOnXFP
Add X-Forwarded-Proto to the Vary and Key headers for API requests and RSS/Atom feeds.
$wgCdnMaxageSubstitute
Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
$wgInterwikiMagic
Treat language links as magic connectors, not inline links.
$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...
$wgEnableEmail
Set to true to enable the e-mail basic features: Password reminders, etc.
and that you know you can do these things To protect your rights
$wgMaxInterlacingAreas
Array of max pixel areas for interlacing per MIME type.
$wgCopyUploadProxy
Proxy to use for copy upload requests.
$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.
$wgMemCachedTimeout
Read/write timeout for MemCached server communication, in microseconds.
$wgCompressRevisions
We can also compress text stored in the 'text' table.
$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...
$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.
$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
$wgCachePages
Allow client-side caching of pages.
$wgSVGMetadataCutoff
Don't read SVG metadata beyond this point.
$wgExtraLanguageNames
List of language names or overrides for default names in Names.php.
$wgDBcompress
Whether to use compression in DB connection.
MediaWiki has optional support for a high performance
$wgEnotifUserTalk
Allow users to enable email notification ("enotif") when someone edits their user talk page.
$wgSessionPbkdf2Iterations
Number of internal PBKDF2 iterations to use when deriving session secrets.
$wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
$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
$wgSlaveLagWarning
If lag is higher than $wgSlaveLagWarning, show a warning in some special pages (like watchlist).
$wgFileCacheDepth
Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
$wgExtensionDirectory
Filesystem extensions directory.
$wgServerName
Server name.
$wgLogoHD
Array with URL paths to HD versions of the wiki logo.
$wgUsePrivateIPs
Should forwarded Private IPs be accepted?
$wgNamespaceAliases['Image']
The canonical names of namespaces 6 and 7 are, as of v1.14, "File" and "File_talk".
$wgImageMagickConvertCommand
The convert command shipped with ImageMagick.
$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.
$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.
$wgUploadDialog
Configuration for file uploads using the embeddable upload dialog (https://www.mediawiki....
$wgLanguageCode
Site language code.
$wgSitename
Name of the site.
$wgDirectoryMode
Default value for chmoding of new directories.
$wgUploadBaseUrl
If set, this URL is added to the start of $wgUploadPath to form a complete upload URL.
$wgTiffThumbnailType
Browsers don't support TIFF inline generally...
$wgSearchType
Search type.
$wgUploadDirectory
The filesystem path of the images directory.
$wgUploadThumbnailRenderHttpCustomHost
When using the "http" wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
$wgIllegalFileChars
Additional characters that are not allowed in filenames.
$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.
$wgFavicon
The URL path of the shortcut icon.
if the prop value should be in the metadata multi language array format
$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 ...
$wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
$wgExtraInterlanguageLinkPrefixes
List of additional interwiki prefixes that should be treated as interlanguage links (i....
$wgCopyUploadsFromSpecialUpload
Enable copy uploads from Special:Upload.
$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
$wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
$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.
$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
$wgSharedUploadDBname
DB name with metadata about shared directory.
$wgMiserMode
Disable database-intensive features.
$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 ...
$wgDisableUploadScriptChecks
Setting this to true will disable the upload system's checks for HTML/JavaScript.
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
if( $wgSkipSkin) $wgSkipSkins[]
$wgThumbnailScriptPath
Give a path here to use thumb.php for thumbnail generation on client request, instead of generating t...
$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.
$wgHooks['ArticleShow'][]
$wgExtensionMessagesFiles['ExtensionNameMagic']
CACHE_MEMCACHED $wgMainCacheType
Value object for representing interwiki records.
$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.
$wgQueryCacheLimit
Number of rows to cache in 'querycache' table when miser mode is on.
static detectServer()
Work out an appropriate URL prefix containing scheme and host, based on information detected from $_S...
$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...
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.
$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
$wgDjvuDump
Path of the djvudump executable Enable this and $wgDjvuRenderer to enable djvu rendering example: $wg...
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
$wgDBuser
Database username.
$wgDBerrorLogTZ
Timezone to use in the error log.
$wgAllowTitlesInSVG
Disallow <title> element in SVG files.
$wgDataCenterUpdateStickTTL
After a state-changing request is done by a client, this determines how many seconds that client shou...
$wgAllowSlowParserFunctions
Enable slow parser functions.
$wgUploadMissingFileUrl
Point the upload link for missing files to an external URL, as with $wgUploadNavigationUrl.
$wgAntivirus
Internal name of virus scanner.
$wgTrustedMediaFormats
list of trusted media-types and MIME types.
$wgPasswordSender
Sender email address for e-mail notifications.
string $wgPHPSessionHandling
Whether to use PHP session handling ($_SESSION and session_*() functions)
$wgExtraLanguageCodes
List of mappings from one language code to another.
$wgUseESI
If you run Squid3 with ESI support, enable this (default:false):
$wgScriptPath
The path we should point to.
$wgXMLMimeTypes
Additional XML types we can allow via MIME-detection.
$wgDBadminpassword
Separate password for maintenance tasks.
$wgDBssl
Whether to use SSL in DB connection.
$wgUseImageResize
Whether to enable server-side image thumbnailing.
$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...
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by $wgServiceWiringFiles
$wgLocalStylePath
The URL path of the skins directory.
$wgMemCachedPersistent
Use persistent connections to MemCached, which are shared across multiple requests.
$wgShowEXIF
Show Exif data, on by default if available.
$wgUserEmailUseReplyTo
If true put the sending user's email in a Reply-To header instead of From (false).
$wgMainStash
Main object stash type.
$wgStyleDirectory
Filesystem stylesheets directory.
$wgSVGConverter
Pick a converter defined in $wgSVGConverters.
$wgScriptExtension
The extension to append to script names by default.
$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
$wgMainWANCache
Main Wide-Area-Network cache type.
$wgGalleryOptions
Default parameters for the "<gallery>" tag.
$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.
$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.
$wgSquidMaxage
Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
$wgUseLocalMessageCache
Set this to true to maintain a copy of the message cache on the local server.
$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.
$wgObjectCacheSessionExpiry
The expiry time to use for session storage, in seconds.
$wgCopyUploadTimeout
Different timeout for upload by url This could be useful since when fetching large files,...
$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.
$wgSharedThumbnailScriptPath
$wgCdnMaxageLagged
Cache timeout for the CDN when DB replica DB lag is high.
$wgShowArchiveThumbnails
Show thumbnails for old images on the image description page.