mediawiki-extensions-Scribunto/engines/LuaCommon/lualib
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
..
luabit Clean up lualibs 2013-02-28 18:39:16 -08:00
ustring Fix deceptively-simple pattern in pure-Lua ustring 2014-08-10 01:18:18 +00:00
bit32.lua Add requirable bit32 library 2013-03-05 01:36:17 +00:00
libraryUtil.lua Improve error messages in mw.html 2014-12-08 17:01:31 +00:00
mw.html.lua Improve error messages in mw.html 2014-12-08 17:01:31 +00:00
mw.language.lua Provide access to Language::getFallbacksFor() 2013-12-16 14:12:47 -05:00
mw.lua Use a metatable when os.date("*t") is called 2014-12-19 03:46:23 +00:00
mw.message.lua Remove message formats other than plain 2014-02-03 15:29:39 -05:00
mw.site.lua Add mw.site.interwikiMap 2014-12-24 01:17:48 +09:00
mw.text.lua Add mw.text.unstripNoWiki, mw.text.killMarkers, fix mw.text.unstrip 2014-11-05 12:32:35 -05:00
mw.title.lua Avoid unnecessary database queries 2014-12-11 13:34:06 -05:00
mw.uri.lua Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
mw.ustring.lua Fix mw.ustring.gmatch and patterns with '^' 2013-02-14 14:25:55 -05:00
mwInit.lua Fix __pairs not working in LuaStandalone serialization 2014-08-27 21:09:05 -04:00
package.lua Add comments and remove trailing whitespace 2014-07-07 14:46:59 -04:00