Política de robô
| The following page is a translation of cross-project policy into Portuguese language. Please note that in the event of any differences in meaning or interpretation between the original English version of this document and a translation, the original English version takes precedence. This page has been developed and approved by the community and its compliance is mandatory for all users. It must not be modified without prior community approval. |
This page is also policy on Meta, including automatic approval and global bots. To request bot access on Meta, please go to Meta:Requests for adminship#Requests for bot flags.

Bots are automated or semi-automated processes that edit pages with reduced or no direct human supervision. Because bots may potentially strain server resources or disrupt the project, bots must follow the policy and guidelines outlined below. The policy outlines the way bots may be used on applicable projects; bots which do not follow the policy may be blocked immediately until the operator has resolved any issues or non-compliance.
Política
Conta robô
A bot must be run using a separate account from the operator, as no human editor should be granted a bot flag. Its user page should clearly and visibly denote it as a bot to distinguish it from human editors, and operators must be available to answer any comments themselves. No user is permitted to make use of automated answering scripts. Some operators may choose to redirect the bot's talk page to their own, if their bot is not configured to detect messages.
Autorização
There are three ways to obtain bot access on a wiki.
Robôs globais
Global bots are given access on all wikis that allow global bots. As of November 12, 2022 and as a result of this RFC, newly created content wikis will have global bot access enabled by default. Local projects can decide to opt-in or opt-out at any time through community consensus (see list). Operators applying for a global bot flag must meet the following requirements:
- The bot operator must start a discussion that will last for 2 weeks at Steward requests/Bot status#Global bot status requests;
- The discussion will be publicized via MassMessage (New global bot discussion), where interested community members and wikis can be subscribed;
- The bot operator must demonstrate the bot task is welcomed on multiple Wikimedia projects. A good way to show it is to be flagged on 5 or more wikis for a single task;
- The operator should make sure to adhere to the wiki's preference as related to the use of the bot flag.
- The global bot status gives the bot access to a restricted number of projects and wikis that allow global bot access. New wikis are added to this set by default. An exhaustive list of wikis that are not included is available. (You can request local bot flags on projects where global bots are not allowed.)
Aprovação automática
- isto deve ser permitido pelas políticas locais de robôs ou pela página de pedidos;
- o robô deve editar regularmente sem um sinalizador de robô por pelo menos uma semana ou efetuar 100 edições nas wikis aplicáveis para propósitos de demonstração;
- o robô só deve manter corrigir duplos redirecionamentos.
Consenso da comunidade
Otherwise if there is a local community interested in processing bot applications, bots must obtain community approval on the most relevant local discussion page before editing without a bot flag at high speeds or without human supervision. Once there is consensus, a local bureaucrat will add the flag, or a steward may be requested to do so.
Utilização inaceitável
- Alterações controversas: os robôs podem ser utilizados para efetuar edições mais prováveis de serem apoiadas por outros editores locais; eles nunca deveriam ser utilizados para efetuar edições controversas. Se pretende expandir o escopo do robô além do que foi apoiado pela comunidade, informe na página de discussão relevante para assegurar que não há oposição. Se o seu sinalizador de robô foi concedido por aprovação automática, você não deve exceder os limites descritos em "'Aprovação Automática'".
- Data retrieval: Bots may not be used to retrieve bulk content for any use not directly related to an approved bot task. This includes dynamically loading pages from another website, which may result in the website being blacklisted and permanently denied access. If you would like to download bulk content or mirror a project, please do so by downloading or hosting your own copy of our database.
- Correção ortográfica: nenhum robô pode corrigir automaticamente os erros ortográficos sem aprovação explícita da comunidade, particularmente no espaço nominal do conteúdo principal. Não é tecnicamente possível, na maioria dos idiomas, corrigir automaticamente os erros ortográficos sem uma margem de erro significativa.
Remoção do estado de robô global
As permissões globais do robô serão removidas:
- A pedido do operador do robô
- Se o robô é utilizado de forma persistente para realizar tarefas que estão fora do âmbito do robô global
- Se o robô for encontrado inativo, com as seguintes disposições:
- A global bot account is deemed inactive if it has not made any edits for a whole year on any project that allows global bot access.
- Before a global bot account's permissions are removed on the basis of inactivity, its operator must be notified at least on their home wiki(s) and at Meta-Wiki.
Linhas diretrizes
Nome
Although not required, the bot name should clearly contain the word "bot" in its user name to more easily distinguish it from human editors; the most common forms are derived from the operator's username (such as Pathosbot), or using disambiguation style (such as Xenophon (bot)).
Edição acelerada e horas de pico
Bots running without a bot flag should edit at intervals of over 1 minute between edits (= less than 1 edit per minute). Once they have been authorised and appropriately flagged, they should operate at an absolute minimum interval of 5 seconds (12 edits per minute). Bots should try to avoid running during the busiest hours, as they rapidly use server resources that should be reserved for human readers and editors. During these hours, they should operate at intervals of 20 seconds (3 edits per minute) to conserve resources.
Bots' editing speeds can be automatically adjusted based on server load (slave database server lag) by appending an extra parameter to the query string of each requested URL; see maxlag documentation on mediawiki.
Supervisão
Unless the bot is publicly stated to run autonomously, the operator should remain available, occasionally check for messages, and be ready to shut down the bot if it does not perform as desired or if complaints are received. If the operator is not available, the bot may be blocked until any issues are resolved.
As melhores práticas
Please read wikitech:Help:Toolforge/Developing successful tools for strong recommendations that will make life easier for you and for everyone else in the future!
Com brevidade:
- Escolher uma licença
- Publicar o código
- Have co-maintainers
- Escrever alguma documentação
Consultar também
- Robôs globais : permissão global · grupos globais (toolforge) · lista de membros · registro de alteração do grupo
- Grupos globais
- Wikis de robô global: sinopse do conjunto de wikis • registo de alterações do conjunto de wikis
- Pedido de estado de robô aos intendentes
- Sobre os robôs:
- Robô
- Robô de interwiki e Ordenação da interwiki
- Estrutura de Pywikibot (suporta qualquer instalação do MediaWiki)