Module:Protection banner: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(expand category matching code - still buggy)
(rename the category function as "getCategoryName")
Line 120:
end
 
function p.matchCategorygetCategoryName(cats, protType, protLevel, namespace, reason, expiry)
-- Preprocess parameters
cats = cats or categories