Bug in PageList.FillFromCustomBotQueryList Method
Make robots for MediaWiki-powered sites!
Brought to you by:
code_driller
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.
I was unable to reproduce that on current MediaWiki version.
Unfortunately I have no 1.18.2 instance with large enough list for
investigation. If assistance is still required, please, provide account for
your wiki for testing. You can contact me by e-mail.