14use MediaWiki\MainConfigSchema;
25if ( isset( $wgFileBlacklist ) ) {
30if ( isset( $wgMimeTypeBlacklist ) ) {
35if ( isset( $wgShortPagesNamespaceBlacklist ) ) {
46 'RateLimit: The "emailuser" limit is deprecated, use "sendemail" instead.'
56 'RateLimit: The "changetag" limit is deprecated, use "changetags" instead.'
67 "{$wgStylePath}/common/images/",
68 "{$wgResourceBasePath}/resources/assets/licenses/",
90 $compactLogo =
"$wgResourceBasePath/resources/assets/mediawiki_compact.svg";
93 "media" =>
"(min-width: 500px)",
94 "srcset" =>
"$wgResourceBasePath/resources/assets/poweredby_mediawiki.svg",
113 'name' =>
'fsLockManager',
114 'class' => FSLockManager::class,
115 'lockDirectory' =>
"{$wgUploadDirectory}/lockdir",
118 'name' =>
'nullLockManager',
119 'class' => NullLockManager::class,
127 'imageHeight' => 120,
128 'captionLength' =>
true,
130 'showDimensions' =>
true,
131 'mode' =>
'traditional',
158 'class' => ForeignDBRepo::class,
178 'class' => FileRepo::class,
192 'class' => ForeignAPIRepo::class,
193 'name' =>
'wikimediacommons',
194 'apibase' =>
'https://commons.wikimedia.org/w/api.php',
195 'url' =>
'https://upload.wikimedia.org/wikipedia/commons',
196 'thumbUrl' =>
'https://upload.wikimedia.org/wikipedia/commons/thumb',
198 'transformVia404' =>
true,
199 'fetchDescription' =>
true,
200 'descriptionCacheExpiry' => 43200,
201 'apiThumbCacheExpiry' => 0,
205 if ( !isset( $repo[
'directory'] ) && $repo[
'class'] === ForeignAPIRepo::class ) {
208 if ( !isset( $repo[
'backend'] ) ) {
209 $repo[
'backend'] = $repo[
'name'] .
'-backend';
254 'The Localtimezone setting must a valid timezone string or null. '
255 .
'It must not be an empty string or false.'
271 'Do not add to DummyLanguageCodes directly, ' .
272 'add to ExtraLanguageCodes instead.'
283foreach ( LanguageCode::getNonstandardLanguageCodeMapping() as $code => $bcp47 ) {
284 $bcp47 = strtolower( $bcp47 );
298if ( isset( $wgSlaveLagWarning ) ) {
302 $wgSettings->warning(
'SlaveLagWarning is no longer supported, ' .
303 'use DatabaseReplicaLagWarning instead!' );
310if ( isset( $wgSlaveLagCritical ) ) {
314 $wgSettings->warning(
'SlaveLagCritical is no longer supported, ' .
315 'use DatabaseReplicaLagCritical instead!' );
333 'class' => NewUsersLogFormatter::class,
339 'class' => NewUsersLogFormatter::class,
345 'class' => NewUsersLogFormatter::class,
351 'class' => NewUsersLogFormatter::class,
357 'class' => NewUsersLogFormatter::class,
373 'class' => PageLangLogFormatter::class,
386if ( defined(
'MW_NO_SESSION' ) ) {
if(isset($wgRateLimits[ 'emailuser'])) if(isset( $wgRateLimits['changetag'])) $wgFileExtensions
if( $wgRightsIcon) if(isset($wgFooterIcons[ 'copyright'][ 'copyright']) &&$wgFooterIcons[ 'copyright'][ 'copyright']===[]) if(isset( $wgFooterIcons['poweredby']) &&isset( $wgFooterIcons['poweredby']['mediawiki']) &&is_array( $wgFooterIcons['poweredby']['mediawiki']) && $wgFooterIcons['poweredby']['mediawiki']['src']===null) $wgNamespaceProtection[NS_MEDIAWIKI]
$wgCanonicalNamespaceNames
Definitions of the NS_ constants are in Defines.php.
$wgLocalFileRepo['directory']
if(count( $wgDummyLanguageCodes) !==0) $wgDummyLanguageCodes
$wgDefaultUserOptions['rcdays']
This class formats language change log entries.
$wgProhibitedFileExtensions
Config variable stub for the ProhibitedFileExtensions setting, for use by phpdoc and IDEs.
$wgRightsIcon
Config variable stub for the RightsIcon setting, for use by phpdoc and IDEs.
$wgCacheEpoch
Config variable stub for the CacheEpoch setting, for use by phpdoc and IDEs.
$wgSharedThumbnailScriptPath
Config variable stub for the SharedThumbnailScriptPath setting, for use by phpdoc and IDEs.
$wgEnotifWatchlist
Config variable stub for the EnotifWatchlist setting, for use by phpdoc and IDEs.
$wgDBuser
Config variable stub for the DBuser setting, for use by phpdoc and IDEs.
$wgUpdateCompatibleMetadata
Config variable stub for the UpdateCompatibleMetadata setting, for use by phpdoc and IDEs.
$wgEnotifUserTalk
Config variable stub for the EnotifUserTalk setting, for use by phpdoc and IDEs.
$wgPageLanguageUseDB
Config variable stub for the PageLanguageUseDB setting, for use by phpdoc and IDEs.
$wgUseInstantCommons
Config variable stub for the UseInstantCommons setting, for use by phpdoc and IDEs.
$wgBotPasswordsCluster
Config variable stub for the BotPasswordsCluster setting, for use by phpdoc and IDEs.
$wgHashedSharedUploadDirectory
Config variable stub for the HashedSharedUploadDirectory setting, for use by phpdoc and IDEs.
$wgGenerateThumbnailOnParse
Config variable stub for the GenerateThumbnailOnParse setting, for use by phpdoc and IDEs.
$wgRightsUrl
Config variable stub for the RightsUrl setting, for use by phpdoc and IDEs.
$wgEnableUserEmail
Config variable stub for the EnableUserEmail setting, for use by phpdoc and IDEs.
$wgLogNames
Config variable stub for the LogNames setting, for use by phpdoc and IDEs.
$wgSharedUploadPath
Config variable stub for the SharedUploadPath setting, for use by phpdoc and IDEs.
$wgHashedUploadDirectory
Config variable stub for the HashedUploadDirectory setting, for use by phpdoc and IDEs.
$wgInvalidateCacheOnLocalSettingsChange
Config variable stub for the InvalidateCacheOnLocalSettingsChange setting, for use by phpdoc and IDEs...
$wgThumbnailScriptPath
Config variable stub for the ThumbnailScriptPath setting, for use by phpdoc and IDEs.
$wgBotPasswordsDatabase
Config variable stub for the BotPasswordsDatabase setting, for use by phpdoc and IDEs.
$wgDBtype
Config variable stub for the DBtype setting, for use by phpdoc and IDEs.
$wgUploadDirectory
Config variable stub for the UploadDirectory setting, for use by phpdoc and IDEs.
$wgLogTypes
Config variable stub for the LogTypes setting, for use by phpdoc and IDEs.
$wgShortPagesNamespaceExclusions
Config variable stub for the ShortPagesNamespaceExclusions setting, for use by phpdoc and IDEs.
$wgSharedUploadDirectory
Config variable stub for the SharedUploadDirectory setting, for use by phpdoc and IDEs.
$wgRightsText
Config variable stub for the RightsText setting, for use by phpdoc and IDEs.
$wgEnotifFromEditor
Config variable stub for the EnotifFromEditor setting, for use by phpdoc and IDEs.
$wgPageCreationLog
Config variable stub for the PageCreationLog setting, for use by phpdoc and IDEs.
$wgDatabaseReplicaLagCritical
Config variable stub for the DatabaseReplicaLagCritical setting, for use by phpdoc and IDEs.
$wgEnotifRevealEditorAddress
Config variable stub for the EnotifRevealEditorAddress setting, for use by phpdoc and IDEs.
$wgFooterIcons
Config variable stub for the FooterIcons setting, for use by phpdoc and IDEs.
$wgUploadPath
Config variable stub for the UploadPath setting, for use by phpdoc and IDEs.
$wgCacheSharedUploads
Config variable stub for the CacheSharedUploads setting, for use by phpdoc and IDEs.
$wgEnableEmail
Config variable stub for the EnableEmail setting, for use by phpdoc and IDEs.
$wgUseXssLanguage
Config variable stub for the UseXssLanguage setting, for use by phpdoc and IDEs.
$wgUsersNotifiedOnAllChanges
Config variable stub for the UsersNotifiedOnAllChanges setting, for use by phpdoc and IDEs.
$wgRCMaxAge
Config variable stub for the RCMaxAge setting, for use by phpdoc and IDEs.
$wgLocaltimezone
Config variable stub for the Localtimezone setting, for use by phpdoc and IDEs.
$wgUserEmailUseReplyTo
Config variable stub for the UserEmailUseReplyTo setting, for use by phpdoc and IDEs.
$wgUploadBaseUrl
Config variable stub for the UploadBaseUrl setting, for use by phpdoc and IDEs.
$wgGroupPermissions
Config variable stub for the GroupPermissions setting, for use by phpdoc and IDEs.
$wgVirtualDomainsMapping
Config variable stub for the VirtualDomainsMapping setting, for use by phpdoc and IDEs.
$wgDeletedDirectory
Config variable stub for the DeletedDirectory setting, for use by phpdoc and IDEs.
$wgScriptPath
Config variable stub for the ScriptPath setting, for use by phpdoc and IDEs.
$wgAllowHTMLEmail
Config variable stub for the AllowHTMLEmail setting, for use by phpdoc and IDEs.
$wgSharedUploadDBname
Config variable stub for the SharedUploadDBname setting, for use by phpdoc and IDEs.
$wgLogos
Config variable stub for the Logos setting, for use by phpdoc and IDEs.
$wgForeignFileRepos
Config variable stub for the ForeignFileRepos setting, for use by phpdoc and IDEs.
$wgRepositoryBaseUrl
Config variable stub for the RepositoryBaseUrl setting, for use by phpdoc and IDEs.
$wgLogHeaders
Config variable stub for the LogHeaders setting, for use by phpdoc and IDEs.
$wgSharedUploadDBprefix
Config variable stub for the SharedUploadDBprefix setting, for use by phpdoc and IDEs.
$wgEnotifMinorEdits
Config variable stub for the EnotifMinorEdits setting, for use by phpdoc and IDEs.
$wgDebugDumpSql
Config variable stub for the DebugDumpSql setting, for use by phpdoc and IDEs.
$wgDatabaseReplicaLagWarning
Config variable stub for the DatabaseReplicaLagWarning setting, for use by phpdoc and IDEs.
$wgFetchCommonsDescriptions
Config variable stub for the FetchCommonsDescriptions setting, for use by phpdoc and IDEs.
$wgDBserver
Config variable stub for the DBserver setting, for use by phpdoc and IDEs.
$wgMimeTypeExclusions
Config variable stub for the MimeTypeExclusions setting, for use by phpdoc and IDEs.
$wgExtraLanguageCodes
Config variable stub for the ExtraLanguageCodes setting, for use by phpdoc and IDEs.
$wgEmailAuthentication
Config variable stub for the EmailAuthentication setting, for use by phpdoc and IDEs.
$wgLogo
Config variable stub for the Logo setting, for use by phpdoc and IDEs.
$wgLogActionsHandlers
Config variable stub for the LogActionsHandlers setting, for use by phpdoc and IDEs.
$wgRateLimits
Config variable stub for the RateLimits setting, for use by phpdoc and IDEs.
$wgPHPSessionHandling
Config variable stub for the PHPSessionHandling setting, for use by phpdoc and IDEs.
$wgUseSharedUploads
Config variable stub for the UseSharedUploads setting, for use by phpdoc and IDEs.
$wgDBpassword
Config variable stub for the DBpassword setting, for use by phpdoc and IDEs.
$wgFavicon
Config variable stub for the Favicon setting, for use by phpdoc and IDEs.
$wgEnotifUseRealName
Config variable stub for the EnotifUseRealName setting, for use by phpdoc and IDEs.
$wgNewUserLog
Config variable stub for the NewUserLog setting, for use by phpdoc and IDEs.