Content deleted Content added
rmv |
simp |
||
Line 2:
local function getDocWarning(title)
if title.namespace == 10 and title.subpageText == 'class' then▼
return mw.getCurrentFrame():expandTemplate{▼
title = 'Class mask/doc warning'▼
}▼
end▼
end
Line 152 ⟶ 147:
function p._main(args, title)
title = title or mw.title.getCurrentTitle()
local docWarning =
▲ if title.namespace == 10 and title.subpageText == 'class' then
▲ title = 'Class mask/doc warning'
▲ }
▲ end
local grade = getGrade(args, title) or ''
return docWarning .. grade
|