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 raised the priority of this task from to High.
ssastry updated the task description. (Show Details)
ssastry subscribed.

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 set Security to None.

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

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

ssastry removed a project: Patch-For-Review.

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