Module:Interwiki redirect
Appearance
This article or section is in a state of significant expansion or restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template. If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{in use}} during the active editing session. Click on the link for template parameters to use.
This module was last edited by Awesome Aasim (talk | contribs) 8 months ago. (Update timer) |
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