Page MenuHomePhabricator

API/query: "rvrevids" error thrown for no good reason
Closed, ResolvedPublic

Description

Author: gutza

Description:
After a software update which occurred some time around 2007-11-30 16:47:40 UTC on the Romanian Wikipedia, accessing the URL associated with this bug (and all similar queries involving other revision IDs) results in the following error:

The revids= parameter may not be used with the list options (limit, startid, endid, dirNewer, start, end).

This used to work properly before the update, and I see no reason for the error since I'm not using any of those list options.

Unfortunately I don't know where to look for the MediaWiki version we're running, but I'm sure you can easily determine that. This prevents me from properly running an anti-vandalism tool which is used by 20 users on the Romanian Wikipedia.

If this is not actually a bug, then please let me know how I can use the new version of the API to retrieve that data. In case it's not obvious what I'm trying to do, I'm trying to read the timestamp and user for a specific revision of an article.

Thank you!


Version: unspecified
Severity: normal
URL: http://ro.wikipedia.org/w/api.php?action=query&revids=1571400&prop=revisions&rvprop=timestamp|user

Details

Reference
bz12177

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:00 PM
bzimport set Reference to bz12177.
bzimport added a subscriber: Unknown Object (MLST).

I noticed this already and fixed it in r28015, but it hasn't gone live yet. I've tried annoying people on IRC, but in the weekend people with access to the live servers (most notably Brion and Tim Starling) aren't on line. This should be fixed by Monday.

ais523 wrote:

(In reply to comment #1)

I noticed this already and fixed it in r28015, but it hasn't gone live yet.
I've tried annoying people on IRC, but in the weekend people with access to the
live servers (most notably Brion and Tim Starling) aren't on line. This should
be fixed by Monday.

The revision ID appears to be wrong (that's a change to the Translate extension); what is the correct ID?

(In reply to comment #2)

The revision ID appears to be wrong (that's a change to the Translate
extension); what is the correct ID?

r28025, sorry, not r28015. It's already live, though.