Jump to content

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: Line 88:
function p.matchNamespace(ns)
function p.matchNamespace(ns)
-- Matches a namespace number to a string that can be passed to the
-- Matches a namespace number to a string that can be passed to the
-- namespacep parameter of p.getCategoryName.
-- namespace parameter of p.getCategoryName.
if not ns or type(ns) ~= 'number' then
if not ns or type(ns) ~= 'number' then
return 'all'
return 'all'
Cookies help us deliver our services. By using our services, you agree to our use of cookies.