Page MenuHomePhabricator

VisualEditor: Prevent application of link annotations to references
Closed, ResolvedPublic

Description

Author: Wikifram

Description:
This test edit[https://www.mediawiki.org/w/index.php?title=User%3AFram%2FSandbox&diff=809490&oldid=795427]: all I did was add [[Test]] at the end of the sentence (to check basic nowiki functionality in the new release 23). However, VE started moving the nowikis around, and now the ref, which was in the old diff a nice "1", is now a strange string, "UNIQ74171d8572aa65a1-nowiki-00000018-QINU1UNIQ74171d8572aa65a1-nowiki-00000019-QINU". This will probably be a rare occurrence, so not urgent in that regard, but it may be indicative of other problems.


Version: unspecified
Severity: normal

Details

Reference
bz56250

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:12 AM
bzimport set Reference to bz56250.

Wikifram wrote:

Note that when you open the page in VE mode, it again displays the ref correctly. Strange...

Note also that a much simpler version, a link with a ref in the link, has the same behaviour, so the "nowikis" are probably only a distraction and this may more serious than I first thought...[https://www.mediawiki.org/w/index.php?title=User%3AFram%2FSandbox&diff=809494&oldid=809493]

  • Bug 56751 has been marked as a duplicate of this bug. ***

Otherwise, output is ill-defined (UNIQ bug) and not good for users.

(Thought there was an existing bug, but couldn't find it.)

Change 96238 had a related patch set uploaded by Esanders:
Prevent link-annotating MWReferences

https://gerrit.wikimedia.org/r/96238

Change 96238 merged by jenkins-bot:
Prevent link-annotating MWReferences

https://gerrit.wikimedia.org/r/96238