Module:Protection banner/config: Difference between revisions
Content added Content deleted
m (1 revision imported) |
m (1 revision imported from w:en:Module:Protection_banner/config) |
||
Line 134: | Line 134: | ||
move = {}, |
move = {}, |
||
autoreview = { |
autoreview = { |
||
autoconfirmed = { |
|||
alt = 'Page protected with pending changes level 1', |
|||
tooltip = 'Todas as edições de utilizadores novos e não registados são sujeitos a revisão antes de ficarem visíveis a utilizadores não registados', |
|||
⚫ | |||
}, |
|||
default = { |
default = { |
||
alt = 'Page protected with pending changes |
alt = 'Page protected with pending changes', |
||
tooltip = 'All edits by |
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users', |
||
⚫ | |||
.. ' subject to review prior to becoming visible to unregistered users', |
|||
image = 'Padlock-orange.svg' |
|||
} |
} |
||
}, |
}, |
||
Line 191: | Line 185: | ||
return ret |
return ret |
||
end, |
end, |
||
image = ' |
image = 'Office-protection-shackle.svg', |
||
}, |
}, |
||
dispute = { |
dispute = { |
||
Line 260: | Line 254: | ||
.. " page unless you are authorized by the Wikimedia Foundation to do" |
.. " page unless you are authorized by the Wikimedia Foundation to do" |
||
.. " so.'''", |
.. " so.'''", |
||
image = ' |
image = 'Office-protection-shackle.svg', |
||
}, |
}, |
||
reset = { |
reset = { |
||
Line 297: | Line 291: | ||
return ret |
return ret |
||
end, |
end, |
||
image = ' |
image = 'Office-protection-shackle.svg', |
||
}, |
}, |
||
sock = { |
sock = { |
||
Line 365: | Line 359: | ||
explanation = "This protection is '''not''' an endorsement of the" |
explanation = "This protection is '''not''' an endorsement of the" |
||
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', |
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', |
||
image = ' |
image = 'Move-protection-shackle.svg' |
||
}, |
}, |
||
vandalism = { |
vandalism = { |
||
Line 403: | Line 397: | ||
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered' |
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered' |
||
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]', |
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]', |
||
extendedconfirmed = 'This ${PAGETYPE} is |
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection', |
||
⚫ | |||
.. ' [[Wikipédia:Página protegida#extended|criteria for community use]]', |
|||
}, |
}, |
||
move = { |
move = { |
||
Line 412: | Line 404: | ||
}, |
}, |
||
autoreview = { |
autoreview = { |
||
default = 'All edits made to this ${PAGETYPE} by' |
|||
.. ' [[Wikipedia:User access levels#New users|new]] or' |
.. ' [[Wikipedia:User access levels#New users|new]] or' |
||
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]' |
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]' |
||
.. ' 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:Administrators|administrators]] are currently' |
|||
.. ' [[Wikipedia:Pending changes|subject to review]]' |
.. ' [[Wikipedia:Pending changes|subject to review]]' |
||
}, |
}, |
||
Line 447: | Line 435: | ||
edit = { |
edit = { |
||
autoconfirmed = { |
autoconfirmed = { |
||
subject = 'See the [[ |
subject = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you' |
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you' |
||
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
||
Line 455: | Line 443: | ||
.. '|request unprotection]], [[Special:Userlogin|log in]], or' |
.. '|request unprotection]], [[Special:Userlogin|log in]], or' |
||
.. ' [[Special:UserLogin/signup|create an account]].', |
.. ' [[Special:UserLogin/signup|create an account]].', |
||
default = 'See the [[ |
default = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you' |
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you' |
||
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can' |
||
Line 464: | Line 452: | ||
}, |
}, |
||
extendedconfirmed = { |
extendedconfirmed = { |
||
default = 'Extended confirmed protection prevents edits from all |
default = 'Extended confirmed protection prevents edits from all unregistered editors' |
||
.. ' and registered users with fewer than 30 days tenure and 500 edits.' |
.. ' and registered users with fewer than 30 days tenure and 500 edits.' |
||
.. ' The [[ |
.. ' The [[Wikipedia:Protection policy#extended|policy on community use]]' |
||
.. ' specifies that extended confirmed protection can be applied to combat' |
.. ' specifies that extended confirmed protection can be applied to combat' |
||
.. ' disruption, |
.. ' disruption, if semi-protection has proven to be ineffective.' |
||
.. ' Extended confirmed protection may also be applied to enforce' |
|||
⚫ | |||
.. ' Please discuss any changes on the ${TALKPAGE}; you may' |
.. ' Please discuss any changes on the ${TALKPAGE}; you may' |
||
.. ' ${EDITREQUEST} to ask for |
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by' |
||
.. ' [[Wikipedia:Consensus|consensus]].' |
.. ' [[Wikipedia:Consensus|consensus]].' |
||
}, |
}, |
||
default = { |
default = { |
||
subject = 'See the [[ |
subject = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
||
.. ' Please discuss any changes on the ${TALKPAGE}; you' |
.. ' Please discuss any changes on the ${TALKPAGE}; you' |
||
Line 484: | Line 474: | ||
.. ' page protection#Current requests for reduction in protection level' |
.. ' page protection#Current requests for reduction in protection level' |
||
.. '|request]] that this page be unprotected.', |
.. '|request]] that this page be unprotected.', |
||
default = 'See the [[ |
default = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
||
.. ' You may [[Wikipedia:Requests for page' |
.. ' You may [[Wikipedia:Requests for page' |
||
Line 495: | Line 485: | ||
move = { |
move = { |
||
default = { |
default = { |
||
subject = 'See the [[ |
subject = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
||
.. ' The page may still be edited but cannot be moved' |
.. ' The page may still be edited but cannot be moved' |
||
Line 502: | Line 492: | ||
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' |
.. ' [[Wikipedia:Requests for page protection|request]] that the page be' |
||
.. ' unprotected.', |
.. ' unprotected.', |
||
default = 'See the [[ |
default = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
||
.. ' The page may still be edited but cannot be moved' |
.. ' The page may still be edited but cannot be moved' |
||
Line 513: | Line 503: | ||
autoreview = { |
autoreview = { |
||
default = { |
default = { |
||
default = 'See the [[Wikipedia:Protection policy|' |
|||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
|||
.. ' 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 = 'See the [[Wikipédia:Página protegida|' |
|||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
||
.. ' Edits to this ${PAGETYPE} by new and unregistered users' |
.. ' Edits to this ${PAGETYPE} by new and unregistered users' |
||
Line 536: | Line 517: | ||
upload = { |
upload = { |
||
default = { |
default = { |
||
default = 'See the [[ |
default = 'See the [[Wikipedia:Protection policy|' |
||
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
.. 'protection policy]] and ${PROTECTIONLOG} for more details.' |
||
.. ' The page may still be edited but new versions of the file' |
.. ' The page may still be edited but new versions of the file' |
||
Line 591: | Line 572: | ||
images = { |
images = { |
||
edit = { |
edit = { |
||
default = ' |
default = 'Full-protection-shackle.svg', |
||
templateeditor = ' |
templateeditor = 'Template-protection-shackle.svg', |
||
extendedconfirmed = ' |
extendedconfirmed = 'Extended-protection-shackle.svg', |
||
autoconfirmed = ' |
autoconfirmed = 'Semi-protection-shackle.svg' |
||
}, |
}, |
||
move = { |
move = { |
||
default = ' |
default = 'Move-protection-shackle.svg', |
||
}, |
}, |
||
autoreview = { |
autoreview = { |
||
default = 'Pending-protection-shackle.svg' |
|||
default = 'Padlock-orange.svg' |
|||
}, |
}, |
||
upload = { |
upload = { |
||
default = ' |
default = 'Upload-protection-shackle.svg' |
||
} |
} |
||
}, |
}, |
||
Line 629: | Line 609: | ||
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' |
|||
autoconfirmed = 'Wikipédia:Página protegida#pc1', |
|||
reviewer = 'Wikipédia:Página protegida#pc2' |
|||
}, |
}, |
||
upload = { |
upload = { |
||
default = ' |
default = 'Wikipedia:Protection policy#upload' |
||
} |
} |
||
}, |
}, |
||
Line 753: | Line 732: | ||
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|all|extendedconfirmed|all'] = 'Wikipedia pages under 30-500 editing restriction', |
||
['all|all| |
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia pages under 30-500 editing restriction', |
||
[' |
['all|template|all|all|edit'] = 'Wikipedia fully protected templates', |
||
['all|all| |
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages', |
||
[' |
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages', |
||
['all|all| |
['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| |
['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute', |
||
['all |
['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users', |
||
['all |
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism', |
||
['all| |
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories', |
||
['all| |
['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files', |
||
['all| |
['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals', |
||
['all| |
['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages', |
||
['all| |
['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages', |
||
['all|template|all| |
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates', |
||
['all|all| |
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages', |
||
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates', |
|||
['temp|all|blp|sysop|edit'] = '!Artigos biográficos de pessoas vivas temporariamente protegidos', |
|||
['all|all| |
['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| |
['all|all|dispute|sysop|edit'] = 'Wikipedia pages protected due to dispute', |
||
['all |
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users', |
||
['all |
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism', |
||
['all| |
['all|category|all|sysop|edit'] = 'Wikipedia protected categories', |
||
['all| |
['all|file|all|sysop|edit'] = 'Wikipedia fully-protected files', |
||
['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|sysop|edit'] = 'Wikipedia fully protected templates', |
||
['all| |
['all|user|all|sysop|edit'] = 'Wikipedia protected user and user talk pages', |
||
['all|module|all| |
['all|module|all|all|edit'] = 'Wikipedia fully-protected modules', |
||
['all| |
['all|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules', |
||
[' |
['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules', |
||
['all|all| |
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages', |
||
['all|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|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|template|all|sysop|move'] = 'Wikipedia move-protected templates', |
|||
['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', |
|||
}, |
}, |
||
Line 863: | Line 846: | ||
hierarchy = { |
hierarchy = { |
||
sysop = {}, |
sysop = {}, |
||
⚫ | |||
reviewer = {'sysop'}, |
reviewer = {'sysop'}, |
||
⚫ | |||
⚫ | |||
templateeditor = {'sysop'}, |
|||
extendedconfirmed = {'sysop'}, |
|||
⚫ | |||
user = {'autoconfirmed'}, |
user = {'autoconfirmed'}, |
||
['*'] = {'user'} |
['*'] = {'user'} |
||
Line 888: | Line 873: | ||
wrappers = { |
wrappers = { |
||
['Template:Pp'] = {}, |
['Template:Pp'] = {}, |
||
['Template:Pp-30-500'] = {'ecp'}, |
|||
['Template:Pp-blp'] = {'blp'}, |
['Template:Pp-blp'] = {'blp'}, |
||
-- we don't need Template:Pp-create |
-- we don't need Template:Pp-create |
||
Line 898: | Line 884: | ||
['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-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}, |
||
Line 924: | Line 912: | ||
-- 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}', |
||
Line 937: | Line 925: | ||
-- 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}', |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 949: | Line 937: | ||
-- 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' |
||
.. ' ${EDITREQUEST} |
.. ' 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]].', |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 1,002: | Line 990: | ||
-- 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'] = 'j " |
['expiry-date-format'] = 'F j, Y "at" H:i e', |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 1,017: | Line 1,005: | ||
-- 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', |
||