Module:links: Difference between revisions

m 1 revision imported
No edit summary
Line 321: Line 321:


if target:sub(1, 1) == ":" then
if target:sub(1, 1) == ":" then
-- FIXME, the auto_display (second return value) should probably remove the colon
local link_target = target:sub(2)
return target:sub(2), orig_target
link_target = (lang:hasType("conlang") and "Contionary:" or "wikt:") .. link_target
return link_target, orig_target
end
end