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:

Details

Reference
bz50801
Raymond created this task.Jul 5 2013, 1:14 PM

Created attachment 12761
Template inspector after closing

Attached:

TTO added a comment.Jul 9 2013, 7:16 AM
  • 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.

Add Comment