GSoC/GCI Archive
Google Code-in 2014 Wikimedia Foundation

pywikibot: replace custom isbn processing with external package

completed by: murfel

mentors: Fabian, John Vandenberg

Pywikibot is a Python-based framework to write bots for MediaWiki. See https://www.mediawiki.org/wiki/Manual:Pywikibot for more information. Patches can be submitted via Gerrit (you need a MediaWiki.org account). More documentation on Gerrit can be found at https://www.mediawiki.org/wiki/Manual:Pywikibot/Gerrit. After you have successfully claimed this task in Google Melange please do use the task in Phabricator for communication instead of Google Melange. This allows more PWB developers to be reached! General development questions can be asked on the Pywikibot mailing list at https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l and the #pywikibot IRC channel (seehttps://www.mediawiki.org/wiki/MediaWiki_on_IRC).

Pywikibot includes a script/bot called isbn.py that reports and fixes invalid ISBN numbers, and converts ISBN10 to ISBN13.  It includes data in the script to validate ISBNs, however the data is no longer current.  The data needs to be removed and the script altered to use one of the ISBN packages available on pypi.  There are existing tests which can be run to verify that the modified script works correctly.

The Phabricator task is https://phabricator.wikimedia.org/T85240 .

Students are required to read Wikimedia's general instructions at https://www.mediawiki.org/wiki/Google_Code-in_2014#Instructions_for_GCI_students first.


Always refer to https://www.mediawiki.org/wiki/Google_Code-in_2014#Instructions_for_GCI_students for general information and phabricator.wikimedia.org for information on specific tasks.