Module:Protection banner/config: Difference between revisions
From WikiOasis Meta
More actions
m 1 revision imported from metawikimedia:Module:Protection_banner/config: Importing Template:Sockpuppet from the Meta Wiki Wikimedia project wiki |
m 10 revisions imported |
||
| (12 intermediate revisions by 11 users not shown) | |||
| Line 41: | Line 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 | ||
| Line 50: | Line 53: | ||
-- | -- | ||
-- ${INTROBLURB} - the PROTECTIONBLURB parameter, plus the expiry if an expiry | -- ${INTROBLURB} - the PROTECTIONBLURB parameter, plus the expiry if an expiry | ||
-- is set. E.g. "Editing of this page by new or unregistered users is currently | -- is set. E.g. "Editing of this page by new or unregistered users is currently | ||
-- disabled until dd Month YYYY." | -- disabled until dd Month YYYY." | ||
-- | -- | ||
| Line 124: | Line 127: | ||
tooltip = '${TOOLTIPBLURB}', | tooltip = '${TOOLTIPBLURB}', | ||
link = '${IMAGELINK}', | link = '${IMAGELINK}', | ||
alt = ' | alt = '页面被${PROTECTIONLEVEL}' | ||
}, | }, | ||
| Line 136: | Line 139: | ||
autoconfirmed = { | autoconfirmed = { | ||
alt = 'Page protected with pending changes level 1', | alt = 'Page protected with pending changes level 1', | ||
tooltip = 'All edits by unregistered and new users are subject to review', | tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users', | ||
image = 'Padlock-silver-light.svg' | image = 'Padlock-silver-light.svg' | ||
}, | }, | ||
| Line 142: | Line 145: | ||
alt = 'Page protected with pending changes level 2', | alt = 'Page protected with pending changes level 2', | ||
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 prior to becoming visible to unregistered users', | ||
image = 'Padlock-orange.svg' | image = 'Padlock-orange.svg' | ||
} | } | ||
| Line 161: | Line 164: | ||
edit = { | edit = { | ||
blp = { | blp = { | ||
description = ' | description = '为了遵守' | ||
.. ' [[ | .. ' [[Wikipedia:生者傳記' | ||
.. '| | .. '|生者傳記]]方针而保护的页面', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT}以遵守' | ||
.. ' [[ | .. ' [[Wikipedia:生者傳記' | ||
.. "| | .. "|维基百科" | ||
.. ' | .. '生者傳記]]方针。', | ||
tooltip = '${TOOLTIPFRAGMENT} | tooltip = '${TOOLTIPFRAGMENT}以遵守' | ||
.. ' | .. '生者傳記方针', | ||
}, | }, | ||
dmca = { | dmca = { | ||
description = ' | description = '因[[數字千年版權法]]移除通知而' | ||
.. ' | .. '被维基媒体基金会保护的页面', | ||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = ' | local ret = '为回应数字' | ||
.. ' | .. ' 千年版权法案(DMCA)下,文中部分内容' | ||
.. ' | .. ' 权利人发来的通知,维基媒体基金会已根据' | ||
.. ' | .. ' 适用法律采取行动,删除并限制了相关' | ||
.. ' | .. ' 内容。' | ||
if args.notice then | if args.notice then | ||
ret = ret .. ' | ret = ret .. '可以在此查看删除请求副本:' | ||
.. args.notice .. ' | .. args.notice .. '。' | ||
end | end | ||
ret = ret .. ' | ret = ret .. '有关更多信息,包括讨论' | ||
.. ' | .. '如何提交反通知的网站,请参阅' | ||
.. | .. '[[Wikipedia:基金會行動]]及条目的${TALKPAGE}。' | ||
.. "''' | .. "'''在限制撤销之前," | ||
.. " | .. "请勿移除此模板'''。" | ||
return ret | return ret | ||
end, | end, | ||
image = ' | image = 'Office-protection-shackle-WMFlogo.svg', | ||
}, | }, | ||
dispute = { | dispute = { | ||
description = ' | description = '由于编辑争议而被保护的页面', | ||
text = function (protectionObj, args) | text = function (protectionObj, args) | ||
-- Find the value of "disputes". | -- Find the value of "disputes". | ||
local display = ' | local display = '争议' | ||
local disputes | local disputes | ||
if args.section then | if args.section then | ||
| Line 214: | Line 217: | ||
local msg | local msg | ||
if type(protectionObj.expiry) == 'number' then | if type(protectionObj.expiry) == 'number' then | ||
msg = '${INTROFRAGMENT} | msg = '${INTROFRAGMENT},或直到编辑%s被解决。' | ||
else | else | ||
msg = '${INTROFRAGMENT} | msg = '${INTROFRAGMENT},直到编辑%s被解决。' | ||
end | end | ||
return string.format(msg, disputes) | return string.format(msg, disputes) | ||
end, | end, | ||
explanation = " | explanation = "此保护'''不是'''对" | ||
.. ' ${CURRENTVERSION} | .. '${CURRENTVERSION}的认可。${EXPLANATIONBLURB}', | ||
tooltip = '${TOOLTIPFRAGMENT | tooltip = '由于编辑争议,${TOOLTIPFRAGMENT}', | ||
}, | }, | ||
mainpage = { | mainpage = { | ||
description = ' | description = '由于在[[Wikipedia:首页]]展示而被保护的页面', | ||
text = ' | text = '此文件目前已' | ||
.. ' [[ | .. '获[[Wikipedia:獲保護頁面|保护]]而' | ||
.. ' | .. '无法编辑,因为它当前或即将' | ||
.. ' | .. '在[[Wikipedia:首页]]上展示。', | ||
explanation = ' | explanation = '首页上的图像由于其高可见性而被' | ||
.. ' | .. '保护。任何必要的更改请在${TALKPAGE}上讨论。' | ||
.. '<br /><span style="font-size:90%;">' | .. '<br /><span style="font-size:90%;">' | ||
.. "''' | .. "'''致管理员:'''一旦此图像从首页撤下," | ||
.. ' | .. '请取消保护此文件,或酌情减少到' | ||
.. ' | .. '半保护。</span>', | ||
}, | }, | ||
office = { | office = { | ||
description = ' | description = '被维基媒体基金会保护的页面', | ||
text = function (protectionObj, args) | text = function (protectionObj, args) | ||
local ret = ' | local ret = '此${PAGETYPE}目前正在接受' | ||
.. '[[Wikipedia:基金會行動|維基媒體基金會辦公室]]' | |||
.. ' [[ | .. '的审查,' | ||
.. ' | .. '并获保护。' | ||
if protectionObj.protectionDate then | if protectionObj.protectionDate then | ||
ret = ret .. ' | ret = ret .. '此页面自${PROTECTIONDATE}起被保护。' | ||
end | end | ||
return ret | return ret | ||
end, | end, | ||
explanation = " | explanation = "如果您可以编辑此页面,请首先在" | ||
.. " | .. "${TALKPAGE}上讨论任何修改或添加动作。'''请勿解除此页面的保护" | ||
.. " | .. "状态,除非您得到维基媒体基金会" | ||
.. " | .. "的授权。'''", | ||
image = ' | image = 'Office-protection-shackle-WMFlogo.svg', | ||
}, | }, | ||
reset = { | reset = { | ||
description = ' | description = '被维基媒体基金会保护,并将其' | ||
.. ' | .. '“重置”为纯粹版本的页面', | ||
text = ' | text = '此${PAGETYPE}目前正在接受' | ||
.. '[[Wikipedia:基金會行動|維基媒體基金會辦公室]]' | |||
.. ' [[ | .. '的审查,' | ||
.. ' | .. '并获保护。', | ||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = '' | local ret = '' | ||
if protectionObj.protectionDate then | if protectionObj.protectionDate then | ||
ret = ret .. ' | ret = ret .. '在${PROTECTIONDATE},此${PAGETYPE}' | ||
else | else | ||
ret = ret .. ' | ret = ret .. '此${PAGETYPE}已' | ||
end | end | ||
ret = ret .. ' | ret = ret .. '被简化为' | ||
.. ' | .. '“纯粹”的版本,以便可以完全' | ||
.. ' | .. '重写,确保其符合' | ||
.. ' [[ | .. '[[WP:NPOV|中立的观点]]和[[WP:V|可供查证]]方针。' | ||
.. ' | .. '重写版本最终将会向所有编者开放,' | ||
.. ' | .. '通常的维基百科方针都将适用于此页面,并将严格' | ||
.. ' | .. '执行。此${PAGETYPE}在重建时已被' | ||
.. ' | .. '${PROTECTIONLEVEL}。\n\n' | ||
.. ' | .. '直接添加任何从此${PAGETYPE}' | ||
.. ' | .. '保护前版本中得到的资料,或' | ||
.. ' | .. '任何添加至此${PAGETYPE}中的' | ||
.. ' | .. '无来源资料,都将被删除。相关讨论页也于' | ||
.. | .. '同一天清空。\n\n' | ||
.. " | .. "如果您可以编辑此页面,请首先在" | ||
.. " | .. "${TALKPAGE}上讨论任何修改或添加动作。'''请勿覆盖" | ||
.. " | .. "此操作,且不要解除此页面的保护状态," | ||
.. " | .. "除非您已获得维基媒体基金会的" | ||
.. " | .. "授权。任何编者均不可移除此通知。'''" | ||
return ret | return ret | ||
end, | end, | ||
image = ' | image = 'Office-protection-shackle-WMFlogo.svg', | ||
}, | }, | ||
sock = { | sock = { | ||
description = ' | description = '由于滥用' | ||
.. ' [[ | .. '[[Wikipedia:傀儡|傀儡]]而被保护的页面。', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT},以防止被' | ||
.. ' [[ | .. '[[Wikipedia:封禁方针|封禁]]或被' | ||
.. ' [[ | .. '[[Wikipedia:編輯禁制方針|編輯禁制]]用户的[[Wikipedia:傀儡|傀儡]]' | ||
.. ' | .. '编辑。', | ||
tooltip = ' | tooltip = '为防止被封禁或被編輯禁制用户的傀儡编辑,' | ||
.. ' | .. '${TOOLTIPFRAGMENT}', | ||
}, | }, | ||
template = { | template = { | ||
description = ' | description = '[[Wikipedia:高風險模板|高風險模板]]' | ||
.. ' | .. '和Lua模块', | ||
text = ' | text = '此${PAGETYPE}为[[Wikipedia:高風險模板|高風險模板]],' | ||
.. ' | .. '已被永久[[Wikipedia:獲保護頁面|保護]]。', | ||
explanation = ' | explanation = '请在${TALKPAGE}上讨论任何修改或添加动作。如果' | ||
.. ' | .. '编辑[[Help:小修改#何时标明编辑为小修改' | ||
.. ' | .. '|无争议]]或有' | ||
.. ' [[ | .. '[[Wikipedia:共识|共识]]基础,您可以' | ||
.. ' | .. '向[[Wikipedia:管理员|管理员]]或' | ||
.. '[[Wikipedia:模板编辑员|模板编辑员]]' | |||
.. ' [[ | .. '${EDITREQUEST}。您也可以' | ||
.. ' [[ | .. '[[Wikipedia:请求保护页面|请求]]解除' | ||
.. ' | .. '页面保护。', | ||
tooltip = ' | tooltip = '此高风险${PAGETYPE}已被永久${PROTECTIONLEVEL}' | ||
.. ' | .. ',以避免破坏', | ||
alt = ' | alt = '被永久保护的${PAGETYPE}', | ||
}, | }, | ||
usertalk = { | usertalk = { | ||
description = ' | description = '由于特定用户破坏而' | ||
.. ' | .. '被保护的页面', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT},以防止${VANDAL}使用其进行破坏性编辑,' | ||
.. ' | .. '如滥用' | ||
.. ' {{[[Template:unblock|unblock]]}} | .. '{{[[Template:unblock|unblock]]}}模板。', | ||
explanation = ' | explanation = '如果您不能编辑此用户讨论页,且需要' | ||
.. ' | .. '修改或留言,您可以' | ||
.. ' [[ | .. '[[Wikipedia:请求保护页面' | ||
.. '| | .. '#请求编辑' | ||
.. ' [[ | .. '|请求编辑]],' | ||
.. '| | .. '[[Wikipedia:请求保护页面' | ||
.. ' [[Special: | .. '#请求解除保护' | ||
.. ' | .. '|请求解除保护]],' | ||
.. '[[Special:用户登录|登录]],' | |||
.. '或[[Special:创建账户|创建帐户]]。', | |||
}, | }, | ||
vandalism = { | vandalism = { | ||
description = ' | description = '由于' | ||
.. ' [[ | .. '[[Wikipedia:破坏|破坏]]而被保护的页面', | ||
text = ' | text = '由于[[Wikipedia:破坏|破坏]],${INTROFRAGMENT}。', | ||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = '' | local ret = '' | ||
if protectionObj.level == 'sysop' then | if protectionObj.level == 'sysop' then | ||
ret = ret .. " | ret = ret .. "此保护'''不是'''对" | ||
.. ' ${CURRENTVERSION} | .. '${CURRENTVERSION}的认可。' | ||
end | end | ||
return ret .. '${EXPLANATIONBLURB}' | return ret .. '${EXPLANATIONBLURB}' | ||
end, | end, | ||
tooltip = '${TOOLTIPFRAGMENT} | tooltip = '由于破坏,${TOOLTIPFRAGMENT}', | ||
} | } | ||
}, | }, | ||
move = { | move = { | ||
dispute = { | dispute = { | ||
description = ' | description = '由于标题争议而' | ||
.. ' | .. '被移动保护的页面', | ||
explanation = " | explanation = "此保护'''不是'''对" | ||
.. ' ${CURRENTVERSION} | .. '${CURRENTVERSION}的认可。${EXPLANATIONBLURB}', | ||
image = ' | image = 'Move-protection-shackle.svg' | ||
}, | }, | ||
vandalism = { | vandalism = { | ||
description = ' | description = '由于' | ||
.. ' [[ | .. '[[Wikipedia:破坏#移动破坏' | ||
.. ' | | .. '|移动破坏]]而被保护的页面' | ||
} | } | ||
}, | }, | ||
| Line 397: | Line 394: | ||
protectionBlurbs = { | protectionBlurbs = { | ||
edit = { | edit = { | ||
default = ' | default = '此${PAGETYPE}当前已被[[Wikipedia:獲保護頁面|' | ||
.. ' | .. '保護]],无法编辑', | ||
autoconfirmed = ' | autoconfirmed = '[[Wikipedia:用户权限' | ||
.. ' | .. '级别#新用户|新用户]]或[[Wikipedia:用户权限级别#匿名' | ||
.. ' | .. '用户|匿名用户]]用户编辑此${PAGETYPE}目前[[Wikipedia:獲保護頁面|已禁用]]', | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = '此${PAGETYPE}当前已被[[Wikipedia:獲保護頁面|保護]],' | ||
.. ' | .. '无法[[Help:页面重命名|移动]]' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
autoconfirmed = 'All edits made to this ${PAGETYPE} by' | autoconfirmed = 'All edits made to this ${PAGETYPE} by' | ||
.. ' [[ | .. ' [[Wikipedia:用户权限级别#新用户|新用户]] or' | ||
.. ' [[ | .. ' [[Wikipedia:用户权限级别#匿名用户|匿名用户]]' | ||
.. ' users are currently' | .. ' users are currently' | ||
.. ' [[ | .. ' [[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' | ||
.. ' [[ | .. ' [[Wikipedia:Reviewing|reviewers]] or' | ||
.. ' [[ | .. ' [[Wikipedia:管理员|管理员]] are currently' | ||
.. ' [[ | .. ' [[Wikipedia:Pending changes|subject to review]]' | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = '上传此${PAGETYPE}的新版本目前已禁用' | ||
} | } | ||
}, | }, | ||
| Line 446: | Line 440: | ||
edit = { | edit = { | ||
autoconfirmed = { | autoconfirmed = { | ||
subject = ' | subject = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。如果您' | ||
.. ' | .. '不能编辑,且希望修改此${PAGETYPE},您可以' | ||
.. ' ${EDITREQUEST} | .. '${EDITREQUEST},在${TALKPAGE}上讨论更改,' | ||
.. ' [[ | .. '[[Wikipedia:请求保护页面' | ||
.. '| | .. '#请求解除保护' | ||
.. ' [[Special: | .. '|请求解除保护]],[[Special:用户登录|登录]],' | ||
default = ' | .. '或[[Special:创建账户|创建帐户]]。', | ||
.. ' | default = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。如果您' | ||
.. ' [[ | .. '不能编辑,且希望修改此${PAGETYPE},您可以' | ||
.. ' | .. '[[Wikipedia:请求保护页面' | ||
.. ' | .. '#请求解除保护' | ||
.. '|请求解除保护]],[[Special:用户登录|登录]],' | |||
.. '或[[Special:创建账户|创建帐户]]。', | |||
.. ' | |||
}, | }, | ||
default = { | default = { | ||
subject = ' | subject = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '请在${TALKPAGE}上讨论任何修改动作。如果' | ||
.. ' | .. '编辑[[Help:小修改#何时标明编辑为小修改' | ||
.. ' [[ | .. '|无争议]]或有[[Wikipedia:共识' | ||
.. ' | .. '|共识]]基础,您可以向' | ||
.. ' | .. '[[Wikipedia:管理员|管理员]]' | ||
.. ' | .. '${EDITREQUEST}。您也可以[[Wikipedia:请求' | ||
.. '| | .. '保护页面#请求解除保护' | ||
default = ' | .. '|请求]]解除页面保护。', | ||
.. ' | default = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '您可以[[Wikipedia:请求' | ||
.. '| | .. '保护页面#请求编辑|请求' | ||
.. '编辑]]此页面,或[[Wikipedia:请求' | |||
.. '保护页面#请求解除保护' | |||
.. '|请求]]解除页面保护。', | |||
} | } | ||
}, | }, | ||
move = { | move = { | ||
default = { | default = { | ||
subject = ' | subject = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. '该页面仍可编辑,但在解除保护后' | |||
.. ' | .. '才能移动。请在${TALKPAGE}或[[Wikipedia:移動請求]]' | ||
.. ' ${TALKPAGE} | .. '上讨论任何移动建议。您也可以' | ||
.. ' [[ | .. '[[Wikipedia:请求保护页面|请求]]解除' | ||
.. ' | .. '页面保护。', | ||
default = ' | default = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '该页面仍可编辑,但在解除保护后' | ||
.. ' | .. '才能移动。请在[[Wikipedia:移動請求]]' | ||
.. ' | .. '上讨论任何移动建议。您也可以' | ||
.. ' [[ | .. '[[Wikipedia:请求保护页面|请求]]解除' | ||
.. ' | .. '页面保护。', | ||
} | } | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
default = { | default = { | ||
reviewer = ' | reviewer = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' 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' | ||
.. ' [[ | .. ' [[Wikipedia:Requests for page protection' | ||
.. '#Current requests for reduction in protection level' | |||
.. '|request unprotection]]. Experienced editors may also' | .. '|request unprotection]]. Experienced editors may also' | ||
.. ' request the [[ | .. ' request the [[Wikipedia:Reviewing|reviewer user right]].', | ||
default = ' | default = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' Edits to this ${PAGETYPE} by new and unregistered users' | .. ' Edits to this ${PAGETYPE} by new and unregistered users' | ||
.. ' will not be visible to readers until they are accepted by' | .. ' will not be visible to readers until they are accepted by' | ||
.. ' 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' | ||
.. ' [[ | .. ' [[Wikipedia:Requests for page protection' | ||
.. '#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]].' | ||
| Line 528: | Line 519: | ||
upload = { | upload = { | ||
default = { | default = { | ||
default = ' | default = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '页面可能仍可以编辑,但在解除保护后' | ||
.. ' | .. '才能上传文件的新版本。您可以使用' | ||
.. ' | .. '[[Wikipedia:编辑请求|受保护页面编辑请求]]' | ||
.. ' | .. '来请求上传新版本,或者您' | ||
.. ' | .. '可以[[Wikipedia:请求保护页面|请求]]' | ||
.. ' | .. '解除文件保护。' | ||
} | } | ||
} | } | ||
| Line 556: | Line 547: | ||
protectionLevels = { | protectionLevels = { | ||
edit = { | edit = { | ||
default = ' | default = '全保护', | ||
templateeditor = ' | templateeditor = '模板保护', | ||
extendedconfirmed = ' | extendedconfirmed = '延伸確認保護', | ||
autoconfirmed = ' | autoconfirmed = '半保护', | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = '移动保护' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = '文件保护' | ||
} | } | ||
}, | }, | ||
| Line 583: | Line 574: | ||
images = { | images = { | ||
edit = { | edit = { | ||
default = ' | default = 'Full-protection-shackle-block.svg', | ||
templateeditor = ' | templateeditor = 'Template-protection-shackle-picture-1.svg', | ||
extendedconfirmed = ' | extendedconfirmed = 'Extended-protection-shackle-account-pro-plus.svg', | ||
autoconfirmed = ' | autoconfirmed = 'Semi-protection-shackle.svg' | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = 'Move-protection-shackle.svg', | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
| Line 596: | Line 587: | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'Upload-protection-shackle.svg' | ||
} | } | ||
}, | }, | ||
| Line 621: | Line 612: | ||
imageLinks = { | imageLinks = { | ||
edit = { | edit = { | ||
default = ' | default = 'Wikipedia:保護方針#全保护', | ||
templateeditor = ' | templateeditor = 'Wikipedia:保護方針#模板保护', | ||
extendedconfirmed = ' | extendedconfirmed = 'Wikipedia:保護方針#延伸確認保護', | ||
autoconfirmed = ' | autoconfirmed = 'Wikipedia:保護方針#半保护' | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = 'Wikipedia:保護方針#移动保护' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
autoconfirmed = ' | autoconfirmed = 'Wikipedia:保護方針#pc1', | ||
reviewer = ' | reviewer = 'Wikipedia:保護方針#pc2' | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'Wikipedia:保護方針#文件保护' | ||
} | } | ||
}, | }, | ||
| Line 666: | Line 657: | ||
-- 4. the protection level (e.g. "sysop" or "autoconfirmed") | -- 4. the protection level (e.g. "sysop" or "autoconfirmed") | ||
-- 5. the action (e.g. "edit" or "move") | -- 5. the action (e.g. "edit" or "move") | ||
-- | -- | ||
-- When the module looks up a category in the table, first it will will check to | -- When the module looks up a category in the table, first it will will check to | ||
-- see a key exists that corresponds to all five parameters. For example, a | -- see a key exists that corresponds to all five parameters. For example, a | ||
| Line 745: | Line 736: | ||
protectionCategories = { | protectionCategories = { | ||
['all|all|all|all|all'] = ' | ['all|all|all|all|all'] = '被保护的页面', | ||
['all|all|office|all|all'] = ' | ['all|all|office|all|all'] = '被基金会保护的页面', | ||
['all|all|reset|all|all'] = ' | ['all|all|reset|all|all'] = '被基金会保护的页面', | ||
['all|all|dmca|all|all'] = ' | ['all|all|dmca|all|all'] = '被基金会保护的页面', | ||
['all|all|mainpage|all|all'] = ' | ['all|all|mainpage|all|all'] = '被保护的首页文件', | ||
['all|template|all|all|edit'] = '被保護的模板', | |||
['all|all|all|autoconfirmed|edit'] = '被半保护的页面', | |||
['all|template|all|all|edit'] = ' | ['indef|all|all|autoconfirmed|edit'] = '被永久半保护的页面', | ||
['all|all|all|autoconfirmed|edit'] = ' | ['all|all|blp|autoconfirmed|edit'] = '被永久半保护的生者传记', | ||
['indef|all|all|autoconfirmed|edit'] = ' | ['temp|all|blp|autoconfirmed|edit'] = '被暂时半保护的生者传记', | ||
['all|all|blp|autoconfirmed|edit'] = ' | ['all|all|dispute|autoconfirmed|edit'] = '由于争议而被半保护的页面', | ||
['temp|all|blp|autoconfirmed|edit'] = ' | ['all|all|sock|autoconfirmed|edit'] = '由于滥用傀儡而被半保护的页面', | ||
['all|all|dispute|autoconfirmed|edit'] = ' | ['all|all|vandalism|autoconfirmed|edit'] = '避免破坏而被半保护的页面', | ||
['all|all|sock|autoconfirmed|edit'] = ' | ['all|category|all|autoconfirmed|edit'] = '被半保護的分類', | ||
['all|all|vandalism|autoconfirmed|edit'] = ' | ['all|file|all|autoconfirmed|edit'] = '被半保護的圖像', | ||
['all|category|all|autoconfirmed|edit'] = ' | ['all|portal|all|autoconfirmed|edit'] = '被半保護的主題', | ||
['all|file|all|autoconfirmed|edit'] = ' | ['all|project|all|autoconfirmed|edit'] = '被半保護的專題', | ||
['all|portal|all|autoconfirmed|edit'] = ' | ['all|talk|all|autoconfirmed|edit'] = '被半保護的討論頁', | ||
['all|project|all|autoconfirmed|edit'] = ' | ['all|template|all|autoconfirmed|edit'] = '被半保護的模板', | ||
['all|talk|all|autoconfirmed|edit'] = ' | ['all|user|all|autoconfirmed|edit'] = '被半保護的用戶頁', | ||
['all|template|all|autoconfirmed|edit'] = ' | ['all|template|all|templateeditor|edit'] = '被模板保護的模板', | ||
['all|user|all|autoconfirmed|edit'] = ' | ['all|all|blp|sysop|edit'] = '被永久保护的生者传记', | ||
['all|template|all|templateeditor|edit'] = ' | ['temp|all|blp|sysop|edit'] = '被暂时保护的生者传记', | ||
['all|all|blp|sysop|edit'] = ' | ['all|all|dispute|sysop|edit'] = '由于争议而被保护的页面', | ||
['temp|all|blp|sysop|edit'] = ' | ['all|all|sock|sysop|edit'] = '由于滥用傀儡而被保护的页面', | ||
['all|all|dispute|sysop|edit'] = ' | ['all|all|vandalism|sysop|edit'] = '避免破坏而被保护的页面', | ||
['all|all|sock|sysop|edit'] = ' | ['all|category|all|sysop|edit'] = '被保護的分類', | ||
['all|all|vandalism|sysop|edit'] = ' | ['all|file|all|sysop|edit'] = '被保護的圖像', | ||
['all|category|all|sysop|edit'] = ' | ['all|project|all|sysop|edit'] = '被保護的專題', | ||
['all|file|all|sysop|edit'] = ' | ['all|talk|all|sysop|edit'] = '被保護的討論頁', | ||
['all|project|all|sysop|edit'] = ' | ['all|template|all|sysop|edit'] = '被保護的模板', | ||
['all|talk|all|sysop|edit'] = ' | ['all|user|all|sysop|edit'] = '被保護的用戶頁', | ||
['all|template|all|sysop|edit'] = ' | ['all|module|all|all|edit'] = '被保护的模块', | ||
['all|user|all|sysop|edit'] = ' | ['all|module|all|templateeditor|edit'] = '被模板保护的模块', | ||
['all|module|all|all|edit'] = ' | ['all|module|all|autoconfirmed|edit'] = '被半保护的模块', | ||
['all|module|all|templateeditor|edit'] = ' | ['all|all|all|sysop|move'] = '被移動保護的頁面', | ||
['all|module|all|autoconfirmed|edit'] = ' | ['indef|all|all|sysop|move'] = '被永久移動保護的頁面', | ||
['all|all|all|sysop|move'] = ' | ['all|all|dispute|sysop|move'] = '由于争议而被移动保护的页面', | ||
['indef|all|all|sysop|move'] = ' | ['all|all|vandalism|sysop|move'] = '避免破坏而被移动保护的页面', | ||
['all|all|dispute|sysop|move'] = ' | ['all|portal|all|sysop|move'] = '被移動保護的主題', | ||
['all|all|vandalism|sysop|move'] = ' | ['all|portal|all|sysop|move'] = '被移動保護的主題', | ||
['all|portal|all|sysop|move'] = ' | ['all|project|all|sysop|move'] = '被移動保護的專題', | ||
['all|portal|all|sysop|move'] = ' | ['all|talk|all|sysop|move'] = '被移動保護的討論頁', | ||
['all|project|all|sysop|move'] = ' | ['all|template|all|sysop|move'] = '被移動保護的模板', | ||
['all|talk|all|sysop|move'] = ' | ['all|user|all|sysop|move'] = '被移動保護的用戶頁', | ||
['all|template|all|sysop|move'] = ' | ['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages', | ||
['all|user|all|sysop|move'] = ' | ['all|all|all|reviewer|autoreview'] = 'Wikipedia pending changes protected pages (level 2)', | ||
['all|all|all|autoconfirmed|autoreview'] = 'pending changes protected pages | ['all|file|all|all|upload'] = '被文件保护的文件', | ||
['all|all|all|reviewer|autoreview'] = 'pending changes protected pages (level 2)', | |||
['all|file|all|all|upload'] = ' | |||
}, | }, | ||
| Line 831: | Line 820: | ||
-- Keys are namespace numbers, or the string "default" for the default value. | -- Keys are namespace numbers, or the string "default" for the default value. | ||
pagetypes = { | pagetypes = { | ||
[0] = ' | [0] = '条目', | ||
[6] = ' | [6] = '文件', | ||
[10] = ' | [10] = '模板', | ||
[14] = ' | [14] = '分类', | ||
[828] = ' | [828] = '模块', | ||
default = ' | default = '页面' | ||
}, | }, | ||
| Line 885: | Line 874: | ||
-- default arguments automatically. However, users can override any of the | -- default arguments automatically. However, users can override any of the | ||
-- arguments. | -- arguments. | ||
-- | |||
-- [[Wikipedia:模板消息/保護模板]] | |||
wrappers = { | wrappers = { | ||
['Template:Pp'] | ['Template:Pp-protected'] = {}, | ||
['Template:Pp- | ['Template:Pp-semi-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'}, | ||
| Line 902: | Line 892: | ||
['Template:Pp-reset'] = {'reset'}, | ['Template:Pp-reset'] = {'reset'}, | ||
['Template:Pp-semi-indef'] = {small = true}, | ['Template:Pp-semi-indef'] = {small = true}, | ||
['Template:Pp-sock'] | ['Template:Pp-semi-sock'] = {'sock'}, | ||
['Template: | ['Template:Pp-template'] = {'template', small = true}, | ||
['Template:Pp-upload'] = {action = 'upload'}, | ['Template:Pp-upload'] = {action = 'upload'}, | ||
['Template:Pp-usertalk'] = {'usertalk'}, | ['Template:Pp-usertalk'] = {'usertalk'}, | ||
| Line 910: | Line 900: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- | ||
-- MESSAGES | -- MESSAGES | ||
-- | -- | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 926: | Line 916: | ||
-- intro-blurb-noexpiry or intro-fragment-noexpiry. | -- intro-blurb-noexpiry or intro-fragment-noexpiry. | ||
-- It is possible to use banner parameters in these messages. | -- It is possible to use banner parameters in these messages. | ||
['intro-blurb-expiry'] = '${PROTECTIONBLURB} | ['intro-blurb-expiry'] = '${PROTECTIONBLURB}至${EXPIRY}。', | ||
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB} | ['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}。', | ||
['intro-fragment-expiry'] = '${PROTECTIONBLURB} | ['intro-fragment-expiry'] = '${PROTECTIONBLURB}至${EXPIRY},', | ||
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', | ['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', | ||
| Line 939: | Line 929: | ||
-- if not the tooltip-blurb-noexpiry message is used. | -- if not the tooltip-blurb-noexpiry message is used. | ||
-- It is possible to use banner parameters in these messages. | -- It is possible to use banner parameters in these messages. | ||
['tooltip-blurb-expiry'] = ' | ['tooltip-blurb-expiry'] = '此${PAGETYPE}已被${PROTECTIONLEVEL}至${EXPIRY}。', | ||
['tooltip-blurb-noexpiry'] = ' | ['tooltip-blurb-noexpiry'] = '此${PAGETYPE}已被${PROTECTIONLEVEL}。', | ||
['tooltip-fragment-expiry'] = ' | ['tooltip-fragment-expiry'] = '此${PAGETYPE}已被${PROTECTIONLEVEL}至${EXPIRY},', | ||
['tooltip-fragment-noexpiry'] = ' | ['tooltip-fragment-noexpiry'] = '此${PAGETYPE}已被${PROTECTIONLEVEL}', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 951: | Line 941: | ||
-- 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'] = ' | ['explanation-blurb-nounprotect'] = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '请在${TALKPAGE}上讨论任何修改或添加动作。如果' | ||
.. ' | .. '编辑[[Help:小修改#何时标明编辑为小修改' | ||
.. ' | .. '|无争议]]或有' | ||
.. ' | .. '[[Wikipedia:共识|共识]]基础,您可以' | ||
.. '| | .. '向[[Wikipedia:管理员|管理员]]' | ||
.. ' | .. '${EDITREQUEST}。', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 967: | Line 957: | ||
-- 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'] = '保护日志', | ||
['pc-log-display'] = ' | ['pc-log-display'] = '待更改日志', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 977: | Line 967: | ||
-- 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-version-edit-display'] = ' | ['current-version-edit-display'] = '当前版本', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 987: | Line 977: | ||
-- 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'] = '讨论页', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 996: | Line 986: | ||
-- with the ${EDITREQUEST} parameter. | -- with the ${EDITREQUEST} parameter. | ||
-- It is possible to use banner parameters in this message. | -- It is possible to use banner parameters in this message. | ||
['edit-request-display'] = ' | ['edit-request-display'] = '提出编辑请求', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 1,004: | Line 994: | ||
-- 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'] = 'F j | ['expiry-date-format'] = 'Y F j', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 1,011: | Line 1,001: | ||
-- These messages determine which tracking categories the module outputs. | -- These messages determine which tracking categories the module outputs. | ||
['tracking-category-incorrect'] = ' | ['tracking-category-incorrect'] = '保護狀態與保護標誌不符的頁面', | ||
['tracking-category-template'] = ' | ['tracking-category-template'] = '非模板和模块的模板保护页面', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 1,019: | Line 1,009: | ||
-- 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'] = ' | ['image-filename-indef'] = 'Full-protection-shackle-block.svg', | ||
['image-filename-default'] = 'Transparent.gif', | ['image-filename-default'] = 'Transparent.gif', | ||