10,731
edits
TheNightAvl (talk | contribs) (Fixed) |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 106: | Line 106: | ||
syllables_no_auto = true | syllables_no_auto = true | ||
elseif args[i] == "" then | elseif args[i] == "" then | ||
if mw.ustring. | 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.") | ||
Line 113: | Line 113: | ||
elseif args[i+1] == nil then | elseif args[i+1] == nil then | ||
working_syllables = working_syllables .. "|" .. args[i] | working_syllables = working_syllables .. "|" .. args[i] | ||
if mw.ustring. | 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.") | ||
Line 145: | Line 145: | ||
end | end | ||
if syllables_no_auto == false and mw.ustring. | if syllables_no_auto == false and mw.ustring.find(auto_syllables, "(%|)") then | ||
table.insert(syllables, 1, auto_syllables) | table.insert(syllables, 1, auto_syllables) | ||
end | end |