Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\View\Module\TemplateModule Class Reference

Injects templates into JavaScript. More...

+ Inheritance diagram for Wikibase\View\Module\TemplateModule:
+ Collaboration diagram for Wikibase\View\Module\TemplateModule:

Public Member Functions

 getScript (ResourceLoaderContext $context)
 
 supportsURLLoading ()
 
 getDefinitionSummary (ResourceLoaderContext $context)
 

Detailed Description

Injects templates into JavaScript.

Author
H. Snater media.nosp@m.wiki.nosp@m.@snat.nosp@m.er.c.nosp@m.om

Member Function Documentation

◆ getDefinitionSummary()

Wikibase\View\Module\TemplateModule::getDefinitionSummary ( ResourceLoaderContext  $context)
See also
ResourceLoaderModule::getDefinitionSummary
Parameters
ResourceLoaderContext$context
Returns
array

◆ getScript()

Wikibase\View\Module\TemplateModule::getScript ( ResourceLoaderContext  $context)
See also
ResourceLoaderModule::getScript
Parameters
ResourceLoaderContext$context
Returns
string

◆ supportsURLLoading()

Wikibase\View\Module\TemplateModule::supportsURLLoading ( )
See also
ResourceLoaderModule::supportsURLLoading
Returns
bool

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