Specify revid on action=parse
Closed, ResolvedPublic


Currently, the API can take a page name or raw wikitext to run through action=parse. When using a page name, it might be helpful to specify an oldid/revid.

Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/w/api.php?action=parse&page=Test&format=xml&revid=1

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 10:07 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz13544.
demon created this task.Via LegacyMar 28 2008, 12:54 PM
Catrope added a comment.Via ConduitMar 28 2008, 1:28 PM

Fixed in r32541.

demon added a comment.Via ConduitApr 8 2008, 3:22 PM

I was just looking back over this, and it's not quite what I was asking for. We added the ability to return the revID of a page, but we're not able to specify an old TO parse. For example, the current revID of [[w:Test]] is 204141151. If I wanted to parse the original version of the page (id: 11659), there is no way to do so. I guess I'm saying being able to specify a revID /instead/ of a page title, so we can allow parsing of old versions.

Catrope added a comment.Via ConduitApr 8 2008, 4:35 PM

OK, will do this.

Catrope added a comment.Via ConduitApr 10 2008, 10:52 AM

(In reply to comment #3)

OK, will do this.

Done in r33069

Add Comment