Module:Protection banner: Difference between revisions
rename the category function as "getCategoryName"
(expand category matching code - still buggy) |
(rename the category function as "getCategoryName") |
||
Line 120: | Line 120: | ||
end | end | ||
function p. | function p.getCategoryName(cats, protType, protLevel, namespace, reason, expiry) | ||
-- Preprocess parameters | -- Preprocess parameters | ||
cats = cats or categories | cats = cats or categories |