Page MenuHomePhabricator

Adding a citation manually causes it to be inserted at the top of the page, not where the cursor is, sometimes(?)
Closed, ResolvedPublic0 Estimated Story Points

Description

Place your cursor somewhere in an article. With a random URL, go to Cite menu, select Manual, then choose Cite web (or its equivalent in other languages, although this seems to affect all the Cite templates).
Observe that the newly made reference doesn't appear where you meant to place it, but it's at the beginning of the page instead.
In this example at en.wiki, it ends up in a heading.
Originally reported on the German Wikipedia, user has Safari 9.0.3 / Chrome 47.0.2526 on OS X 10.11.3.

Event Timeline

Elitre raised the priority of this task from to Needs Triage.
Elitre updated the task description. (Show Details)
Elitre added projects: VisualEditor, Citoid.
Elitre subscribed.

This is a very serious issue, but I cannot reliably replicate in Chrome 48 or Safari 9. It seems to happen some of the time (maybe just the first time?) but not others?

Jdforrester-WMF renamed this task from Adding a citation manually causes it to be displayed at the top of the page to Adding a citation manually causes it to be inserted at the top of the page, not where the cursor is, sometimes(?).Feb 16 2016, 8:29 PM
Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF edited a custom field.
Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.
Jdforrester-WMF added a subscriber: Esanders.

I also can't reproduce ATM. Will ask the user tomorrow.

@Jdforrester-WMF, yesterday's test was in Chrome/Win, but today's in Safari 9.0/Mac OS X 10.10.5, and that still happens.

This hasn't gone away. Furthermore, I can't recommend one of the workarounds for creating references similar to each other (that is, the same ref just with minor changes like page number), because of this bug.

Deskana claimed this task.
Deskana changed the point value for this task from 1 to 0.
Deskana subscribed.

I tried a lot, and I can't reproduce this at all. A lot has changed in the past year, so it's possible that some other change we made fixed this too.