Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
No edit summary
simp
Line 14:
}
end
end
 
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
 
Line 78 ⟶ 74:
-- We use string.lower here as it's faster than mw.ustring.lower and none
-- of the standard grades have non-Ascii characters.
grade = grade and trim(grade:match('^%s*(.-)%s*$'):lower()
 
local ret