https://bugzilla.wikimedia.org/show_bug.cgi?id=34029

       Web browser: ---
             Bug #: 34029
           Summary: Infinite loop in API blocklist
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


Querying API blocklist may result in an infinite loop if there are more blocks
in the same second than given bklimit.

Test to reproduce: try query blocklist of Hungarian Wikipedia by 5 blocks. At
2010-03-05T17:52:44Z it will get into an infinite loop because there are 7
blocks at that second (from block id 6456 to 6462).

Use ctrl F here:
https://hu.wikipedia.org/w/api.php?action=query&list=blocks&bklimit=1000

My code using Pywikipedia: http://pastebin.com/7UU0bT4f

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to