Content deleted Content added
mNo edit summary |
define title earlier |
||
Line 241:
if class then -- banner gives quality ratings
local show_quality, conflict = true, false
if args.QUALITY_CRITERIA=='custom' then -- project has opted out of standard assessment scale and uses a custom mask
local custom_mask = banner_name:subPageTitle('class')
Line 262 ⟶ 263:
else
local classmask_args = {FQS = 'yes', [1] = class}
▲ local title = args.demo_page and mw.title.new(args.demo_page) or current_title
class = class_mask(classmask_args, title)
local article_class = p.readarticleclass({ignore_subtemplates=true}, title.prefixedText)
|