Page MenuHomePhabricator

Param in template argument gets parsed incorrectly
Closed, ResolvedPublic

Description

{{template
|foo={{{bar|}}}
}}

round trips to

{{template
|foo={{{bar|}}<nowiki>}</nowiki>
}}

As seen here: https://www.mediawiki.org/w/index.php?title=VisualEditor&diff=2493609&oldid=2485304

Event Timeline

Esanders created this task.Jun 22 2017, 6:45 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 22 2017, 6:45 PM
Arlolra claimed this task.Jun 22 2017, 7:29 PM
Arlolra triaged this task as Normal priority.

Change 360906 had a related patch set uploaded (by Arlolra; owner: Arlolra):
[mediawiki/services/parsoid@master] T168675: Permit empty param in final position of template arg

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

Change 360906 merged by jenkins-bot:
[mediawiki/services/parsoid@master] T168675: Permit empty param in final position of template arg

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

Arlolra closed this task as Resolved.Jun 28 2017, 8:17 PM