Modul:Protection banner: Unterschied zwischen den Versionen

rename the category function as "getCategoryName"
(expand category matching code - still buggy)
(rename the category function as "getCategoryName")
Zeile 120: Zeile 120:
end
end


function p.matchCategory(cats, protType, protLevel, namespace, reason, expiry)
function p.getCategoryName(cats, protType, protLevel, namespace, reason, expiry)
-- Preprocess parameters
-- Preprocess parameters
cats = cats or categories
cats = cats or categories
Anonymer Benutzer