پودمان:Protection banner/config: تفاوت میان نسخهها
پرش به ناوبری
پرش به جستجو
add categorization into Category:Wikipedia extended-confirmed-protected modules per request
جز (۱ نسخه واردشده) |
en.wikipedia>Andrybak (add categorization into Category:Wikipedia extended-confirmed-protected modules per request) |
||
خط ۱: | خط ۱: | ||
-- This module provides configuration data for [[Module:Protection banner]]. | -- This module provides configuration data for [[Module:Protection banner]]. | ||
return { | return { | ||
خط ۱۲۵: | خط ۱۲۴: | ||
tooltip = '${TOOLTIPBLURB}', | tooltip = '${TOOLTIPBLURB}', | ||
link = '${IMAGELINK}', | link = '${IMAGELINK}', | ||
alt = ' | alt = 'Page ${PROTECTIONLEVEL}' | ||
}, | }, | ||
خط ۱۳۵: | خط ۱۳۴: | ||
move = {}, | move = {}, | ||
autoreview = { | autoreview = { | ||
default = { | default = { | ||
alt = ' | alt = 'Page protected with pending changes', | ||
tooltip = ' | tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users', | ||
image = 'Pending-protection-shackle.svg' | |||
image = ' | |||
} | } | ||
}, | }, | ||
خط ۱۶۲: | خط ۱۵۵: | ||
edit = { | edit = { | ||
blp = { | blp = { | ||
description = ' | description = 'For pages protected to promote compliance with the' | ||
.. ' | .. ' [[Wikipedia:Biographies of living persons' | ||
.. '| | .. '|biographies of living persons]] policy', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT} to promote compliance with' | ||
.. ' [[ | .. ' [[Wikipedia:Biographies of living persons' | ||
.. "| | .. "|Wikipedia's policy on the biographies" | ||
.. ' | .. ' of living people]].', | ||
tooltip = '${TOOLTIPFRAGMENT} | 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' | ||
.. ' | .. ' 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' | ||
.. ' | .. ' 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 = ' | description = 'For pages protected due to editing disputes', | ||
text = function (protectionObj, args) | text = function (protectionObj, args) | ||
-- Find the value of "disputes". | -- Find the value of "disputes". | ||
local display = ' | local display = 'disputes' | ||
local disputes | local disputes | ||
if args.section then | if args.section then | ||
خط ۲۱۵: | خط ۲۰۸: | ||
local msg | local msg | ||
if type(protectionObj.expiry) == 'number' then | if type(protectionObj.expiry) == 'number' then | ||
msg = '${INTROFRAGMENT} | msg = '${INTROFRAGMENT} or until editing %s have been resolved.' | ||
else | else | ||
msg = '${INTROFRAGMENT} | msg = '${INTROFRAGMENT} until editing %s have been resolved.' | ||
end | end | ||
return string.format(msg, disputes) | return string.format(msg, disputes) | ||
end, | end, | ||
explanation = " | explanation = "This protection is '''not''' an endorsement of the" | ||
.. | .. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', | ||
tooltip = '${TOOLTIPFRAGMENT} | 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 extended-confirmed protected', | |||
alt = 'Extended-protected ${PAGETYPE}', | |||
}, | }, | ||
mainpage = { | mainpage = { | ||
description = ' | description = 'For pages protected for being displayed on the [[Main Page]]', | ||
text = ' | 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 = ' | 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%;">' | .. '<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 = { | office = { | ||
description = ' | description = 'For pages protected by the Wikimedia Foundation', | ||
text = function (protectionObj, args) | text = function (protectionObj, args) | ||
local ret = ' | local ret = 'This ${PAGETYPE} is currently under the' | ||
.. ' | .. ' scrutiny of the' | ||
.. ' [[ | .. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]' | ||
.. ' | .. ' and is protected.' | ||
if protectionObj.protectionDate then | if protectionObj.protectionDate then | ||
ret = ret .. ' | ret = ret .. ' It has been protected since ${PROTECTIONDATE}.' | ||
end | end | ||
return ret | return ret | ||
end, | end, | ||
explanation = " | 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 | image = 'Office-protection-shackle.svg', | ||
}, | }, | ||
reset = { | reset = { | ||
description = ' | description = 'For pages protected by the Wikimedia Foundation and' | ||
.. ' | .. ' "reset" to a bare-bones version', | ||
text = ' | text = 'This ${PAGETYPE} is currently under the' | ||
.. ' | .. ' scrutiny of the' | ||
.. ' [[ | .. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]' | ||
.. ' | .. ' and is protected.', | ||
explanation = function (protectionObj, args) | explanation = function (protectionObj, args) | ||
local ret = '' | local ret = '' | ||
if protectionObj.protectionDate then | if protectionObj.protectionDate then | ||
ret = ret .. ' | ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was' | ||
else | else | ||
ret = ret .. ' | ret = ret .. 'This ${PAGETYPE} has been' | ||
end | end | ||
ret = ret .. ' | 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 | return ret | ||
end, | end, | ||
image = 'Office-protection-shackle | image = 'Office-protection-shackle.svg', | ||
}, | }, | ||
sock = { | sock = { | ||
description = ' | description = 'For pages protected due to' | ||
.. ' [[ | .. ' [[Wikipedia:Sock puppetry|sock puppetry]]', | ||
text = '${INTROFRAGMENT} | 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} | tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from' | ||
.. ' | .. ' editing it', | ||
}, | }, | ||
template = { | template = { | ||
description = ' | description = 'For [[Wikipedia:High-risk templates|high-risk]]' | ||
.. ' | .. ' templates and Lua modules', | ||
text = ' | text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},' | ||
.. ' | .. ' as it is [[Wikipedia:High-risk templates|high-risk]].', | ||
explanation = ' | 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 = ' | tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}' | ||
.. ' | .. ' to prevent vandalism', | ||
alt = '${PAGETYPE} | alt = 'Permanently protected ${PAGETYPE}', | ||
}, | }, | ||
usertalk = { | usertalk = { | ||
description = ' | description = 'For pages protected against disruptive edits by a' | ||
.. ' | .. ' particular user', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,' | ||
.. ' | .. ' such as abusing the' | ||
.. ' | .. ' {{[[Template:unblock|unblock]]}} template.', | ||
explanation = ' | 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| | .. ' [[Special:Userlogin|log in]],' | ||
.. ' | .. ' or [[Special:UserLogin/signup|create an account]].', | ||
}, | }, | ||
vandalism = { | vandalism = { | ||
description = ' | description = 'For pages protected against' | ||
.. ' [[ | .. ' [[Wikipedia:Vandalism|vandalism]]', | ||
text = '${INTROFRAGMENT} | text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].', | ||
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 .. "This protection is '''not''' an endorsement of the" | ||
.. | .. ' ${CURRENTVERSION}. ' | ||
end | end | ||
return ret .. '${EXPLANATIONBLURB}' | return ret .. '${EXPLANATIONBLURB}' | ||
end, | end, | ||
tooltip = '${TOOLTIPFRAGMENT} | 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' | image = 'Move-protection-shackle.svg' | ||
}, | }, | ||
vandalism = { | vandalism = { | ||
description = ' | description = 'For pages protected against' | ||
.. ' [[ | .. ' [[Wikipedia:Vandalism#Page-move vandalism' | ||
.. ' | | .. ' |page-move vandalism]]' | ||
} | } | ||
}, | }, | ||
خط ۳۹۹: | خط ۳۹۲: | ||
protectionBlurbs = { | protectionBlurbs = { | ||
edit = { | edit = { | ||
default = ' | default = 'This ${PAGETYPE} is currently [[Help:Protection|' | ||
.. ' | .. 'protected]] from editing', | ||
autoconfirmed = ' | autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access' | ||
.. ' | .. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered' | ||
.. '| | .. ' users|unregistered]] users is currently [[Help:Protection|disabled]]', | ||
extendedconfirmed = ' | 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 = { | ||
default = 'All edits made to this ${PAGETYPE} by' | |||
.. ' [[ | .. ' [[Wikipedia:User access levels#New users|new]] or' | ||
.. ' [[ | .. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]' | ||
.. ' | .. ' users are currently' | ||
.. ' [[Wikipedia:Pending changes|subject to review]]' | |||
.. ' [[ | |||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'Uploading new versions of this ${PAGETYPE} is currently disabled' | ||
} | } | ||
}, | }, | ||
خط ۴۴۶: | خط ۴۳۵: | ||
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} | .. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},' | ||
.. ' [[ | .. ' [[Wikipedia:Requests for page protection' | ||
.. '# | .. '#Current requests for reduction in protection level' | ||
.. '| | .. '|request unprotection]], [[Special:Userlogin|log in]], or' | ||
.. ' [[Special:UserLogin/signup| | .. ' [[Special:UserLogin/signup|create an account]].', | ||
default = '[[ | 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| | .. ' [[Special:UserLogin/signup|create an account]].', | ||
}, | }, | ||
extendedconfirmed = { | extendedconfirmed = { | ||
default = ' | 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:Arbitration Committee|arbitration sanctions]].' | ||
.. ' ${EDITREQUEST}.' | .. ' Please discuss any changes on the ${TALKPAGE}; you may' | ||
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by' | |||
.. ' [[Wikipedia:Consensus|consensus]].' | |||
}, | }, | ||
default = { | default = { | ||
subject = '[[ | subject = 'See the [[Wikipedia:Protection policy|' | ||
.. ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' Please discuss any changes on the ${TALKPAGE}; you' | ||
.. ' | .. ' 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' | ||
.. ' [[ | .. '|uncontroversial]] or supported by [[Wikipedia:Consensus' | ||
.. ' | .. '|consensus]]. You may also [[Wikipedia:Requests for' | ||
.. ' | .. ' page protection#Current requests for reduction in protection level' | ||
.. '| | .. '|request]] that this page be unprotected.', | ||
default = '[[ | 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|' | ||
.. ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' The page may still be edited but cannot be moved' | ||
.. ' | .. ' until unprotected. Please discuss any suggested moves on the' | ||
.. ' ${TALKPAGE} | .. ' ${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|' | ||
.. ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' The page may still be edited but cannot be moved' | ||
.. ' | .. ' 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.' | ||
} | } | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
default = { | default = { | ||
default = 'See the [[Wikipedia:Protection policy|' | |||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' | |||
.. ' Edits to this ${PAGETYPE} by new and unregistered users' | |||
.. ' | .. ' will not be visible to readers until they are accepted by' | ||
.. ' a reviewer. 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]], [[Special:Userlogin|log in]], or' | |||
.. ' [[Special:UserLogin/signup|create an account]].' | |||
.. ' | |||
.. ' | |||
.. ' | |||
.. ' | |||
.. ' [[ | |||
.. '# | |||
.. '| | |||
.. ' [[Special:UserLogin/signup| | |||
}, | }, | ||
}, | |||
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' | ||
.. ' | .. ' 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.' | ||
} | } | ||
} | } | ||
خط ۵۶۳: | خط ۵۴۵: | ||
protectionLevels = { | protectionLevels = { | ||
edit = { | edit = { | ||
default = ' | default = 'protected', | ||
templateeditor = ' | 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' | ||
} | } | ||
}, | }, | ||
خط ۵۹۰: | خط ۵۷۲: | ||
images = { | images = { | ||
edit = { | edit = { | ||
default = 'Full-protection-shackle | default = 'Full-protection-shackle.svg', | ||
templateeditor = 'Template-protection-shackle | templateeditor = 'Template-protection-shackle.svg', | ||
extendedconfirmed = 'Extended-protection-shackle | extendedconfirmed = 'Extended-protection-shackle.svg', | ||
autoconfirmed = 'Semi-protection-shackle.svg' | autoconfirmed = 'Semi-protection-shackle.svg' | ||
}, | }, | ||
خط ۵۹۹: | خط ۵۸۱: | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
default = 'Pending-protection-shackle.svg' | |||
}, | }, | ||
upload = { | upload = { | ||
خط ۶۲۸: | خط ۶۰۹: | ||
imageLinks = { | imageLinks = { | ||
edit = { | edit = { | ||
default = ' | default = 'Wikipedia:Protection policy#full', | ||
templateeditor = ' | templateeditor = 'Wikipedia:Protection policy#template', | ||
extendedconfirmed = ' | extendedconfirmed = 'Wikipedia:Protection policy#extended', | ||
autoconfirmed = ' | autoconfirmed = 'Wikipedia:Protection policy#semi' | ||
}, | }, | ||
move = { | move = { | ||
default = ' | default = 'Wikipedia:Protection policy#move' | ||
}, | }, | ||
autoreview = { | autoreview = { | ||
default = 'Wikipedia:Protection policy#pending' | |||
}, | }, | ||
upload = { | upload = { | ||
default = ' | default = 'Wikipedia:Protection policy#upload' | ||
} | } | ||
}, | }, | ||
خط ۷۵۲: | خط ۷۳۲: | ||
protectionCategories = { | protectionCategories = { | ||
['all|all|all|all|all'] | ['all|all|all|all|all'] = 'Wikipedia fully protected pages', | ||
['all|all|office|all|all'] | ['all|all|office|all|all'] = 'Wikipedia Office-protected pages', | ||
['all|all|reset|all|all'] | ['all|all|reset|all|all'] = 'Wikipedia Office-protected pages', | ||
['all|all|dmca|all|all'] | ['all|all|dmca|all|all'] = 'Wikipedia Office-protected pages', | ||
['all|all|mainpage|all|all'] | ['all|all|mainpage|all|all'] = 'Wikipedia fully-protected main page files', | ||
['all|all|all|extendedconfirmed|all'] | ['all|all|all|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages', | ||
['all|all|ecp|extendedconfirmed|all'] | ['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages', | ||
['all|template|all|all|edit'] | ['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'] | ['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages', | ||
['all|all|blp|autoconfirmed|edit'] | ['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people', | ||
['temp|all|blp|autoconfirmed|edit'] | ['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people', | ||
['all|all|dispute|autoconfirmed|edit'] | ['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute', | ||
['all|all|sock|autoconfirmed|edit'] | ['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users', | ||
['all|all|vandalism|autoconfirmed|edit'] = ' | ['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism', | ||
['all|category|all|autoconfirmed|edit'] | ['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories', | ||
['all|file|all|autoconfirmed|edit'] | ['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files', | ||
['all|portal|all|autoconfirmed|edit'] | ['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals', | ||
['all|project|all|autoconfirmed|edit'] | ['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages', | ||
['all|talk|all|autoconfirmed|edit'] | ['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages', | ||
['all|template|all|autoconfirmed|edit'] | ['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates', | ||
['all|user|all|autoconfirmed|edit'] | ['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages', | ||
['all|template|all|templateeditor|edit'] = ' | ['all|all|all|templateeditor|edit'] = 'Wikipedia template-protected pages other than templates and modules', | ||
['all|all|blp|sysop|edit'] | ['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates', | ||
['temp|all|blp|sysop|edit'] | ['all|template|all|templateeditor|move'] = 'Wikipedia template-protected templates', -- move-protected templates | ||
['all|all|dispute|sysop|edit'] | ['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people', | ||
['all|all|sock|sysop|edit'] | ['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people', | ||
['all|all|vandalism|sysop|edit'] | ['all|all|dispute|sysop|edit'] = 'Wikipedia pages protected due to dispute', | ||
['all|category|all|sysop|edit'] | ['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users', | ||
['all|file|all|sysop|edit'] | ['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism', | ||
['all|project|all|sysop|edit'] | ['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories', | ||
['all|talk|all|sysop|edit'] | ['all|file|all|sysop|edit'] = 'Wikipedia fully-protected files', | ||
['all|template|all| | ['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|module|all| | ['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|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules', | ||
['all|all| | ['all|module|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected modules', | ||
['all|all | ['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules', | ||
['all| | ['all|all|all|sysop|move'] = 'Wikipedia move-protected pages', | ||
['all| | ['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages', | ||
['all| | ['all|all|dispute|sysop|move'] = 'Wikipedia pages move-protected due to dispute', | ||
['all| | ['all|all|vandalism|sysop|move'] = 'Wikipedia pages move-protected due to vandalism', | ||
['all| | ['all|portal|all|sysop|move'] = 'Wikipedia move-protected portals', | ||
['all| | ['all|project|all|sysop|move'] = 'Wikipedia move-protected project pages', | ||
['all| | ['all|talk|all|sysop|move'] = 'Wikipedia move-protected talk pages', | ||
['all|all|all| | ['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', | |||
}, | }, | ||
خط ۸۳۸: | خط ۸۲۰: | ||
-- 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] = 'article', | ||
[6] = ' | [6] = 'file', | ||
[10] = ' | [10] = 'template', | ||
[14] = ' | [14] = 'category', | ||
[828] = ' | [828] = 'module', | ||
default = ' | default = 'page' | ||
}, | }, | ||
خط ۸۵۷: | خط ۸۳۹: | ||
['indefinitely'] = true, | ['indefinitely'] = true, | ||
['infinite'] = true, | ['infinite'] = true, | ||
}, | }, | ||
خط ۸۷۲: | خط ۸۵۳: | ||
templateeditor = {'sysop'}, | templateeditor = {'sysop'}, | ||
extendedconfirmed = {'sysop'}, | extendedconfirmed = {'sysop'}, | ||
autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'}, | autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'}, | ||
user = {'autoconfirmed'}, | user = {'autoconfirmed'}, | ||
خط ۸۹۵: | خط ۸۷۵: | ||
-- arguments. | -- arguments. | ||
wrappers = { | wrappers = { | ||
[' | ['Template:Pp'] = {}, | ||
[' | ['Template:Pp-extended'] = {'ecp'}, | ||
[' | ['Template:Pp-blp'] = {'blp'}, | ||
-- we don't need Template:Pp-create | -- we don't need Template:Pp-create | ||
[' | ['Template:Pp-dispute'] = {'dispute'}, | ||
[' | ['Template:Pp-main-page'] = {'mainpage'}, | ||
[' | ['Template:Pp-move'] = {action = 'move', catonly = 'yes'}, | ||
[' | ['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', catonly = 'yes'}, | ||
[' | ['Template:Pp-office'] = {'office'}, | ||
[' | ['Template:Pp-office-dmca'] = {'dmca'}, | ||
[' | ['Template:Pp-pc'] = {action = 'autoreview', small = true}, | ||
[' | ['Template:Pp-pc1'] = {action = 'autoreview', small = true}, | ||
[' | ['Template:Pp-reset'] = {'reset'}, | ||
[' | ['Template:Pp-semi-indef'] = {small = true}, | ||
[' | ['Template:Pp-sock'] = {'sock'}, | ||
[' | ['Template:Pp-template'] = {'template', small = true}, | ||
[' | ['Template:Pp-upload'] = {action = 'upload'}, | ||
[' | ['Template:Pp-usertalk'] = {'usertalk'}, | ||
[' | ['Template:Pp-vandalism'] = {'vandalism'}, | ||
}, | }, | ||
خط ۹۳۵: | خط ۹۱۵: | ||
-- 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'] = ' | ['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}.', | ||
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.', | ['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.', | ||
['intro-fragment-expiry'] = ' | ['intro-fragment-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY},', | ||
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', | ['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', | ||
خط ۹۴۸: | خط ۹۲۸: | ||
-- 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}', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۹۶۰: | خط ۹۴۰: | ||
-- 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'] = 'See the [[Wikipedia:Protection policy|' | ||
.. ' | .. 'protection policy]] and ${PROTECTIONLOG} for more details.' | ||
.. ' | .. ' Please discuss any changes on the ${TALKPAGE}; you' | ||
.. ' | .. ' 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' | ||
.. '| | .. '|uncontroversial]] or supported by [[Wikipedia:Consensus' | ||
.. ' | .. '|consensus]].', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۹۷۶: | خط ۹۵۶: | ||
-- 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'] = ' | ['pc-log-display'] = 'pending changes log', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۹۸۶: | خط ۹۶۶: | ||
-- 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', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۹۹۶: | خط ۹۷۶: | ||
-- 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', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۱٬۰۰۵: | خط ۹۸۵: | ||
-- 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'] = 'submit an edit request', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۱٬۰۱۳: | خط ۹۹۳: | ||
-- 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', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۱٬۰۲۰: | خط ۱٬۰۰۰: | ||
-- 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'] = ' | ['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules', | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۱٬۰۲۸: | خط ۱٬۰۰۸: | ||
-- 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'] = 'Full-protection-shackle | ['image-filename-indef'] = 'Full-protection-shackle.svg', | ||
['image-filename-default'] = 'Transparent.gif', | ['image-filename-default'] = 'Transparent.gif', | ||