MediaWiki
fundraising/REL1_31
|
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 MultiConfig, HashConfig, GlobalVarConfig, and EtcdConfig.
Referenced by MediaWiki\Auth\Throttler\__construct(), MWLBFactory\applyDefaultConfig(), ChangesListSpecialPage\checkStructuredFilterUiEnabled(), SpecialWatchlist\checkStructuredFilterUiEnabled(), MediaWiki\emitBufferedStatsdData(), MultiConfig\get(), ApiQueryUserInfo\getCentralUserInfo(), MediaWiki\Auth\UserDataAuthenticationRequest\getFieldInfo(), Installer\getInstallerConfig(), ResourceLoaderSkinModule\getLogo(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderWikiModule\getPages(), ResourceLoaderUploadDialogModule\getScript(), PasswordFactory\init(), MediaWiki\MediaWikiServices\newInstance(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequest\newRandom(), MediaWiki\preOutputCommit(), MediaWiki\Session\CookieSessionProvider\setConfig(), Maintenance\setLBFactoryTriggers(), MWLBFactory\setSchemaAliases(), MediaWiki\Session\CookieSessionProviderTest\testCookieData(), MediaWiki\Auth\AuthManagerTest\testProviderCreation(), 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 MultiConfig, HashConfig, GlobalVarConfig, and EtcdConfig.