VisualEditor: ISBN link labels (from magic words) can be changed, but not the underlying links


Change an ISBN.

Steps to Reproduce:

  1. Open a page with a pre-existing ISBN number (using the magic word).
  1. Click in the link and open the link inspector.
  1. Correct the numbers in the ISBN.
  1. Close the link inspector.

Actual Results:
The link label does not change. This is not surprising, given VisualEditor's approach to links, but it is sometimes unfortunate; see

However, the link itself does not change, and if you have done nothing else, it is not possible to save the page, because you have supposedly made no changes.

Expected Results:
Ideal behavior:

Changing "ISBN 1234567890" to "ISBN 1234567891" simply updates the plain wikitext magic word.

Possibly acceptable behavior:

Changing "ISBN 1234567890" to "ISBN 1234567891" updates the link to [[Special:BookSources/1234567891|ISBN 1234567891]].

Reproducible: Always

Version: unspecified
Severity: normal
See Also:

bzimport added a project: VisualEditor-DataModel.Via ConduitNov 22 2014, 3:06 AM
bzimport set Reference to bz61558.
Whatamidoing-WMF created this task.Via LegacyFeb 19 2014, 9:55 PM
NicoV added a comment.Via ConduitJun 23 2014, 2:25 PM

Other recent examples of ISBN problems caused by VE (awful syntax, link incoherent with displayed ISBN, nowiki added) :

This is a recurring problem on frwiki.

Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebNov 24 2014, 1:24 AM
Jdforrester-WMF lowered the priority of this task from "Normal" to "Low".Via WebApr 15 2015, 6:52 PM
Jdforrester-WMF set Story Points to 8.
Krenair added a project: Parsoid.EditedVia WebApr 18 2015, 11:20 AM

The Parsoid output does not look quite right to me:

<a href="./Special:BookSources/0345318641" rel="mw:ExtLink" data-parsoid='{"stx":"magiclink","dsr":[16,34,0,0]}'>ISBN 0-345-31864-1</a>

ExtLink? That href is for a WikiLink...

ssastry moved this task to Q4 on the Parsoid workboard.Via WebTue, Apr 28, 6:18 PM

Add Comment