Jump to content

Module:Protection banner/config: Difference between revisions

add dmca reason
(reinstate the wrappers table and add the mainpage reason)
(add dmca reason)
Line 110: Line 110:
tooltip = '${TOOLTIPBLURB} to promote compliance with the policy on biographies of'
tooltip = '${TOOLTIPBLURB} to promote compliance with the policy on biographies of'
.. ' living people',
.. ' living people',
},
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to Digital Millennium Copyright Act takedown requests.',
explanation = function (protectionDate, blurbData)
local ret = 'Pursuant to a rights owner notice under the Digital'
.. ' Millennium Copyright Act (DMCA) regarding some content'
.. ' in this article, the Wikimedia Foundation acted under'
.. ' applicable law and took down and restricted the content'
.. ' in question.'
if blurbData.notice then
ret = ret .. ' A copy of the received notice can be found here: '
.. blurbData.notice .. '.'
end
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
return ret
end,
image = 'Padlock-black.svg',
},
},
dispute = {
dispute = {
Line 475: Line 497:
['all-all-office-all-all']              = 'Wikipedia Office-protected pages',
['all-all-office-all-all']              = 'Wikipedia Office-protected pages',
['all-all-reset-all-all']                = 'Wikipedia Office-protected pages',
['all-all-reset-all-all']                = 'Wikipedia Office-protected pages',
['all-all-dmca-all-all']                = 'Wikipedia Office-protected pages',
['all-all-mainpage-all-all']            = 'Protected main page images',
['all-all-mainpage-all-all']            = 'Protected main page images',
['all-template-all-all-edit']            = 'Wikipedia protected templates',
['all-template-all-all-edit']            = 'Wikipedia protected templates',
Line 564: Line 587:


wrappers = {
wrappers = {
['Template:Pp'] = {},
['Template:Pp']                         = {},
['Template:Pp-blp'] = {'blp', action = 'edit'},
['Template:Pp-blp']                     = {'blp', action = 'edit'},
-- we don't need Template:Pp-create
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute', action = 'edit'},
['Template:Pp-dispute']                 = {'dispute', action = 'edit'},
['Template:Pp-main-page'] = {'main-page', action = 'edit'},
['Template:Pp-main-page']               = {'mainpage', action = 'edit'},
['Template:Pp-move'] = {action = 'move'},
['Template:Pp-move']                   = {action = 'move'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move'},
['Template:Pp-move-dispute']           = {'dispute', action = 'move'},
-- we don't need Template:Pp-move-indef
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move'},
['Template:Pp-move-vandalism']         = {'vandalism', action = 'move'},
['Template:Pp-office'] = {'office'},
['Template:Pp-office']                 = {'office'},
['Template:Pp-office-dmca'] = {'office-dmca'}, -- XXX The module doesn't support this reason yet.
['Template:Pp-office-dmca']             = {'dmca'},
['Template:Pp-pc1'] = {action = 'autoreview'},
['Template:Pp-pc1']                     = {action = 'autoreview'},
['Template:Pp-pc2'] = {action = 'autoreview'},
['Template:Pp-pc2']                     = {action = 'autoreview'},
['Template:Pp-protected'] = {action = 'edit'},
['Template:Pp-protected']               = {action = 'edit'},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-reset']                   = {'reset'},
['Template:Pp-semi-indef'] = {expiry = 'indef'},
['Template:Pp-semi-indef']             = {expiry = 'indef'},
['Template:Pp-sock'] = {'sock', action = 'edit'},
['Template:Pp-sock']                   = {'sock', action = 'edit'},
['Template:Pp-template'] = {'template', action = 'edit'},
['Template:Pp-template']               = {'template', action = 'edit'},
['Template:Pp-usertalk'] = {'usertalk', action = 'edit'},
['Template:Pp-usertalk']               = {'usertalk', action = 'edit'},
['Template:Pp-vandalism'] = {'vandalism', action = 'edit'},
['Template:Pp-vandalism']               = {'vandalism', action = 'edit'},
},
},


Cookies help us deliver our services. By using our services, you agree to our use of cookies.