Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
this check needs to happen earlier
apparently this is different
Line 353:
end
end
if class=='FM' and not class_works('FM') and not args.QUALITY_CRITERIA=~='custom' then
new_class = 'File' -- fall back to File-class if FM-class doesn't work
end
if not class_works(new_class) and not args.QUALITY_CRITERIA=~='custom' then
new_class = 'NA' -- use NA for non-article pages if class doesn't work
end
Line 410:
warning = warning .. display_error(cfg.banner_shell.piqa_warning)
end
elseif article_class=='FM' and not args.QUALITY_CRITERIA=~='custom' then
class = check_fallbacks(article_class, assessment_cat) -- TODO performance?
check_redundant()