Page MenuHomePhabricator

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

Description

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
URL: https://de.wikipedia.org/wiki/VRB_H_2/3

Attached:

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

Details

Reference
bz50801

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

Attached:

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:

http://cl.ly/image/1X0I281n1n0G

  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: http://cl.ly/image/241h1I3T1d2d

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

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

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

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

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