Jump to content

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', action = 'edit'},
['Template:Pp-blp']                    = {'blp'},
-- we don't need Template:Pp-create
-- we don't need Template:Pp-create
['Template:Pp-dispute']                = {'dispute', action = 'edit'},
['Template:Pp-dispute']                = {'dispute'},
['Template:Pp-main-page']                = {'mainpage', action = 'edit'},
['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']              = {action = 'edit'},
['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', action = 'edit'},
['Template:Pp-sock']                    = {'sock'},
['Template:Pp-template']                = {'template', action = 'edit', small = true},
['Template:Pp-template']                = {'template', small = true},
['Template:Pp-usertalk']                = {'usertalk', action = 'edit'},
['Template:Pp-usertalk']                = {'usertalk'},
['Template:Pp-vandalism']              = {'vandalism', action = 'edit'},
['Template:Pp-vandalism']              = {'vandalism'},
},
},


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