mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-27 17:50:06 +00:00
c58c528d28
This makes the interwiki map available to Lua modules. The code is based on the API interwiki map code in core (the appendInterwikiMap method of includes/api/ApiQuerySiteInfo.php.) Everything that the API includes is added, apart from iw_api and iw_wikiid, which I couldn't think of a use for from Lua modules. Accessing the interwiki map would be useful for modules like enwiki's Module:InterwikiTable,[1] as it would stop module writers having to duplicate the data. [1] https://en.wikipedia.org/wiki/Module:InterwikiTable Change-Id: Ie8ad2582aaf5e422824f7da51714a347bb4041d1 |
||
---|---|---|
common | ||
engines | ||
i18n | ||
modules | ||
tests/engines | ||
.gitignore | ||
.gitreview | ||
.jshintrc | ||
composer.json | ||
Scribunto.i18n.php | ||
Scribunto.magic.php | ||
Scribunto.namespaces.php | ||
Scribunto.php |