Page MenuHomePhabricator

VisualEditor: Scrolling for &vesection=N works correctly except for N=0, where it scrolls to the bottom of the document
Closed, ResolvedPublic


When a page is opened in the wikitext editor with section=0, the top of the page is presented for editing The is the desired and expected behavior:

However, VisualEditor does not do this when vesection=0 is opened up for editing. The cursor is placed at the top of the page, but the screen scrolls down to the bottom of the page. The expected behavior is that the scree stay at the top of the window:

This does not occur when using section=0:

This is particularly important to the Russian Wikipedia, where they regularly use edit&section=0 links and it's easy to wind up with vesection=0.

Here's the report on my ru.wp talk page, with ru.wp links:

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:14 AM
bzimport set Reference to bz66674.

Change 141977 had a related patch set uploaded by Esanders:
Don't try to change offset for vesection=0

Change 141977 merged by jenkins-bot:
Don't try to change offset for vesection=0