Last modified: 2012-04-16 09:15:54 UTC
I recently had regression tests start failing on a wikipedia API call intended to return all of the member articles of a named category. The specific test is pointed at the Progressive_Conservative_Party_of_Canada_MPs category. The exact query issued to the wikimedia servers is: http://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmlimit=100&cmprop=title&format=xml&cmtitle=Category:Progressive_Conservative_Party_of_Canada_MPs notice that the first category member returned is: <cm ns="0" title="Agar Rodney Adamson"/> The query-continue element is as follows: <query-continue> <categorymembers cmcontinue="10048701"/> </query-continue> Issuing the next query: http://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmlimit=100&cmprop=title&format=xml&cmtitle=Category:Progressive_Conservative_Party_of_Canada_MPs&cmcontinue=10048701 Notice that the first member returned is: <cm ns="0" title="Agar Rodney Adamson"/> A number of members are repeated as continue ids are followed. Additionally, a number of members that should appear are never returned. For example, the article http://en.wikipedia.org/wiki/Ross_Reid is a member of the Progressive_Conservative_Party_of_Canada_MPs category but is never returned by the API call.
*** This bug has been marked as a duplicate of bug 27965 ***
Thanks. I failed to find that in my searches. I'm glad to see it's already being handled!