10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 181: | Line 181: | ||
local stem = args[1] | local stem = args[1] | ||
local disable_ipa = args['noipa'] | local disable_ipa = args['noipa'] | ||
local irregular = args["irr"] or args["irregular"] or mw.ustring.find(stem, "%*") | local irregular = args["irr"] or args["irregular"] or mw.ustring.find(stem or "", "%*") | ||
if args[1] and args[2] ~= "adj" and args[2] ~= "adv" then error("Second parameter must be adj or adv") end | if args[1] and args[2] ~= "adj" and args[2] ~= "adv" then error("Second parameter must be adj or adv") end |