Page MenuHomePhabricator

Parsoid inserts <nowiki /> after a category, trying to protect against a linktrail that doesn't exist
Closed, ResolvedPublic


<link rel="mw:WikiLink/Category" href="Category:Foo" />bar

serializes to

[[Category:Foo]]<nowiki />

That nowiki is totally unnecessary, obviously.

Even when you edit an existing category that has data-parsoid info causing it to not have a trailing newline, you'll get [[Category:Foo]]<nowiki />Bar. That nowiki is also not needed because categories can't have link trails.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:50 AM
bzimport set Reference to bz51263.
Catrope created this task.Jul 12 2013, 9:31 PM

Change 73775 had a related patch set uploaded by Subramanya Sastry:
(Bug 51263): Link trails/prefixes dont apply to category links

Change 73775 merged by jenkins-bot:
(Bug 51263): Link trails/prefixes dont apply to category links

To be rt tested and deployed, but this should be fixed.