Module:Protection banner/config: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (Reverted edits by Jackmcbarn (talk) to last version by Mr. Stradivarius) |
(reinstate the wrappers table and add the mainpage reason) |
||
Line 142:
tooltip = 'due to editing disputes',
},
description = 'For pages protected for being displayed on the [[
.. '
.. ' on the [[Main Page]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'▼
explanation = 'Images on the Main Page are protected due to their high'
.. ' ${EDITREQUEST} to ask an'▼
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
.. ' [[Wikipedia:Administrators|administrator]] or'▼
.. '<br /><span style="font-size:90%;">'
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if'▼
.. "'
.. '
.. ' as appropriate.</span>',
.. ' [[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}',▼
},
office = {
Line 220 ⟶ 215:
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 = {
Line 462 ⟶ 475:
['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',
Line 543 ⟶ 557:
['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'},
},
|