MediaWiki REL1_40
SetupDynamicConfig.php File Reference

Go to the source code of this file.

Variables

 $rcMaxAgeDays = $wgRCMaxAge / ( 3600 * 24 )
 
 $wgCanonicalNamespaceNames = NamespaceInfo::CANONICAL_NAMES
 Definitions of the NS_ constants are in Defines.php.
 
 $wgCookiePrefix = strtr( $wgCookiePrefix, '=,; +."\'\\[', '__________' )
 
 $wgDefaultUserOptions ['rcdays']
 
if(! $wgEnableEmail) if(! $wgLocaltimezone) $wgDefaultUserOptions ['timecorrection'] = "System|$wgLocalTZoffset"
 
 $wgDefaultUserOptions ['watchlistdays']
 
if(count( $wgDummyLanguageCodes) !==0) $wgDummyLanguageCodes
 
if(isset($wgRateLimits[ 'emailuser'])) if(isset( $wgRateLimits['changetag'])) $wgFileExtensions = array_values( array_diff( $wgFileExtensions, $wgProhibitedFileExtensions ) )
 
 $wgGalleryOptions
 
 $wgLockManagers []
 
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] = 'editinterface'
 
if($wgLogos !==false &&isset($wgLogos else [ '1x'])) if(isset( $wgFileBlacklist))
 

Variable Documentation

◆ $rcMaxAgeDays

$rcMaxAgeDays = $wgRCMaxAge / ( 3600 * 24 )

Definition at line 193 of file SetupDynamicConfig.php.

◆ $wgCanonicalNamespaceNames

$wgCanonicalNamespaceNames = NamespaceInfo::CANONICAL_NAMES

Definitions of the NS_ constants are in Defines.php.

Access: internal

Definition at line 247 of file SetupDynamicConfig.php.

◆ $wgCookiePrefix

$wgCookiePrefix = strtr( $wgCookiePrefix, '=,; +."\'\\[', '__________' )

Definition at line 205 of file SetupDynamicConfig.php.

◆ $wgDefaultUserOptions [1/3]

$wgDefaultUserOptions[ 'rcdays']
Initial value:
= min(
ceil( $rcMaxAgeDays )
)
$wgDefaultUserOptions['rcdays']

Definition at line 195 of file SetupDynamicConfig.php.

◆ $wgDefaultUserOptions [2/3]

if(! $wgEnableEmail) if (! $wgLocaltimezone) $wgDefaultUserOptions[ 'timecorrection'] = "System|$wgLocalTZoffset"

Definition at line 241 of file SetupDynamicConfig.php.

◆ $wgDefaultUserOptions [3/3]

$wgDefaultUserOptions[ 'watchlistdays']
Initial value:
= min(
$wgDefaultUserOptions['watchlistdays'],
ceil( $rcMaxAgeDays )
)

Definition at line 199 of file SetupDynamicConfig.php.

◆ $wgDummyLanguageCodes

if (count($wgDummyLanguageCodes) !==0) $wgDummyLanguageCodes
Initial value:
= [
'qqq' => 'qqq',
'qqx' => 'qqx',
] + $wgExtraLanguageCodes + LanguageCode::getDeprecatedCodeMapping()
$wgExtraLanguageCodes
Config variable stub for the ExtraLanguageCodes setting, for use by phpdoc and IDEs.

Definition at line 257 of file SetupDynamicConfig.php.

◆ $wgFileExtensions

if(isset( $wgRateLimits['emailuser'])) if (isset($wgRateLimits[ 'changetag'])) $wgFileExtensions = array_values( array_diff( $wgFileExtensions, $wgProhibitedFileExtensions ) )

Definition at line 61 of file SetupDynamicConfig.php.

◆ $wgGalleryOptions

$wgGalleryOptions
Initial value:
= [
'imagesPerRow' => 0,
'imageWidth' => 120,
'imageHeight' => 120,
'captionLength' => true,
'showBytes' => true,
'showDimensions' => true,
'mode' => 'traditional',
]

Definition at line 115 of file SetupDynamicConfig.php.

◆ $wgLockManagers

$wgLockManagers[]
Initial value:
= [
'name' => 'fsLockManager',
'class' => FSLockManager::class,
'lockDirectory' => "{$wgUploadDirectory}/lockdir",
]

Definition at line 103 of file SetupDynamicConfig.php.

◆ $wgNamespaceProtection

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] = 'editinterface'

Definition at line 100 of file SetupDynamicConfig.php.

◆ else

if (isset($wgSlaveLagCritical)) else
Initial value:
{
$wgFileBlacklist = $wgProhibitedFileExtensions
$wgProhibitedFileExtensions
Config variable stub for the ProhibitedFileExtensions setting, for use by phpdoc and IDEs.

Definition at line 20 of file SetupDynamicConfig.php.