Page MenuHomePhabricator

VisualEditor: Saving a page should update both wgRevisionId and wgCurRevisionId
Closed, ResolvedPublic


When we open a random page, we get
wgCurRevisionId === wgRevisionId
and if we make an edit using the source editor, both variables are increased to a new Id.

On the other hand, if the edit is made using the VisualEditor, only the wgCurRevisionId is updated.

This inconsistent behavior should be fixed.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:34 AM
bzimport set Reference to bz56532.
He7d3r created this task.Nov 3 2013, 10:27 AM

Change 127441 had a related patch set uploaded by Alex Monk:
Update wgRevisionId when we change wgCurRevisionId

Change 127441 merged by jenkins-bot:
Update wgRevisionId when we change wgCurRevisionId