Module:Protection banner: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius m (remove log message) |
Enwikipedia>Mr. Stradivarius (try a different order) |
||
Line 136: | Line 136: | ||
-- Define the key table and the order to test it in |
-- Define the key table and the order to test it in |
||
local keyTable = {protType, protLevel, namespace, reason, expiry} |
local keyTable = {protType, protLevel, namespace, reason, expiry} |
||
local tryOrder = {5, |
local tryOrder = {5, 3, 4, 2, 1} |
||
-- Try successively generic matches until we run out of key combinations |
-- Try successively generic matches until we run out of key combinations |