Module:Protection banner/config: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
1 revision imported from wikipedia:Module:Protection_banner/config
No edit summary |
m (1 revision imported from wikipedia:Module:Protection_banner/config) |
||
(30 intermediate revisions by 20 users not shown) | |||
Line 134:
move = {},
autoreview = {
image = 'Padlock-silver-light.svg'▼
default = {
alt = 'Page protected with pending changes
tooltip = 'All edits by
}
},
Line 162 ⟶ 156:
blp = {
description = 'For pages protected to promote compliance with the'
.. ' [[
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[
.. "|Wikipedia's policy on the biographies"
.. ' 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 [[
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
Line 186 ⟶ 180:
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. " [[
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
return ret
end,
image = '
},
dispute = {
Line 226 ⟶ 220:
ecp = {
description = 'For articles in topic areas authorized by'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
Line 235 ⟶ 228:
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
.. ' [[
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[
explanation = 'Images on the Main Page are protected due to their high'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
Line 250 ⟶ 243:
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[
.. ' and is protected.'
if protectionObj.protectionDate then
Line 261 ⟶ 254:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = '
},
reset = {
Line 268 ⟶ 261:
text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[
.. ' and is protected.',
explanation = function (protectionObj, args)
Line 280 ⟶ 273:
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' [[
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
Line 298 ⟶ 291:
return ret
end,
image = '
},
sock = {
description = 'For pages protected due to'
.. ' [[
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[
.. ' [[
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
Line 311 ⟶ 304:
},
template = {
description = 'For [[
.. ' templates and Lua modules',
text = 'This is a permanently [[
.. ' as it is [[
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' [[
.. ' [[
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. ' [[
.. ' [[
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
Line 336 ⟶ 329:
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' [[
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. ' [[
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
.. ' [[Special:Userlogin|log in]],'
Line 345 ⟶ 340:
vandalism = {
description = 'For pages protected against'
.. ' [[
text = '${INTROFRAGMENT} due to [[
explanation = function (protectionObj, args)
local ret = ''
Line 364 ⟶ 359:
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = '
},
vandalism = {
description = 'For pages protected against'
.. ' [[
.. ' |page-move vandalism]]'
}
Line 399 ⟶ 394:
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[
.. '
.. '
extendedconfirmed = 'This ${PAGETYPE} is
},
move = {
default = 'This ${PAGETYPE} is currently [[
.. ' from [[
},
autoreview = {
.. ' [[
.. ' [[
.. ' users are currently'
.. ' [[
},
upload = {
Line 446 ⟶ 435:
edit = {
autoconfirmed = {
subject = 'See the [[
.. '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},'
.. ' [[
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption,
.. ' 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
.. ' [[
},
default = {
subject = 'See the [[
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[
.. '|consensus]]. You may also [[
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
default = 'See the [[
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
}
Line 489 ⟶ 485:
move = {
default = {
subject = 'See the [[
.. '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 [[
.. ' [[
.. ' unprotected.',
default = 'See the [[
.. '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'
.. ' [[
.. ' [[
.. ' unprotected.'
}
Line 507 ⟶ 503:
autoreview = {
default = {
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
Line 521 ⟶ 509:
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' [[
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].'
Line 528 ⟶ 517:
upload = {
default = {
default = 'See the [[
.. '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'
.. ' [[
.. ' can [[
.. ' that the file be unprotected.'
}
Line 583 ⟶ 572:
images = {
edit = {
default = '
templateeditor = '
extendedconfirmed = '
autoconfirmed = '
},
move = {
default = '
},
autoreview = {
},
upload = {
default = '
}
},
Line 621 ⟶ 609:
imageLinks = {
edit = {
default = '
templateeditor = '
extendedconfirmed = '
autoconfirmed = '
},
move = {
default = '
},
autoreview = {
},
upload = {
default = '
}
},
Line 745 ⟶ 732:
protectionCategories = {
['all|all|all|all|all'] = '
['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'] = 'Wikipedia fully
['all|all|all|extendedconfirmed|all'] = '
['all|all|ecp|extendedconfirmed|all'] = '
['all|template|all|all|edit'] = 'Wikipedia fully
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories',
['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files',
['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals',
['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages',
['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages',
['all|
['all|template|all|
['
['all|all|
['
['all|all|
['all
['all
['all|
['all|
['all|
['all|
['all|
['all|
['all|
['all|module|all|all|
['
['all|module|all|
['all|module|all|
['all|
['
['all
['all
['all|
['all|
['all|
['all|
['all|
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload'] = 'Wikipedia upload-protected files',
},
Line 887 ⟶ 876:
wrappers = {
['Template:Pp'] = {},
['Template:Pp-
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page'] = {'mainpage'},
['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-pc1'] = {action = 'autoreview', small = true},
▲ ['Template:Pp-pc2'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {small = true},
Line 951 ⟶ 940:
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[
.. '|consensus]].',
Line 1,004 ⟶ 993:
-- 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 1,011 ⟶ 1,000:
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = '
['tracking-category-template'] = '
--------------------------------------------------------------------------------
Line 1,019 ⟶ 1,008:
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = '
['image-filename-default'] = 'Transparent.gif',
|