Menu

#469 getting categories via API

closed-accepted
xqt
None
5
2010-09-07
2010-08-30
romain
No

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.

Discussion

  • romain

    romain - 2010-08-30

    Small patch

     
  • xqt

    xqt - 2010-09-07

    done in r8491. thanks

     
  • xqt

    xqt - 2010-09-07
    • assigned_to: nobody --> xqt
    • status: open --> closed-accepted
     

Log in to post a comment.