Module:Protection banner: Difference between revisions

m
fix comment typo
(tidy this up and comment it so it will be easier for others to understand)
m (fix comment typo)
Line 88:
function p.matchNamespace(ns)
-- Matches a namespace number to a string that can be passed to the
-- namespacepnamespace parameter of p.getCategoryName.
if not ns or type(ns) ~= 'number' then
return 'all'
Anonymous user