Last modified: 2013-10-23 18:17:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37980, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35980 - drcontinue parameter seems to not work
drcontinue parameter seems to not work
Status: RESOLVED DUPLICATE of bug 32385
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.18.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-14 22:56 UTC by Григор Гачев
Modified: 2013-10-23 18:17 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Григор Гачев 2012-04-14 22:56:48 UTC
After querying the deleted revisions for namespace 0 and some limit (tested with 10, 20 and 30), a drcontinue is also returned. After specifying it to continue, however, again the initial set of results (and the same drcontinue) are returned.

Repeated on 2 different wikis, one of them hosted by me.

Exchange dump (cut to save space):

Sent: Array
(
    [format] => php
    [maxlag] => 5
    [drnamespace] => 0
    [drlimit] => 30
    [list] => deletedrevs
    [action] => query
)

Received: Array
(
   [query] => Array
        (
            [deletedrevs] => Array
                (
 (--snip 30 results--)
                )
    [query-continue] => Array
        (
            [deletedrevs] => Array
                (
                    [drcontinue] => 0|Data Entry Jobs Winnipeg Manitoba - film jobs in prague|20120304135046
                )

        )

)

Sent: Array
(
    [format] => php
    [maxlag] => 5
    [drnamespace] => 0
    [drlimit] => 30
    [drcontinue] => 0|Data Entry Jobs Winnipeg Manitoba - film jobs in prague|20120304135046
    [list] => deletedrevs
    [action] => query
)

Received: Array
(
   [query] => Array
        (
            [deletedrevs] => Array
                (
 (--snip 30 results (exactly the same ones as above)--)
                )
    [query-continue] => Array
        (
            [deletedrevs] => Array
                (
                    [drcontinue] => 0|Data Entry Jobs Winnipeg Manitoba - film jobs in prague|20120304135046
                )

        )

)

and so on, until I stop the bot manually.
Comment 1 Brad Jorsch 2012-06-02 07:52:40 UTC
Confirmed this bug; the problem seems to be that in "all" mode (mode #3 in the API help) it assumes drdir=newer when ordering while trying to honor it correctly in drcontinue.

A fix is in Gerrit change #9711.
Comment 2 Brad Jorsch 2012-06-02 13:49:38 UTC
I just noticed bug 32385 is about the same underlying problem. Perhaps one should be marked as a duplicate of the other. Either way, mentioning it here for tracking.
Comment 3 Arthur Richards 2012-07-07 00:36:17 UTC

*** This bug has been marked as a duplicate of bug 32385 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links