VisualEditor: Pipe trick in templates displays wikitext rather than link
Closed, ResolvedPublic

Description

Intention:
Add more information to an infobox.

Steps to Reproduce:

  1. Open the infobox.
  1. Add a parameter with a link to a disambiguated page name.
  1. Use the pipe trick to label the link: [[Wooden spoon (award)|]]
  1. Apply changes.

Actual Results:
In VisualEditor, the template displays raw wikitext for that item: [[Wooden spoon (award)|]]

Expected Results:
That VisualEditor would display the same blue link with the same link label as the page will when it is saved ("Wooden spoon")

Reproducible: Always


Version: unspecified
Severity: normal
URL: https://en.wikipedia.org/w/index.php?title=User:Whatamidoing_(WMF)/sandbox&diff=594279537&oldid=593922721

bzimport set Reference to bz60998.
Whatamidoing-WMF created this task.Via LegacyFeb 6 2014, 10:43 PM
Jdforrester-WMF added a comment.Via ConduitFeb 12 2014, 1:06 AM

This looks like we're passing the wrong flag to action=parse; will try to fix this myself.

gerritbot added a comment.Via ConduitFeb 12 2014, 1:09 AM

Change 112829 had a related patch set uploaded by Jforrester:
Pass 'pst' as true in parse request for fragments

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

gerritbot added a comment.Via ConduitFeb 12 2014, 3:22 AM

Change 112829 merged by jenkins-bot:
Pass 'pst' as true in parse request for fragments

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

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.