Module:Protection banner/config: Difference between revisions

remove instances of "action = 'edit'" from the wrappers table, as this no longer has any effect now that default arguments can be overwritten
(add tooltip fragment messages and convert existing TOOLTIPBLURB parameters to TOOLTIPFRAGMENT parameters where appropriate)
(remove instances of "action = 'edit'" from the wrappers table, as this no longer has any effect now that default arguments can be overwritten)
Line 821:
wrappers = {
['Template:Pp'] = {},
['Template:Pp-blp'] = {'blp', action = 'edit'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute', action = 'edit'},
['Template:Pp-main-page'] = {'mainpage', action = 'edit'},
['Template:Pp-move'] = {action = 'move'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move'},
Line 833:
['Template:Pp-pc1'] = {action = 'autoreview', small = true},
['Template:Pp-pc2'] = {action = 'autoreview', small = true},
['Template:Pp-protected'] = {action = 'edit'},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {expiry = 'indef', small = true},
['Template:Pp-sock'] = {'sock', action = 'edit'},
['Template:Pp-template'] = {'template', action = 'edit', small = true},
['Template:Pp-usertalk'] = {'usertalk', action = 'edit'},
['Template:Pp-vandalism'] = {'vandalism', action = 'edit'},
},