Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
this should work
Tag: Reverted
Undid revision 1263740951 by MSGJ (talk)
Line 410:
warning = warning .. display_error(cfg.banner_shell.piqa_warning)
end
elseif article_class=='FM' and args.QUALITY_CRITERIA~='custom' then
elseif not article and article_class~='FM' then -- article class and local class are both non-article classes
class = check_fallbacks(article_class, assessment_cat) -- TODO performance?
check_redundant()
elseif not article and article_classclass~='FM' then -- article class and local class are both non-article classes
check_redundant()
elseif args.QUALITY_CRITERIA=='custom' then -- project uses custom criteria and class differs
show = true -- show quality class in project banner
elseif article_class=='FM' then
class = check_fallbacks(article_class, assessment_cat) -- TODO performance?
check_redundant()
else -- article class exists and differs from local class
show = 'conflict'