Module:Protection banner: Difference between revisions

log keys in Protection:makeProtectionCategory for now, to help with writing the test cases
(Protection:makeProtectionCategory - return a blank string on no match)
(log keys in Protection:makeProtectionCategory for now, to help with writing the test cases)
Line 287: Line 287:
end
end
key = table.concat(key, '|')
key = table.concat(key, '|')
mw.log(key)
local attempt = cats[key]
local attempt = cats[key]
if attempt then
if attempt then