Page MenuHomePhabricator

VisualEditor: Changing templates makes wikilinks ([[Foo|Bar]]) render as raw wikitext instead of parsed
Closed, ResolvedPublic


Template inspector before closing

Wikilinks like [[Foo|Bar]] are shown expanded in template inspector after closing it, see screenshots.

Steps to reproduce:

  1. Edit a template which has wikilinks like [[Foo|Bar]] as a parameter value
  2. Close the template inspector, with or w/o changes does not matter.

Version: unspecified
Severity: normal


template_1.PNG (518×334 px, 152 KB)



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:47 AM
bzimport set Reference to bz50801.

Created attachment 12761
Template inspector after closing


template_2.PNG (675×436 px, 163 KB)

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

Can't reproduce this at the example URL.

(In reply to comment #4)

Can't reproduce this at the example URL.

I can still reproduce it :-(

As can I, hence the duplicate bugs. Firefox 22, Windows 7.

Can you create a broken diff on that article for me?

It doesn't show in the diff, it only shown in the live rendering in VisualEditor.

Screenshot of different phases:

  1. PHP rendering on Read
  2. VE initial rendering after Edit
  3. VE rendering after opening Template dialog and making no changes and clicking Apply changes

Dirty diff:

This is a wikitext escaping bug in VE

Change 73173 had a related patch set uploaded by Esanders:
Piped links in wikitext parameters getting escaped

Change 73173 merged by jenkins-bot:
Prevent escaping of piped links in wikitext parameters

We've now fixed this in master, and will back-port to production.