MediaWiki
1.33.0
|
Interface for configuration instances. More...
Public Member Functions | |
get ( $name) | |
Get a configuration variable such as "Sitename" or "UploadMaintenance.". More... | |
has ( $name) | |
Check whether a configuration option is set for the given name. More... | |
Config::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implemented in EtcdConfig, HashConfig, GlobalVarConfig, and MultiConfig.
Referenced by MediaWiki\Auth\Throttler\__construct(), MWLBFactory\applyDefaultConfig(), SimpleCaptcha\canSkipCaptcha(), MediaWiki\emitBufferedStatsdData(), MultiConfig\get(), ApiQueryUserInfo\getCentralUserInfo(), MediaWiki\Auth\UserDataAuthenticationRequest\getFieldInfo(), ApiCategoryTree\getHTML(), Installer\getInstallerConfig(), ResourceLoaderSkinModule\getLogoData(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderWikiModule\getPages(), MediaWiki\Config\ConfigRepository\getValueOf(), PasswordFactory\init(), ContentSecurityPolicy\isNonceRequired(), ContentSecurityPolicy\makeCSPDirectives(), MediaWiki\MediaWikiServices\newInstance(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequest\newRandom(), MediaWiki\preOutputCommit(), MWLBFactory\sanityCheckServerConfig(), MediaWiki\Session\CookieSessionProvider\setConfig(), Maintenance\setLBFactoryTriggers(), MWLBFactory\setSchemaAliases(), MediaWiki\Session\CookieSessionProviderTest\testCookieData(), and MediaWiki\Auth\AuthManagerTest\testProviderCreation().
Config::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implemented in EtcdConfig, HashConfig, MultiConfig, and GlobalVarConfig.