Page MenuHomePhabricator

Closing the editor after editing a section returns to the wrong section on English Wikipedia
Closed, ResolvedPublic

Description

Closing the editor after editing a section returns to the wrong section on English Wikipedia.

Example:

Event Timeline

This is caused by the "edittop" gadget ("Add an [edit] link for the lead section of a page") – it adds "edit"/"edit source" links to the main title of the page, which cause us to miscount sections.

Change 602723 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] When returning to section, avoid counting sections outside the content

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

Change 602723 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] When returning to section, avoid counting sections outside the content

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