Go to file
Mr. Stradivarius c58c528d28 Add mw.site.interwikiMap
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
2014-12-24 01:17:48 +09:00
common Add more comments and type hints 2014-12-19 19:25:53 +00:00
engines Add mw.site.interwikiMap 2014-12-24 01:17:48 +09:00
i18n Localisation updates from https://translatewiki.net. 2014-12-18 23:22:27 +01:00
modules Expose mw.log data on preview 2014-07-07 16:14:30 -04:00
tests/engines Add mw.site.interwikiMap 2014-12-24 01:17:48 +09:00
.gitignore Update ignores for some emacs tmp files 2013-07-25 13:11:50 -04:00
.gitreview Adding .gitreview 2012-04-06 13:46:17 -04:00
.jshintrc Add .jshintrc file 2013-12-11 00:06:41 +01:00
composer.json Add composer.json file 2014-01-29 20:07:55 +01:00
Scribunto.i18n.php Update i18n shim 2014-04-22 13:40:40 +00:00
Scribunto.magic.php Localisation updates from https://translatewiki.net. 2014-11-04 23:31:03 +01:00
Scribunto.namespaces.php Add namespace translations for 'mai' 2014-10-22 22:56:21 +05:00
Scribunto.php Make Jenkins tests pass 2014-12-18 22:40:33 -05:00