Manual:Pywikibot



 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


 * Learn how to  Pywikibot

 Writing a bot
 * Discover  for Pywikibot


 * Learn how to 


 * Discover the [https://doc.wikimedia.org/pywikibot/ docs at wikimedia.org]

 Developing Pywikibot
 * Learn how to 


 * Learn how to  to Pywikibot


 * Discover the diffusion>phab:diffusion/PWBC/|source code on Diffusion ([https://github.com/wikimedia/pywikibot GitHub mirror], [https://codesearch.wmflabs.org/pywikibot/ Codesearch tool])


 * List phab>phab:project/view/87/|bugs for Pywikibot


 * Learn how to twn>translatewiki:Translating:Pywikibot|translate Pywikibot

 <div class="mainpage_box"> Get help


 * Use the for quick questions


 * Sign up to the mail>mail:pywikibot</>|main mailing list for asking complex questions or sharing information

<div class="mainpage_box"> See also
 * Get more help on
 * py2>phab:T242120</>|Python 2 to Python 3 migration support

<div class="mainpage_box"> News
 * Help:Creating a bot
 * mwparserfromhell (wikicode parser written in Python)
 * 2020-04
 * Python 2 support of Pywikibot will be phab>phab:T213287</>|dropped


 * 2020-04-18
 * Python <tvar|27>2.7.18</> is the last final Python 2 release


 * 2020-04-05
 * A new stable Pywikibot release <tvar|30> </> is available. It is marked with <tvar|stable> </> tag and <tvar|python2> </> tag.


 * 2020-01-01
 * Python 2 has reached it's end of life