Content deleted Content added
use main_ |
use class_mask |
||
Line 21:
args.FQS = (args.QUALITY_SCALE == 'extended') and 'yes' or 'no'
args[1] = args.class
class =
end
return class
Line 186:
end
p.
title = title or mw.title.getCurrentTitle()
local out = ''
Line 199:
local getArgs = require('Module:Arguments').getArgs
local args = getArgs(frame,{removeBlanks=false, wrappers='Template:Class mask'})
return p.
end
p.quality = function(frame) -- used by WPBM to check global quality and compare with local parameter
local local_class = getclass(frame.args)
local prefix, class = 'Y', local_class
Line 209:
elseif frame.args.QUALITY_CRITERIA ~= 'custom' then -- project uses standard scale and will inherit article class if needed
local article_class = frame.args.article_class or readarticleclass() -- checks parameter for testing purposes
article_class = article_class and
if (article_class == '¬') or (article_class == '') then -- article class does not exist, display quality class in project banner as normal
elseif (local_class == '') or (local_class == article_class) then -- article class and local class are the same, or local is not specified
|