Module:ryn-mut: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 59: Line 59:
local change = mutation_rules[data.initial][1]
local change = mutation_rules[data.initial][1]
if change then return change .. data.remainder end
if change then return change .. data.remainder end
if data.prevowel then return data.initial .. "i" .. data.remainder end
if data.prevowel and (not mw.ustring.sub(data.remainder, 1, 1) == "i") then
return data.initial .. "i" .. data.remainder
end
return data.radical
return data.radical
end
end