In the method PageList.FillFromCustomBotQueryList() when trying to retrieve all pages from a given namespace, if limit request is over 500, limit is set to 500 by code, then a paging mechanism is implemented.
I don't know if the bug is in the code or in the MediaWiki API (I'm using version 1.18.2) but in my case I know I should get 1200 pages. If I set my limit to 2000 for instance, I have 2000 results, and some of them being retrieved several times.
Actually in this case the method retrieves the 500 first 4 times and places them in the PageList collection.
Log in to post a comment.