Page MenuHomePhabricator

Section links are not being saved
Closed, DuplicatePublic

Description

Steps to reproduce:

  1. Add a link to a word: [[Author]]
  2. Make it a section link: [[Author#Famous ones]]
  3. Save the page.
  4. See that the section part of the link was silently dropped: [[Author]].

I don't think this is T55219: VisualEditor: [Regression] Link inspector prevents insertion of section links, because the link inspector seems to work just fine:

This is reproducible in multiple browsers, OSes, and wikis.

Event Timeline

Whatamidoing-WMF raised the priority of this task from to Needs Triage.
Whatamidoing-WMF updated the task description. (Show Details)
Whatamidoing-WMF added a subscriber: Whatamidoing-WMF.
Restricted Application added a project: VisualEditor. · View Herald TranscriptJan 15 2016, 8:07 PM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

Make it a section link: [[Author#Famous ones]]

Can you clarify what you do in that step?

Also, if possible, when you click save in VE and the "Save your changes" modal pop ups, can you execute copy(ve.init.target.docToSave.body.outerHTML) in your browser's JS console and paste the output. Helpful to see what Parsoid is getting. (Probably more useful if you do this in an isolated Sandbox then a full page, so there's less content.)

Elitre added a subscriber: Elitre.Jan 20 2016, 7:54 PM
Trizek-WMF added a subscriber: Trizek-WMF.

Also concerns Flow.

Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptJan 21 2016, 2:57 PM