WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Presentation\View\TemplateModule Class Reference

Injects templates into JavaScript. More...

Static Public Member Functions

static getScript (RL\Context $context)
 Get templates.php as a JavaScript function call.
 
static getVersion (RL\Context $context)
 Get the version corresponding to getScript()
 

Detailed Description

Injects templates into JavaScript.

Member Function Documentation

◆ getScript()

static Wikibase\Lexeme\Presentation\View\TemplateModule::getScript ( RL\Context $context)
static

Get templates.php as a JavaScript function call.

Parameters
RL\Context$context
Returns
string

◆ getVersion()

static Wikibase\Lexeme\Presentation\View\TemplateModule::getVersion ( RL\Context $context)
static

Get the version corresponding to getScript()

Parameters
RL\Context$context
Returns
RL\FilePath

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