Module:Protection banner: Difference between revisions

rename the category function as "getCategoryName"
Enwikipedia>Mr. Stradivarius
(expand category matching code - still buggy)
Enwikipedia>Mr. Stradivarius
(rename the category function as "getCategoryName")
Line 120:
end
 
function p.matchCategorygetCategoryName(cats, protType, protLevel, namespace, reason, expiry)
-- Preprocess parameters
cats = cats or categories