Module:Protection banner/config: Difference between revisions
change the expiry category config behaviour to deal with Template:Pp-pc1 and Template:Pp-pc2
(make Template:Pp-pc1 and Template:Pp-pc2 small by default) |
(change the expiry category config behaviour to deal with Template:Pp-pc1 and Template:Pp-pc2) |
||
Line 644: | Line 644: | ||
}, | }, | ||
-- | -- This table configures the expiry category behaviour for each protection | ||
-- | -- action. | ||
-- * If set to true, setting that action will always categorise the page if | |||
-- an expiry parameter is not set. | |||
-- * If set to false, setting that action will never categorise the page. | |||
-- * If set to nil, the module will categorise the page if an expiry parameter | |||
-- is not set, if a reason is provided, and if the specified reason is not | |||
-- blacklisted in the reasonsWithoutExpiryCheck table. | |||
expiryCheckActions = { | expiryCheckActions = { | ||
edit = | edit = nil, | ||
move = false, | move = false, | ||
autoreview = true | autoreview = true |