Last modified: 2014-06-25 16:56:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68674, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66674 - VisualEditor: Scrolling for &vesection=N works correctly except for N=0, where it scrolls to the bottom of the document
VisualEditor: Scrolling for &vesection=N works correctly except for N=0, wher...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-06-26
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-16 17:30 UTC by Keegan Peterzell
Modified: 2014-06-25 16:56 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Keegan Peterzell 2014-06-16 17:30:33 UTC
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:

https://en.wikipedia.org/w/index.php?title=Armadillo&action=edit&section=0

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:

https://en.wikipedia.org/w/index.php?title=Armadillo&veaction=edit&vesection=0

This does not occur when using section=0:

https://en.wikipedia.org/w/index.php?title=Armadillo&veaction=edit&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:
https://ru.wikipedia.org/w/index.php?title=%D0%9E%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5_%D1%83%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA%D0%B0:Keegan_(WMF)&oldid=prev&diff=63662618
Comment 1 Gerrit Notification Bot 2014-06-25 15:40:49 UTC
Change 141977 had a related patch set uploaded by Esanders:
Don't try to change offset for vesection=0

https://gerrit.wikimedia.org/r/141977
Comment 2 Gerrit Notification Bot 2014-06-25 16:56:06 UTC
Change 141977 merged by jenkins-bot:
Don't try to change offset for vesection=0

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links