Module:Protection banner/config: Difference between revisions

m
1 revision imported
m (1 revision imported)
m (1 revision imported)
 
(7 intermediate revisions by 5 users not shown)
Line 134:
move = {},
autoreview = {
autoconfirmeddefault = {
alt = 'Page protected with pending changes level 1',
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
image = 'PadlockPending-silverprotection-lightshackle.svg'
},
default = {
alt = 'Page protected with pending changes level 2',
tooltip = 'All edits by users who are not reviewers or administrators are'
.. ' subject to review prior to becoming visible to unregistered users',
image = 'Padlock-orange.svg'
}
},
Line 169 ⟶ 163:
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living peoplepersons',
},
dmca = {
Line 191 ⟶ 185:
return ret
end,
image = 'PadlockOffice-blackprotection-shackle.svg',
},
dispute = {
Line 228 ⟶ 222:
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is extended-confirmed protected${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
Line 260 ⟶ 254:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = 'PadlockOffice-blackprotection-shackle.svg',
},
reset = {
Line 297 ⟶ 291:
return ret
end,
image = 'PadlockOffice-blackprotection-shackle.svg',
},
sock = {
Line 365 ⟶ 359:
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = 'PadlockMove-oliveprotection-shackle.svg'
},
vandalism = {
Line 403 ⟶ 397:
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}currently asunder aextended resultconfirmed ofprotection',
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] enforcement or meets the'
.. ' [[Wikipedia:Protection policy#extended|criteria for community use]]',
},
move = {
Line 412 ⟶ 404:
},
autoreview = {
autoconfirmeddefault = 'All edits made to this ${PAGETYPE} by'
.. ' [[Wikipedia:User access levels#New users|new]] or'
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]',
default = 'All edits made to this ${PAGETYPE} by users who are not'
.. ' [[Wikipedia:Reviewing|reviewers]] or'
.. ' [[Wikipedia:Administrators|administrators]] are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
Line 464 ⟶ 452:
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all IPunregistered editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[Wikipedia:Protection policy#extended|policy on community use]]'
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption, given thatif semi-protection has proven to be ineffective.'
.. ' Extended confirmed protection may also be applied to enforce'
.. ' [[Wikipedia:Arbitration Committee|ArbComarbitration sanctions]] enforcement or meets the.'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for unconversialuncontroversial changes supported by'
.. ' [[Wikipedia:Consensus|consensus]].'
},
Line 513 ⟶ 503:
autoreview = {
default = {
reviewer = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} will not be visible to readers'
.. ' until they are accepted by a reviewer or an administrator.'
.. ' To avoid the need for your edits to be reviewed, you may'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]]. Experienced editors may also'
.. ' request the [[Wikipedia:Reviewing|reviewer user right]].',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
Line 591 ⟶ 572:
images = {
edit = {
default = 'PadlockFull-protection-shackle.svg',
templateeditor = 'PadlockTemplate-pinkprotection-shackle.svg',
extendedconfirmed = 'PadlockExtended-blueprotection-shackle.svg',
autoconfirmed = 'PadlockSemi-silverprotection-shackle.svg'
},
move = {
default = 'PadlockMove-oliveprotection-shackle.svg',
},
autoreview = {
autoconfirmeddefault = 'PadlockPending-silverprotection-lightshackle.svg',
default = 'Padlock-orange.svg'
},
upload = {
default = 'PadlockUpload-purpleprotection-shackle.svg'
}
},
Line 638 ⟶ 618:
},
autoreview = {
autoconfirmeddefault = 'Wikipedia:Protection policy#pc1pending',
reviewer = 'Wikipedia:Protection policy#pc2'
},
upload = {
Line 753 ⟶ 732:
 
protectionCategories = {
['all|all|all|all|all'] = 'Wikipedia fully protected pages',
['all|all|office|all|all'] = 'Wikipedia Office-protected pages',
['all|all|reset|all|all'] = 'Wikipedia Office-protected pages',
['all|all|dmca|all|all'] = 'Wikipedia Office-protected pages',
['all|all|mainpage|all|all'] = 'Wikipedia fully- protected main page files',
['all|all|all|extendedconfirmed|all'] = 'Wikipedia pages under 30extended-500confirmed-protected editing restrictionpages',
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia pages under 30extended-500confirmed-protected editing restrictionpages',
['all|template|all|all|edit'] = 'Wikipedia fully- protected templates',
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories',
['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files',
['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals',
['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages',
['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages',
['all|templateall|all|templateeditor|edit'] = 'Wikipedia template-protected pages other than templates and modules',
['all|template|all|blp|sysoptemplateeditor|edit'] = 'Wikipedia indefinitely template-protected biographies of living peopletemplates',
['tempall|template|all|blptemplateeditor|sysop|editmove'] = 'Wikipedia temporarily template-protected biographiestemplates', of-- livingmove-protected people',templates
['all|all|disputeblp|sysop|edit'] = 'Wikipedia pagesindefinitely protected duebiographies of toliving disputepeople',
['alltemp|all|sockblp|sysop|edit'] = 'Wikipedia pagestemporarily protected frombiographies of bannedliving userspeople',
['all|all|vandalismdispute|sysop|edit'] = 'Wikipedia pages protected againstdue to vandalismdispute',
['all|category|all|sock|sysop|edit'] = 'Wikipedia pages protected categoriesfrom banned users',
['all|file|all|vandalism|sysop|edit'] = 'Wikipedia fully-pages protected filesagainst vandalism',
['all|projectcategory|all|sysop|edit'] = 'Wikipedia fully-protected projectprotected pagescategories',
['all|talkfile|all|sysop|edit'] = 'Wikipedia fully-protected talkprotected pagesfiles',
['all|templateproject|all|sysop|edit'] = 'Wikipedia fully- protected templatesproject pages',
['all|usertalk|all|sysop|edit'] = 'Wikipedia protectedfully user and userprotected talk pages',
['all|moduletemplate|all|allextendedconfirmed|edit'] = 'Wikipedia fullyextended-confirmed-protected modulestemplates',
['all|moduletemplate|all|templateeditorsysop|edit'] = 'Wikipedia template-fully protected modulestemplates',
['all|moduleuser|all|autoconfirmedsysop|edit'] = 'Wikipedia semi-fully protected modulesuser and user talk pages',
['all|module|all|all|sysop|moveedit'] = 'Wikipedia move-fully protected pagesmodules',
['indef|all|module|all|sysoptemplateeditor|moveedit'] = 'Wikipedia indefinitely movetemplate-protected pagesmodules',
['all|module|all|disputeextendedconfirmed|sysop|moveedit'] = 'Wikipedia pages moveextended-confirmed-protected due to disputemodules',
['all|module|all|vandalismautoconfirmed|sysop|moveedit'] = 'Wikipedia pages movesemi-protected due to vandalismmodules',
['all|portalall|all|sysop|move'] = 'Wikipedia move-protected portalspages',
['allindef|portalall|all|sysop|move'] = 'Wikipedia indefinitely move-protected portalspages',
['all|project|all|dispute|sysop|move'] = 'Wikipedia pages move-protected projectdue pagesto dispute',
['all|talk|all|vandalism|sysop|move'] = 'Wikipedia pages move-protected talkdue pagesto vandalism',
['all|templateportal|all|sysop|move'] = 'Wikipedia move-protected templatesportals',
['all|userproject|all|sysop|move'] = 'Wikipedia move-protected user and user talkproject pages',
['all|alltalk|all|autoconfirmedsysop|autoreviewmove'] = 'Wikipedia pending changes move-protected pagestalk (level 1)pages',
['all|alltemplate|all|reviewersysop|autoreviewmove'] = 'Wikipedia pending changes protected pages (level 2)= 'Wikipedia move-protected templates',
['all|fileuser|all|allsysop|uploadmove'] = 'Wikipedia uploadmove-protected filesuser and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload'] = 'Wikipedia upload-protected files',
},
 
Line 895 ⟶ 876:
wrappers = {
['Template:Pp'] = {},
['Template:Pp-30-500extended'] = {'ecp'},
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page'] = {'mainpage'},
['Template:Pp-move'] = {action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move', catonly = 'yes'},
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move', catonly = 'yes'},
['Template:Pp-office'] = {'office'},
['Template:Pp-office-dmca'] = {'dmca'},
['Template:Pp-pc2pc'] = {action = 'autoreview', small = true},
['Template:Pp-pc1'] = {action = 'autoreview', small = true},
['Template:Pp-pc2'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {small = true},
Line 1,012 ⟶ 993:
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y "at" H:i e',
 
--------------------------------------------------------------------------------
Line 1,027 ⟶ 1,008:
 
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'PadlockFull-protection-shackle.svg',
['image-filename-default'] = 'Transparent.gif',