Bugfix for #3158464 "category.py add crashes on redirect"
Bugfix for #3158464 "category.py add crashes on redirect"

Patch for the rewrite branch and backport to trunk.

Bug was introduced in r8493 when splitting off 'category.py add' into a
separate class. This patch resolves the bug.

Created during the Amsterdam Hackathon.

azatoth/pywikipedia