Page MenuHomePhabricator

Broken serialization of some wiklinks
Closed, DuplicatePublic

Description

This is self-explanatory:

[subbu@earth lib] cat /tmp/html
<a rel="mw:WikiLink" href="./Foo" title="Foo" data-parsoid='{}'>Foo</a>
[subbu@earth lib] node parse --fetchConfig false --html2wt < /tmp/html
[[./Foo]]

That should have serialized as [[Foo]] which it does without the empty data-parsoid

Event Timeline

ssastry created this task.Mar 25 2015, 3:45 AM
ssastry raised the priority of this task from to High.
ssastry updated the task description. (Show Details)
ssastry added a subscriber: ssastry.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 25 2015, 3:45 AM
ssastry moved this task from Needs Triage to VE Q3 on the Parsoid board.Mar 25 2015, 3:46 AM

Change 199575 had a related patch set uploaded (by Subramanya Sastry):
T93839: Normalize wikilink targets to strip leading "./"

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

ssastry claimed this task.Mar 25 2015, 4:31 AM
ssastry set Security to None.

Change 199575 merged by jenkins-bot:
T93839: Normalize wikilink targets to strip leading "./"

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

ssastry closed this task as Resolved.Mar 26 2015, 11:39 PM
ssastry removed a project: Patch-For-Review.

This will go out on Monday after going through rt-testing.