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:

Screen Shot 2016-01-15 at 11.57.23 AM.png (224×545 px, 48 KB)

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)
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.)