Content deleted Content added
pass title to _main |
fix |
||
Line 205:
p._quality = function(args)
title = args.title or mw.title.getCurrentTitle()
local local_class = getclass(args,title)
local prefix, class = 'Y', local_class
Line 211:
class = '¬'
elseif args.QUALITY_CRITERIA ~= 'custom' then -- project uses standard scale and will inherit article class if needed
local article_class = (args.article_class~='' and args.article_class) or p.readarticleclass(title.prefixedText,{ignore_subtemplates=true})
article_class = article_class and p._main{article_class, ignorenamespace=args.ignorenamespace, title=title} or '' -- normalise
if article_class == '' then -- banner shell exists but no article class defined
|