https://bugzilla.wikimedia.org/show_bug.cgi?id=68694
Bug ID: 68694
Summary: category add breaks when adding category to redirect
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: category.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
(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/c471da5bfbfc12898c2…
http://git.wikimedia.org/commit/pywikibot%2Fcompat.git/94ee284da270e0760b5e…
I couldnt see any other use of 'args[0]' in core or compat that is the same
bug.
--
You are receiving this mail because:
You are the assignee for the bug.