Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
apparently this is different
this should work
Tag: Reverted
Line 410:
warning = warning .. display_error(cfg.banner_shell.piqa_warning)
end
elseif not article and classarticle_class~='FM' then -- article class and local class are both non-article classes
elseif article_class=='FM' and args.QUALITY_CRITERIA~='custom' then
class = check_fallbacks(article_class, assessment_cat) -- TODO performance?
check_redundant()
elseif not article and class~='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' and args.QUALITY_CRITERIA~='custom' then
class = check_fallbacks(article_class, assessment_cat) -- TODO performance?
check_redundant()
else -- article class exists and differs from local class
show = 'conflict'