Patches item #3055992, was opened at 2010-08-30 13:50 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3055992...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None
Status: Closed Resolution: Accepted
Priority: 5 Private: No Submitted By: romain (romainhk)
Assigned to: xqt (xqt)
Summary: getting categories via API
Initial Comment: Method page.categories(api=True) didn't get enough results for pages with a lot of categories (for example on WP:en, with Talk:U2 or Talk:Unification of Germany, you only get the 10 first).
In fact, it's just an indentation error on the return in wikipedia.py at line 2247, which prevent the loop to get all of them.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-09-07 21:53
Message: done in r8491. thanks
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3055992...
pywikipedia-bugs@lists.wikimedia.org