Open main menu

EUSwiki β

Changes

Module:Protection banner/config

2,020 bytes added, 09:01, 6 July 2014
reinstate the wrappers table and add the mainpage reason
tooltip = 'due to editing disputes',
},
template mainpage = { description = 'For pages protected for being displayed on the [[Wikipedia:High-risk templates|high-riskMain Page]]' .. ' templates and Lua modules.', text = 'This file is a permanently currently' .. ' [[HelpWikipedia:ProtectionThis page is protected|protected]] ${PAGETYPE},from' .. ' as editing because it is currently or will soon be displayed' .. ' on the [[Wikipedia:High-risk templates|high-riskMain Page]].', explanation = 'Images on the Main Page are protected due to their high' .. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}; you may' .. ' ${EDITREQUEST} to ask an' .. ' [[Wikipedia<br /><span style="font-size:Administrators|administrator]] or90%;">' .. "' [[Wikipedia:Template editor|template editor]] to make an edit if' .. ' it is [[HelpAdministrators:Minor edit#When to mark an edit as a minor edit' .. '|uncontroversial]] or supported by' .. ' [[Wikipedia:Consensus|consensus]]. You can also' .. ' [[Wikipedia:Requests for page protection|request]] that Once this image is definitely off the page be'Main Page," .. ' unprotected.'please unprotect this file, tooltip = 'This highor reduce to semi-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}protection,' .. ' to prevent vandalism', alt = 'Permanently protected ${PAGETYPE}as appropriate.</span>',
},
office = {
tooltip = '${TOOLTIPBLURB} to prevent sock puppets of blocked or banned users from'
.. ' editing it',
},
template = {
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules.',
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] or'
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. ' [[Wikipedia:Consensus|consensus]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
.. ' to prevent vandalism',
alt = 'Permanently protected ${PAGETYPE}',
},
usertalk = {
['all-all-office-all-all'] = 'Wikipedia Office-protected pages',
['all-all-reset-all-all'] = 'Wikipedia Office-protected pages',
['all-all-mainpage-all-all'] = 'Protected main page images',
['all-template-all-all-edit'] = 'Wikipedia protected templates',
['all-all-all-autoconfirmed-edit'] = 'Wikipedia semi-protected pages',
['indefinitely'] = true,
['infinite'] = true,
},
 
--------------------------------------------------------------------------------
-- Wrapper templates and their default arguments
--------------------------------------------------------------------------------
 
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'] = {'main-page', action = 'edit'},
['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'] = {action = 'edit'},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {expiry = 'indef'},
['Template:Pp-sock'] = {'sock', action = 'edit'},
['Template:Pp-template'] = {'template', action = 'edit'},
['Template:Pp-usertalk'] = {'usertalk', action = 'edit'},
['Template:Pp-vandalism'] = {'vandalism', action = 'edit'},
},
Anonymous user