Jump to content

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:
},
},


-- The module will only output the "pages without expiry" tracking category
-- This table configures the expiry category behaviour for each protection
-- for the actions set to true in the following table.
-- 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 = true,
edit = nil,
move = false,
move = false,
autoreview = true
autoreview = true
Cookies help us deliver our services. By using our services, you agree to our use of cookies.