Module:links: Difference between revisions
No edit summary |
No edit summary |
||
| Line 356: | Line 356: | ||
end | end | ||
end | end | ||
target, escaped = target:gsub("^(\\-)\\%*", "%1*") | target, escaped = target:gsub("^(\\-)\\%%*", "%1*") | ||
if reconstructed == 0 and lang:hasType("reconstructed | if reconstructed == 0 and lang:hasType("reconstructed") then | ||
orig_target = "*" .. target | orig_target = "*" .. target | ||
reconstructed = 1 | reconstructed = 1 | ||
| Line 400: | Line 400: | ||
--.. " 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.") | ||
orig_target = "*" .. target | orig_target = "*" .. target | ||
end | |||
else | |||
if reconstructed == 1 then | |||
target = "*" .. target | |||
end | end | ||
end | end | ||