Modul:Protection banner/config: Unterschied zwischen den Versionen
Modul:Protection banner/config (Quelltext anzeigen)
Version vom 22. Juli 2014, 13:29 Uhr
, vor 11 Jahrentemplates shouldn't output a "needs expiry" category; also, update the comments
(Pp-template needs to be small by default) |
(templates shouldn't output a "needs expiry" category; also, update the comments) |
||
| Zeile 637: | Zeile 637: | ||
-- Expiry category config | -- Expiry category config | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- This table configures the expiry category behaviour for each protection | -- This table configures the expiry category behaviour for each protection | ||
| Zeile 649: | Zeile 643: | ||
-- an expiry parameter is not set. | -- an expiry parameter is not set. | ||
-- * If set to false, setting that action will never categorise the page. | -- * If set to false, setting that action will never categorise the page. | ||
-- * If set to nil, the module will categorise the page if | -- * If set to nil, the module will categorise the page if: | ||
-- is not set, | -- 1) an expiry parameter is not set, and | ||
-- 2) a reason is provided, and | |||
-- 3) the specified reason is not blacklisted in the reasonsWithoutExpiryCheck | |||
-- table. | |||
expiryCheckActions = { | expiryCheckActions = { | ||
edit = nil, | edit = nil, | ||
move = false, | move = false, | ||
autoreview = true | autoreview = true | ||
}, | |||
reasonsWithoutExpiryCheck = { | |||
blp = true, | |||
template = true, | |||
}, | }, | ||