Module:links: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 116: Line 116:
-- Process the target
-- Process the target
link.target = link.nocont and link.target:gsub("^%*", "Reconstruction:" .. lang:getCanonicalName() .. "/") or link.target
link.target = link.nocont and link.target:gsub("^%*", "Reconstruction:" .. lang:getCanonicalName() .. "/") or link.target
error((lang and "found" or "not found") .. ": " .. lang:getCanonicalName() .. " " .. link.target)
link.target = export.getLinkPage(link.target, lang)
link.target = export.getLinkPage(link.target, lang)