Last modified: 2007-10-02 18:10:37 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 T13534, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11534 - rvendid doesn't work
rvendid doesn't work
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-02 13:01 UTC by Carl Fürstenberg
Modified: 2007-10-02 18:10 UTC (History)
1 user (show)

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


Attachments

Description Carl Fürstenberg 2007-10-02 13:01:53 UTC
For example, following query, it shouldn't show the latest revision in the result if it would work as I think it should work: http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Moravian%20Cemetery,%20Staten%20Island&rvendid=155640991
Comment 2 Carl Fürstenberg 2007-10-02 16:56:53 UTC
r26315 seems not to have fixed it, or at least backwards, now rvendid seems to work as rvstartid, and rvstartid works as rvendid, or is it some backward logic here I've failed to understand?
Comment 3 Carl Fürstenberg 2007-10-02 17:06:28 UTC
If my logic, creating queries, are wrong, perhaps you can enlighten me, this was only a part of the query I want to use, the original is http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Moravian%20Cemetery,%20Staten%20Island&rvlimit=1&rvendid=155640991&rvuser=Arbus%20Driver
I want to grab the latest revision, if any, that is made by a specific user with an revid of specified or lower (defined in my script by current revid minus one).
Comment 4 Roan Kattouw 2007-10-02 18:10:37 UTC
The logic is present. If you have rvdir=older, revisions 1-5 will be listed in the order 5, 4, 3, 2, 1. If you want that list to END at 3, that means 5, 4, 3. What you want is 3, 2, 1, a list STARTing at 3. Of course you can also reverse the order (rvdir=newer), which will give you 1, 2, 3, 4, 5; 1, 2, 3 and 3, 4, 5 respectively.

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


Navigation
Links