Jump to content

Module:Protection banner/config: Difference between revisions

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)
Line 443: Line 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
}
}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.