MediaWiki REL1_34
|
Interface for configuration instances. More...
Public Member Functions | |
get ( $name) | |
Get a configuration variable such as "Sitename" or "UploadMaintenance.". | |
has ( $name) | |
Check whether a configuration option is set for the given name. | |
Config::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implemented in EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.
Referenced by ResourceLoader\__construct(), SimpleCaptcha\canSkipCaptcha(), PopulateImageSha1\doDBUpdates(), MediaWiki\emitBufferedStatsdData(), MultiConfig\get(), ApiQueryUserInfo\getCentralUserInfo(), QueryPage\getDisabledQueryPages(), ApiCategoryTree\getHTML(), Installer\getInstallerConfig(), TimelessVariablesModule\getLessVars(), ResourceLoaderSkinModule\getLogoData(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderWikiModule\getPages(), PasswordFactory\init(), ContentSecurityPolicy\isNonceRequired(), ContentSecurityPolicy\makeCSPDirectives(), MediaWiki\MediaWikiServices\newInstance(), MediaWiki\preOutputCommit(), MediaWiki\Session\CookieSessionProvider\setConfig(), Maintenance\setLBFactoryTriggers(), and OutputPage\transformResourcePath().
Config::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implemented in EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.