Module:Protection banner/config: Difference between revisions

test
m (1 revision)
 
(test)
 
(6 intermediate revisions by the same user not shown)
Line 298: Line 298:
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:List of banned users|banned users]]'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
Line 801: Line 801:
['indefinitely'] = true,
['indefinitely'] = true,
['infinite'] = true,
['infinite'] = true,
},
--------------------------------------------------------------------------------
-- Group hierarchy
--------------------------------------------------------------------------------
-- This table maps each group to all groups that have a superset of the original
-- group's page editing permissions.
hierarchy = {
sysop = {},
reviewer = {'sysop'},
filemover = {'sysop'},
templateeditor = {'sysop'},
accountcreator = {'templateeditor'},
autoconfirmed = {'reviewer', 'filemover', 'accountcreator'},
user = {'autoconfirmed'},
['*'] = {'user'}
},
},


Line 954: Line 971:
['image-filename-indef'] = 'Padlock-red.svg',
['image-filename-indef'] = 'Padlock-red.svg',
['image-filename-default'] = 'Transparent.gif',
['image-filename-default'] = 'Transparent.gif',
--------------------------------------------------------------------------------
-- Error message blurb
--------------------------------------------------------------------------------
-- This is the blurb that is outputted with error messages produced by the
-- module. $1 is replaced with the error message text. The whole message is
-- turned into a large red error message, so there is no need to add HTML
-- styling.
['error-message-blurb'] = 'Error: $1 ([[Module:Protection banner#Errors|help]])'


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
14,061

edits