|
Wikibase
MediaWiki Wikibase extension
|
Generic, reusable ResourceLoader module to set a JavaScript configuration variable via mw.config.set. More...
Inheritance diagram for Wikibase\Lib\Modules\MediaWikiConfigModule:
Collaboration diagram for Wikibase\Lib\Modules\MediaWikiConfigModule:Public Member Functions | |
| __construct (array $options) | |
| enableModuleContentVersion () | |
Private Attributes | |
| $getConfigValueProvider | |
Generic, reusable ResourceLoader module to set a JavaScript configuration variable via mw.config.set.
| Wikibase\Lib\Modules\MediaWikiConfigModule::__construct | ( | array | $options | ) |
| array | $options | ResourceLoader module options. Must include a "getconfigvalueprovider" callable that returns a MediaWikiConfigValueProvider when called. No other options supported yet. |
| Wikibase\Lib\Modules\MediaWikiConfigModule::enableModuleContentVersion | ( | ) |
|
private |