Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
Undid revision 1263740951 by MSGJ (talk)
update assessment_category to strip "pages" as well as "articles" from category names
Tag: Reverted
Line 187:
local assessment_category = function(cat, name)
if cat then
return cat:gsub(' articles', ''):gsub(' pages', '') -- remove "articles" and "pages" from category
else
return name or ''