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: | Line 142: | ||
tooltip = 'due to editing disputes', |
tooltip = 'due to editing disputes', |
||
}, |
}, |
||
mainpage = { |
|||
description = 'For [[ |
description = 'For pages protected for being displayed on the [[Main Page]].', |
||
text = 'This file is currently' |
|||
.. ' [[Wikipedia:This page is protected|protected]] from' |
|||
.. ' |
.. ' editing because it is currently or will soon be displayed' |
||
.. ' on the [[Main Page]].', |
|||
⚫ | |||
explanation = 'Images on the Main Page are protected due to their high' |
|||
⚫ | |||
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.' |
|||
⚫ | |||
.. '<br /><span style="font-size:90%;">' |
|||
⚫ | |||
.. ' |
.. "'''Administrators:''' Once this image is definitely off the Main Page," |
||
.. ' |
.. ' please unprotect this file, or reduce to semi-protection,' |
||
.. ' as appropriate.</span>', |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}, |
}, |
||
office = { |
office = { |
||
Line 220: | Line 215: | ||
tooltip = '${TOOLTIPBLURB} to prevent sock puppets of blocked or banned users from' |
tooltip = '${TOOLTIPBLURB} to prevent sock puppets of blocked or banned users from' |
||
.. ' editing it', |
.. ' 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]].', |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit' |
|||
.. '|uncontroversial]] or supported by' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}, |
}, |
||
usertalk = { |
usertalk = { |
||
Line 462: | Line 475: | ||
['all-all-office-all-all'] = 'Wikipedia Office-protected pages', |
['all-all-office-all-all'] = 'Wikipedia Office-protected pages', |
||
['all-all-reset-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-template-all-all-edit'] = 'Wikipedia protected templates', |
||
['all-all-all-autoconfirmed-edit'] = 'Wikipedia semi-protected pages', |
['all-all-all-autoconfirmed-edit'] = 'Wikipedia semi-protected pages', |
||
Line 543: | Line 557: | ||
['indefinitely'] = true, |
['indefinitely'] = true, |
||
['infinite'] = 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'}, |
|||
}, |
}, |
||