Changes

Jump to: navigation, search

Module:Protection banner/config

47 bytes removed, 09:47, 6 July 2014
fix parameter names for the banner data functions
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to Digital Millennium Copyright Act takedown requests.',
explanation = function (protectionDateprotectionObj, blurbDataargs)
local ret = 'Pursuant to a rights owner notice under the Digital'
.. ' Millennium Copyright Act (DMCA) regarding some content'
.. ' applicable law and took down and restricted the content'
.. ' in question.'
if blurbDataargs.notice then
ret = ret .. ' A copy of the received notice can be found here: '
.. blurbDataargs.notice .. '.'
end
ret = ret .. ' For more information, including websites discussing'
dispute = {
description = 'For pages protected due to editing disputes.',
text = function (protectionObj, blurbDataargs)
-- Find the value of "disputes".
local display = 'disputes'
local disputes
if blurbDataargs.section then
disputes = string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[protectionObj.title.namespace].talk.name,
protectionObj.title.text,
blurbDataargs.section,
display
)
office = {
description = 'For pages protected by the Wikimedia Foundation.',
text = function (protectionDateprotectionObj, blurbDataargs)
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version.',
text = function (protectionObj, blurbDataargs)
local ret = ''
if protectionObj.protectionDate then
.. ' [[Wikipedia:Vandalism|vandalism]].',
text = '${INTROBLURB} due to [[Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, blurbDataargs)
local ret = ''
if protectionObj.level == 'sysop' then
Anonymous user

Navigation menu