Page MenuHomePhabricator

URL in address bar is wrong after pressing back from section edit link
Closed, ResolvedPublic

Description

  1. Open a page on a single-edit-tab wiki, e.g. https://ca.wikipedia.org/wiki/Al%C3%A8xia_Putellas_i_Segura
  2. Click on a section [edit] link
  3. Observe the address bar URL as updated to action=edit
  4. Press browser back.

Observed

  1. The editor closed but the URL is still action=edit

Expected

  1. The editor closed and the URL is back to the original reading URL

Event Timeline

Change 828516 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Fix broken history management in onEditSectionLinkClick

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

Change 828516 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Fix broken history management in onEditSectionLinkClick

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

While testing the fix, I noticed that using browser forward (or back) to re-enter the editor after leaving it is also not working (in single edit tab mode).

While testing the fix, I noticed that using browser forward (or back) to re-enter the editor after leaving it is also not working (in single edit tab mode).

Filed as T316869

ppelberg claimed this task.

Test wiki on Patch demo by ESanders (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/9cf456b71a/w/