Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
rmv testing
just use "draft" to match behaviour of banner shell
Line 68:
elseif raw_importance then-- standard importance scale
importance = cfg.importance.na
if pagetype=='article' or pagetype=='set index article' or pagetype=='redirect' or pagetype=='draft article' then
local mask = cfg.importance.mask
if mask[raw_importance:lower()] then -- valid importance specified
Line 154:
dab = 'disambiguation page',
sia = 'set index article',
draft = 'draft article'
})
local article = pagetype=='article' or pagetype=='set index article'