Jump to content

Module:Interwiki redirect

From Wikipedia, the free encyclopedia
require("Module:Module wikitext")._addText("{{construction}}")

local p = {}
p.main = function(frame)
	local args = require("Module:Arguments").getArgs(frame)
	local interwikiList = mw.site.interwikiMap("local")
	local title = mw.title.new(args[1])
	local interwiki = title.interwiki
	local data = interwikiList[interwiki]
	return ''
end

return p