Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
allow title to be specified for testing purposes
don't normalise unless WPBS template is present on page
Line 208:
class = '¬'
elseif args.QUALITY_CRITERIA ~= 'custom' then -- project uses standard scale and will inherit article class if needed
local article_class = args.article_class or p.readarticleclass(title,{ignore_subtemplates=true}) or ''
article_class = article_class and p._main{article_class, ignorenamespace=args.ignorenamespace} or '' -- normalise
if article_class == '' then -- article class does not exist
if local_class == '' then -- local class also does not exist, check whether any other class parameters are defined inside the shell