Module:Protection banner/config: Difference between revisions

Content added Content deleted
Enwikipedia>Mr. Stradivarius
(add a table for reasons that don't need expiry checks)
Enwikipedia>Mr. Stradivarius
(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
}
}