Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
try
mw.title.new
Line 205:
 
p._quality = function(args)
title = argsmw.title.new(args.page) or mw.title.getCurrentTitle()
local local_class = getclass(args,title)
local prefix, class = 'Y', local_class
Line 215:
if article_class == '' then -- banner shell exists but no article class defined
if local_class == '' then -- local class also does not exist, check whether any other class parameters are defined inside the shell
local classparam = p.readarticleclass(title.prefixedText,{ignore_blank=true, only_subtemplates=true})
if classparam == '' then -- no class parameters defined, display as globally unassessed
prefix = 'H' -- hide quality class in project banner