Last modified: 2014-08-05 04:22:41 UTC
(bug report extracted from https://gerrit.wikimedia.org/r/#/c/149638) category.py AddCategory attempts to find the redirect target in exception IsRedirectPage.args[0] IsRedirectError stopped having args[0] in March 2009 for core, when Exception.__init__ was overriden, and in early 2010 for compat when the core class was copied to compat https://git.wikimedia.org/blobdiff/pywikibot%2Fcore.git/c471da5bfbfc12898c289d0fd83bdd2447386159/pywikibot%2Fexceptions.py http://git.wikimedia.org/commit/pywikibot%2Fcompat.git/94ee284da270e0760b5e0ccfbe37ec96d8d79713 I couldnt see any other use of 'args[0]' in core or compat that is the same bug.
Found in compat, too.
Change 151811 had a related patch set uploaded by Ricordisamoa: backport Ibd85350cda6b511afd3b7a335abe20bd4ac0899e from core https://gerrit.wikimedia.org/r/151811
Change 151811 merged by jenkins-bot: backport Ibd85350cda6b511afd3b7a335abe20bd4ac0899e from core https://gerrit.wikimedia.org/r/151811
https://gerrit.wikimedia.org/r/149638 for core, https://gerrit.wikimedia.org/r/151811 for compat.