8use Wikimedia\AtEase\AtEase;
21 'class' => WANObjectCache::class,
27if ( isset( $wgFileBlacklist ) ) {
32if ( isset( $wgMimeTypeBlacklist ) ) {
37if ( isset( $wgEnableUserEmailBlacklist ) ) {
42if ( isset( $wgShortPagesNamespaceBlacklist ) ) {
55 "{$wgStylePath}/common/images/",
56 "{$wgResourceBasePath}/resources/assets/licenses/",
78 "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png";
80 "$wgResourceBasePath/resources/assets/poweredby_mediawiki_132x47.png 1.5x, " .
81 "$wgResourceBasePath/resources/assets/poweredby_mediawiki_176x62.png 2x";
97 'name' =>
'fsLockManager',
98 'class' => FSLockManager::class,
99 'lockDirectory' =>
"{$wgUploadDirectory}/lockdir",
102 'name' =>
'nullLockManager',
103 'class' => NullLockManager::class,
113 'imageHeight' => 120,
114 'captionLength' =>
true,
116 'showDimensions' =>
true,
117 'mode' =>
'traditional',
132 'class' => ForeignDBRepo::class,
152 'class' => FileRepo::class,
166 'class' => ForeignAPIRepo::class,
167 'name' =>
'wikimediacommons',
168 'apibase' =>
'https://commons.wikimedia.org/w/api.php',
169 'url' =>
'https://upload.wikimedia.org/wikipedia/commons',
170 'thumbUrl' =>
'https://upload.wikimedia.org/wikipedia/commons/thumb',
172 'transformVia404' =>
true,
173 'fetchDescription' =>
true,
174 'descriptionCacheExpiry' => 43200,
175 'apiThumbCacheExpiry' => 0,
179 if ( !isset( $repo[
'directory'] ) && $repo[
'class'] === ForeignAPIRepo::class ) {
182 if ( !isset( $repo[
'backend'] ) ) {
183 $repo[
'backend'] = $repo[
'name'] .
'-backend';
230 'The Localtimezone setting must a valid timezone string or null. '
231 .
'It must not be an empty string or false.'
247 'Do not add to DummyLanguageCodes directly, ' .
248 'add to ExtraLanguageCodes instead.'
259foreach ( LanguageCode::getNonstandardLanguageCodeMapping() as $code => $bcp47 ) {
260 $bcp47 = strtolower( $bcp47 );
271if ( isset( $wgSlaveLagWarning ) ) {
275 $wgSettings->warning(
'SlaveLagWarning is no longer supported, ' .
276 'use DatabaseReplicaLagWarning instead!' );
283if ( isset( $wgSlaveLagCritical ) ) {
287 $wgSettings->warning(
'SlaveLagCritical is no longer supported, ' .
288 'use DatabaseReplicaLagCritical instead!' );
296 AtEase::suppressWarnings();
298 AtEase::restoreWarnings();
339if ( defined(
'MW_NO_SESSION' ) ) {
$wgGalleryOptions
Default parameters for the "<gallery>" tag.
$wgCanonicalNamespaceNames
Definitions of the NS_ constants are in Defines.php.
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(count( $wgDummyLanguageCodes) !==0) $wgDummyLanguageCodes
$wgLockManagers[]
Initialise $wgLockManagers to include basic FS version.
$wgDefaultUserOptions['rcdays']
This class contains schema declarations for all configuration variables known to MediaWiki core.
$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.
$wgEnotifMaxRecips
Config variable stub for the EnotifMaxRecips 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.
$wgEnableUserEmailMuteList
Config variable stub for the EnableUserEmailMuteList 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.
$wgMainCacheType
Config variable stub for the MainCacheType setting, for use by phpdoc and IDEs.
$wgEnableUserEmail
Config variable stub for the EnableUserEmail setting, for use by phpdoc and IDEs.
$wgPasswordPolicy
Config variable stub for the PasswordPolicy 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.
$wgInvalidateCacheOnLocalSettingsChange
Config variable stub for the InvalidateCacheOnLocalSettingsChange 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.
$wgMaximalPasswordLength
Config variable stub for the MaximalPasswordLength 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.
$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.
$wgEnotifImpersonal
Config variable stub for the EnotifImpersonal 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.
$wgGroupPermissions
Config variable stub for the GroupPermissions setting, for use by phpdoc and IDEs.
$wgLocalFileRepo
Config variable stub for the LocalFileRepo setting, for use by phpdoc and IDEs.
$wgWANObjectCaches
Config variable stub for the WANObjectCaches 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.
$wgMinimalPasswordLength
Config variable stub for the MinimalPasswordLength 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.
$wgMainWANCache
Config variable stub for the MainWANCache 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.
$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.