匿名利用者
モジュール:Protection banner/config (Ipemoto a=nukar)
2021 ppm 12 2021-12-07T15:46:39+00:00up 7 312021 (Ape.) 15:46時点におけるwerson
、 2021 ppm 12 2021-12-07T15:46:39+00:00up 7 312021 (Ape.)extendedconfirmed
細 (画像を差し替え) |
(extendedconfirmed) |
||
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 | ||
50行目: | 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." | ||
-- | -- | ||
124行目: | 127行目: | ||
tooltip = '${TOOLTIPBLURB}', | tooltip = '${TOOLTIPBLURB}', | ||
link = '${IMAGELINK}', | link = '${IMAGELINK}', | ||
alt = '${PROTECTIONLEVEL} | alt = '页面被${PROTECTIONLEVEL}' | ||
}, | }, | ||
134行目: | 137行目: | ||
move = {}, | move = {}, | ||
autoreview = { | autoreview = { | ||
autoconfirmed = { | |||
alt = 'Page protected with pending changes level 1', | |||
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users', | |||
image = 'Padlock-silver-light.svg' | |||
}, | |||
default = { | default = { | ||
alt = 'Page protected with pending changes', | alt = 'Page protected with pending changes level 2', | ||
tooltip = 'All edits by | tooltip = 'All edits by users who are not reviewers or administrators are' | ||
image = ' | .. ' subject to review prior to becoming visible to unregistered users', | ||
image = 'Padlock-orange.svg' | |||
} | } | ||
}, | }, | ||
154行目: | 163行目: | ||
banners = { | banners = { | ||
edit = { | edit = { | ||
blp = { | |||
description = '为了遵守' | |||
.. ' [[Wikipedia:生者傳記' | |||
.. '|生者傳記]]方针而保护的页面', | |||
text = '${INTROFRAGMENT}以遵守' | |||
.. ' [[Wikipedia:生者傳記' | |||
.. "|维基百科" | |||
.. '生者傳記]]方针。', | |||
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: | .. '如何提交反通知的网站,请参阅' | ||
.. "''' | .. '[[Wikipedia:基金會行動]]及条目的${TALKPAGE}。' | ||
.. " | .. "'''在限制撤销之前," | ||
.. "请勿移除此模板'''。" | |||
return ret | return ret | ||
end, | end, | ||
186行目: | 197行目: | ||
}, | }, | ||
dispute = { | dispute = { | ||
description = ' | description = '由于编辑争议而被保护的页面', | ||
text = function (protectionObj, args) | text = function (protectionObj, args) | ||
-- Find the value of "disputes". | |||
local display = '争议' | |||
local disputes | |||
if args.section then | |||
disputes = string.format( | |||
'[[%s:%s#%s|%s]]', | |||
mw.site.namespaces[protectionObj.title.namespace].talk.name, | |||
protectionObj.title.text, | |||
args.section, | |||
display | |||
) | |||
else | else | ||
disputes = display | |||
end | end | ||
-- Make the blurb, depending on the expiry. | |||
if protectionObj. | local msg | ||
if type(protectionObj.expiry) == 'number' then | |||
msg = '${INTROFRAGMENT},或直到编辑%s被解决。' | |||
else | else | ||
msg = '${INTROFRAGMENT},直到编辑%s被解决。' | |||
end | end | ||
return string.format(msg, disputes) | |||
end, | end, | ||
explanation = "此保护'''不是'''对" | |||
.. '${CURRENTVERSION}的认可。${EXPLANATIONBLURB}', | |||
tooltip = '由于编辑争议,${TOOLTIPFRAGMENT}', | |||
}, | |||
mainpage = { | |||
description = '由于在[[Wikipedia:首页]]展示而被保护的页面', | |||
text = '此文件目前已' | |||
.. '获[[Wikipedia:獲保護頁面|保护]]而' | |||
.. '无法编辑,因为它当前或即将' | |||
.. '在[[Wikipedia:首页]]上展示。', | |||
explanation = '首页上的图像由于其高可见性而被' | |||
.. '保护。任何必要的更改请在${TALKPAGE}上讨论。' | |||
.. '<br /><span style="font-size:90%;">' | |||
.. "'''致管理员:'''一旦此图像从首页撤下," | |||
.. '请取消保护此文件,或酌情减少到' | |||
.. '半保护。</span>', | |||
}, | |||
office = { | |||
description = '被维基媒体基金会保护的页面', | |||
text = function (protectionObj, args) | |||
local ret = '此${PAGETYPE}目前正在接受' | |||
.. '[[Wikipedia:基金會行動|維基媒體基金會辦公室]]' | |||
.. '的审查,' | |||
.. '并获保护。' | |||
if protectionObj.protectionDate then | |||
ret = ret .. '此页面自${PROTECTIONDATE}起被保护。' | |||
end | end | ||
return ret | |||
end, | end, | ||
explanation = "如果您可以编辑此页面,请首先在" | |||
.. "${TALKPAGE}上讨论任何修改或添加动作。'''请勿解除此页面的保护" | |||
.. "状态,除非您得到维基媒体基金会" | |||
.. "的授权。'''", | |||
image = 'Office-protection-shackle-WMFlogo.svg', | |||
}, | }, | ||
reset = { | reset = { | ||
description = '[[Wikipedia: | description = '被维基媒体基金会保护,并将其' | ||
.. '“重置”为纯粹版本的页面', | |||
text = '此${PAGETYPE}目前正在接受' | |||
local ret = ' | .. '[[Wikipedia:基金會行動|維基媒體基金會辦公室]]' | ||
.. '的审查,' | |||
.. '并获保护。', | |||
explanation = function (protectionObj, args) | |||
local ret = '' | |||
if protectionObj.protectionDate then | if protectionObj.protectionDate then | ||
ret = ret .. '${PROTECTIONDATE} | ret = ret .. '在${PROTECTIONDATE},此${PAGETYPE}' | ||
else | |||
ret = ret .. '此${PAGETYPE}已' | |||
end | end | ||
ret = ret .. '被简化为' | |||
.. '“纯粹”的版本,以便可以完全' | |||
.. '重写,确保其符合' | |||
.. '[[WP:NPOV|中立的观点]]和[[WP:V|可供查证]]方针。' | |||
.. '重写版本最终将会向所有编者开放,' | |||
.. '通常的维基百科方针都将适用于此页面,并将严格' | |||
.. '执行。此${PAGETYPE}在重建时已被' | |||
.. '${PROTECTIONLEVEL}。\n\n' | |||
.. '直接添加任何从此${PAGETYPE}' | |||
.. '保护前版本中得到的资料,或' | |||
.. '任何添加至此${PAGETYPE}中的' | |||
.. '无来源资料,都将被删除。相关讨论页也于' | |||
.. '同一天清空。\n\n' | |||
.. "如果您可以编辑此页面,请首先在" | |||
.. "${TALKPAGE}上讨论任何修改或添加动作。'''请勿覆盖" | |||
.. "此操作,且不要解除此页面的保护状态," | |||
.. "除非您已获得维基媒体基金会的" | |||
.. "授权。任何编者均不可移除此通知。'''" | |||
return ret | |||
end, | end, | ||
image = 'Office-protection-shackle-WMFlogo.svg', | image = 'Office-protection-shackle-WMFlogo.svg', | ||
}, | }, | ||
sock = { | |||
description = '由于滥用' | |||
.. '[[Wikipedia:傀儡|傀儡]]而被保护的页面。', | |||
text = '${INTROFRAGMENT},以防止被' | |||
.. '[[Wikipedia:封禁方针|封禁]]或被' | |||
.. '[[Wikipedia:編輯禁制方針|編輯禁制]]用户的[[Wikipedia:傀儡|傀儡]]' | |||
.. '编辑。', | |||
tooltip = '为防止被封禁或被編輯禁制用户的傀儡编辑,' | |||
.. '${TOOLTIPFRAGMENT}', | |||
}, | |||
template = { | template = { | ||
description = '[[Wikipedia: | description = '[[Wikipedia:高風險模板|高風險模板]]' | ||
.. ' | .. '和Lua模块', | ||
text = '此${PAGETYPE}为[[Wikipedia:高風險模板|高風險模板]],' | |||
.. ' | .. '已被永久[[Wikipedia:獲保護頁面|保護]]。', | ||
.. '${ | explanation = '请在${TALKPAGE}上讨论任何修改或添加动作。如果' | ||
.. '编辑[[Help:小修改#何时标明编辑为小修改' | |||
.. '|无争议]]或有' | |||
.. '[[Wikipedia:共识|共识]]基础,您可以' | |||
.. '向[[Wikipedia:管理员|管理员]]或' | |||
.. '[[Wikipedia:模板编辑员|模板编辑员]]' | |||
.. '${EDITREQUEST}。您也可以' | |||
.. '[[Wikipedia:请求保护页面|请求]]解除' | |||
.. '页面保护。', | |||
tooltip = '此高风险${PAGETYPE}已被永久${PROTECTIONLEVEL}' | |||
.. ',以避免破坏', | |||
alt = '被永久保护的${PAGETYPE}', | |||
}, | |||
usertalk = { | |||
description = '由于特定用户破坏而' | |||
.. '被保护的页面', | |||
text = '${INTROFRAGMENT},以防止${VANDAL}使用其进行破坏性编辑,' | |||
.. '如滥用' | |||
.. '{{[[Template:unblock|unblock]]}}模板。', | |||
explanation = '如果您不能编辑此用户讨论页,且需要' | |||
.. '修改或留言,您可以' | |||
.. '[[Wikipedia:请求保护页面' | |||
.. '#请求编辑' | |||
.. '|请求编辑]],' | |||
.. '[[Wikipedia:请求保护页面' | |||
.. '#请求解除保护' | |||
.. '|请求解除保护]],' | |||
.. '[[Special:用户登录|登录]],' | |||
.. '或[[Special:创建账户|创建帐户]]。', | |||
}, | |||
vandalism = { | |||
description = '由于' | |||
.. '[[Wikipedia:破坏|破坏]]而被保护的页面', | |||
text = '由于[[Wikipedia:破坏|破坏]],${INTROFRAGMENT}。', | |||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = '' | |||
if protectionObj.level == 'sysop' then | if protectionObj.level == 'sysop' then | ||
ret = ret .. "此保护'''不是'''对" | |||
.. '${CURRENTVERSION}的认可。' | |||
end | end | ||
return ret .. '${EXPLANATIONBLURB}' | |||
end, | end, | ||
tooltip = ' | tooltip = '由于破坏,${TOOLTIPFRAGMENT}', | ||
} | } | ||
}, | }, | ||
move = { | move = { | ||
dispute = { | dispute = { | ||
description = ' | description = '由于标题争议而' | ||
.. '被移动保护的页面', | |||
explanation = " | explanation = "此保护'''不是'''对" | ||
.. '${CURRENTVERSION}的认可。${EXPLANATIONBLURB}', | |||
.. '${ | image = 'Move-protection-shackle.svg' | ||
}, | }, | ||
vandalism = { | vandalism = { | ||
description = '[[Wikipedia: | description = '由于' | ||
.. '[[Wikipedia:破坏#移动破坏' | |||
.. '|移动破坏]]而被保护的页面' | |||
} | } | ||
}, | }, | ||
421行目: | 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' | |||
.. ' [[Wikipedia: | .. ' [[Wikipedia:用户权限级别#新用户|新用户]] or' | ||
.. ' [[Wikipedia: | .. ' [[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' | |||
.. ' [[Wikipedia:Reviewing|reviewers]] or' | |||
.. ' [[Wikipedia:管理员|管理员]] are currently' | |||
.. ' [[Wikipedia:Pending changes|subject to review]]' | .. ' [[Wikipedia:Pending changes|subject to review]]' | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = '上传此${PAGETYPE}的新版本目前已禁用' | ||
} | } | ||
}, | }, | ||
468行目: | 440行目: | ||
edit = { | edit = { | ||
autoconfirmed = { | autoconfirmed = { | ||
subject = ' | subject = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. '${PROTECTIONLOG} | .. '保護方針]]及${PROTECTIONLOG}。如果您' | ||
.. ' | .. '不能编辑,且希望修改此${PAGETYPE},您可以' | ||
.. ' | .. '${EDITREQUEST},在${TALKPAGE}上讨论更改,' | ||
.. ' | .. '[[Wikipedia:请求保护页面' | ||
.. ' | .. '#请求解除保护' | ||
.. '|请求解除保护]],[[Special:用户登录|登录]],' | |||
.. '或[[Special:创建账户|创建帐户]]。', | |||
default = '更多信息,请参见[[Wikipedia:保護方針|' | |||
.. '[[ | .. '保護方針]]及${PROTECTIONLOG}。如果您' | ||
.. '不能编辑,且希望修改此${PAGETYPE},您可以' | |||
.. '[[Wikipedia:请求保护页面' | |||
.. '#请求解除保护' | |||
.. '${PROTECTIONLOG} | .. '|请求解除保护]],[[Special:用户登录|登录]],' | ||
.. ' | .. '或[[Special:创建账户|创建帐户]]。', | ||
.. ' | |||
.. ' | |||
.. ' | |||
.. '[[ | |||
}, | }, | ||
default = { | default = { | ||
subject = ' | subject = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. '${PROTECTIONLOG} | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '请在${TALKPAGE}上讨论任何修改动作。如果' | ||
.. '[[Wikipedia: | .. '编辑[[Help:小修改#何时标明编辑为小修改' | ||
.. ' | .. '|无争议]]或有[[Wikipedia:共识' | ||
.. ' | .. '|共识]]基础,您可以向' | ||
default = ' | .. '[[Wikipedia:管理员|管理员]]' | ||
.. '${PROTECTIONLOG} | .. '${EDITREQUEST}。您也可以[[Wikipedia:请求' | ||
.. ' | .. '保护页面#请求解除保护' | ||
.. '[[Wikipedia: | .. '|请求]]解除页面保护。', | ||
default = '更多信息,请参见[[Wikipedia:保護方針|' | |||
.. '保護方針]]及${PROTECTIONLOG}。' | |||
.. '您可以[[Wikipedia:请求' | |||
.. '保护页面#请求编辑|请求' | |||
.. '编辑]]此页面,或[[Wikipedia:请求' | |||
.. '保护页面#请求解除保护' | |||
.. '|请求]]解除页面保护。', | |||
} | } | ||
}, | }, | ||
move = { | move = { | ||
default = { | default = { | ||
subject = ' | subject = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. '${PROTECTIONLOG} | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '该页面仍可编辑,但在解除保护后' | ||
.. '[[Wikipedia: | .. '才能移动。请在${TALKPAGE}或[[Wikipedia:移動請求]]' | ||
.. '[[Wikipedia: | .. '上讨论任何移动建议。您也可以' | ||
.. ' | .. '[[Wikipedia:请求保护页面|请求]]解除' | ||
.. '页面保护。', | |||
default = ' | default = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. '${PROTECTIONLOG} | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '该页面仍可编辑,但在解除保护后' | ||
.. '[[Wikipedia: | .. '才能移动。请在[[Wikipedia:移動請求]]' | ||
.. '上讨论任何移动建议。您也可以' | |||
.. '[[Wikipedia:请求保护页面|请求]]解除' | |||
.. '页面保护。', | |||
} | } | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
default = { | default = { | ||
reviewer = '更多信息,请参见[[Wikipedia:保護方針|' | |||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' Edits to this ${PAGETYPE} will not be visible to readers' | |||
.. ' until they are accepted by a reviewer or an administrator.' | |||
.. ' 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 the [[Wikipedia:Reviewing|reviewer user right]].', | |||
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' | ||
550行目: | 519行目: | ||
upload = { | upload = { | ||
default = { | default = { | ||
default = ' | default = '更多信息,请参见[[Wikipedia:保護方針|' | ||
.. ' | .. '保護方針]]及${PROTECTIONLOG}。' | ||
.. ' | .. '页面可能仍可以编辑,但在解除保护后' | ||
.. ' | .. '才能上传文件的新版本。您可以使用' | ||
.. '[[Wikipedia: | .. '[[Wikipedia:编辑请求|受保护页面编辑请求]]' | ||
.. '来请求上传新版本,或者您' | |||
.. '可以[[Wikipedia:请求保护页面|请求]]' | |||
.. '解除文件保护。' | |||
} | } | ||
} | } | ||
575行目: | 547行目: | ||
protectionLevels = { | protectionLevels = { | ||
edit = { | edit = { | ||
default = ' | default = '全保护', | ||
templateeditor = ' | templateeditor = '模板保护', | ||
extendedconfirmed = ' | extendedconfirmed = '延伸確認保護', | ||
autoconfirmed = ' | autoconfirmed = '半保护', | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = '移动保护' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = '文件保护' | ||
} | } | ||
}, | }, | ||
604行目: | 574行目: | ||
images = { | images = { | ||
edit = { | edit = { | ||
default = ' | default = 'Full-protection-shackle-block.svg', | ||
templateeditor = 'Template-protection-shackle.svg', | 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 = 'Move-protection-shackle.svg', | default = 'Move-protection-shackle.svg', | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
default = ' | autoconfirmed = 'Padlock-silver-light.svg', | ||
default = 'Padlock-orange.svg' | |||
}, | }, | ||
upload = { | upload = { | ||
default = 'Upload | default = 'Upload-protection-shackle.svg' | ||
} | } | ||
}, | }, | ||
643行目: | 612行目: | ||
imageLinks = { | imageLinks = { | ||
edit = { | edit = { | ||
default = 'Wikipedia: | default = 'Wikipedia:保護方針#全保护', | ||
templateeditor = 'Wikipedia: | templateeditor = 'Wikipedia:保護方針#模板保护', | ||
extendedconfirmed = 'Wikipedia: | extendedconfirmed = 'Wikipedia:保護方針#延伸確認保護', | ||
autoconfirmed = 'Wikipedia: | autoconfirmed = 'Wikipedia:保護方針#半保护' | ||
}, | }, | ||
move = { | move = { | ||
default = 'Wikipedia: | default = 'Wikipedia:保護方針#移动保护' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
autoconfirmed = 'Wikipedia:保護方針#pc1', | |||
reviewer = 'Wikipedia:保護方針#pc2' | |||
}, | }, | ||
upload = { | upload = { | ||
default = '' | default = 'Wikipedia:保護方針#文件保护' | ||
} | } | ||
}, | }, | ||
671行目: | 640行目: | ||
-- protection action name or the string "default". | -- protection action name or the string "default". | ||
padlockIndicatorNames = { | padlockIndicatorNames = { | ||
autoreview = 'pp-autoreview', | autoreview = 'pp-autoreview', | ||
default = 'pp-default' | default = 'pp-default' | ||
}, | }, | ||
690行目: | 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 | ||
769行目: | 736行目: | ||
protectionCategories = { | protectionCategories = { | ||
['all|all|all|all|all'] = ' | ['all|all|all|all|all'] = '被保护的页面', | ||
['all|all|office|all|all'] = '被基金会保护的页面', | |||
['all|all|reset|all|all'] = '被基金会保护的页面', | |||
['all|all|dmca|all|all'] = '被基金会保护的页面', | |||
['all|all|mainpage|all|all'] = '被保护的首页文件', | |||
['all|template|all|all|edit'] = '被保護的模板', | |||
['all|all|all|autoconfirmed|edit'] = '被半保护的页面', | |||
['indef|all|all|autoconfirmed|edit'] = '被永久半保护的页面', | |||
['all|all|all|autoconfirmed|edit'] = ' | ['all|all|blp|autoconfirmed|edit'] = '被永久半保护的生者传记', | ||
['temp|all|blp|autoconfirmed|edit'] = '被暂时半保护的生者传记', | |||
['all|all|dispute|autoconfirmed|edit'] = '由于争议而被半保护的页面', | |||
['all|all|sock|autoconfirmed|edit'] = '由于滥用傀儡而被半保护的页面', | |||
['all|all|vandalism|autoconfirmed|edit'] = '避免破坏而被半保护的页面', | |||
['all|category|all|autoconfirmed|edit'] = '被半保護的分類', | |||
['all|file|all|autoconfirmed|edit'] = '被半保護的圖像', | |||
['all|portal|all|autoconfirmed|edit'] = '被半保護的主題', | |||
['all|project|all|autoconfirmed|edit'] = '被半保護的專題', | |||
['all|talk|all|autoconfirmed|edit'] = '被半保護的討論頁', | |||
['all|template|all|autoconfirmed|edit'] = '被半保護的模板', | |||
['all|user|all|autoconfirmed|edit'] = '被半保護的用戶頁', | |||
['all|template|all|templateeditor|edit'] = '被模板保護的模板', | |||
['all|template|all|autoconfirmed|edit'] = ' | ['all|all|blp|sysop|edit'] = '被永久保护的生者传记', | ||
['temp|all|blp|sysop|edit'] = '被暂时保护的生者传记', | |||
['all|all|dispute|sysop|edit'] = '由于争议而被保护的页面', | |||
['all|all|sock|sysop|edit'] = '由于滥用傀儡而被保护的页面', | |||
['all|all|vandalism|sysop|edit'] = '避免破坏而被保护的页面', | |||
['all|category|all|sysop|edit'] = '被保護的分類', | |||
['all|file|all|sysop|edit'] = '被保護的圖像', | |||
['all|project|all|sysop|edit'] = '被保護的專題', | |||
['all|talk|all|sysop|edit'] = '被保護的討論頁', | |||
['all|template|all|sysop|edit'] = '被保護的模板', | |||
['all|user|all|sysop|edit'] = '被保護的用戶頁', | |||
['all|module|all|all|edit'] = '被保护的模块', | |||
['all|module|all|templateeditor|edit'] = '被模板保护的模块', | |||
['all| | ['all|module|all|autoconfirmed|edit'] = '被半保护的模块', | ||
['all|all|all|sysop|move'] = '被移動保護的頁面', | |||
['all|module|all| | ['indef|all|all|sysop|move'] = '被永久移動保護的頁面', | ||
['all| | ['all|all|dispute|sysop|move'] = '由于争议而被移动保护的页面', | ||
['all|all|all| | ['all|all|vandalism|sysop|move'] = '避免破坏而被移动保护的页面', | ||
['all|portal|all|sysop|move'] = '被移動保護的主題', | |||
['all|portal|all|sysop|move'] = '被移動保護的主題', | |||
['all|project|all|sysop|move'] = '被移動保護的專題', | |||
['all|talk|all|sysop|move'] = '被移動保護的討論頁', | |||
['all|template|all|sysop|move'] = '被移動保護的模板', | |||
['all|user|all|sysop|move'] = '被移動保護的用戶頁', | |||
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages', | |||
['all|template|all|sysop|move'] = ' | ['all|all|all|reviewer|autoreview'] = 'Wikipedia pending changes protected pages (level 2)', | ||
['all|file|all|all|upload'] = '被文件保护的文件', | |||
['all| | |||
['all|file|all| | |||
}, | }, | ||
856行目: | 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] = '条目', | |||
[6] = ' | [6] = '文件', | ||
[10] = ' | [10] = '模板', | ||
[14] = ' | [14] = '分类', | ||
[828] = ' | [828] = '模块', | ||
default = '页面' | |||
default = ' | |||
}, | }, | ||
898行目: | 849行目: | ||
hierarchy = { | hierarchy = { | ||
sysop = {}, | sysop = {}, | ||
reviewer = {'sysop'}, | reviewer = {'sysop'}, | ||
filemover = {'sysop'}, | filemover = {'sysop'}, | ||
templateeditor = {'sysop'}, | templateeditor = {'sysop'}, | ||
extendedconfirmed = {'sysop'}, | extendedconfirmed = {'sysop'}, | ||
autoconfirmed = { | autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'}, | ||
user = {'autoconfirmed'}, | user = {'autoconfirmed'}, | ||
['*'] = {'user'} | ['*'] = {'user'} | ||
924行目: | 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'}, | ||
937行目: | 888行目: | ||
['Template:Pp-office'] = {'office'}, | ['Template:Pp-office'] = {'office'}, | ||
['Template:Pp-office-dmca'] = {'dmca'}, | ['Template:Pp-office-dmca'] = {'dmca'}, | ||
['Template:Pp-pc1'] = {action = 'autoreview', small = true}, | ['Template:Pp-pc1'] = {action = 'autoreview', small = true}, | ||
['Template: | ['Template:Pp-pc2'] = {action = 'autoreview', small = true}, | ||
['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:Pp-template'] = {'template', small = true}, | ['Template:Pp-template'] = {'template', small = true}, | ||
['Template:Pp-upload'] = {action = 'upload'}, | ['Template:Pp-upload'] = {action = 'upload'}, | ||
950行目: | 900行目: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- | ||
-- MESSAGES | -- MESSAGES | ||
-- | -- | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
966行目: | 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}', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
979行目: | 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}', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
991行目: | 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}。', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,007行目: | 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'] = '待更改日志', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,017行目: | 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'] = '当前版本', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,027行目: | 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'] = '讨论页', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,036行目: | 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'] = '提出编辑请求', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,044行目: | 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'] = ' | ['expiry-date-format'] = 'Y F j', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,051行目: | 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'] = ' | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,060行目: | 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', | ||