Content deleted Content added
doesn't make sense |
trying to fix Module talk:WikiProject banner#Fallback conflict |
||
Line 327:
else -- check fallbacks for non-article classes
local new_class = class
-- temporary transition code
local category_exists = function(class)▼
local category_exists_suffix = function(class, oldsuffix)
local cat = mw.title.new(cfg.quality.assessment_category:format(class, category .. ' ' .. ( return cat.exists and #cat:getContent()>0 -- check if category exists and is not blank
end
▲ local category_exists = function(class)
return category_exists_suffix(false) or category_exists_suffix(true)
end
if class=='FM' and not category_exists('FM') then
|