Module:Protection banner: Difference between revisions

don't log the category keys - seems to be working well enough now
Enwikipedia>Mr. Stradivarius
(try doing the error check earlier)
Enwikipedia>Mr. Stradivarius
(don't log the category keys - seems to be working well enough now)
Line 265:
end
key = tconcat(key, '-')
mw.log(key) -- for debugging
local attempt = cats[key]
if attempt then