Module:links: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 189: Line 189:
-- Link to appendix for reconstructed terms and terms in appendix-only languages. Plain links interpret * literally, however.
-- Link to appendix for reconstructed terms and terms in appendix-only languages. Plain links interpret * literally, however.
elseif reconstructed then
elseif reconstructed == 1 then
if lang:getCode() == "und" then
if lang:getFullCode() == "und" then
return nil
return nil
else
else
target = (target:match("^%*") and "" or "*") .. target
target = "wikt:Reconstruction:" .. lang:getFullName() .. "/" .. target
end
end
-- Reconstructed languages and substrates require an initial *.
-- Reconstructed languages and substrates require an initial *.

Navigation menu