Module:Protection banner/config: Difference between revisions

change the expiry category config behaviour to deal with Template:Pp-pc1 and Template:Pp-pc2
Enwikipedia>Mr. Stradivarius
(make Template:Pp-pc1 and Template:Pp-pc2 small by default)
Enwikipedia>Mr. Stradivarius
(change the expiry category config behaviour to deal with Template:Pp-pc1 and Template:Pp-pc2)
Line 644:
},
 
-- This table configures the expiry category behaviour for each protection
-- The module will only output the "pages without expiry" tracking category
-- action.
-- for the actions set to true in the following table.
-- * 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 = {
edit = truenil,
move = false,
autoreview = true