Module:sish-headword: Difference between revisions
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 25: | Line 25: | ||
local unfd = mw.ustring.toNFD | local unfd = mw.ustring.toNFD | ||
local insert = table.insert | local insert = table.insert | ||
local list_param = {list = true, disallow_holes = true} | local list_param = {list = true, disallow_holes = true} | ||
local boolean_param = {type = "boolean"} | local boolean_param = {type = "boolean"} | ||
local function ine(val) | local function ine(val) | ||
| Line 160: | Line 129: | ||
if sc:getCode() == "Latn" then | if sc:getCode() == "Latn" then | ||
other_sc = "Armn" | other_sc = "sish-Armn" | ||
elseif sc:getCode() == "Armn" then | elseif sc:getCode() == "sish-Armn" then | ||
other_sc = "Latn" | other_sc = "Latn" | ||
end | end | ||