MediaWiki fundraising/REL1_35
|
Interface for configuration instances. More...
Public Member Functions | |
get ( $name) | |
Get a configuration variable such as "Sitename" or "UploadMaintenance.". | |
get ( $name) | |
Get a configuration variable such as "Sitename" or "UploadMaintenance.". | |
has ( $name) | |
Check whether a configuration option is set for the given name. | |
has ( $name) | |
Check whether a configuration option is set for the given name. | |
Interface for configuration instances.
TODO: Deleteme when removing WmfFramework. This shim is needed under drupal when running.
Stable to implement
Definition at line 29 of file Config.php.
Config::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implemented in DrupalFakeMwConfig, EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.
Referenced by EditPage\__construct(), ResourceLoader\__construct(), GatewayChooser\buildGatewayPageURL(), ConfigurationReader\createForGateway(), PopulateImageSha1\doDBUpdates(), MediaWiki\emitBufferedStatsdData(), MultiConfig\get(), ApiQueryUserInfo\getCentralUserInfo(), QueryPage\getDisabledQueryPages(), Installer\getInstallerConfig(), ApiUpload\getMinUploadChunkSize(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderWikiModule\getPages(), ContentSecurityPolicy\isNonceRequired(), ContentSecurityPolicy\makeCSPDirectives(), MediaWiki\MediaWikiServices\newInstance(), MediaWiki\Session\CookieSessionProvider\setConfig(), Maintenance\setLBFactoryTriggers(), and OutputPage\transformResourcePath().
Config::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implemented in DrupalFakeMwConfig, EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.
Config::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implemented in DrupalFakeMwConfig, EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.
Config::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implemented in DrupalFakeMwConfig, EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.