Module:Protection banner/config: Difference between revisions

random idea, just to get it into the page history
(actually return the ret value from the function)
(random idea, just to get it into the page history)
Line 543:
['indefinitely'] = true,
['infinite'] = true,
},
 
--------------------------------------------------------------------------------
-- Wrapper templates and their default arguments
--------------------------------------------------------------------------------
 
wrappers = {
['Template:Pp'] = {},
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page'] = {'main-page'}, -- XXX The module doesn't support this reason yet.
['Template:Pp-meta'] = {}, -- XXX Do we need this one, or is pp-meta going away?
['Template:Pp-move'] = {action = 'move'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move'},
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move'},
['Template:Pp-office'] = {'office'},
['Template:Pp-office-dmca'] = {'office-dmca'}, -- XXX The module doesn't support this reason yet.
['Template:Pp-pc1'] = {action = 'autoreview'},
['Template:Pp-pc2'] = {action = 'autoreview'},
['Template:Pp-protected'] = {},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {expiry = 'indef'},
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template'},
['Template:Pp-usertalk'] = {'usertalk'},
['Template:Pp-vandalism'] = {'vandalism'},
},
 
Anonymous user