Module:Protection banner/config: Difference between revisions
Content added Content deleted
(Pp-30-500 changed name) |
m (6 revisions imported: testing) |
||
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 level 2', |
||
tooltip = 'All edits by |
tooltip = 'All edits by users who are not reviewers or administrators are' |
||
.. ' subject to review prior to becoming visible to unregistered users', |
|||
⚫ | |||
image = 'Padlock-orange.svg' |
|||
} |
} |
||
}, |
}, |
||
Line 185: | Line 191: | ||
return ret |
return ret |
||
end, |
end, |
||
image = ' |
image = 'Padlock-black.svg', |
||
}, |
}, |
||
dispute = { |
dispute = { |
||
Line 254: | Line 260: | ||
.. " 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 = 'Padlock-black.svg', |
||
}, |
}, |
||
reset = { |
reset = { |
||
Line 291: | Line 297: | ||
return ret |
return ret |
||
end, |
end, |
||
image = ' |
image = 'Padlock-black.svg', |
||
}, |
}, |
||
sock = { |
sock = { |
||
Line 359: | Line 365: | ||
explanation = "This protection is '''not''' an endorsement of the" |
explanation = "This protection is '''not''' an endorsement of the" |
||
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', |
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}', |
||
image = ' |
image = 'Padlock-olive.svg' |
||
}, |
}, |
||
vandalism = { |
vandalism = { |
||
Line 397: | Line 403: | ||
.. ' 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 ${PROTECTIONLEVEL} as a result of' |
||
⚫ | |||
.. ' [[Wikipédia:Página protegida#extended|criteria for community use]]', |
|||
}, |
}, |
||
move = { |
move = { |
||
Line 404: | Line 412: | ||
}, |
}, |
||
autoreview = { |
autoreview = { |
||
autoconfirmed = '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 435: | Line 447: | ||
edit = { |
edit = { |
||
autoconfirmed = { |
autoconfirmed = { |
||
subject = 'See the [[ |
subject = 'See the [[Wikipédia:Página protegida|' |
||
.. '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 443: | Line 455: | ||
.. '|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 [[Wikipédia:Página protegida|' |
||
.. '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 452: | Line 464: | ||
}, |
}, |
||
extendedconfirmed = { |
extendedconfirmed = { |
||
default = 'Extended confirmed protection prevents edits from all |
default = 'Extended confirmed protection prevents edits from all IP 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 [[Wikipédia:Página protegida#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, given that 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 unconversial changes supported by' |
||
.. ' [[Wikipedia:Consensus|consensus]].' |
.. ' [[Wikipedia:Consensus|consensus]].' |
||
}, |
}, |
||
default = { |
default = { |
||
subject = 'See the [[ |
subject = 'See the [[Wikipédia:Página protegida|' |
||
.. '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 474: | Line 484: | ||
.. ' 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 [[Wikipédia:Página protegida|' |
||
.. '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 485: | Line 495: | ||
move = { |
move = { |
||
default = { |
default = { |
||
subject = 'See the [[ |
subject = 'See the [[Wikipédia:Página protegida|' |
||
.. '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 492: | Line 502: | ||
.. ' [[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 [[Wikipédia:Página protegida|' |
||
.. '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 503: | Line 513: | ||
autoreview = { |
autoreview = { |
||
default = { |
default = { |
||
reviewer = 'See the [[Wikipédia:Página protegida|' |
|||
.. '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 517: | Line 536: | ||
upload = { |
upload = { |
||
default = { |
default = { |
||
default = 'See the [[ |
default = 'See the [[Wikipédia:Página protegida|' |
||
.. '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 572: | Line 591: | ||
images = { |
images = { |
||
edit = { |
edit = { |
||
default = ' |
default = 'Padlock.svg', |
||
templateeditor = ' |
templateeditor = 'Padlock-pink.svg', |
||
extendedconfirmed = ' |
extendedconfirmed = 'Padlock-blue.svg', |
||
autoconfirmed = ' |
autoconfirmed = 'Crystal Clear action lock3.png' |
||
}, |
}, |
||
move = { |
move = { |
||
default = ' |
default = 'Padlock-olive.svg', |
||
}, |
}, |
||
autoreview = { |
autoreview = { |
||
autoconfirmed = 'Padlock-silver-light.svg', |
|||
default = 'Padlock-orange.svg' |
|||
}, |
}, |
||
upload = { |
upload = { |
||
default = ' |
default = 'Padlock-purple.svg' |
||
} |
} |
||
}, |
}, |
||
Line 609: | Line 629: | ||
imageLinks = { |
imageLinks = { |
||
edit = { |
edit = { |
||
default = ' |
default = 'Wikipédia:Página protegida#full', |
||
templateeditor = ' |
templateeditor = 'Wikipédia:Página protegida#template', |
||
extendedconfirmed = ' |
extendedconfirmed = 'Wikipédia:Página protegida#extended', |
||
autoconfirmed = ' |
autoconfirmed = 'Wikipédia:Página protegida#semi' |
||
}, |
}, |
||
move = { |
move = { |
||
default = ' |
default = 'Wikipédia:Página protegida#move' |
||
}, |
}, |
||
autoreview = { |
autoreview = { |
||
autoconfirmed = 'Wikipédia:Página protegida#pc1', |
|||
default = 'Wikipedia:Protection policy#pending' |
|||
reviewer = 'Wikipédia:Página protegida#pc2' |
|||
}, |
}, |
||
upload = { |
upload = { |
||
default = ' |
default = 'Wikipédia:Página protegida#upload' |
||
} |
} |
||
}, |
}, |
||
Line 732: | Line 753: | ||
protectionCategories = { |
protectionCategories = { |
||
['all|all|all|all|all'] = ' |
['all|all|all|all|all'] = '!Páginas protegidas', |
||
['all|all|office|all|all'] = ' |
['all|all|office|all|all'] = '!Páginas protegidas pela Wikimedia', |
||
['all|all|reset|all|all'] = ' |
['all|all|reset|all|all'] = '!Páginas protegidas pela Wikimedia', |
||
['all|all|dmca|all|all'] = ' |
['all|all|dmca|all|all'] = '!Páginas protegidas pela Wikimedia', |
||
['all|all|mainpage|all|all'] = ' |
['all|all|mainpage|all|all'] = '!Ficheiros da página principal totalmente protegidos', |
||
['all| |
['all|template|all|all|edit'] = '!Predefinições protegidas', |
||
['all|all| |
['all|all|all|autoconfirmed|edit'] = '!Páginas semiprotegidas', |
||
[' |
['indef|all|all|autoconfirmed|edit'] = '!Páginas indefinidamente semiprotegidas', |
||
['all|all| |
['all|all|blp|autoconfirmed|edit'] = '!Artigos biográficos de pessoas vivas indefinidamente semiprotegidos', |
||
[' |
['temp|all|blp|autoconfirmed|edit'] = '!Artigos biográficos de pessoas vivas temporariamente semiprotegidos', |
||
['all|all| |
['all|all|dispute|autoconfirmed|edit'] = '!Páginas semiprotegidas por causa de disputa', |
||
[' |
['all|all|sock|autoconfirmed|edit'] = '!Páginas semiprotegidas de usuários banidos', |
||
['all|all| |
['all|all|vandalism|autoconfirmed|edit'] = '!Páginas semiprotegidas por causa de vandalismo', |
||
['all|all |
['all|category|all|autoconfirmed|edit'] = '!Categorias semiprotegidas', |
||
['all|all |
['all|file|all|autoconfirmed|edit'] = '!Ficheiros semiprotegidos', |
||
['all| |
['all|portal|all|autoconfirmed|edit'] = '!Portais semiprotegidos', |
||
['all| |
['all|project|all|autoconfirmed|edit'] = '!Páginas do domínio Wikipédia semiprotegidas', |
||
['all| |
['all|talk|all|autoconfirmed|edit'] = '!Páginas de discussão semiprotegidas', |
||
['all| |
['all|template|all|autoconfirmed|edit'] = '!Predefinições semiprotegidas', |
||
['all| |
['all|user|all|autoconfirmed|edit'] = '!Páginas de usuário e páginas de discussão de usuários semiprotegidas', |
||
['all|template|all| |
['all|template|all|templateeditor|edit'] = '!Predefinições protegidas por predefinição', |
||
['all |
['all|all|blp|sysop|edit'] = '!Artigos biográficos de pessoas vivas indefinidamente protegidos', |
||
['temp|all|blp|sysop|edit'] = '!Artigos biográficos de pessoas vivas temporariamente protegidos', |
|||
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates', |
|||
['all|all| |
['all|all|dispute|sysop|edit'] = '!Páginas protegidas por causa de disputa', |
||
[' |
['all|all|sock|sysop|edit'] = '!Páginas protegidas de usuários banidos', |
||
['all|all| |
['all|all|vandalism|sysop|edit'] = '!Páginas protegidas por causa de vandalismo', |
||
['all|all |
['all|category|all|sysop|edit'] = '!Categorias protegidas', |
||
['all| |
['all|file|all|sysop|edit'] = '!Ficheiros totalmente protegidos', |
||
['all| |
['all|project|all|sysop|edit'] = '!Páginas do domínio Wikipédia totalmente protegidas', |
||
['all| |
['all|talk|all|sysop|edit'] = '!Páginas de discussão totalmente protegidas', |
||
['all| |
['all|template|all|sysop|edit'] = '!Predefinições totalmente protegidas', |
||
['all| |
['all|user|all|sysop|edit'] = '!Páginas de usuário e páginas de discussão de usuários protegidas', |
||
['all| |
['all|module|all|all|edit'] = '!Módulos totalmente protegidos', |
||
['all| |
['all|module|all|templateeditor|edit'] = '!Módulos protegidos por predefinição', |
||
['all|module|all| |
['all|module|all|autoconfirmed|edit'] = '!Módulos semiprotegidos', |
||
['all| |
['all|all|all|sysop|move'] = '!Páginas protegidas contra moção', |
||
['all |
['indef|all|all|sysop|move'] = '!Páginas protegidas indefinidamente contra moção', |
||
['all|all| |
['all|all|dispute|sysop|move'] = '!Páginas protegidas contra moção por causa de disputa', |
||
[' |
['all|all|vandalism|sysop|move'] = '!Páginas protegidas contra moção por causa de vandalismo', |
||
['all|all |
['all|portal|all|sysop|move'] = '!Portais protegidos contra moção', |
||
['all| |
['all|project|all|sysop|move'] = '!Páginas do domínio Wikipédia protegidas contra moção', |
||
['all| |
['all|talk|all|sysop|move'] = '!Páginas de discussão protegidas contra moção', |
||
['all| |
['all|template|all|sysop|move'] = '!Predefinições protegidas contra moção', |
||
['all| |
['all|user|all|sysop|move'] = '!Páginas de usuário e páginas de discussão de usuários protegidas contra moção', |
||
['all| |
['all|file|all|all|upload'] = '!Ficheiros protegidos contra carregamento', |
||
['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 846: | Line 863: | ||
hierarchy = { |
hierarchy = { |
||
sysop = {}, |
sysop = {}, |
||
⚫ | |||
reviewer = {'sysop'}, |
reviewer = {'sysop'}, |
||
⚫ | |||
⚫ | |||
templateeditor = {'sysop'}, |
|||
extendedconfirmed = {'sysop'}, |
|||
⚫ | |||
user = {'autoconfirmed'}, |
user = {'autoconfirmed'}, |
||
['*'] = {'user'} |
['*'] = {'user'} |
||
Line 873: | Line 888: | ||
wrappers = { |
wrappers = { |
||
['Template:Pp'] = {}, |
['Template:Pp'] = {}, |
||
['Template:Pp-extended'] = {'ecp'}, |
|||
['Template:Pp-blp'] = {'blp'}, |
['Template:Pp-blp'] = {'blp'}, |
||
-- we don't need Template:Pp-create |
-- we don't need Template:Pp-create |
||
Line 884: | Line 898: | ||
['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 912: | Line 924: | ||
-- 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} até ${EXPIRY}.', |
||
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.', |
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.', |
||
['intro-fragment-expiry'] = '${PROTECTIONBLURB} |
['intro-fragment-expiry'] = '${PROTECTIONBLURB} até ${EXPIRY},', |
||
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', |
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}', |
||
Line 925: | Line 937: | ||
-- 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'] = 'Esta ${PAGETYPE} está ${PROTECTIONLEVEL} até ${EXPIRY}.', |
||
['tooltip-blurb-noexpiry'] = ' |
['tooltip-blurb-noexpiry'] = 'Este ${PAGETYPE} está ${PROTECTIONLEVEL}.', |
||
['tooltip-fragment-expiry'] = ' |
['tooltip-fragment-expiry'] = 'Este ${PAGETYPE} está ${PROTECTIONLEVEL} até ${EXPIRY},', |
||
['tooltip-fragment-noexpiry'] = ' |
['tooltip-fragment-noexpiry'] = 'Este ${PAGETYPE} está ${PROTECTIONLEVEL}', |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 937: | Line 949: | ||
-- 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'] = 'Veja a [[Wikipédia:Página protegida|' |
||
.. ' |
.. 'política de proteção]] e ${PROTECTIONLOG} for more details.' |
||
.. ' |
.. ' Por favor discuta quaisquer mudanças na ${TALKPAGE}; poderá' |
||
.. ' |
.. ' ${EDITREQUEST} para pedir que um' |
||
.. ' [[ |
.. ' [[Wikipédia:Administradores|administrador]] para efetuar uma edição' |
||
.. ' |
.. ' que seja [[Ajuda:Edição menor#Quando marcar uma edição como menor' |
||
.. '| |
.. '|não controversa]] or supported by [[Wikipédia:Consenso' |
||
.. '| |
.. '|consenso]].', |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 990: | Line 1,002: | ||
-- 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'] = 'j "de" F "de" Y', |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
Line 1,005: | Line 1,017: | ||
-- 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'] = 'Padlock.svg', |
||
['image-filename-default'] = 'Transparent.gif', |
['image-filename-default'] = 'Transparent.gif', |
||