Manual:$wgConfigRegistry

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎العربية • ‎中文 • ‎日本語
Paths: $wgConfigRegistry
Registry of factory functions to create config objects
Introduced in version:1.23.0 (Gerrit change 109850; git #I5a5857f)
Removed in version:still in use
Allowed values:array
Default value:
[
	'main' => 'GlobalVarConfig::newInstance'
]
Other settings: Alphabetical | By function

Details[edit]

Registry of factory functions to create ConfigManual:Config.php objects: Currently only 'GlobalVarConfig' and 'HashConfig' are available. The 'main' key must be set, and the value should be a valid callable.