Wikimedia
In Pywikibot's imagecopy.py file, convert the script to use the "requests" package
Pywikibot is a Python-based framework to write bots for MediaWiki (more information).
The file imagecopy.py
uses urllib/urllib2.urlopen
. It should use requests
.
See https://phabricator.wikimedia.org/T68102 for more general information and background!
You are expected to provide a patch in Wikimedia Gerrit. Documentation on Gerrit is available.
Task tags
Students who completed this task
Rafid Aslam