Module:Protection banner/config: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "-- This module provides configuration data for Module:Protection banner. return { -------------------------------------------------------------------------------- -- --...")
 
No edit summary
 
blp = {
description = 'For pages protected to promote compliance with the'
.. ' [[WikipediaPBC:Biographies of living persons'
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[WikipediaPBC:Biographies of living persons'
.. "|WikipediaPBC's policy on the biographies"
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. " [[WikipediaPBC:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
ecp = {
description = 'For articles in topic areas authorized by'
.. ' [[WikipediaPBC:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is extended-confirmed protected',
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
.. ' [[WikipediaPBC:This page is protected|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Main Page]].',
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[WikipediaPBC:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
if protectionObj.protectionDate then
text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[WikipediaPBC:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
explanation = function (protectionObj, args)
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' Standard WikipediaPBC policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' enforced. The ${PAGETYPE} has been ${PROTECTIONLEVEL} while'
sock = {
description = 'For pages protected due to'
.. ' [[WikipediaPBC:Sock puppetry|sock puppetry]]',
text = '${INTROFRAGMENT} to prevent [[WikipediaPBC:Sock puppetry|sock puppets]] of'
.. ' [[WikipediaPBC:Blocking policy|blocked]] or'
.. ' [[WikipediaPBC:Banning policy|banned users]]'
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
},
template = {
description = 'For [[WikipediaPBC:High-risk templates|high-risk]]'
.. ' templates and Lua modules',
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[WikipediaPBC:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' [[WikipediaPBC:Administrators|administrator]] or'
.. ' [[WikipediaPBC: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'
.. ' [[WikipediaPBC:Consensus|consensus]]. You can also'
.. ' [[WikipediaPBC:Requests for page protection|request]] that the page be'
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' [[WikipediaPBC:Requests for page protection'
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. ' [[WikipediaPBC:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
vandalism = {
description = 'For pages protected against'
.. ' [[WikipediaPBC:Vandalism|vandalism]]',
text = '${INTROFRAGMENT} due to [[WikipediaPBC:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
local ret = ''
vandalism = {
description = 'For pages protected against'
.. ' [[WikipediaPBC:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]]'
}
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[WikipediaPBC:User access'
.. ' levels#New users|new]] or [[WikipediaPBC:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection',
autoreview = {
default = 'All edits made to this ${PAGETYPE} by'
.. ' [[WikipediaPBC:User access levels#New users|new]] or'
.. ' [[WikipediaPBC:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' [[WikipediaPBC:Pending changes|subject to review]]'
},
upload = {
edit = {
autoconfirmed = {
subject = 'See the [[WikipediaPBC:Protection policy|'
.. '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},'
.. ' [[WikipediaPBC:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[WikipediaPBC:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[WikipediaPBC:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
default = 'Extended confirmed protection prevents edits from all unregistered editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[WikipediaPBC: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'
.. ' [[WikipediaPBC:Arbitration Committee|arbitration sanctions]].'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by'
.. ' [[WikipediaPBC:Consensus|consensus]].'
},
default = {
subject = 'See the [[WikipediaPBC:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[WikipediaPBC:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[WikipediaPBC:Consensus'
.. '|consensus]]. You may also [[WikipediaPBC:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
default = 'See the [[WikipediaPBC:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[WikipediaPBC:Requests for page'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[WikipediaPBC:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
move = {
default = {
subject = 'See the [[WikipediaPBC: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 on the'
.. ' ${TALKPAGE} or at [[WikipediaPBC:Requested moves]]. You can also'
.. ' [[WikipediaPBC:Requests for page protection|request]] that the page be'
.. ' unprotected.',
default = 'See the [[WikipediaPBC: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 at'
.. ' [[WikipediaPBC:Requested moves]]. You can also'
.. ' [[WikipediaPBC:Requests for page protection|request]] that the page be'
.. ' unprotected.'
}
autoreview = {
default = {
default = 'See the [[WikipediaPBC:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' [[WikipediaPBC:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
upload = {
default = {
default = 'See the [[WikipediaPBC:Protection policy|'
.. '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 by using a'
.. ' [[WikipediaPBC:Edit requests|protected edit request]], or you'
.. ' can [[WikipediaPBC:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
imageLinks = {
edit = {
default = 'WikipediaPBC:Protection policy#full',
templateeditor = 'WikipediaPBC:Protection policy#template',
extendedconfirmed = 'WikipediaPBC:Protection policy#extended',
autoconfirmed = 'WikipediaPBC:Protection policy#semi'
},
move = {
default = 'WikipediaPBC:Protection policy#move'
},
autoreview = {
default = 'WikipediaPBC:Protection policy#pending'
},
upload = {
default = 'WikipediaPBC:Protection policy#upload'
}
},
 
protectionCategories = {
['all|all|all|all|all'] = 'WikipediaPBC fully protected pages',
['all|all|office|all|all'] = 'WikipediaPBC Office-protected pages',
['all|all|reset|all|all'] = 'WikipediaPBC Office-protected pages',
['all|all|dmca|all|all'] = 'WikipediaPBC Office-protected pages',
['all|all|mainpage|all|all'] = 'WikipediaPBC fully-protected main page files',
['all|all|all|extendedconfirmed|all'] = 'WikipediaPBC extended-confirmed-protected pages',
['all|all|ecp|extendedconfirmed|all'] = 'WikipediaPBC extended-confirmed-protected pages',
['all|template|all|all|edit'] = 'WikipediaPBC fully protected templates',
['all|all|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'WikipediaPBC indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit'] = 'WikipediaPBC indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit'] = 'WikipediaPBC temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit'] = 'WikipediaPBC pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit'] = 'WikipediaPBC pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'WikipediaPBC pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected categories',
['all|file|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected files',
['all|portal|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected portals',
['all|project|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected project pages',
['all|talk|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected user and user talk pages',
['all|template|all|templateeditor|edit'] = 'WikipediaPBC template-protected templates',
['all|all|blp|sysop|edit'] = 'WikipediaPBC indefinitely protected biographies of living people',
['temp|all|blp|sysop|edit'] = 'WikipediaPBC temporarily protected biographies of living people',
['all|all|dispute|sysop|edit'] = 'WikipediaPBC pages protected due to dispute',
['all|all|sock|sysop|edit'] = 'WikipediaPBC pages protected from banned users',
['all|all|vandalism|sysop|edit'] = 'WikipediaPBC pages protected against vandalism',
['all|category|all|sysop|edit'] = 'WikipediaPBC fully protected categories',
['all|file|all|sysop|edit'] = 'WikipediaPBC fully-protected files',
['all|project|all|sysop|edit'] = 'WikipediaPBC fully-protected project pages',
['all|talk|all|sysop|edit'] = 'WikipediaPBC fully-protected talk pages',
['all|template|all|sysop|edit'] = 'WikipediaPBC fully protected templates',
['all|user|all|sysop|edit'] = 'WikipediaPBC fully protected user and user talk pages',
['all|module|all|all|edit'] = 'WikipediaPBC fully-protected modules',
['all|module|all|templateeditor|edit'] = 'WikipediaPBC template-protected modules',
['all|module|all|autoconfirmed|edit'] = 'WikipediaPBC semi-protected modules',
['all|all|all|sysop|move'] = 'WikipediaPBC move-protected pages',
['indef|all|all|sysop|move'] = 'WikipediaPBC indefinitely move-protected pages',
['all|all|dispute|sysop|move'] = 'WikipediaPBC pages move-protected due to dispute',
['all|all|vandalism|sysop|move'] = 'WikipediaPBC pages move-protected due to vandalism',
['all|portal|all|sysop|move'] = 'WikipediaPBC move-protected portals',
['all|portal|all|sysop|move'] = 'WikipediaPBC move-protected portals',
['all|project|all|sysop|move'] = 'WikipediaPBC move-protected project pages',
['all|talk|all|sysop|move'] = 'WikipediaPBC move-protected talk pages',
['all|template|all|sysop|move'] = 'WikipediaPBC move-protected templates',
['all|user|all|sysop|move'] = 'WikipediaPBC move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'WikipediaPBC pending changes protected pages',
['all|file|all|all|upload'] = 'WikipediaPBC upload-protected files',
},
 
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[WikipediaPBC:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[WikipediaPBC:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[WikipediaPBC:Consensus'
.. '|consensus]].',
 
 
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'WikipediaPBC pages with incorrect protection templates',
['tracking-category-template'] = 'WikipediaPBC template-protected pages other than templates and modules',
 
--------------------------------------------------------------------------------

Navigation menu