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: | Line 821: | ||
wrappers = { | wrappers = { | ||
['Template:Pp'] = {}, | ['Template:Pp'] = {}, | ||
['Template:Pp-blp'] = {'blp | ['Template:Pp-blp'] = {'blp'}, | ||
-- we don't need Template:Pp-create | -- we don't need Template:Pp-create | ||
['Template:Pp-dispute'] = {'dispute | ['Template:Pp-dispute'] = {'dispute'}, | ||
['Template:Pp-main-page'] = {'mainpage | ['Template:Pp-main-page'] = {'mainpage'}, | ||
['Template:Pp-move'] = {action = 'move'}, | ['Template:Pp-move'] = {action = 'move'}, | ||
['Template:Pp-move-dispute'] = {'dispute', action = 'move'}, | ['Template:Pp-move-dispute'] = {'dispute', action = 'move'}, | ||
Line 833: | Line 833: | ||
['Template:Pp-pc1'] = {action = 'autoreview', small = true}, | ['Template:Pp-pc1'] = {action = 'autoreview', small = true}, | ||
['Template:Pp-pc2'] = {action = 'autoreview', small = true}, | ['Template:Pp-pc2'] = {action = 'autoreview', small = true}, | ||
['Template:Pp-protected'] = { | ['Template:Pp-protected'] = {}, | ||
['Template:Pp-reset'] = {'reset'}, | ['Template:Pp-reset'] = {'reset'}, | ||
['Template:Pp-semi-indef'] = {expiry = 'indef', small = true}, | ['Template:Pp-semi-indef'] = {expiry = 'indef', small = true}, | ||
['Template:Pp-sock'] = {'sock | ['Template:Pp-sock'] = {'sock'}, | ||
['Template:Pp-template'] = {'template | ['Template:Pp-template'] = {'template', small = true}, | ||
['Template:Pp-usertalk'] = {'usertalk | ['Template:Pp-usertalk'] = {'usertalk'}, | ||
['Template:Pp-vandalism'] = {'vandalism | ['Template:Pp-vandalism'] = {'vandalism'}, | ||
}, | }, | ||