JavaScript variables needed to access the repo independent from the current working wiki.
More...
|
| getScript (ResourceLoaderContext $context) |
| This one lets the client JavaScript know where it can find the API and the article path of the repo. More...
|
|
JavaScript variables needed to access the repo independent from the current working wiki.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ getScript()
Wikibase\Lib\Modules\RepoAccessModule::getScript |
( |
ResourceLoaderContext |
$context | ) |
|
This one lets the client JavaScript know where it can find the API and the article path of the repo.
- See also
- ResourceLoaderModule::getScript
- Parameters
-
ResourceLoaderContext | $context | |
- Returns
- string
◆ $targets
Wikibase\Lib\Modules\RepoAccessModule::$targets = [ 'desktop', 'mobile' ] |
|
protected |
The documentation for this class was generated from the following file: