Last modified: 2014-07-28 02:23:26 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 T70690, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68690 - rvdiffto doesn't return diff to a given revid
rvdiffto doesn't return diff to a given revid
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-27 21:15 UTC by Peter Bena
Modified: 2014-07-28 02:23 UTC (History)
4 users (show)

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


Attachments

Comment 1 Brad Jorsch 2014-07-27 23:22:57 UTC
[[Michael Swann]] does not have any revisions before 35623836, so rvstartid=7560 with the default rvdir=older is causing prop=revisions to return no revisions. That's why you're getting no diffs.

If you do something like https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=ids|user|timestamp|comment&rvtoken=rollback&revids=7560&rvdiffto=5732 (to actually query by rev_id) or https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=ids|user|timestamp|comment&rvlimit=1&rvtoken=rollback&rvdiffto=5732&titles=Michael%20Swann (to query revisions of Michael Swann that actually exist), it works as expected.

FYI, revision 7560 belongs to [[Lars Onsager]], and revision 5732 belongs to [[Newcastle Brown Ale]]. So it makes little sense to be trying to diff them with each other or with revisions of [[Michael Swann]].

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


Navigation
Links