「モジュール:Protection banner/config」の版間の差分

en:Module:Protection banner/config 2016年9月29日 (木) 18:37‎(UTC)より
template>K-iczn
(en:Module:Protection banner/config 20:31, 11 September 2015‎(UTC)より)
 
template>K-iczn
(en:Module:Protection banner/config 2016年9月29日 (木) 18:37‎(UTC)より)
41行目: 41行目:
--
--
-- ${EDITREQUEST} - a link to create an edit request for the current page.
-- ${EDITREQUEST} - a link to create an edit request for the current page.
--
-- ${EXPIRY} - the protection expiry date in the format DD Month YYYY. If
-- protection is indefinite or is not set, this is the blank string.
--
--
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
132行目: 129行目:
-- The default banner data. This holds banner data for different protection
-- The default banner data. This holds banner data for different protection
-- levels.
-- levels.
-- *required* - this table needs edit, move, and autoreview subtables.
-- *required* - this table needs edit, move, autoreview and upload subtables.
defaultBanners = {
defaultBanners = {
edit = {},
edit = {},
146行目: 143行目:
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',
.. ' subject to review',
image = 'Padlock-orange.svg'
}
}
}
},
upload = {}
},
},


158行目: 157行目:
-- module documentation.
-- module documentation.
--
--
-- *required* - this table needs edit, move, and autoreview subtables.
-- *required* - this table needs edit, move, autoreview and upload subtables.
banners = {
banners = {
edit = {
edit = {
blp = {
blp = {
description = 'For pages protected to promote compliance with the'
description = 'For pages protected to promote compliance with the'
.. ' [[:en:Wikipedia:Biographies of living persons'
.. ' [[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'
.. ' [[:en:Wikipedia:Biographies of living persons'
.. ' [[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
.. ' of living people]].',
174行目: 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 [[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'
187行目: 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'
.. " [[:en:Wikipedia:Office actions|Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. " [[Wikipedia: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'''."
195行目: 194行目:
},
},
dispute = {
dispute = {
description = 'For pages protected due to editing disputes.',
description = 'For pages protected due to editing disputes',
text = function (protectionObj, args)
text = function (protectionObj, args)
-- Find the value of "disputes".
-- Find the value of "disputes".
224行目: 223行目:
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
},
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}'
.. ' under extended confirmed editing restrictions',
alt = 'Extended-protected ${PAGETYPE}',
},
},
mainpage = {
mainpage = {
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'
.. ' [[:en:Wikipedia:This page is protected|protected]] from'
.. ' [[Wikipedia:This page is protected|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 [[Main Page]].',
239行目: 246行目:
},
},
office = {
office = {
description = 'For pages protected by the Wikimedia Foundation.',
description = 'For pages protected by the Wikimedia Foundation',
text = function (protectionObj, args)
text = function (protectionObj, args)
local ret = 'This ${PAGETYPE} is currently under the'
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[:en:Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
.. ' and is protected.'
if protectionObj.protectionDate then
if protectionObj.protectionDate then
258行目: 265行目:
reset = {
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version.',
.. ' "reset" to a bare-bones version',
  text = 'This ${PAGETYPE} is currently under the'
  text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' scrutiny of the'
.. ' [[:en:Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
.. ' and is protected.',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
295行目: 302行目:
sock = {
sock = {
description = 'For pages protected due to'
description = 'For pages protected due to'
.. ' [[:en:Wikipedia:Sock puppetry|sock puppetry]].',
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]',
text = '${INTROFRAGMENT} to prevent [[:en:Wikipedia:Sock puppetry|sock puppets]] of'
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[:en:Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[:en:Wikipedia:Banning policy|banned users]]'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
304行目: 311行目:
},
},
template = {
template = {
description = 'For [[:en:Wikipedia:High-risk templates|high-risk]]'
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules.',
.. ' templates and Lua modules',
text = 'This is a permanently [[:en:Help:Protection|protected]] ${PAGETYPE},'
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[:en:Wikipedia:High-risk templates|high-risk]].',
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' ${EDITREQUEST} to ask an'
.. ' [[:en:Wikipedia:Administrators|administrator]] or'
.. ' [[Wikipedia:Administrators|administrator]] or'
.. ' [[:en:Wikipedia:Template editor|template editor]] to make an edit if'
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
.. ' it is [[:en:Help:Minor edit#When to mark an edit as a minor edit'
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. '|uncontroversial]] or supported by'
.. ' [[:en:Wikipedia:Consensus|consensus]]. You can also'
.. ' [[Wikipedia:Consensus|consensus]]. You can also'
.. ' [[:en:Wikipedia:Requests for page protection|request]] that the page be'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
323行目: 330行目:
usertalk = {
usertalk = {
description = 'For pages protected against disruptive edits by a'
description = 'For pages protected against disruptive edits by a'
.. ' particular user.',
.. ' particular user',
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
.. ' such as abusing the'
.. ' such as abusing the'
.. ' {{[[:en:Template:unblock|unblock]]}} template.',
.. ' {{[[Template:unblock|unblock]]}} template.',
explanation = 'If you cannot edit this user talk page and you need to'
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' make a change or leave a message, you can'
.. ' [[:en:Wikipedia:Requests for page protection'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for edits to a protected page'
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. '|request an edit]],'
.. ' [[:en:Wikipedia:Requests for page protection'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
.. '|request unprotection]],'
340行目: 347行目:
vandalism = {
vandalism = {
description = 'For pages protected against'
description = 'For pages protected against'
.. ' [[:en:Wikipedia:Vandalism|vandalism]].',
.. ' [[Wikipedia:Vandalism|vandalism]]',
text = '${INTROFRAGMENT} due to [[:en:Wikipedia:Vandalism|vandalism]].',
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
explanation = function (protectionObj, args)
local ret = ''
local ret = ''
356行目: 363行目:
dispute = {
dispute = {
description = 'For pages protected against page moves due to'
description = 'For pages protected against page moves due to'
.. ' disputes over the page title.',
.. ' disputes over the page title',
explanation = "This protection is '''not''' an endorsement of the"
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
363行目: 370行目:
vandalism = {
vandalism = {
description = 'For pages protected against'
description = 'For pages protected against'
.. ' [[:en:Wikipedia:Vandalism#Page-move vandalism'
.. ' [[Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]].'
.. ' |page-move vandalism]]'
}
}
},
},
autoreview = {}
autoreview = {},
upload = {}
},
},


388行目: 396行目:
--
--
-- It is possible to use banner parameters inside this table.
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, and autoreview subtables.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionBlurbs = {
protectionBlurbs = {
edit = {
edit = {
default = 'This ${PAGETYPE} is currently [[:en:Help:Protection|'
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[:en:Wikipedia:User access'
autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
.. ' levels#New users|new]] or [[:en:Wikipedia:User access levels#Unregistered'
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[:en:Help:Protection|disabled]]'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} as a result of'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] enforcement or meets the'
.. ' [[Wikipedia:Protection policy#extended|criteria for community use]]',
},
},
move = {
move = {
default = 'This ${PAGETYPE} is currently [[:en:Help:Protection|protected]]'
default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]'
.. ' from [[:en:Help:Moving a page|page moves]]'
.. ' from [[Help:Moving a page|page moves]]'
},
},
autoreview = {
autoreview = {
autoconfirmed = 'All edits made to this ${PAGETYPE} by'
autoconfirmed = 'All edits made to this ${PAGETYPE} by'
.. ' [[:en:Wikipedia:User access levels#New users|new]] or'
.. ' [[Wikipedia:User access levels#New users|new]] or'
.. ' [[:en:Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' users are currently'
.. ' [[:en:Wikipedia:Pending changes|subject to review]]',
.. ' [[Wikipedia:Pending changes|subject to review]]',
default = 'All edits made to this ${PAGETYPE} by users who are not'
default = 'All edits made to this ${PAGETYPE} by users who are not'
.. ' [[:en:Wikipedia:Reviewing|reviewers]] or'
.. ' [[Wikipedia:Reviewing|reviewers]] or'
.. ' [[:en:Wikipedia:Administrators|administrators]] are currently'
.. ' [[Wikipedia:Administrators|administrators]] are currently'
.. ' [[:en:Wikipedia:Pending changes|subject to review]]'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
upload = {
default = 'Uploading new versions of this ${PAGETYPE} is currently disabled'
}
}
},
},
430行目: 444行目:
--
--
-- It is possible to use banner parameters inside this table.
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, and autoreview subtables.
-- *required* - this table needs edit, move, autoreview and upload subtables.
explanationBlurbs = {
explanationBlurbs = {
edit = {
edit = {
autoconfirmed = {
autoconfirmed = {
subject = 'See the [[:en:Wikipedia:Protection policy|'
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' [[:en:Wikipedia:Requests for page protection'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[:en:Wikipedia:Protection policy|'
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[:en:Wikipedia:Requests for page protection'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
.. ' [[Special:UserLogin/signup|create an account]].',
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all IP editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[Wikipedia:Protection policy#extended|policy on community use]]'
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption, given that semi-protection has proven to be ineffective.'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for unconversial changes supported by'
.. ' [[Wikipedia:Consensus|consensus]].'
},
},
default = {
default = {
subject = 'See the [[:en:Wikipedia:Protection policy|'
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[:en:Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[:en:Help:Minor edit#When to mark an edit as a minor edit'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[:en:Wikipedia:Consensus'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]]. You may also [[:en:Wikipedia:Requests for'
.. '|consensus]]. You may also [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
.. '|request]] that this page be unprotected.',
default = 'See the [[:en:Wikipedia:Protection policy|'
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[:en:Wikipedia:Requests for page'
.. ' You may [[Wikipedia:Requests for page'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[:en:Wikipedia:Requests for'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
.. '|ask]] for it to be unprotected.'
472行目: 496行目:
move = {
move = {
default = {
default = {
subject = 'See the [[:en:Wikipedia:Protection policy|'
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' ${TALKPAGE} or at [[:en:Wikipedia:Requested moves|Wikipedia:Requested moves]]. You can also'
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also'
.. ' [[:en:Wikipedia:Requests for page protection|request]] that the page be'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
.. ' unprotected.',
default = 'See the [[:en:Wikipedia:Protection policy|'
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' [[:en:Wikipedia:Requested moves|Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requested moves]]. You can also'
.. ' [[:en:Wikipedia:Requests for page protection|request]] that the page be'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.'
.. ' unprotected.'
}
}
490行目: 514行目:
autoreview = {
autoreview = {
default = {
default = {
reviewer = 'See the [[:en:Wikipedia:Protection policy|'
reviewer = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} will not be visible to readers'
.. ' Edits to this ${PAGETYPE} will not be visible to readers'
.. ' until they are accepted by a reviewer or an administrator.'
.. ' until they are accepted by a reviewer or an administrator.'
.. ' To avoid the need for your edits to be reviewed, you may'
.. ' To avoid the need for your edits to be reviewed, you may'
.. ' [[:en:Wikipedia:Requests for page protection'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]]. Experienced editors may also'
.. '|request unprotection]]. Experienced editors may also'
.. ' request the [[:en:Wikipedia:Reviewing|reviewer user right]].',
.. ' request the [[Wikipedia:Reviewing|reviewer user right]].',
default = 'See the [[:en:Wikipedia:Protection policy|'
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
505行目: 529行目:
.. ' a reviewer. To avoid the need for your edits to be'
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' reviewed, you may'
.. ' [[:en:Wikipedia:Requests for page protection'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].'
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
},
upload = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. '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.'
}
}
}
},
},
519行目: 555行目:
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- produces a short label for different protection levels. It is sorted by
-- protection action and proteciton level, and is checked in the following
-- protection action and protection level, and is checked in the following
-- order:
-- order:
-- 1. page's protection action, page's protection level
-- 1. page's protection action, page's protection level
526行目: 562行目:
--
--
-- It is possible to use banner parameters inside this table.
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, and autoreview subtables.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionLevels = {
protectionLevels = {
edit = {
edit = {
default = 'protected',
default = 'protected',
templateeditor = 'template-protected',
templateeditor = 'template-protected',
extendedconfirmed = 'extended-protected',
autoconfirmed = 'semi-protected',
autoconfirmed = 'semi-protected',
},
},
537行目: 574行目:
},
},
autoreview = {
autoreview = {
},
upload = {
default = 'upload-protected'
}
}
},
},
554行目: 594行目:
default = 'Padlock.svg',
default = 'Padlock.svg',
templateeditor = 'Padlock-pink.svg',
templateeditor = 'Padlock-pink.svg',
extendedconfirmed = 'Padlock-blue.svg',
autoconfirmed = 'Padlock-silver.svg'
autoconfirmed = 'Padlock-silver.svg'
},
},
562行目: 603行目:
autoconfirmed = 'Padlock-silver-light.svg',
autoconfirmed = 'Padlock-silver-light.svg',
default = 'Padlock-orange.svg'
default = 'Padlock-orange.svg'
},
upload = {
default = 'Padlock-purple.svg'
}
}
},
},
583行目: 627行目:
--
--
-- It is possible to use banner parameters inside this table.
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, and autoreview subtables.
-- *required* - this table needs edit, move, autoreview and upload subtables.
imageLinks = {
imageLinks = {
edit = {
edit = {
default = ':en:Wikipedia:Protection policy#full',
default = 'Wikipedia:Protection policy#full',
templateeditor = ':en:Wikipedia:Protection policy#template',
templateeditor = 'Wikipedia:Protection policy#template',
autoconfirmed = ':en:Wikipedia:Protection policy#semi'
extendedconfirmed = 'Wikipedia:Protection policy#extended',
autoconfirmed = 'Wikipedia:Protection policy#semi'
},
},
move = {
move = {
default = ':en:Wikipedia:Protection policy#move'
default = 'Wikipedia:Protection policy#move'
},
},
autoreview = {
autoreview = {
autoconfirmed = ':en:Wikipedia:Protection policy#pc1',
autoconfirmed = 'Wikipedia:Protection policy#pc1',
reviewer = ':en:Wikipedia:Protection policy#pc2'
reviewer = 'Wikipedia:Protection policy#pc2'
},
upload = {
default = 'Wikipedia:Protection policy#upload'
}
}
},
},
706行目: 754行目:


protectionCategories = {
protectionCategories = {
['all|all|all|all|all']                  = '編集保護中の記事',
['all|all|all|all|all']                  = 'Wikipedia protected pages',
['all|all|office|all|all']              = '編集保護中の記事',
['all|all|office|all|all']              = 'Wikipedia Office-protected pages',
['all|all|reset|all|all']                = '編集保護中の記事',
['all|all|reset|all|all']                = 'Wikipedia Office-protected pages',
['all|all|dmca|all|all']                = '編集保護中の記事',
['all|all|dmca|all|all']                = 'Wikipedia Office-protected pages',
['all|all|mainpage|all|all']            = '編集保護中の記事',
['all|all|mainpage|all|all']            = 'Wikipedia fully-protected main page files',
['all|template|all|all|edit']            = '編集保護中のテンプレート',
['all|all|all|extendedconfirmed|all']    = 'Wikipedia pages under 30-500 editing restriction',
['all|all|all|autoconfirmed|edit']      = '編集半保護中の記事',
['all|all|ecp|extendedconfirmed|all']    = 'Wikipedia pages under 30-500 editing restriction',
['indef|all|all|autoconfirmed|edit']    = '編集半保護中の記事',
['all|template|all|all|edit']            = 'Wikipedia fully-protected templates',
['all|all|blp|autoconfirmed|edit']      = '編集半保護中の記事',
['all|all|all|autoconfirmed|edit']      = 'Wikipedia semi-protected pages',
['temp|all|blp|autoconfirmed|edit']      = '編集半保護中の記事',
['indef|all|all|autoconfirmed|edit']    = 'Wikipedia indefinitely semi-protected pages',
['all|all|dispute|autoconfirmed|edit']  = '編集半保護中の記事',
['all|all|blp|autoconfirmed|edit']      = 'Wikipedia indefinitely semi-protected biographies of living people',
['all|all|sock|autoconfirmed|edit']      = '編集半保護中の記事',
['temp|all|blp|autoconfirmed|edit']      = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|vandalism|autoconfirmed|edit'] = '編集半保護中の記事',
['all|all|dispute|autoconfirmed|edit']  = 'Wikipedia pages semi-protected due to dispute',
['all|category|all|autoconfirmed|edit']  = '編集半保護中の記事',
['all|all|sock|autoconfirmed|edit']      = 'Wikipedia pages semi-protected from banned users',
['all|file|all|autoconfirmed|edit']      = '編集半保護中の記事',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism',
['all|portal|all|autoconfirmed|edit']    = '編集半保護中の記事',
['all|category|all|autoconfirmed|edit']  = 'Wikipedia semi-protected categories',
['all|project|all|autoconfirmed|edit']  = '編集半保護中の記事',
['all|file|all|autoconfirmed|edit']      = 'Wikipedia semi-protected files',
['all|talk|all|autoconfirmed|edit']      = '編集半保護中の記事',
['all|portal|all|autoconfirmed|edit']    = 'Wikipedia semi-protected portals',
['all|template|all|autoconfirmed|edit']  = '編集半保護中のテンプレート',
['all|project|all|autoconfirmed|edit']  = 'Wikipedia semi-protected project pages',
['all|user|all|autoconfirmed|edit']      = '編集半保護中の記事',
['all|talk|all|autoconfirmed|edit']      = 'Wikipedia semi-protected talk pages',
['all|template|all|templateeditor|edit'] = '編集保護中のテンプレート',
['all|template|all|autoconfirmed|edit']  = 'Wikipedia semi-protected templates',
['all|all|blp|sysop|edit']              = '編集保護中の記事',
['all|user|all|autoconfirmed|edit']      = 'Wikipedia semi-protected user and user talk pages',
['temp|all|blp|sysop|edit']              = '編集保護中の記事',
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates',
['all|all|dispute|sysop|edit']          = '編集保護中の記事',
['all|all|blp|sysop|edit']              = 'Wikipedia indefinitely protected biographies of living people',
['all|all|sock|sysop|edit']              = '編集保護中の記事',
['temp|all|blp|sysop|edit']              = 'Wikipedia temporarily protected biographies of living people',
['all|all|vandalism|sysop|edit']        = '編集保護中の記事',
['all|all|dispute|sysop|edit']          = 'Wikipedia pages protected due to dispute',
['all|category|all|sysop|edit']          = '編集保護中の記事',
['all|all|sock|sysop|edit']              = 'Wikipedia pages protected from banned users',
['all|file|all|sysop|edit']              = '編集保護中の記事',
['all|all|vandalism|sysop|edit']        = 'Wikipedia pages protected against vandalism',
['all|project|all|sysop|edit']          = '編集保護中の記事',
['all|category|all|sysop|edit']          = 'Wikipedia protected categories',
['all|talk|all|sysop|edit']              = '編集保護中の記事',
['all|file|all|sysop|edit']              = 'Wikipedia fully-protected files',
['all|template|all|sysop|edit']          = '編集保護中のテンプレート',
['all|project|all|sysop|edit']          = 'Wikipedia fully-protected project pages',
['all|user|all|sysop|edit']              = '編集保護中の記事',
['all|talk|all|sysop|edit']              = 'Wikipedia fully-protected talk pages',
['all|module|all|all|edit']              = '編集保護中の記事',
['all|template|all|sysop|edit']          = 'Wikipedia fully-protected templates',
['all|module|all|templateeditor|edit']  = '編集保護中の記事',
['all|user|all|sysop|edit']              = 'Wikipedia protected user and user talk pages',
['all|module|all|autoconfirmed|edit']    = '編集保護中の記事',
['all|module|all|all|edit']              = 'Wikipedia fully-protected modules',
['all|all|all|sysop|move']              = '移動保護中の記事',
['all|module|all|templateeditor|edit']  = 'Wikipedia template-protected modules',
['indef|all|all|sysop|move']            = '移動保護中の記事',
['all|module|all|autoconfirmed|edit']    = 'Wikipedia semi-protected modules',
['all|all|dispute|sysop|move']          = '移動保護中の記事',
['all|all|all|sysop|move']              = 'Wikipedia move-protected pages',
['all|all|vandalism|sysop|move']        = '移動保護中の記事',
['indef|all|all|sysop|move']            = 'Wikipedia indefinitely move-protected pages',
['all|portal|all|sysop|move']            = '移動保護中の記事',
['all|all|dispute|sysop|move']          = 'Wikipedia pages move-protected due to dispute',
['all|portal|all|sysop|move']            = '移動保護中の記事',
['all|all|vandalism|sysop|move']        = 'Wikipedia pages move-protected due to vandalism',
['all|project|all|sysop|move']          = '移動保護中の記事',
['all|portal|all|sysop|move']            = 'Wikipedia move-protected portals',
['all|talk|all|sysop|move']              = '移動保護中の記事',
['all|portal|all|sysop|move']            = 'Wikipedia move-protected portals',
['all|template|all|sysop|move']          = '移動保護中の記事',
['all|project|all|sysop|move']          = 'Wikipedia move-protected project pages',
['all|user|all|sysop|move']              = '移動保護中の記事',
['all|talk|all|sysop|move']              = 'Wikipedia move-protected talk pages',
['all|all|all|autoconfirmed|autoreview'] = '',
['all|template|all|sysop|move']          = 'Wikipedia move-protected templates',
['all|all|all|reviewer|autoreview']      = '',
['all|user|all|sysop|move']              = 'Wikipedia move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages (level 1)',
['all|all|all|reviewer|autoreview']      = 'Wikipedia pending changes protected pages (level 2)',
['all|file|all|all|upload']              = 'Wikipedia upload-protected files',
},
},


773行目: 824行目:
edit = nil,
edit = nil,
move = false,
move = false,
autoreview = true
autoreview = true,
upload = false
},
},


820行目: 872行目:
filemover = {'sysop'},
filemover = {'sysop'},
templateeditor = {'sysop'},
templateeditor = {'sysop'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor'},
extendedconfirmed = {'sysop'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
user = {'autoconfirmed'},
user = {'autoconfirmed'},
['*'] = {'user'}
['*'] = {'user'}
839行目: 892行目:
--
--
-- When a user calls one of these wrapper templates, they will use the
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically. The arguments cannot be overwritten by the
-- default arguments automatically. However, users can override any of the
-- user.
-- arguments.
wrappers = {
wrappers = {
['Template:Pp']                        = {},
['Template:Pp']                        = {},
['Template:Pp-30-500']                  = {'ecp'},
['Template:Pp-blp']                    = {'blp'},
['Template:Pp-blp']                    = {'blp'},
-- we don't need Template:Pp-create
-- we don't need Template:Pp-create
['Template:Pp-dispute']                = {'dispute'},
['Template:Pp-dispute']                = {'dispute'},
['Template:Pp-main-page']               = {'mainpage'},
['Template:Pp-main-page']               = {'mainpage'},
['Template:Pp-move']                    = {action = 'move'},
['Template:Pp-move']                    = {action = 'move'},
['Template:Pp-move-dispute']            = {'dispute', action = 'move'},
['Template:Pp-move-dispute']            = {'dispute', action = 'move'},
856行目: 910行目:
['Template:Pp-pc2']                    = {action = 'autoreview', small = true},
['Template:Pp-pc2']                    = {action = 'autoreview', small = true},
['Template:Pp-reset']                  = {'reset'},
['Template:Pp-reset']                  = {'reset'},
['Template:Pp-semi-indef']              = {expiry = 'indef', small = true},
['Template:Pp-semi-indef']              = {small = true},
['Template:Pp-sock']                    = {'sock'},
['Template:Pp-sock']                    = {'sock'},
['Template:Pp-template']                = {'template', small = true},
['Template:Pp-template']                = {'template', small = true},
['Template:Pp-upload']                  = {action = 'upload'},
['Template:Pp-usertalk']                = {'usertalk'},
['Template:Pp-usertalk']                = {'usertalk'},
['Template:Pp-vandalism']              = {'vandalism'},
['Template:Pp-vandalism']              = {'vandalism'},
905行目: 960行目:
-- in the MediaWiki namespace.
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[:en:Wikipedia:Protection policy|'
['explanation-blurb-nounprotect'] = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[:en:Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[:en:Help:Minor edit#When to mark an edit as a minor edit'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[:en:Wikipedia:Consensus'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]].',
.. '|consensus]].',


921行目: 976行目:
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter.
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter.
-- It is possible to use banner parameters in these messages.
-- It is possible to use banner parameters in these messages.
['protection-log-display'] = '保護ログ',
['protection-log-display'] = 'protection log',
['pc-log-display'] = 'pending changes log',
['pc-log-display'] = 'pending changes log',


931行目: 986行目:
-- or the move log link produced by the ${CURRENTVERSION} parameter.
-- or the move log link produced by the ${CURRENTVERSION} parameter.
-- It is possible to use banner parameters in these messages.
-- It is possible to use banner parameters in these messages.
['current-version-move-display'] = '現記事名',
['current-version-move-display'] = 'current title',
['current-version-edit-display'] = '現版',
['current-version-edit-display'] = 'current version',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
941行目: 996行目:
-- with the ${TALKPAGE} parameter.
-- with the ${TALKPAGE} parameter.
-- It is possible to use banner parameters in this message.
-- It is possible to use banner parameters in this message.
['talk-page-link-display'] = 'ノート',
['talk-page-link-display'] = 'talk page',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
958行目: 1,013行目:
-- This is the format for the blurb expiry date. It should be valid input for
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'Y年Fj日',
['expiry-date-format'] = 'F j, Y',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
965行目: 1,020行目:


-- These messages determine which tracking categories the module outputs.
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = '不適切な保護テンプレートのあるページ',
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
['tracking-category-expiry'] = '',
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules',
['tracking-category-template'] = '',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
974行目: 1,028行目:


-- These are images that are not defined by their protection action and protection level.
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'Padlock-red.svg',
['image-filename-indef'] = 'Padlock.svg',
['image-filename-default'] = 'Transparent.gif',
['image-filename-default'] = 'Transparent.gif',


匿名利用者