VisualEditor: duplicate links created if parts of the link are differently italicised/bolded
Closed, ResolvedPublic


See for example; It should be [[''death'' metal]].

Version: unspecified
Severity: normal

bzimport added a project: VisualEditor.Via ConduitNov 22 2014, 2:05 AM
bzimport set Reference to bz51054.
Ironholds created this task.Via LegacyJul 9 2013, 5:55 PM
Thryduulf added a comment.Via ConduitAug 25 2013, 4:15 PM

Is this still happening?
In my sandbox just now, VE changed [[Ancient Carthage]] to [[Ancient Carthage|''Ancient'' Carthage]] as I would expect.

Thryduulf added a comment.Via ConduitSep 22 2013, 9:26 PM

With the sole exception of plaint text followed by italic text, it seems that a separate link is created for each part of the link that has a different bold/italic status:

To reproduce:

  1. Create or edit any page that has consecutive words that have different italic/bold annotation, i.e. any of

''one'' two
'''un''' deaux
''ein'' '''zwei'''
'''un''' ''dai''
'''uno''' due

  1. select both words and make the selection a link (internal or external).

Expected behaviour: One link is created, e.g. [[link|''one'' two]]
Actual behaviour: Two links are created, e.g. [[link|''one''']] [[link|two]]

Jdforrester-WMF added a comment.Via ConduitMar 11 2014, 1:37 AM

Merging with bug 50098.

  • This bug has been marked as a duplicate of bug 50098 ***

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.