mediawiki-extensions-Scribunto/engines/LuaCommon
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
..
lualib Add mw.site.interwikiMap 2014-12-24 01:17:48 +09:00
HtmlLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
LanguageLibrary.php Merge "Allow for dynamically-loaded PHP libraries" 2014-10-03 14:01:46 +00:00
LibraryBase.php Add more comments and type hints 2014-12-19 19:25:53 +00:00
LuaCommon.php Normalize newlines before calling preprocessor 2014-12-22 04:15:52 +00:00
LuaInterpreter.php Add more comments and type hints 2014-12-19 19:25:53 +00:00
MessageLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
SiteLibrary.php Add mw.site.interwikiMap 2014-12-24 01:17:48 +09:00
TextLibrary.php Add mw.text.unstripNoWiki, mw.text.killMarkers, fix mw.text.unstrip 2014-11-05 12:32:35 -05:00
TitleLibrary.php Record a link to pages looked up by ID 2014-12-11 16:10:42 -05:00
UriLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
UstringLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00