Modul:Protection banner/config: Unterschied zwischen den Versionen

add another table, for the actions to check
(add a table for reasons that don't need expiry checks)
(add another table, for the actions to check)
Zeile 443: Zeile 443:
-- If any of the following reasons is passed to the module, it will not output
-- If any of the following reasons is passed to the module, it will not output
-- the "pages without expiry" tracking category.
-- the "pages without expiry" tracking category.
cfg.reasonsWithoutExpiryCheck = {
cfg.reasonsWithoutExpiryCheck = {
blp = true,
blp = true,
}
-- The module will only output the "pages without expiry" tracking category
-- for the actions set to true in the following table.
cfg.expiryCheckActions = {
edit = true,
move = false,
create = false,
autoreview = true
}
}


Anonymer Benutzer