Module:head/languages: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
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 p["stem"][i] then
if args["stem"][i] then
auto = mw.ustring.gsub(auto, "$" .. i .. "%??", p["stem"][i])
auto = mw.ustring.gsub(auto, "$" .. i .. "%??", args["stem"][i])
end
end
i = i + 1
i = i + 1

Navigation menu