Page MenuHomePhabricator

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

Description

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

Details

Reference
bz56532

Event Timeline

bzimport raised the priority of this task from to Normal.
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

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

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

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