Manual:Pywikibot
Outdated translations are marked like this.
O Pywikibot, é uma biblioteca Python e uma coleção de scripts que automatizam o trabalho em sites do MediaWiki. Originalmente projetado para a Wikipedia, agora é usado em todos os projetos da Fundação Wikimedia e em muitos outros wikis.
![Pywikibot logo](http://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Pywikibot_MW_gear_icon.svg/160px-Pywikibot_MW_gear_icon.svg.png)
Rodando um bot
![Decorative - picture of three toy robots](http://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Sanko_Seisakusyo_%28%E4%B8%89%E5%B9%B8%E8%A3%BD%E4%BD%9C%E6%89%80%29_%E2%80%93_Tin_Wind_Up_%E2%80%93_Tiny_Sparkling_Robo_%E2%80%93_Front.jpg/107px-Sanko_Seisakusyo_%28%E4%B8%89%E5%B9%B8%E8%A3%BD%E4%BD%9C%E6%89%80%29_%E2%80%93_Tin_Wind_Up_%E2%80%93_Tiny_Sparkling_Robo_%E2%80%93_Front.jpg)
- O que é Pywikibot?
- Aprenda como instalar e configurar o Pywikibot
- Descubra os scripts existentes para Pywikibot
Escrevendo um bot
![](http://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Sv-cursive-capital-letter-B-1.jpg/44px-Sv-cursive-capital-letter-B-1.jpg)
![](http://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Sv-cursive-small-letter-o.jpg/52px-Sv-cursive-small-letter-o.jpg)
![](http://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Sv-cursive-small-letter-t.jpg/44px-Sv-cursive-small-letter-t.jpg)
![](http://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Sv-cursive-small-letter-s.jpg/34px-Sv-cursive-small-letter-s.jpg)
- Aprenda a escrever um script básico
- Leia a documentação em [$docs doc.wikimedia.org]
- Aprenda a interagir com o Wikidata
- Take ideas from Pywikibot Cookbook
Desenvolvendo Pywikibot
![Decorative - board filled with post-its](http://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Wikimedia_Hackathon_2013%2C_Amsterdam_-_Flickr_-_Sebastiaan_ter_Burg_%2822%29.jpg/120px-Wikimedia_Hackathon_2013%2C_Amsterdam_-_Flickr_-_Sebastiaan_ter_Burg_%2822%29.jpg)
- Aprenda como contribuir para Pywikibot
- Descubra o código-fonte na Gerrit (espelho GitHub, Espelho de difusão, ferramenta de pesquisa de códigos)
- Lista de erros do Pywikibot
- Aprender como traduzir o Pywikibot
Obter ajuda
- Utilize o canal do IRC #pywikibot connect para perguntas rápidas
- Inscreva-se na lista de discussão principal para fazer perguntas complexas ou compartilhar informações
- Obtenha mais ajuda nos outros canais de suporte
- Suporte de migração do Python 2 para o Python 3
- Compatibilidade com Pywikibot para suporte à migração principal
Ver também
- Pywikibot compatibility with Python and MediaWiki
- Wikipédia:Como criar um bot
- mwparserfromhell (analisador de código wiki escrito em Python)
- Outros bots em Python
- Pywikibot workshop materials
Notícias
A new stable release 9.2.1 has been deployed. It is marked with
stable
tag.A new stable release 9.2.0 has been deployed.
Python 3.12.4 final release is available.
A new stable release 9.1.3 has been deployed.
A new stable release 9.1.2 has been deployed.
A new stable release 9.1.1 has been deployed.
A new stable release 9.1.0 has been deployed.
Python 3.12.3 final release is available.
Python 3.11.9 final release is available.
Pywikibot 9 has been deployed. With Pywikibot 9 a lot of deprecations has been dropped. Pywikibot does not support Python 3.6 any longer (T347026)