Page MenuHomePhabricator

Editor jumps on top of the page when using VisualEditor
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce: go to a random itwiki page, click the [Edit] link (not [Edit source])

Actual Results: the editor jump up to the top of the page. The automatic summary doesn't display the section title (in the format /* Section title */) as it did before.

Expected Results: the editor should stay on the section in which the user has pressed "Edit"

Event Timeline

Change 585029 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Fix issues with treating section "numbers" as integers

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

Change 585029 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Fix issues with treating section "numbers" as integers

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

Change 585554 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@wmf/1.35.0-wmf.26] Fix issues with treating section "numbers" as integers

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

Change 585554 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@wmf/1.35.0-wmf.26] Fix issues with treating section "numbers" as integers

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

Mentioned in SAL (#wikimedia-operations) [2020-04-02T18:22:08Z] <urbanecm@deploy1001> Synchronized php-1.35.0-wmf.26/extensions/VisualEditor/modules/ve-mw: SWAT: 94ded03: Fix issues with treating section "numbers" as integers (T248795; T248968; T249112) (duration: 01m 10s)

matmarex moved this task from Code Review to QA on the Editing-team (Q3 2019-2020 Kanban Board) board.

The bug affects wmf.25 and wmf.26. I only backported it to wmf.26, because the patch did not cherry-pick cleanly to wmf.25, and I didn't want to make last-minute changes to it. wmf.26 should be deployed everywhere in a few hours.

I can confirm the issue is not present with the current version of MediaWiki software on itwiki.