Page MenuHomePhabricator

A template is ignored by Parsoid because Parsoid considers the template string as part of an URL
Open, MediumPublic

Description

http://en.wikipedia.org/wiki/Bieszk%C3%B3w_G%C3%B3rny

A template is ignored by Parsoid because Parsoid considers the template string as part of an URL.

wikitext:

(http://www.twittercells.com){{Infobox settlement
| name = Bieszków Górny
...
}}

The {{Infobox settlement|...}} template has no data-mw counterpart in rdf, and is ignored by the template parser. TieredParser extracts the template successfully.

Event Timeline

Bianjiang raised the priority of this task from to Needs Triage.
Bianjiang updated the task description. (Show Details)
Bianjiang added a project: Parsoid.
Bianjiang added subscribers: Aklapper, Bianjiang.

A minimum test case could be http://transcribe.com/one{{echo|>}} (where > isn't a valid char for urllink)

We probably need a solution like T48811 where we inspect the expanded attribute (href) for invalid chars, and then pop the rest of the tokens out of the link.

Arlolra triaged this task as Medium priority.Jan 6 2016, 5:42 PM
Arlolra set Security to None.