PyWikibot  is a Python-based framework to write bots for MediaWiki. There are currently 2 versions of pywikibot currently used:
- version 1.0 (also known as pywikibot-compat) is the legacy version
- version 2.0 (also known as pywikibot-core) is a rewrite of the original framework, focusing solely on MediaWiki wikis with an API (version 1.14 or newer) and offering an improved internal architecture.
There are a number of scripts used by various robot operators that were used in pywikibot-compat but have not yet been adapted to work with pywikibot-core. One of those is nowcommons.py, which allows you to delete files that are also present on Wikimedia Commons on a local wiki.
You can find information about how to convert the script on , . Patches can be submited through the gerrit uploader  (you need a MediaWiki.org account). More documentation on gerrit can be found at .
Whiteboard: gci2013 https://www.mediawiki.org/wiki/Google_Code-In#Candidate_tasks