Module:links: Difference between revisions

Jump to navigation Jump to search
Undo revision 375244 by Sware (talk)
No edit summary
Tag: Reverted
(Undo revision 375244 by Sware (talk))
Tag: Undo
Line 193: Line 193:
return nil
return nil
else
else
target = target
target = "*" .. target
end
end
-- Reconstructed languages and substrates require an initial *.
-- Reconstructed languages and substrates require an initial *.
Line 203: Line 203:
mw.loadData("Module:data/interwikis")[check]
mw.loadData("Module:data/interwikis")[check]
) then
) then
return "*" .. target
return target
else
else
error("The specified language " .. lang:getCanonicalName()
error("The specified language " .. lang:getCanonicalName()

Navigation menu