MediaWiki
1.30.2
|
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 HashConfig, GlobalVarConfig, and MultiConfig.
Referenced by MultiConfig\get(), MediaWiki\Auth\UserDataAuthenticationRequest\getFieldInfo(), ResourceLoaderSkinModule\getLogo(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderUploadDialogModule\getScript(), PasswordFactory\init(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequest\newRandom(), MediaWiki\preOutputCommit(), MediaWiki\Session\CookieSessionProvider\setConfig(), 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 HashConfig, MultiConfig, and GlobalVarConfig.