47,726
edits
![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
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 | elseif reconstructed then | ||
if lang:getCode() == "und" then | if lang:getCode() == "und" then | ||
return nil | return nil | ||
else | else | ||
target = "*" .. target | target = (target:match("^%*") and "" or "*") .. target | ||
end | end | ||
-- Reconstructed languages and substrates require an initial *. | -- Reconstructed languages and substrates require an initial *. | ||
Line 210: | Line 210: | ||
elseif lang:hasType("appendix-constructed") then | elseif lang:hasType("appendix-constructed") then | ||
target = " | target = "wikt:Appendix:" .. lang:getCanonicalName() .. "/" .. target | ||
end | end | ||