Module:Protection banner/config: Difference between revisions
Content added Content deleted
MusikAnimal (talk | contribs) m (1 revision imported) |
(Cleanup some of the ridiculous number of enwiki-isms in this module) |
||
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 people', |
||
}, |
}, |
||
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 [[Manual:Administrators#Protection|protected]] ${PAGETYPE},' |
||
.. ' as it is |
.. ' as it is 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' |
||
.. ' [[ |
.. ' [[Project:Administrators|administrator]] to 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' |
.. ' 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' |
||
.. ' [[ |
.. ' [[Project:Current issues|request]] that the page be' |
||
.. ' unprotected.', |
.. ' unprotected.', |
||
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}' |
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}' |
||
Line 392: | Line 391: | ||
protectionBlurbs = { |
protectionBlurbs = { |
||
edit = { |
edit = { |
||
default = 'This ${PAGETYPE} is currently [[ |
default = 'This ${PAGETYPE} is currently [[Protection|' |
||
.. 'protected]] from editing', |
.. 'protected]] from editing', |
||
autoconfirmed = 'Editing of this ${PAGETYPE} by [[ |
autoconfirmed = 'Editing of this ${PAGETYPE} by non-[[Project:Autoconfirmed users|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 = { |
move = { |
||
default = 'This ${PAGETYPE} is currently [[ |
default = 'This ${PAGETYPE} is currently [[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 435: | Line 424: | ||
edit = { |
edit = { |
||
autoconfirmed = { |
autoconfirmed = { |
||
subject = 'See |
subject = 'See ${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' |
||
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},' |
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},' |
||
.. ' [[ |
.. ' [[Project:Current issues|request unprotection]],' |
||
.. ' |
.. ' [[Special:Userlogin|log in]], or' |
||
.. '|request unprotection]], [[Special:Userlogin|log in]], or' |
|||
.. ' [[Special:UserLogin/signup|create an account]].', |
.. ' [[Special:UserLogin/signup|create an account]].', |
||
default = 'See |
default = 'See ${PROTECTIONLOG} for 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' |
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
||
.. ' [[ |
.. ' [[Project:Current issues|request unprotection]],' |
||
.. ' |
.. ' [[Special:Userlogin|log in]], or' |
||
.. ' |
.. ' [[Special:UserLogin/signup|create an account]].' |
||
.. ' [[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 ${PROTECTIONLOG} for more details.' |
||
.. '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' |
||
.. ' [[ |
.. ' [[Project:Administrators|administrator]] to make an edit if it' |
||
.. ' is [[Help:Minor edit#When to mark an edit as |
.. ' is [[:m:Help:Minor edit#When to mark an edit as minor' |
||
.. '|uncontroversial]] or supported by |
.. '|uncontroversial]] or supported by consensus. ' |
||
.. ' |
.. 'You may also [[Project:Current issues' |
||
.. ' 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 ${PROTECTIONLOG} for more details.' |
||
⚫ | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
|||
.. ' |
.. 'ask for it to be unprotected, at [[Project:Current issues]]' |
||
.. ' 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 ${PROTECTIONLOG} for more details.' |
||
.. '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 [[Project:Current issues]]. You can also' |
||
.. ' |
.. ' request that the page be unprotected there.', |
||
⚫ | |||
.. ' 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 on the' |
||
.. ' [[ |
.. ' ${TALKPAGE} or at [[Project:Current issues]]. You can also' |
||
.. ' |
.. ' 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 = { |
upload = { |
||
default = { |
default = { |
||
default = 'See the |
default = 'See the ${PROTECTIONLOG} for more details.' |
||
.. '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, or ' |
||
⚫ | |||
.. ' [[Wikipedia:Edit requests|protected edit request]], or you' |
|||
.. ' can [[Wikipedia:Requests for page protection|request]]' |
|||
⚫ | |||
} |
} |
||
} |
} |
||
Line 546: | Line 492: | ||
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 572: | Line 514: | ||
images = { |
images = { |
||
edit = { |
edit = { |
||
default = 'Full-protection-shackle.svg', |
default = 'Full-protection-shackle-red.svg', |
||
autoconfirmed = 'Semi-protection-shackle-no-text.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 609: | Line 546: | ||
imageLinks = { |
imageLinks = { |
||
edit = { |
edit = { |
||
default = ' |
default = 'Project:Protected page', |
||
templateeditor = 'Wikipedia:Protection policy#template', |
|||
extendedconfirmed = 'Wikipedia:Protection policy#extended', |
|||
autoconfirmed = 'Wikipedia:Protection policy#semi' |
|||
}, |
}, |
||
move = { |
move = { |
||
default = ' |
default = 'Project:Protected page' |
||
}, |
}, |
||
autoreview = { |
autoreview = { |
||
default = ' |
default = 'Project:Protected page' |
||
}, |
}, |
||
upload = { |
upload = { |
||
default = ' |
default = 'Project:Protected page' |
||
} |
} |
||
}, |
}, |
||
Line 636: | Line 570: | ||
-- 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 737: | Line 670: | ||
['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 pages under 30-500 editing restriction', |
||
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia |
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia pages under 30-500 editing restriction', |
||
['all|template|all|all|edit'] = ' |
['all|template|all|all|edit'] = 'Mediawiki 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 754: | Line 687: | ||
['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'] = 'Mediawiki 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 760: | Line 693: | ||
['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 |
['all|category|all|sysop|edit'] = 'Wikipedia 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'] = 'Mediawiki fully protected templates', |
||
['all|user|all|sysop|edit'] = 'Wikipedia |
['all|user|all|sysop|edit'] = 'Wikipedia protected user and user talk pages', |
||
['all|module|all|all|edit'] = ' |
['all|module|all|all|edit'] = 'Modules subject to page protection', |
||
['all|module|all|templateeditor|edit'] = ' |
['all|module|all|templateeditor|edit'] = 'Modules subject to page protection', |
||
['all|module|all|autoconfirmed|edit'] = ' |
['all|module|all|autoconfirmed|edit'] = 'Modules subject to page protection', |
||
['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 873: | Line 806: | ||
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 937: | Line 852: | ||
-- 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 ${PROTECTIONLOG} for more details.' |
||
.. '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' |
||
.. ' [[ |
.. ' [[Project:Administrators|administrator]] to make an edit if it' |
||
.. ' is [[Help:Minor edit#When to mark an edit as |
.. ' is [[m:Help:Minor edit#When to mark an edit as minor' |
||
.. '|uncontroversial]] or supported by |
.. '|uncontroversial]] or supported by consensus', |
||
.. '|consensus]].', |
|||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 1,005: | Line 918: | ||
-- 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.svg', |
['image-filename-indef'] = 'Full-protection-shackle-red.svg', |
||
['image-filename-default'] = 'Transparent.gif', |
['image-filename-default'] = 'Transparent.gif', |
||