Module:Protection banner/config: Difference between revisions

no edit summary
(Let's not get into whether and when we are publishing. Existing consensus at Template:Protection table is "go live" for a very short description... but we have space here to be even more specific)
w>MarcoAurelio
No edit summary
Line 136: Line 136:
autoconfirmed = {
autoconfirmed = {
alt = 'Page protected with pending changes level 1',
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',
tooltip = 'All edits by unregistered and new users are subject to review',
image = 'Padlock-silver-light.svg'
image = 'Padlock-silver-light.svg'
},
},
Line 142: Line 142:
alt = 'Page protected with pending changes level 2',
alt = 'Page protected with pending changes level 2',
tooltip = 'All edits by users who are not reviewers or administrators are'
tooltip = 'All edits by users who are not reviewers or administrators are'
.. ' subject to review prior to becoming visible to unregistered users',
.. ' subject to review',
image = 'Padlock-orange.svg'
image = 'Padlock-orange.svg'
}
}
Line 162: Line 162:
blp = {
blp = {
description = 'For pages protected to promote compliance with the'
description = 'For pages protected to promote compliance with the'
.. ' [[Wikipedia:Biographies of living persons'
.. ' [[w:Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy',
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[Wikipedia:Biographies of living persons'
.. ' [[w:Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
.. ' of living people]].',
Line 173: Line 173:
dmca = {
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to [[Digital Millennium Copyright Act]] takedown requests',
.. ' due to [[Special:MyLanguage/Legal#DMCA|Digital Millennium Copyright Act]] takedown requests',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
local ret = 'Pursuant to a rights owner notice under the Digital'
Line 186: Line 186:
ret = ret .. ' For more information, including websites discussing'
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. ' how to file a counter-notice, please see'
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. " [[Special:MyLanguage/Office actions|Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
.. " restrictions are withdrawn'''."
Line 226: Line 226:
ecp = {
ecp = {
description = 'For articles in topic areas authorized by'
description = 'For articles in topic areas authorized by'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' [[Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is extended-confirmed protected',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}'
.. ' under extended confirmed editing restrictions',
alt = 'Extended-protected ${PAGETYPE}',
alt = 'Extended-protected ${PAGETYPE}',
},
},
Line 234: Line 235:
description = 'For pages protected for being displayed on the [[Main Page]]',
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
text = 'This file is currently'
.. ' [[Wikipedia:This page is protected|protected]] from'
.. ' [[Special:MyLanguage/Help:Protection|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Main Page]].',
.. ' on the [[Special:MyLanguage/Main Page|Main Page]].',
explanation = 'Images on the Main Page are protected due to their high'
explanation = 'Images on the Main Page are protected due to their high'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
Line 249: Line 250:
local ret = 'This ${PAGETYPE} is currently under the'
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[Special:MyLanguage/Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
.. ' and is protected.'
if protectionObj.protectionDate then
if protectionObj.protectionDate then
Line 267: Line 268:
  text = 'This ${PAGETYPE} is currently under the'
  text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[Special:MyLanguage/Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
.. ' and is protected.',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
Line 279: Line 280:
.. ' simplified, "bare bones" version so that it may be completely'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' [[Special:MyLanguage/Neutral point of view|Neutral Point of View]] and [[w:en:WP:V|Verifiability]].'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
</