10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 80: | Line 80: | ||
while args[i] ~= nil or args[i + 1] ~= nil do | while args[i] ~= nil or args[i + 1] ~= nil do | ||
mw.log("Processing argument " .. i .. ".") | -- mw.log("Processing argument " .. i .. ".") | ||
if parameter[args[i]] ~= nil then -- mode changer | if parameter[args[i]] ~= nil then -- mode changer | ||
mode = args[i] | mode = args[i] | ||
Line 140: | Line 140: | ||
table.insert(IPA[mode_dialect][mode_register], temp_arg) | table.insert(IPA[mode_dialect][mode_register], temp_arg) | ||
mw.log("IPA: added '" .. temp_arg .. "' to IPA[" .. mode_dialect .. "][" .. mode_register .. "]") | -- mw.log("IPA: added '" .. temp_arg .. "' to IPA[" .. mode_dialect .. "][" .. mode_register .. "]") | ||
manual_entry = true | manual_entry = true | ||
Line 154: | Line 154: | ||
if mw.ustring.find(working_syllables, "(%|)") then | if mw.ustring.find(working_syllables, "(%|)") then | ||
table.insert(syllables, working_syllables) | table.insert(syllables, working_syllables) | ||
mw.log("Syllables: " .. working_syllables .. " registered.") | -- mw.log("Syllables: " .. working_syllables .. " registered.") | ||
end | end | ||
working_syllables = "" | working_syllables = "" | ||
Line 160: | Line 160: | ||
working_syllables = working_syllables .. "|" .. args[i] | working_syllables = working_syllables .. "|" .. args[i] | ||
table.insert(syllables, working_syllables) | table.insert(syllables, working_syllables) | ||
mw.log("Syllables: " .. working_syllables .. " registered.") | -- mw.log("Syllables: " .. working_syllables .. " registered.") | ||
working_syllables = "" | working_syllables = "" | ||
else | else |