Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Modules\MediaWikiConfigModule Class Reference

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
 

Detailed Description

Generic, reusable ResourceLoader module to set a JavaScript configuration variable via mw.config.set.

Author
Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Modules\MediaWikiConfigModule::__construct ( array $options)
Parameters
array$optionsResourceLoader module options. Must include a "getconfigvalueprovider" callable that returns a MediaWikiConfigValueProvider when called. No other options supported yet.

Member Function Documentation

◆ enableModuleContentVersion()

Wikibase\Lib\Modules\MediaWikiConfigModule::enableModuleContentVersion ( )
Returns
bool Always true.

Member Data Documentation

◆ $getConfigValueProvider

Wikibase\Lib\Modules\MediaWikiConfigModule::$getConfigValueProvider
private

The documentation for this class was generated from the following file: