Modul:Protection banner: Unterschied zwischen den Versionen
K
fix comment typo
(tidy this up and comment it so it will be easier for others to understand) |
K (fix comment typo) |
||
Zeile 88: | Zeile 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 | ||
-- | -- 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' |