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