Module:Protection banner/config: Difference between revisions

Cleanup some of the ridiculous number of enwiki-isms in this module
m (1 revision imported)
(Cleanup some of the ridiculous number of enwiki-isms in this module)
Line 163:
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living personspeople',
},
dmca = {
Line 306:
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules',
text = 'This is a permanently [[HelpManual:Administrators#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'
.. ' [[WikipediaProject:Administrators|administrator]] orto make an edit if'
.. ' [[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'
.. ' [[WikipediaProject:RequestsCurrent for page protectionissues|request]] that the page be'
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
Line 392 ⟶ 391:
protectionBlurbs = {
edit = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by non-[[WikipediaProject:UserAutoconfirmed accessusers|unregistered]] users is currently [[Protection|disabled]]',
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection',
},
move = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]'
.. ' from [[Help:Moving a page|page moves]]'
},
autoreview = {
default = '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]]'
},
upload = {
Line 435 ⟶ 424:
edit = {
autoconfirmed = {
subject = 'See the${PROTECTIONLOG} [[Wikipedia:Protectionfor policy|more details. If you'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' [[WikipediaProject:RequestsCurrent forissues|request page protectionunprotection]],'
.. '#Current requests for reduction[[Special:Userlogin|log in]], protection levelor'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the${PROTECTIONLOG} [[Wikipedia:Protectionfor policy|more details. If you'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[WikipediaProject:RequestsCurrent forissues|request page protectionunprotection]],'
.. '#Current requests for reduction[[Special:Userlogin|log in]], protection levelor'
.. '|request unprotection]], [[Special:UserloginUserLogin/signup|logcreate inan account]], or.'
.. ' [[Special:UserLogin/signup|create an account]].',
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all unregistered 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, if semi-protection has proven to be ineffective.'
.. ' Extended confirmed protection may also be applied to enforce'
.. ' [[Wikipedia:Arbitration Committee|arbitration sanctions]].'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by'
.. ' [[Wikipedia:Consensus|consensus]].'
},
default = {
subject = 'See the${PROTECTIONLOG} [[Wikipedia:Protectionfor policy|more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[WikipediaProject:Administrators|administrator]] to make an edit if it'
.. ' is [[:m:Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensusconsensus. '
.. '|consensus]]. You may also [[WikipediaProject:RequestsCurrent forissues'
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
default = 'See the${PROTECTIONLOG} [[Wikipedia:Protectionfor policy|more details.'
.. ' You may request an edit]] to this page, or [[Wikipedia:Requests for'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'ask Youfor mayit to be unprotected, at [[WikipediaProject:Requests forCurrent pageissues]]'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
}
},
move = {
default = {
subject = 'See the${PROTECTIONLOG} [[Wikipedia:Protectionfor policy|more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' ${TALKPAGE} or at [[WikipediaProject:RequestedCurrent movesissues]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be unprotected there.',
..default = 'protectionSee policy]] andthe ${PROTECTIONLOG} for more details. If you'
.. ' unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves aton the'
.. ' ${TALKPAGE} or at [[WikipediaProject:RequestedCurrent movesissues]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be unprotected there.'
.. ' unprotected.'
}
},
autoreview = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
.. ' will not be visible to readers until they are accepted by'
.. ' a reviewer. 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]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
upload = {
default = {
default = 'See the [[Wikipedia:Protection${PROTECTIONLOG} policy|for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but new versions of the file'
.. ' cannot be uploaded until it is unprotected. You can'
.. ' request that a new version be uploaded, byor using a'
.. ' that the file be unprotected, at [[Project:Current issues]].'
.. ' [[Wikipedia:Edit requests|protected edit request]], or you'
.. ' can [[Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
}
Line 546 ⟶ 492:
edit = {
default = 'protected',
templateeditor = 'template-protected',
extendedconfirmed = 'extended-protected',
autoconfirmed = 'semi-protected',
},
move = {
default = 'move-protected'
},
autoreview = {
},
upload = {
Line 572 ⟶ 514:
images = {
edit = {
default = 'Full-protection-shackle-red.svg',
templateeditorautoconfirmed = 'TemplateSemi-protection-shackle-no-text.svg',
extendedconfirmed = 'Extended-protection-shackle.svg',
autoconfirmed = 'Semi-protection-shackle.svg'
},
move = {
default = 'Move-protection-shackle.svg',
},
autoreview = {
default = 'Pending-protection-shackle.svg'
},
upload = {
Line 609 ⟶ 546:
imageLinks = {
edit = {
default = 'WikipediaProject:ProtectionProtected policy#fullpage',
templateeditor = 'Wikipedia:Protection policy#template',
extendedconfirmed = 'Wikipedia:Protection policy#extended',
autoconfirmed = 'Wikipedia:Protection policy#semi'
},
move = {
default = 'WikipediaProject:ProtectionProtected policy#movepage'
},
autoreview = {
default = 'WikipediaProject:ProtectionProtected policy#pendingpage'
},
upload = {
default = 'WikipediaProject:ProtectionProtected policy#uploadpage'
}
},
Line 636 ⟶ 570:
-- protection action name or the string "default".
padlockIndicatorNames = {
autoreview = 'pp-autoreview',
default = 'pp-default'
},
Line 737 ⟶ 670:
['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 extendedpages under 30-confirmed-protected500 pagesediting restriction',
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extendedpages under 30-confirmed-protected500 pagesediting restriction',
['all|template|all|all|edit'] = 'WikipediaMediawiki fully protected templates',
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages',
Line 754 ⟶ 687:
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages',
['all|template|all|templateeditor|edit'] = 'WikipediaMediawiki template-protected templates',
['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people',
['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people',
Line 760 ⟶ 693:
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users',
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism',
['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories',
['all|file|all|sysop|edit'] = 'Wikipedia fully-protected files',
['all|project|all|sysop|edit'] = 'Wikipedia fully-protected project pages',
['all|talk|all|sysop|edit'] = 'Wikipedia fully-protected talk pages',
['all|template|all|sysop|edit'] = 'WikipediaMediawiki fully protected templates',
['all|user|all|sysop|edit'] = 'Wikipedia fully protected user and user talk pages',
['all|module|all|all|edit'] = 'WikipediaModules fully-protectedsubject modulesto page protection',
['all|module|all|templateeditor|edit'] = 'WikipediaModules template-protectedsubject modulesto page protection',
['all|module|all|autoconfirmed|edit'] = 'WikipediaModules semi-protectedsubject modulesto page protection',
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages',
['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages',
Line 873 ⟶ 806:
wrappers = {
['Template:Pp'] = {},
['Template:Pp-extended'] = {'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'},
['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'] = {'dmca'},
['Template:Pp-pc'] = {action = 'autoreview', small = true},
['Template:Pp-pc1'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {small = true},
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template', small = true},
['Template:Pp-upload'] = {action = 'upload'},
['Template:Pp-usertalk'] = {'usertalk'},
['Template:Pp-vandalism'] = {'vandalism'},
},
Line 937 ⟶ 852:
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the${PROTECTIONLOG} [[Wikipedia:Protectionfor policy|more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[WikipediaProject:Administrators|administrator]] to make an edit if it'
.. ' is [[m:Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensusconsensus',
.. '|consensus]].',
 
--------------------------------------------------------------------------------
Line 1,005 ⟶ 918:
 
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'Full-protection-shackle-red.svg',
['image-filename-default'] = 'Transparent.gif',