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

JavaScript variables needed to access the repo independent from the current working wiki. More...

+ Inheritance diagram for Wikibase\Lib\Modules\RepoAccessModule:
+ Collaboration diagram for Wikibase\Lib\Modules\RepoAccessModule:

Public Member Functions

 getScript (RL\Context $context)
 This one lets the client JavaScript know where it can find the API and the article path of the repo.
 

Detailed Description

JavaScript variables needed to access the repo independent from the current working wiki.

Author
Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >

Member Function Documentation

◆ getScript()

Wikibase\Lib\Modules\RepoAccessModule::getScript ( RL\Context $context)

This one lets the client JavaScript know where it can find the API and the article path of the repo.

See also
RL\Module::getScript
Parameters
RL\Context$context
Returns
string

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