Wikimedia

Add a prefix in the imagecopy.py Pywikibot script

Pywikibot is a Python-based framework to write bots for MediaWiki (more information).

You need to add the https:// prefix in the webbrowser.open() function in open_in_browser() in the file scripts/imagecopy.py.

You are expected to provide a patch in Wikimedia Gerrit. Documentation on Gerrit is available.

Task tags

  • python
  • pywikibot

Students who completed this task

Yifei He

Task type

  • code Code
close

2017