「モジュール:Protection banner/config」の版間の差分
ナビゲーションに移動
検索に移動
Update categories from "fully-protected" to "fully protected", removing hyphen, per valid request at WP:CFDS
細 (1版 をインポートしました) |
bsd>Fayenatic london (Update categories from "fully-protected" to "fully protected", removing hyphen, per valid request at WP:CFDS) |
||
124行目: | 124行目: | ||
tooltip = '${TOOLTIPBLURB}', | tooltip = '${TOOLTIPBLURB}', | ||
link = '${IMAGELINK}', | link = '${IMAGELINK}', | ||
alt = '${PROTECTIONLEVEL} | alt = 'Page ${PROTECTIONLEVEL}' | ||
}, | }, | ||
154行目: | 154行目: | ||
banners = { | banners = { | ||
edit = { | edit = { | ||
blp = { | |||
description = 'For pages protected to promote compliance with the' | |||
.. ' [[Wikipedia:Biographies of living persons' | |||
.. '|biographies of living persons]] policy', | |||
text = '${INTROFRAGMENT} to promote compliance with' | |||
.. ' [[Wikipedia:Biographies of living persons' | |||
.. "|Wikipedia's policy on the biographies" | |||
.. ' of living people]].', | |||
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on' | |||
.. ' biographies of living persons', | |||
}, | |||
dmca = { | dmca = { | ||
description = ' | description = 'For pages protected by the Wikimedia Foundation' | ||
.. ' | .. ' due to [[Digital Millennium Copyright Act]] takedown requests', | ||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = ' | local ret = 'Pursuant to a rights owner notice under the Digital' | ||
.. '(DMCA) | .. ' Millennium Copyright Act (DMCA) regarding some content' | ||
.. ' | .. ' 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 .. ' | ret = ret .. ' A copy of the received notice can be found here: ' | ||
.. args.notice .. ' | .. args.notice .. '.' | ||
end | end | ||
ret = ret .. ' | ret = ret .. ' For more information, including websites discussing' | ||
.. '[[Wikipedia: | .. ' how to file a counter-notice, please see' | ||
.. "''' | .. " [[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 | image = 'Office-protection-shackle.svg', | ||
}, | }, | ||
dispute = { | dispute = { | ||
description = 'For pages protected due to editing disputes', | |||
text = function (protectionObj, args) | text = function (protectionObj, args) | ||
-- Find the value of "disputes". | |||
local display = 'disputes' | |||
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} or until editing %s have been resolved.' | |||
else | else | ||
msg = '${INTROFRAGMENT} until editing %s have been resolved.' | |||
end | end | ||
return string.format(msg, disputes) | |||
end, | end, | ||
tooltip = ' | explanation = "This protection is '''not''' an endorsement of the" | ||
alt = ' | .. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', | ||
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}', | |||
alt = 'Extended-protected ${PAGETYPE}', | |||
}, | |||
mainpage = { | |||
description = 'For pages protected for being displayed on the [[Main Page]]', | |||
text = 'This file is currently' | |||
.. ' [[Wikipedia:This page is protected|protected]] from' | |||
.. ' editing because it is currently or will soon be displayed' | |||
.. ' on the [[Main Page]].', | |||
explanation = 'Images on the Main Page are protected due to their high' | |||
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.' | |||
.. '<br /><span style="font-size:90%;">' | |||
.. "'''Administrators:''' Once this image is definitely off the Main Page," | |||
.. ' please unprotect this file, or reduce to semi-protection,' | |||
.. ' as appropriate.</span>', | |||
}, | |||
office = { | |||
description = 'For pages protected by the Wikimedia Foundation', | |||
text = function (protectionObj, args) | |||
local ret = 'This ${PAGETYPE} is currently under the' | |||
.. ' scrutiny of the' | |||
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]' | |||
.. ' and is protected.' | |||
if protectionObj.protectionDate then | |||
ret = ret .. ' It has been protected since ${PROTECTIONDATE}.' | |||
end | end | ||
return ret | |||
end, | end, | ||
explanation = "If you can edit this page, please discuss all changes and" | |||
.. " additions on the ${TALKPAGE} first. '''Do not remove protection from this" | |||
.. " page unless you are authorized by the Wikimedia Foundation to do" | |||
.. " so.'''", | |||
image = 'Office-protection-shackle.svg', | |||
}, | }, | ||
reset = { | reset = { | ||
description = '[[Wikipedia: | description = 'For pages protected by the Wikimedia Foundation and' | ||
.. ' "reset" to a bare-bones version', | |||
text = 'This ${PAGETYPE} is currently under the' | |||
local ret = ' | .. ' scrutiny of the' | ||
.. ' [[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 .. '${PROTECTIONDATE} | ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was' | ||
else | |||
ret = ret .. 'This ${PAGETYPE} has been' | |||
end | end | ||
ret = ret .. ' reduced to a' | |||
.. ' 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', | |||
.. '[[ | }, | ||
.. ' | 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 = 'For [[Wikipedia:High-risk templates|high-risk]]' | ||
.. ' | .. ' templates and Lua modules', | ||
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},' | |||
.. ' | .. ' as it is [[Wikipedia:High-risk templates|high-risk]].', | ||
.. '${ | explanation = 'Please discuss any changes on the ${TALKPAGE}; you may' | ||
.. ' ${EDITREQUEST} to ask an' | |||
.. ' [[Wikipedia:Administrators|administrator]] or' | |||
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if' | |||
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit' | |||
.. '|uncontroversial]] or supported by' | |||
.. ' [[Wikipedia:Consensus|consensus]]. You can also' | |||
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' | |||
.. ' unprotected.', | |||
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}' | |||
.. ' to prevent vandalism', | |||
alt = 'Permanently protected ${PAGETYPE}', | |||
}, | |||
usertalk = { | |||
description = 'For pages protected against disruptive edits by a' | |||
.. ' particular user', | |||
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,' | |||
.. ' such as abusing the' | |||
.. ' {{[[Template:unblock|unblock]]}} template.', | |||
explanation = 'If you cannot edit this user talk page and you need to' | |||
.. ' make a change or leave a message, you can' | |||
.. ' [[Wikipedia:Requests for page protection' | |||
.. '#Current requests for edits to a protected page' | |||
.. '|request an edit]],' | |||
.. ' [[Wikipedia:Requests for page protection' | |||
.. '#Current requests for reduction in protection level' | |||
.. '|request unprotection]],' | |||
.. ' [[Special:Userlogin|log in]],' | |||
.. ' or [[Special:UserLogin/signup|create an account]].', | |||
}, | |||
vandalism = { | |||
description = 'For pages protected against' | |||
.. ' [[Wikipedia:Vandalism|vandalism]]', | |||
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].', | |||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = '' | |||
if protectionObj.level == 'sysop' then | if protectionObj.level == 'sysop' then | ||
ret = ret .. "This protection is '''not''' an endorsement of the" | |||
.. ' ${CURRENTVERSION}. ' | |||
end | end | ||
return ret .. '${EXPLANATIONBLURB}' | |||
end, | end, | ||
tooltip = ' | tooltip = '${TOOLTIPFRAGMENT} due to vandalism', | ||
} | } | ||
}, | }, | ||
move = { | move = { | ||
dispute = { | dispute = { | ||
description = ' | description = 'For pages protected against page moves due to' | ||
.. ' disputes over the page title', | |||
explanation = " | explanation = "This protection is '''not''' an endorsement of the" | ||
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', | |||
.. '${ | image = 'Move-protection-shackle.svg' | ||
}, | }, | ||
vandalism = { | vandalism = { | ||
description = '[[Wikipedia: | description = 'For pages protected against' | ||
.. ' [[Wikipedia:Vandalism#Page-move vandalism' | |||
.. ' |page-move vandalism]]' | |||
} | } | ||
}, | }, | ||
421行目: | 392行目: | ||
protectionBlurbs = { | protectionBlurbs = { | ||
edit = { | edit = { | ||
default = ' | default = 'This ${PAGETYPE} is currently [[Help:Protection|' | ||
autoconfirmed = ' | .. 'protected]] from editing', | ||
.. ' | autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access' | ||
extendedconfirmed = ' | .. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered' | ||
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]', | |||
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection', | |||
}, | }, | ||
move = { | move = { | ||
default = ' | default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]' | ||
.. ' from [[Help:Moving a page|page moves]]' | |||
.. ' | |||
}, | }, | ||
autoreview = { | autoreview = { | ||
440行目: | 411行目: | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'Uploading new versions of this ${PAGETYPE} is currently disabled' | ||
} | } | ||
}, | }, | ||
468行目: | 435行目: | ||
edit = { | edit = { | ||
autoconfirmed = { | autoconfirmed = { | ||
subject = ' | subject = 'See the [[Wikipedia:Protection policy|' | ||
.. '${ | .. 'protection policy]] and ${PROTECTIONLOG} for more details. If you' | ||
.. ' | .. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' | ||
.. ' | .. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},' | ||
.. ' | .. ' [[Wikipedia:Requests for page protection' | ||
.. '[[ | .. '#Current requests for reduction in protection level' | ||
default = ' | .. '|request unprotection]], [[Special:Userlogin|log in]], or' | ||
.. '${ | .. ' [[Special:UserLogin/signup|create an account]].', | ||
.. ' | default = 'See the [[Wikipedia:Protection policy|' | ||
.. '[[ | .. 'protection policy]] and ${PROTECTIONLOG} for more details. If you' | ||
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' | |||
.. ' [[Wikipedia:Requests for page protection' | |||
.. '#Current requests for reduction in protection level' | |||
.. '|request unprotection]], [[Special:Userlogin|log in]], or' | |||
.. ' [[Special:UserLogin/signup|create an account]].', | |||
}, | }, | ||
extendedconfirmed = { | extendedconfirmed = { | ||
default = 'Extended confirmed protection prevents edits from all unregistered 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, if semi-protection has proven to be ineffective.' | ||
.. ' | .. ' Extended confirmed protection may also be applied to enforce' | ||
.. '[[Wikipedia: | .. ' [[Wikipedia:Arbitration Committee|arbitration sanctions]].' | ||
.. ' Please discuss any changes on the ${TALKPAGE}; you may' | |||
.. '${ | .. ' ${EDITREQUEST} to ask for uncontroversial changes supported by' | ||
.. ' | .. ' [[Wikipedia:Consensus|consensus]].' | ||
.. '[[Wikipedia: | |||
}, | }, | ||
default = { | default = { | ||
subject = ' | subject = 'See the [[Wikipedia:Protection policy|' | ||
.. '${ | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' Please discuss any changes on the ${TALKPAGE}; you' | ||
.. '[[Wikipedia: | .. ' may ${EDITREQUEST} to ask an' | ||
.. ' | .. ' [[Wikipedia:Administrators|administrator]] to make an edit if it' | ||
.. ' | .. ' is [[Help:Minor edit#When to mark an edit as a minor edit' | ||
default = ' | .. '|uncontroversial]] or supported by [[Wikipedia:Consensus' | ||
.. '${PROTECTIONLOG} | .. '|consensus]]. You may also [[Wikipedia:Requests for' | ||
.. ' | .. ' page protection#Current requests for reduction in protection level' | ||
.. '[[Wikipedia: | .. '|request]] that this page be unprotected.', | ||
default = 'See the [[Wikipedia:Protection policy|' | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' | |||
.. ' You may [[Wikipedia:Requests for page' | |||
.. ' protection#Current requests for edits to a protected page|request an' | |||
.. ' edit]] to this page, or [[Wikipedia:Requests for' | |||
.. ' page protection#Current requests for reduction in protection level' | |||
.. '|ask]] for it to be unprotected.' | |||
} | } | ||
}, | }, | ||
move = { | move = { | ||
default = { | default = { | ||
subject = ' | subject = 'See the [[Wikipedia:Protection policy|' | ||
.. '${PROTECTIONLOG} | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' The page may still be edited but cannot be moved' | ||
.. '[[Wikipedia: | .. ' until unprotected. Please discuss any suggested moves on the' | ||
.. '[[Wikipedia: | .. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also' | ||
.. ' | .. ' [[Wikipedia:Requests for page protection|request]] that the page be' | ||
.. ' unprotected.', | |||
default = ' | default = 'See the [[Wikipedia:Protection policy|' | ||
.. '${PROTECTIONLOG} | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' The page may still be edited but cannot be moved' | ||
.. '[[Wikipedia: | .. ' until unprotected. Please discuss any suggested moves at' | ||
.. ' [[Wikipedia:Requested moves]]. You can also' | |||
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' | |||
.. ' unprotected.' | |||
} | } | ||
}, | }, | ||
550行目: | 517行目: | ||
upload = { | upload = { | ||
default = { | default = { | ||
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' | ||
.. '[[Wikipedia: | .. ' 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.' | |||
} | } | ||
} | } | ||
575行目: | 545行目: | ||
protectionLevels = { | protectionLevels = { | ||
edit = { | edit = { | ||
default = ' | default = 'protected', | ||
templateeditor = 'template-protected', | templateeditor = 'template-protected', | ||
extendedconfirmed = ' | extendedconfirmed = 'extended-protected', | ||
autoconfirmed = ' | autoconfirmed = 'semi-protected', | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = 'move-protected' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'upload-protected' | ||
} | } | ||
}, | }, | ||
604行目: | 572行目: | ||
images = { | images = { | ||
edit = { | edit = { | ||
default = ' | default = 'Full-protection-shackle.svg', | ||
templateeditor = 'Template-protection-shackle.svg', | templateeditor = 'Template-protection-shackle.svg', | ||
extendedconfirmed = ' | extendedconfirmed = 'Extended-protection-shackle.svg', | ||
autoconfirmed = ' | autoconfirmed = 'Semi-protection-shackle.svg' | ||
}, | }, | ||
move = { | move = { | ||
default = 'Move-protection-shackle.svg', | default = 'Move-protection-shackle.svg', | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
617行目: | 584行目: | ||
}, | }, | ||
upload = { | upload = { | ||
default = 'Upload | default = 'Upload-protection-shackle.svg' | ||
} | } | ||
}, | }, | ||
643行目: | 609行目: | ||
imageLinks = { | imageLinks = { | ||
edit = { | edit = { | ||
default = 'Wikipedia: | default = 'Wikipedia:Protection policy#full', | ||
templateeditor = 'Wikipedia:Protection policy#template', | templateeditor = 'Wikipedia:Protection policy#template', | ||
extendedconfirmed = 'Wikipedia: | extendedconfirmed = 'Wikipedia:Protection policy#extended', | ||
autoconfirmed = 'Wikipedia: | autoconfirmed = 'Wikipedia:Protection policy#semi' | ||
}, | }, | ||
move = { | move = { | ||
default = 'Wikipedia: | default = 'Wikipedia:Protection policy#move' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
656行目: | 621行目: | ||
}, | }, | ||
upload = { | upload = { | ||
default = '' | default = 'Wikipedia:Protection policy#upload' | ||
} | } | ||
}, | }, | ||
671行目: | 636行目: | ||
-- 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' | ||
}, | }, | ||
769行目: | 732行目: | ||
protectionCategories = { | protectionCategories = { | ||
['all|all|all|all|all'] | ['all|all|all|all|all'] = 'Wikipedia fully protected pages', | ||
['all|all|office|all|all'] = 'Wikipedia Office-protected pages', | |||
['all|all|reset|all|all'] = 'Wikipedia Office-protected pages', | |||
['all|all|dmca|all|all'] = 'Wikipedia Office-protected pages', | |||
['all|all| | ['all|all|mainpage|all|all'] = 'Wikipedia fully protected main page files', | ||
['all|all|all|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages', | |||
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages', | |||
['all|all|all | ['all|template|all|all|edit'] = 'Wikipedia fully protected templates', | ||
['all|all|all|autoconfirmed|edit'] | ['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages', | ||
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages', | |||
['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people', | |||
['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people', | |||
['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute', | |||
['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users', | |||
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism', | |||
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories', | |||
['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files', | |||
['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals', | |||
['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages', | |||
['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages', | |||
['all|template|all| | ['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates', | ||
['all| | ['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages', | ||
['all|all|all|templateeditor|edit'] = 'Wikipedia template-protected pages other than templates and modules', | |||
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates', | |||
--['all|all|blp|sysop|edit'] | ['all|template|all|templateeditor|move'] = 'Wikipedia template-protected templates', -- move-protected templates | ||
['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people', | |||
['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people', | |||
['all|all|dispute|sysop|edit'] = 'Wikipedia pages protected due to dispute', | |||
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users', | |||
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism', | |||
['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories', | |||
['all|file|all|sysop|edit'] = 'Wikipedia fully protected files', | |||
['all|project|all|sysop|edit'] = 'Wikipedia fully protected project pages', | |||
--['all| | ['all|talk|all|sysop|edit'] = 'Wikipedia fully protected talk pages', | ||
['all| | ['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates', | ||
['all|template|all|sysop|edit'] = 'Wikipedia fully protected templates', | |||
['all|module|all| | ['all|user|all|sysop|edit'] = 'Wikipedia fully protected user and user talk pages', | ||
['all| | ['all|module|all|all|edit'] = 'Wikipedia fully protected modules', | ||
['all| | ['all|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules', | ||
['all|module|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected modules', | |||
['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules', | |||
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages', | |||
['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages', | |||
['all|all|dispute|sysop|move'] = 'Wikipedia pages move-protected due to dispute', | |||
['all|all|vandalism|sysop|move'] = 'Wikipedia pages move-protected due to vandalism', | |||
['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|talk|all|sysop|move'] = 'Wikipedia move-protected talk pages', | |||
['all|template|all|sysop|move'] = 'Wikipedia move-protected templates', | |||
['all|file|all|all|upload'] | ['all|user|all|sysop|move'] = 'Wikipedia move-protected user and user talk pages', | ||
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages', | |||
['all|file|all|all|upload'] = 'Wikipedia upload-protected files', | |||
}, | }, | ||
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] = 'article', | |||
[6] = ' | [6] = 'file', | ||
[10] = ' | [10] = 'template', | ||
[14] = ' | [14] = 'category', | ||
[828] = ' | [828] = 'module', | ||
default = 'page' | |||
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'} | ||
931行目: | 881行目: | ||
['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', catonly = 'yes'}, | ||
['Template:Pp-move-dispute'] = {'dispute', action = 'move'}, | ['Template:Pp-move-dispute'] = {'dispute', action = 'move', catonly = 'yes'}, | ||
-- we don't need Template:Pp-move-indef | -- we don't need Template:Pp-move-indef | ||
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move'}, | ['Template:Pp-move-vandalism'] = {'vandalism', action = 'move', catonly = 'yes'}, | ||
['Template:Pp-office'] = {'office'}, | ['Template:Pp-office'] = {'office'}, | ||
['Template:Pp-office-dmca'] = {'dmca'}, | ['Template:Pp-office-dmca'] = {'dmca'}, | ||
['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-reset'] = {'reset'}, | ['Template:Pp-reset'] = {'reset'}, | ||
['Template:Pp-semi-indef'] = {small = true}, | ['Template:Pp-semi-indef'] = {small = true}, | ||
966行目: | 915行目: | ||
-- 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} until ${EXPIRY}.', | ||
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB} | ['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.', | ||
['intro-fragment-expiry'] = '${PROTECTIONBLURB} | ['intro-fragment-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY},', | ||
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB} | ['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
979行目: | 928行目: | ||
-- 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'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}.', | ||
['tooltip-blurb-noexpiry'] = ' | ['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}.', | ||
['tooltip-fragment-expiry'] = ' | ['tooltip-fragment-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY},', | ||
['tooltip-fragment-noexpiry'] = ' | ['tooltip-fragment-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,007行目: | 956行目: | ||
-- 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', | ||
1,017行目: | 966行目: | ||
-- 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', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,027行目: | 976行目: | ||
-- 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', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,044行目: | 993行目: | ||
-- 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'] = 'F j, Y "at" H:i e', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
1,051行目: | 1,000行目: | ||
-- 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-template'] = 'Wikipedia template-protected pages other than templates and modules', | ['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules', | ||
1,060行目: | 1,008行目: | ||
-- 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.svg', | ||
['image-filename-default'] = 'Transparent.gif', | ['image-filename-default'] = 'Transparent.gif', | ||