Module:links: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 373: Line 373:
if not lang:hasType("conlang") then
if not lang:hasType("conlang") then
target = "wikt:Reconstruction:" .. lang:getFullName() .. "/" .. target
target = "Reconstruction:" .. lang:getFullName() .. "/" .. target
end
end
-- Reconstructed languages and substrates require an initial *.
-- Reconstructed languages and substrates require an initial *.
Line 380: Line 380:
.. " is unattested, while the given term does not begin with '*' to indicate that it is reconstructed.")
.. " is unattested, while the given term does not begin with '*' to indicate that it is reconstructed.")
elseif lang:hasType("appendix-constructed") then
elseif lang:hasType("appendix-constructed") then
target = "wikt:Appendix:" .. lang:getFullName() .. "/" .. target
target = "Appendix:" .. lang:getFullName() .. "/" .. target
else
else
target = target
target = target
end
end
if lang:hasType("conlang") then
target = (lang:hasType("conlang") and "Contionary:" or "wikt:") .. target .. "#" .. lang:getFullName()
target = "Contionary:" .. target
end
return target, orig_target, escaped > 0
return target, orig_target, escaped > 0

Navigation menu