2,788
edits
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
local i = 1 | local i = 1 | ||
local auto = mw.ustring.gsub(inflection_param.auto, "$0", term) | local auto = mw.ustring.gsub(inflection_param.auto, "$0", term) | ||
while i < ( | while i < (args["stem"]["maxindex"] + 1) do | ||
if p["stem"][i] then | if p["stem"][i] then | ||
auto = mw.ustring.gsub(auto, "$" .. i .. "%??", p["stem"][i]) | auto = mw.ustring.gsub(auto, "$" .. i .. "%??", p["stem"][i]) |