Closing the editor after editing a section returns to the wrong section on English Wikipedia.
Example:
- Visit https://en.wikipedia.org/wiki/Animism
- Click "edit" next to "Social evolutionist conceptions"
- Press Escape to close the editor
Closing the editor after editing a section returns to the wrong section on English Wikipedia.
Example:
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
Change 602723 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] When returning to section, avoid counting sections outside the content