Wikimedia

Pywikibot: replaceCategoryLinks should not fail on de-wiki when page contains {{Personendaten}}

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

Currently the script pywikibot/textlib.py stops when it meet a {{Personendaten}} in a page. It should not stop, but just shows an error with pywikibot.error() and continue with the next page.

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