|
MediaWiki master
|
Interface for configuration instances. More...
Inherited by MediaWiki\Config\EtcdConfig, MediaWiki\Config\GlobalVarConfig, MediaWiki\Config\HashConfig, MediaWiki\Config\IterableConfig, MediaWiki\Config\MultiConfig, and MediaWiki\Config\MutableConfig.
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. | |
Interface for configuration instances.
Definition at line 18 of file Config.php.
| MediaWiki\Config\Config::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
| string | $name | Name of configuration option |
| ConfigException |
Implemented in MediaWiki\Config\EtcdConfig, MediaWiki\Config\GlobalVarConfig, MediaWiki\Config\HashConfig, and MediaWiki\Config\MultiConfig.
Referenced by MediaWiki\EditPage\EditPage\__construct(), MediaWiki\Actions\McrUndoAction\__construct(), MediaWiki\RecentChanges\ChangeTrackingEventIngress\__construct(), MediaWiki\User\CentralId\LocalIdLookup\__construct(), MediaWiki\Rest\Handler\SitemapHandlerBase\__construct(), MediaWiki\Rest\Handler\SearchHandler\__construct(), MediaWiki\Rest\Handler\OpenSearchDescriptionHandler\__construct(), MediaWiki\Content\CssContentHandler\__construct(), MediaWiki\Content\JavaScriptContentHandler\__construct(), MediaWiki\Content\VueContentHandler\__construct(), MediaWiki\RenameUser\Job\RenameUserTableJob\__construct(), MediaWiki\MediaWikiEntryPoint\commitMainTransaction(), MediaWiki\Api\ApiQueryUserInfo\getCentralUserInfo(), MediaWiki\Skin\SkinComponentCopyright\getCopyrightHTML(), MediaWiki\ResourceLoader\DateFormatterConfig\getDataForLang(), MediaWiki\SpecialPage\QueryPage\getDisabledQueryPages(), MediaWiki\Skin\SkinComponentFooter\getFooterIconsData(), MediaWiki\Installer\Installer\getInstallerConfig(), MediaWiki\Api\ApiUpload\getMinUploadChunkSize(), MediaWiki\ResourceLoader\UserModule\getPages(), MediaWiki\ResourceLoader\UserStylesModule\getPages(), MediaWiki\ResourceLoader\WikiModule\getPages(), MediaWiki\Request\ContentSecurityPolicy\isNonceRequired(), MediaWiki\Page\SitemapGenerator\namespacesFromConfig(), MediaWiki\Request\FauxResponse\setCookie(), MediaWiki\Output\OutputPage\transformResourcePath(), and MediaWiki\Settings\Config\ConfigSchemaAggregator\validateConfig().
| MediaWiki\Config\Config::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
| string | $name | Name of configuration option |
Implemented in MediaWiki\Config\EtcdConfig, MediaWiki\Config\GlobalVarConfig, MediaWiki\Config\HashConfig, and MediaWiki\Config\MultiConfig.
Referenced by MediaWiki\Settings\Config\ConfigSchemaAggregator\validateConfig().