Bureaucrats, rtl-contributors, Administrators
1,650
edits
m (Changed protection level of Module:Protection banner/config: High-risk Lua module: RFPP request ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
m (1 revision imported) |
||
(50 intermediate revisions by 29 users not shown) | |||
Line 41:
--
-- ${EDITREQUEST} - a link to create an edit request for the current page.
--
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
Line 132 ⟶ 129:
-- The default banner data. This holds banner data for different protection
-- levels.
-- *required* - this table needs edit, move, autoreview and
defaultBanners = {
edit = {},
move = {},
autoreview = {
image = 'Padlock-silver-light.svg'▼
},▼
default = {
alt = 'Page protected with pending changes
tooltip = 'All edits by
}
},
upload = {}
},
Line 158 ⟶ 151:
-- module documentation.
--
-- *required* - this table needs edit, move, autoreview and
banners = {
edit = {
Line 164 ⟶ 157:
description = 'For pages protected to promote compliance with the'
.. ' [[Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[Wikipedia:Biographies of living persons'
Line 170 ⟶ 163:
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living
},
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to [[Digital Millennium Copyright Act]] takedown requests
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
Line 192 ⟶ 185:
return ret
end,
image = '
},
dispute = {
description = 'For pages protected due to editing disputes
text = function (protectionObj, args)
-- Find the value of "disputes".
Line 224 ⟶ 217:
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
▲ },
ecp = {
description = 'For articles in topic areas authorized by'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
mainpage = {
description = 'For pages protected for being displayed on the [[Main Page]]
text = 'This file is currently'
.. ' [[Wikipedia:This page is protected|protected]] from'
Line 239:
},
office = {
description = 'For pages protected by the Wikimedia Foundation
text = function (protectionObj, args)
local ret = 'This ${PAGETYPE} is currently under the'
Line 254:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = '
},
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version
text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
Line 291:
return ret
end,
image = '
},
sock = {
description = 'For pages protected due to'
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
Line 305:
template = {
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
Line 323:
usertalk = {
description = 'For pages protected against disruptive edits by a'
.. ' particular user
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
.. ' such as abusing the'
Line 340:
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism|vandalism]]
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
Line 356:
dispute = {
description = 'For pages protected against page moves due to'
.. ' disputes over the page title
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = '
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]]
}
},
autoreview = {},
upload = {}
},
Line 388 ⟶ 389:
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and
protectionBlurbs = {
edit = {
Line 395 ⟶ 396:
autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
.. ' 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 = {
Line 402 ⟶ 404:
},
autoreview = {
.. ' [[Wikipedia:User access levels#New users|new]] or'
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]',▼
default = 'All edits made to this ${PAGETYPE} by users who are not'▼
▲ .. ' [[Wikipedia:Reviewing|reviewers]] or'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
upload = {
▲ default = '
}
},
Line 430 ⟶ 431:
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and
explanationBlurbs = {
edit = {
Line 449 ⟶ 450:
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[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.'
.. ' 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'
},
default = {
Line 490 ⟶ 503:
autoreview = {
default = {
▲ reviewer = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'▼
.. ' [[Wikipedia:Requests for page protection'▼
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
Line 510 ⟶ 514:
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
upload = {
default = {
▲ .. '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'
.. ' [[Wikipedia:Edit requests|protected edit request]], or you'
▲ .. ' can [[Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
}
},
Line 519 ⟶ 535:
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- protection action and
-- order:
-- 1. page's protection action, page's protection level
Line 526 ⟶ 542:
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and
protectionLevels = {
edit = {
default = 'protected',
templateeditor = 'template-protected',
extendedconfirmed = 'extended-protected',
autoconfirmed = 'semi-protected',
},
Line 537 ⟶ 554:
},
autoreview = {
},
upload = {
}
},
Line 552 ⟶ 572:
images = {
edit = {
default = '
templateeditor = '
autoconfirmed = 'Semi-protection-shackle.svg'
},
move = {
default = '
},
autoreview = {
},
▲ default = 'Padlock-orange.svg'
upload = {
default = 'Upload-protection-shackle.svg'
}
},
Line 583 ⟶ 606:
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and
imageLinks = {
edit = {
default = 'Wikipedia:Protection policy#full',
templateeditor = 'Wikipedia:Protection policy#template',
extendedconfirmed = 'Wikipedia:Protection policy#extended',
autoconfirmed = 'Wikipedia:Protection policy#semi'
},
Line 594 ⟶ 618:
},
autoreview = {
},
▲ reviewer = 'Wikipedia:Protection policy#pc2'
upload = {
default = 'Wikipedia:Protection policy#upload'
}
},
Line 706 ⟶ 732:
protectionCategories = {
['all|all|all|all|all'] = 'Wikipedia fully protected pages',
['all|all|office|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'] = '
['all|
['all|all|
['
['all|all|
['
['all|all|
['
['all|all|
['all
['all
['all|
['all|
['all|
['all|
['all|
['all|template|all|
['all|user|all|
['
['all|all|
['all|template|all|
['all|template|all|
['all
['
['all
['all
['all
['all|
['all|
['all|
['all|
['all|
['
['all|
['all|module|all|
['all|
['all|
['all|
['all|
['
['all
['all|all|
['all|
['all|project|all|sysop|move'] = 'Wikipedia move-protected project pages',
['all|talk|all|sysop|move'] = 'Wikipedia move-protected talk pages',
['all|template|all|sysop|move'] = 'Wikipedia move-protected templates',
['all|user|all|sysop|move'] = 'Wikipedia move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload'] = 'Wikipedia upload-protected files',
},
Line 773 ⟶ 805:
edit = nil,
move = false,
autoreview = true,
upload = false
},
Line 820 ⟶ 853:
filemover = {'sysop'},
templateeditor = {'sysop'},
extendedconfirmed = {'sysop'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
user = {'autoconfirmed'},
['*'] = {'user'}
Line 839 ⟶ 873:
--
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically.
--
wrappers = {
['Template:Pp'] = {},
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page']
['Template:Pp-move'] = {action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move', catonly = 'yes'},
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move', catonly = 'yes'},
['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-pc2'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template', small = true},
['Template:Pp-upload'] = {action = 'upload'},
['Template:Pp-usertalk'] = {'usertalk'},
['Template:Pp-vandalism'] = {'vandalism'},
Line 958 ⟶ 994:
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y "at" H:i e',
--------------------------------------------------------------------------------
Line 966 ⟶ 1,002:
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules',
Line 974 ⟶ 1,009:
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = '
['image-filename-default'] = 'Transparent.gif',
|