Page MenuHomePhabricator

API action=rollback success message property 'revid' incorrect from replication
Closed, ResolvedPublic

Description

Author: herd

Description:
On a successful action=rollback, for example:

{
"rollback": {

		"title": "User:Sannse",
		"pageid": 32853,
		"summary": "Reverted edits by [[Special:Contributions\/Sir Lestaty de Lioncourt|Sir Lestaty de Lioncourt]] ([[User talk:Sir Lestaty de Lioncourt|Talk]]) to last revision by [[User:90.207.210.188|90.207.210.188]]",
		"revid": 75235,
		"old_revid": 75235,
		"last_revid": 75233

}
}

On setups with master/slave replication, the "revid" and "old_revid" invariably appear to show as the same number.


Version: 1.16.x
Severity: trivial

Details

Reference
bz19313

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:37 PM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz19313.

Fixed in r52234.