45,647
edits
No edit summary |
No edit summary |
||
Line 274: | Line 274: | ||
local ipa = "* " | local ipa = "* " | ||
if detect_dialect(term) == "e" then | if detect_dialect(term) == "w" then | ||
ipa = ipa .. line_format(separate_word(term, false, false, true), {'Western'}) | |||
if mw.title.getCurrentTitle().nsText ~= 'Template' then | |||
table.insert(categories, "Western Siwa lemmas") | |||
table.insert(categories, "Siwa lemmas with Western IPA pronunciation") | |||
end | |||
elseif detect_dialect(term) == "e" then | |||
ipa = ipa .. line_format(separate_word(term, false, true, false), {'Eastern'}) | ipa = ipa .. line_format(separate_word(term, false, true, false), {'Eastern'}) | ||
if mw.title.getCurrentTitle().nsText ~= 'Template' then | if mw.title.getCurrentTitle().nsText ~= 'Template' then | ||
table.insert(categories, "Eastern Siwa lemmas") | table.insert(categories, "Eastern Siwa lemmas") | ||
table.insert(categories, "Siwa lemmas with Eastern IPA pronunciation") | table.insert(categories, "Siwa lemmas with Eastern IPA pronunciation") | ||
end | end | ||
elseif args.a then | elseif args.a then |