Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
log keys in Protection:makeProtectionCategory for now, to help with writing the test cases
>Mr. Stradivarius (Protection:makeProtectionCategory - return a blank string on no match) |
>Mr. Stradivarius (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 |