Module:links: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 320: Line 320:
link.fragment = "#" .. lang:getCanonicalName()
link.fragment = "#" .. lang:getCanonicalName()
if link.target:match("^%*") and lang:hasType("reconstructed") then
if link.target:match("^%*") and lang:hasType("reconstructed") and to_wikt then
link.target = link.target:gsub("^%*","Reconstruction:" .. lang:getCanonicalName() .. "/")
link.target = link.target:gsub("^%*","Reconstruction:" .. lang:getCanonicalName() .. "/")
link.fragment = ""
link.fragment = ""