Page MenuHomePhabricator

Parsoid / Web service: add oldid support to the web service to support retrieval of old revisions
Closed, ResolvedPublic

Description


Version: unspecified
Severity: enhancement

Details

Reference
bz37914

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:25 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz37914.

https://gerrit.wikimedia.org/r/17829

That should do it for now, but if I've missed part of the problem here, I can easily do something more.

Basically, anywhere there's a TemplateRequest, I've checked for an oldid query string parameter, and used it in the relevant API call. This only happens in GET requests right now, and it might not necessarily get the old versions of templates, etc., that were in use at the time. I can change both of those things, I think, with some small pointers to where the changes are necessary.

Mass-moving bugs into the new 'Parsoid' product.

Works nicely for GET requests, and should also be used by the VE for POST requests. We don't use the oldid on POST yet, but will likely do so in the future for reconciliation and possibly retrieval of rt info.