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 Medium.Nov 22 2014, 2:34 AM
bzimport set Reference to bz56532.

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