Content deleted Content added
we don't want any fallbacks if args.QUALITY_CRITERIA=='custom' because for example military history project does not use NA class, so all logic must be done by its custom mask |
rearrange |
||
Line 410:
warning = warning .. display_error(cfg.banner_shell.piqa_warning)
end
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' 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()
else -- article class exists and differs from local class
|