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

ナビゲーションに移動 検索に移動
dmca, office, resetを日本語化、他
template>本日晴天
(メッセージを一部変更・追加)
template>本日晴天
(dmca, office, resetを日本語化、他)
154行目: 154行目:
banners = {
banners = {
edit = {
edit = {
blp = {
--blp = {
description = 'For pages protected to promote compliance with the'
-- description = 'For pages protected to promote compliance with the'
.. ' [[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'
.. ' [[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]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
-- tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living persons',
-- .. ' biographies of living persons',
},
--},
dmca = {
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
description = '[[デジタルミレニアム著作権法]]に基づく削除要求のため、'
.. ' 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 = 'この${PAGETYPE}の内容に関して、デジタルミレニアム著作権法'
.. ' Millennium Copyright Act (DMCA) regarding some content'
.. '(DMCA)に基づく権利所有者への通知があったため、'
.. ' in this article, the Wikimedia Foundation acted under'
.. 'ウィキメディア財団は問題となった個所を削除した上で、'
.. ' applicable law and took down and restricted the content'
.. 'このページの編集を制限しました。'
.. ' in question.'
if args.notice then
if args.notice then
ret = ret .. ' A copy of the received notice can be found here: '
ret = ret .. '財団が受託した通知のコピーは '
.. args.notice .. '.'
.. args.notice .. ' にあります。'
end
end
ret = ret .. ' For more information, including websites discussing'
ret = ret .. '異議申し立て方法など詳細な情報については'
.. ' how to file a counter-notice, please see'
.. '[[Wikipedia:事務局行動]]および${TALKPAGE}をご覧ください。<br />'
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. "'''編集制限が解除されるまで、"
.. "'''Do not remove this template from the article until the"
.. "このお知らせを除去しないでください。'''"
.. " restrictions are withdrawn'''."
return ret
return ret
end,
end,
image = 'Office-protection-shackle.svg',
image = 'Padlock-black.svg',
},
},
dispute = {
dispute = {
193行目: 191行目:
.. '詳しくは[[Wikipedia:保護の方針|保護の方針]]および'
.. '詳しくは[[Wikipedia:保護の方針|保護の方針]]および'
.. '${PROTECTIONLOG}をご覧ください。'
.. '${PROTECTIONLOG}をご覧ください。'
.. '問題となった個所について意見がある場合は'
.. '問題となった個所について意見がある場合は、'
.. '${TALKPAGE}で議論するようにしてください。'
.. '${TALKPAGE}で議論するよう心がけてください。'
.. '[[Wikipedia:合意形成|合意が形成]]され、保護を解除できる状態になった場合は'
.. '[[Wikipedia:合意形成|合意が形成]]され、保護を解除できる状態になった場合は'
.. '[[Wikipedia:保護解除依頼|保護の解除を依頼]]してください。',
.. '[[Wikipedia:保護解除依頼|保護の解除を依頼]]してください。',
tooltip = '編集合戦が発生したため、${TOOLTIPFRAGMENT}',
tooltip = '編集合戦が発生したため、${TOOLTIPFRAGMENT}',
},
},
ecp = {
--ecp = {
description = 'For articles in topic areas authorized by'
-- description = 'For articles in topic areas authorized by'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
-- .. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
-- .. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is extended-confirmed protected',
-- tooltip = 'This ${PAGETYPE} is extended-confirmed protected',
alt = 'Extended-protected ${PAGETYPE}',
-- 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'
.. ' [[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]].',
explanation = 'Images on the Main Page are protected due to their high'
-- explanation = 'Images on the Main Page are protected due to their high'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
-- .. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
.. '<br /><span style="font-size:90%;">'
-- .. '<br /><span style="font-size:90%;">'
.. "'''Administrators:''' Once this image is definitely off the Main Page,"
-- .. "'''Administrators:''' Once this image is definitely off the Main Page,"
.. ' please unprotect this file, or reduce to semi-protection,'
-- .. ' please unprotect this file, or reduce to semi-protection,'
.. ' as appropriate.</span>',
-- .. ' as appropriate.</span>',
},
--},
office = {
office = {
description = 'For pages protected by the Wikimedia Foundation',
description = 'ウィキメディア財団により保護されたページ',
text = function (protectionObj, args)
text = function (protectionObj, args)
local ret = 'This ${PAGETYPE} is currently under the'
local ret = '現在この${PAGETYPE}[[Wikipedia:事務局行動|'
.. ' scrutiny of the'
.. 'ウィキメディア財団事務局]]の監視下にあり、'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
if protectionObj.protectionDate then
if protectionObj.protectionDate then
ret = ret .. ' It has been protected since ${PROTECTIONDATE}.'
ret = ret .. '${PROTECTIONDATE}以降、'
end
end
return ret
return ret .. '保護されています。'
end,
end,
explanation = "If you can edit this page, please discuss all changes and"
explanation = "もしあなたがこのページを編集できたとしても、加筆・修正を行う前に"
.. " additions on the ${TALKPAGE} first. '''Do not remove protection from this"
.. "${TALKPAGE}で議論するよう心がけてください。<br />"
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. "'''ウィキメディア財団の許可があるまで、このページの保護を"
.. " so.'''",
.. "解除しないでください。'''",
image = 'Office-protection-shackle.svg',
image = 'Padlock-black.svg',
},
},
permanent = {
permanent = {
description = '半永久的に${PROTECTIONLEVEL}されているページ',
description = '半永久的に保護されているページ',
text = function (protectionObj, args)
text = function (protectionObj, args)
if protectionObj.level == 'sysop' then
if protectionObj.level == 'sysop' then
279行目: 275行目:
},
},
reset = {
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
description = 'ウィキメディア財団により保護され、最小限の内容に'
.. ' "reset" to a bare-bones version',
.. '縮小されたページ',
  text = 'This ${PAGETYPE} is currently under the'
  text = function (protectionObj, args)
.. ' scrutiny of the'
local ret = '現在この${PAGETYPE}[[Wikipedia:事務局行動|'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. 'ウィキメディア財団事務局]]の監視下にあり、'
.. ' and is protected.',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.protectionDate then
if protectionObj.protectionDate then
ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was'
ret = ret .. '${PROTECTIONDATE}以降、'
else
ret = ret .. 'This ${PAGETYPE} has been'
end
end
ret = ret .. ' reduced to a'
return ret .. '保護されています。'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' enforced. The ${PAGETYPE} has been ${PROTECTIONLEVEL} while'
.. ' it is being rebuilt.\n\n'
.. 'Any insertion of material directly from'
.. ' pre-protection revisions of the ${PAGETYPE} will be removed, as'
.. ' will any material added to the ${PAGETYPE} that is not properly'
.. ' sourced. The associated talk page(s) were also cleared on the'
.. " same date.\n\n"
.. "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not override"
.. " this action, and do not remove protection from this page,"
.. " unless you are authorized by the Wikimedia Foundation"
.. " to do so. No editor may remove this notice.'''"
 
return ret
end,
end,
image = 'Office-protection-shackle.svg',
explanation = 'この${PAGETYPE}には最小限の内容しかないため、'
},
.. '[[WP:NPOV|中立的な観点]][[WP:V|検証可能性]]といった方針に'
sock = {
.. '適合する形で、全面的に改稿されることが望まれています。'
description = 'For pages protected due to'
.. "もしあなたがこのページを編集できたとしても、加筆・修正を行う前に"
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]',
.. "${TALKPAGE}で議論するよう心がけてください。<br />"
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. 'この${PAGETYPE}が保護される以前の版に書かれていた内容は'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. '復帰させないでください。'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. 'ノートページで議論を行う際も同様です。<br />'
.. ' from editing it.',
.. "'''ウィキメディア財団の許可があるまで、このページの保護を"
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
.. "解除したり、このお知らせを除去しないでください。'''",
.. ' editing it',
image = 'Padlock-black.svg',
},
},
--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'
-- .. ' [[Wikipedia:Banning policy|banned users]]'
-- .. ' from editing it.',
-- tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
-- .. ' editing it',
--},
template = {
template = {
description = '[[Wikipedia:影響が特に大きいテンプレート|'
description = '[[Wikipedia:影響が特に大きいテンプレート|'
360行目: 342行目:
end,
end,
},
},
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'
.. ' &#123;&#123;[[Template:unblock|unblock]]&#125;&#125; template.',
-- .. ' &#123;&#123;[[Template:unblock|unblock]]&#125;&#125; 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'
.. ' [[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]],'
.. ' [[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]],'
.. ' [[Special:Userlogin|log in]],'
-- .. ' [[Special:Userlogin|log in]],'
.. ' or [[Special:UserLogin/signup|create an account]].',
-- .. ' or [[Special:UserLogin/signup|create an account]].',
},
--},
vandalism = {
vandalism = {
description = '[[Wikipedia:荒らし|荒らし]]行為により${PROTECTIONLEVEL}されているページ',
description = '[[Wikipedia:荒らし|荒らし]]行為により保護されているページ',
text = '度重なる[[Wikipedia:荒らし|荒らし]]行為のため、${INTROFRAGMENT}',
text = '度重なる[[Wikipedia:荒らし|荒らし]]行為のため、${INTROFRAGMENT}',
tooltip = '度重なる荒らし行為のため、${INTROFRAGMENT}'
tooltip = '度重なる荒らし行為のため、${INTROFRAGMENT}'
391行目: 373行目:
.. '${PROTECTIONLOG}をご覧ください。'
.. '${PROTECTIONLOG}をご覧ください。'
.. 'ページ名について意見がある場合は${TALKPAGE}で議論し、'
.. 'ページ名について意見がある場合は${TALKPAGE}で議論し、'
.. '必要に応じて[[Wikipedia:ページの改名]]に従い'
.. '必要に応じて[[Wikipedia:ページの改名]]に従い、'
.. '[[Wikipedia:改名提案|改名の提案]]をしてください。'
.. '[[Wikipedia:改名提案|改名の提案]]をしてください。'
.. '[[Wikipedia:合意形成|合意が形成]]され、保護を解除できる状態になった場合は'
.. '[[Wikipedia:合意形成|合意が形成]]され、保護を解除できる状態になった場合は'
398行目: 380行目:
},
},
vandalism = {
vandalism = {
description = '[[Wikipedia:荒らし#移動荒らし|移動荒らし]]行為により${PROTECTIONLEVEL}されたページ',
description = '[[Wikipedia:荒らし#移動荒らし|移動荒らし]]行為により保護されたページ',
text = '度重なる[[Wikipedia:荒らし#移動荒らし|移動荒らし]]行為のため、${INTROFRAGMENT}',
text = '度重なる[[Wikipedia:荒らし#移動荒らし|移動荒らし]]行為のため、${INTROFRAGMENT}',
tooltip = '度重なる移動荒らし行為のため、${INTROFRAGMENT}'
tooltip = '度重なる移動荒らし行為のため、${INTROFRAGMENT}'
812行目: 794行目:
--['all|user|all|sysop|move']              = 'Wikipedia move-protected user and user talk pages',
--['all|user|all|sysop|move']              = 'Wikipedia move-protected user and user talk pages',
--['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
--['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
--['all|file|all|all|upload']              = 'Wikipedia upload-protected files',
['all|file|all|all|upload']              = 'アップロード保護中のファイル',
['all|all|all|extendedconfirmed|move']  = '移動拡張半保護中のページ',
['all|all|all|extendedconfirmed|move']  = '移動拡張半保護中のページ',
},
},
906行目: 888行目:
wrappers = {
wrappers = {
['Template:Pp']                        = {},
['Template:Pp']                        = {},
-- ['Template:半保護']                  = {small = true},
['Template:Pp-extended']                = {'ecp'},
['Template:Pp-extended']                = {'ecp'},
['Template:Pp-blp']                    = {'blp'},
['Template:Pp-blp']                    = {'blp'},
913行目: 894行目:
['Template:Pp-main-page']              = {'mainpage'},
['Template:Pp-main-page']              = {'mainpage'},
['Template:Pp-move']                    = {action = 'move'},
['Template:Pp-move']                    = {action = 'move'},
-- ['Template:移動保護']                = {action = 'move', small = true},
['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
921行目: 901行目:
['Template:Pp-pc']                      = {action = 'autoreview', small = true},
['Template:Pp-pc']                      = {action = 'autoreview', small = true},
['Template:Pp-pc1']                    = {action = 'autoreview', small = true},
['Template:Pp-pc1']                    = {action = 'autoreview', small = true},
['Template:Pp-permanent']               = {'permanent', small = true},
['Template:保護運用']                   = {'permanent', small = true},
['Template:Pp-reset']                  = {'reset'},
['Template:Pp-reset']                  = {'reset'},
['Template:Pp-semi-indef']              = {small = true},
['Template:Pp-semi-indef']              = {small = true},
匿名利用者

案内メニュー