Page MenuHomePhabricator

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

Details

Reference
bz60998

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:04 AM
bzimport set Reference to bz60998.

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

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

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

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