In Pywikibot's file, use symlink instead of a copy for Wikimedia Toolforge users

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

Thanks to work in Google Code-in, Pywikibot now has a script called It downloads a Wikimedia database dump from , and places the dump in a predicable directory for semi-automated use by other scripts and tests.

We shouldn't use copyfile for Toolforge users, but create a symlink to the file that already exists.

You are expected to provide a patch in Wikimedia Gerrit. See for how to set up Git and Gerrit.

Task tags

  • python

Students who completed this task

David Sn

Task type

  • code Code