Module:Protection banner/config: Difference between revisions
Content added Content deleted
m (Reverted edits by 2604:2D80:900B:7000:2D87:87B8:2E00:FB27 (talk) to last version by Pppery) |
m (4 revisions imported: Importing Template:Tmbox, with templates.) |
||
Line 163: | Line 163: | ||
.. ' of living people]].', |
.. ' of living people]].', |
||
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on' |
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on' |
||
.. ' biographies of living |
.. ' biographies of living persons', |
||
}, |
}, |
||
dmca = { |
dmca = { |
||
Line 306: | Line 306: | ||
description = 'For [[Wikipedia:High-risk templates|high-risk]]' |
description = 'For [[Wikipedia:High-risk templates|high-risk]]' |
||
.. ' templates and Lua modules', |
.. ' templates and Lua modules', |
||
text = 'This is a permanently [[ |
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},' |
||
.. ' as it is high-risk.', |
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].', |
||
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may' |
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may' |
||
.. ' ${EDITREQUEST} to ask an' |
.. ' ${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' |
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit' |
||
.. '|uncontroversial]] or supported by' |
.. '|uncontroversial]] or supported by' |
||
.. ' [[Wikipedia:Consensus|consensus]]. You can also' |
.. ' [[Wikipedia:Consensus|consensus]]. You can also' |
||
.. ' [[ |
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' |
||
.. ' unprotected.', |
.. ' unprotected.', |
||
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}' |
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}' |
||
Line 391: | Line 392: | ||
protectionBlurbs = { |
protectionBlurbs = { |
||
edit = { |
edit = { |
||
default = 'This ${PAGETYPE} is currently [[Protection|' |
default = 'This ${PAGETYPE} is currently [[Help:Protection|' |
||
.. 'protected]] from editing', |
.. 'protected]] from editing', |
||
autoconfirmed = 'Editing of this ${PAGETYPE} by |
autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access' |
||
.. ' 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 = { |
move = { |
||
default = 'This ${PAGETYPE} is currently [[Protection|protected]]' |
default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]' |
||
.. ' from [[Help:Moving a page|page moves]]' |
.. ' 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 = { |
upload = { |
||
Line 424: | Line 435: | ||
edit = { |
edit = { |
||
autoconfirmed = { |
autoconfirmed = { |
||
subject = 'See |
subject = 'See the [[Wikipedia:Protection policy|' |
||
⚫ | |||
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
||
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},' |
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},' |
||
.. ' [[ |
.. ' [[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]].', |
.. ' [[Special:UserLogin/signup|create an account]].', |
||
default = 'See |
default = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you' |
|||
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
||
.. ' [[ |
.. ' [[Wikipedia:Requests for page protection' |
||
.. ' |
.. '#Current requests for reduction in protection level' |
||
.. ' [[Special: |
.. '|request unprotection]], [[Special:Userlogin|log in]], 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 = { |
default = { |
||
subject = 'See |
subject = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
|||
.. ' Please discuss any changes on the ${TALKPAGE}; you' |
.. ' Please discuss any changes on the ${TALKPAGE}; you' |
||
.. ' may ${EDITREQUEST} to ask an' |
.. ' may ${EDITREQUEST} to ask an' |
||
.. ' [[ |
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it' |
||
.. ' is [[ |
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit' |
||
.. '|uncontroversial]] or supported by |
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus' |
||
.. 'You may also [[ |
.. '|consensus]]. You may also [[Wikipedia:Requests for' |
||
.. ' page protection#Current requests for reduction in protection level' |
|||
.. '|request]] that this page be unprotected.', |
.. '|request]] that this page be unprotected.', |
||
default = 'See |
default = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
|||
⚫ | |||
.. ' |
.. ' You may [[Wikipedia:Requests for page' |
||
.. ' protection#Current requests for edits to a protected page|request an' |
|||
⚫ | |||
.. ' page protection#Current requests for reduction in protection level' |
|||
.. '|ask]] for it to be unprotected.' |
|||
} |
} |
||
}, |
}, |
||
move = { |
move = { |
||
default = { |
default = { |
||
subject = 'See |
subject = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
|||
.. ' The page may still be edited but cannot be moved' |
.. ' The page may still be edited but cannot be moved' |
||
.. ' until unprotected. Please discuss any suggested moves on the' |
.. ' until unprotected. Please discuss any suggested moves on the' |
||
.. ' ${TALKPAGE} or at [[ |
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also' |
||
.. ' request that the page be |
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' |
||
.. ' unprotected.', |
|||
⚫ | |||
default = 'See the [[Wikipedia:Protection policy|' |
|||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
|||
.. ' The page may still be edited but cannot be moved' |
.. ' The page may still be edited but cannot be moved' |
||
.. ' until unprotected. Please discuss any suggested moves |
.. ' until unprotected. Please discuss any suggested moves at' |
||
.. ' |
.. ' [[Wikipedia:Requested moves]]. You can also' |
||
.. ' request that the page be |
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' |
||
.. ' 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 = { |
upload = { |
||
default = { |
default = { |
||
default = 'See the |
default = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
|||
.. ' The page may still be edited but new versions of the file' |
.. ' The page may still be edited but new versions of the file' |
||
.. ' cannot be uploaded until it is unprotected. You can' |
.. ' cannot be uploaded until it is unprotected. You can' |
||
.. ' request that a new version be uploaded |
.. ' request that a new version be uploaded by using a' |
||
.. ' [[Wikipedia:Edit requests|protected edit request]], or you' |
|||
⚫ | |||
.. ' can [[Wikipedia:Requests for page protection|request]]' |
|||
⚫ | |||
} |
} |
||
} |
} |
||
Line 492: | Line 546: | ||
edit = { |
edit = { |
||
default = 'protected', |
default = 'protected', |
||
templateeditor = 'template-protected', |
|||
extendedconfirmed = 'extended-protected', |
|||
autoconfirmed = 'semi-protected', |
autoconfirmed = 'semi-protected', |
||
}, |
}, |
||
move = { |
move = { |
||
default = 'move-protected' |
default = 'move-protected' |
||
}, |
|||
autoreview = { |
|||
}, |
}, |
||
upload = { |
upload = { |
||
Line 514: | Line 572: | ||
images = { |
images = { |
||
edit = { |
edit = { |
||
default = 'Full-protection-shackle |
default = 'Full-protection-shackle.svg', |
||
templateeditor = 'Template-protection-shackle.svg', |
|||
extendedconfirmed = 'Extended-protection-shackle.svg', |
|||
autoconfirmed = 'Semi-protection-shackle.svg' |
|||
}, |
}, |
||
move = { |
move = { |
||
default = 'Move-protection-shackle.svg', |
default = 'Move-protection-shackle.svg', |
||
}, |
|||
autoreview = { |
|||
default = 'Pending-protection-shackle.svg' |
|||
}, |
}, |
||
upload = { |
upload = { |
||
Line 546: | Line 609: | ||
imageLinks = { |
imageLinks = { |
||
edit = { |
edit = { |
||
default = ' |
default = 'Wikipedia:Protection policy#full', |
||
templateeditor = 'Wikipedia:Protection policy#template', |
|||
extendedconfirmed = 'Wikipedia:Protection policy#extended', |
|||
autoconfirmed = 'Wikipedia:Protection policy#semi' |
|||
}, |
}, |
||
move = { |
move = { |
||
default = ' |
default = 'Wikipedia:Protection policy#move' |
||
}, |
}, |
||
autoreview = { |
autoreview = { |
||
default = ' |
default = 'Wikipedia:Protection policy#pending' |
||
}, |
}, |
||
upload = { |
upload = { |
||
default = ' |
default = 'Wikipedia:Protection policy#upload' |
||
} |
} |
||
}, |
}, |
||
Line 570: | Line 636: | ||
-- protection action name or the string "default". |
-- protection action name or the string "default". |
||
padlockIndicatorNames = { |
padlockIndicatorNames = { |
||
autoreview = 'pp-autoreview', |
|||
default = 'pp-default' |
default = 'pp-default' |
||
}, |
}, |
||
Line 670: | Line 737: | ||
['all|all|dmca|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|mainpage|all|all'] = 'Wikipedia fully-protected main page files', |
||
['all|all|all|extendedconfirmed|all'] = 'Wikipedia |
['all|all|all|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages', |
||
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia |
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages', |
||
['all|template|all|all|edit'] = ' |
['all|template|all|all|edit'] = 'Wikipedia fully protected templates', |
||
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages', |
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages', |
||
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages', |
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages', |
||
Line 687: | Line 754: | ||
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates', |
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates', |
||
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages', |
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages', |
||
['all|template|all|templateeditor|edit'] = ' |
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates', |
||
['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people', |
['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people', |
||
['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people', |
['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people', |
||
Line 693: | Line 760: | ||
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users', |
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users', |
||
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism', |
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism', |
||
['all|category|all|sysop|edit'] = 'Wikipedia protected categories', |
['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories', |
||
['all|file|all|sysop|edit'] = 'Wikipedia fully-protected files', |
['all|file|all|sysop|edit'] = 'Wikipedia fully-protected files', |
||
['all|project|all|sysop|edit'] = 'Wikipedia fully-protected project pages', |
['all|project|all|sysop|edit'] = 'Wikipedia fully-protected project pages', |
||
['all|talk|all|sysop|edit'] = 'Wikipedia fully-protected talk pages', |
['all|talk|all|sysop|edit'] = 'Wikipedia fully-protected talk pages', |
||
['all|template|all|sysop|edit'] = ' |
['all|template|all|sysop|edit'] = 'Wikipedia fully protected templates', |
||
['all|user|all|sysop|edit'] = 'Wikipedia protected user and user talk pages', |
['all|user|all|sysop|edit'] = 'Wikipedia fully protected user and user talk pages', |
||
['all|module|all|all|edit'] = ' |
['all|module|all|all|edit'] = 'Wikipedia fully-protected modules', |
||
['all|module|all|templateeditor|edit'] = ' |
['all|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules', |
||
['all|module|all|autoconfirmed|edit'] = ' |
['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules', |
||
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages', |
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages', |
||
['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages', |
['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages', |
||
Line 806: | Line 873: | ||
wrappers = { |
wrappers = { |
||
['Template:Pp'] = {}, |
['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-template'] = {'template', small = true}, |
||
['Template:Pp-upload'] = {action = 'upload'}, |
|||
['Template:Pp-usertalk'] = {'usertalk'}, |
|||
['Template:Pp-vandalism'] = {'vandalism'}, |
['Template:Pp-vandalism'] = {'vandalism'}, |
||
}, |
}, |
||
Line 852: | Line 937: | ||
-- in the MediaWiki namespace. |
-- in the MediaWiki namespace. |
||
-- It is possible to use banner parameters in this message. |
-- It is possible to use banner parameters in this message. |
||
['explanation-blurb-nounprotect'] = 'See |
['explanation-blurb-nounprotect'] = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
|||
.. ' Please discuss any changes on the ${TALKPAGE}; you' |
.. ' Please discuss any changes on the ${TALKPAGE}; you' |
||
.. ' may ${EDITREQUEST} to ask an' |
.. ' may ${EDITREQUEST} to ask an' |
||
.. ' [[ |
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it' |
||
.. ' is [[ |
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit' |
||
.. '|uncontroversial]] or supported by |
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus' |
||
.. '|consensus]].', |
|||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 910: | Line 997: | ||
-- These messages determine which tracking categories the module outputs. |
-- These messages determine which tracking categories the module outputs. |
||
['tracking-category-incorrect'] = ' |
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates', |
||
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules', |
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules', |
||
Line 918: | Line 1,005: | ||
-- These are images that are not defined by their protection action and protection level. |
-- These are images that are not defined by their protection action and protection level. |
||
['image-filename-indef'] = 'Full-protection-shackle |
['image-filename-indef'] = 'Full-protection-shackle.svg', |
||
['image-filename-default'] = 'Transparent.gif', |
['image-filename-default'] = 'Transparent.gif', |
||