Content deleted Content added
SI also used for set index |
move checks for custom classes before any aliases are used |
||
Line 80:
ret = ucfirst(grade)
end
elseif args[grade:lower()]=='yes' then
-- List
Line 140 ⟶ 148:
elseif grade == 'help' or grade == 'user' then
ret = resolveExtraGrade(grade, args)
else
▲ -- Upper-case syntax
▲ ret = args[grade:upper()]
▲ -- Lower-case syntax
▲ if args[grade:lower()] == 'yes' then
▲ ret = mw.language.getContentLanguage():ucfirst(grade:lower())
▲ -- Defaults
▲ ret = resolveDefaultGrade(args, title)
end
return ret
|