10,731
edits
TheNightAvl (talk | contribs) m (Fixed multi-rhyme function) |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 89: | Line 89: | ||
if args[i] == "no auto" then | if args[i] == "no auto" then | ||
IPA_no_auto = true | IPA_no_auto = true | ||
elseif args[i] ~= nil then | |||
table.insert(IPA[mode_dialect][mode_register], args[i]) | table.insert(IPA[mode_dialect][mode_register], args[i]) | ||
mw.log("IPA: added '" .. args[i] .. "' to IPA[" .. mode_dialect .. "][" .. mode_register .. "]") | mw.log("IPA: added '" .. args[i] .. "' to IPA[" .. mode_dialect .. "][" .. mode_register .. "]") | ||
Line 116: | Line 116: | ||
end | end | ||
elseif mode == "homophones" then | elseif mode == "homophones" then | ||
table.insert(homophones, args[i]) | if args[i] ~= nil then | ||
table.insert(homophones, args[i]) | |||
mw.log("Homophones: " .. args[i] .. " registered.") | |||
end | |||
end | end | ||