Manual:Pywikibot
(Redirected from PWB)
Pywikibot is a Python library and collection of scripts that automate work on MediaWiki sites. Originally designed for Wikipedia, it is now used throughout the Wikimedia Foundation's projects and on many other wikis.
Running a bot
- What is Pywikibot?
- Learn how to install and configure Pywikibot
- Access existing scripts for Pywikibot
Writing a bot
- Learn how to write a basic script
- Read the documentation at doc.wikimedia.org
- Learn how to interact with Wikidata
- Take ideas from Pywikibot Cookbook
Developing Pywikibot
- Learn how to contribute to Pywikibot
- Review the source code on Gerrit (GitHub mirror, Diffusion mirror, Codesearch tool)
- List bugs for Pywikibot
- Learn how to translate Pywikibot
Get help
- Use the #pywikibot IRC channel connect for quick questions
- Sign up to the main mailing list for asking complex questions or sharing information
- Get more help on other support channels
- Python 2 to Python 3 migration support
- Pywikibot compat to core migration support
See also
- Pywikibot compatibility with Python and MediaWiki
- Help:Creating a bot
- mwparserfromhell (wikicode parser written in Python)
- Other Python bots
- Pywikibot workshop materials
News
- A new stable release 9.5.0 has been deployed. It is marked with
stable
tag. - A new pywikibot-scripts release 9.5.0 was published.
- A new stable release 9.4.1 has been deployed.
- A new pywikibot-scripts release 9.4.1 was published.
- Python 3.13.0 final release is available.
- A new stable release 9.4.0 has been deployed.
- The first pywikibot-scripts release 9.4.0 was published.
- Python 3.12.7 final release is available.
- Python 3.12.6, 3.11.10, 3.10.15, 3.9.20 and 3.8.20 final releases are available.
- A new stable release 9.3.1 has been deployed.
- A new stable release 9.3.0 has been deployed.