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: [email protected]
          Reporter: [email protected]
       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/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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to