Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#93 Bug in PageList.FillFromCustomBotQueryList Method

closed-invalid
nobody
None
5
2012-12-06
2012-10-05
Calendau GUQUET
No

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.

Discussion

    • summary: Bug in PageList Method --> Bug in PageList.FillFromCustomBotQueryList Method
     
  • CodeDriller
    CodeDriller
    2012-12-06

    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.

     
  • CodeDriller
    CodeDriller
    2012-12-06

    • status: open --> closed-invalid