Last modified: 2013-07-16 17:38:30 UTC
<link rel="mw:WikiLink/Category" href="Category:Foo" />bar serializes to [[Category:Foo]]<nowiki /> bar 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.
Change 73775 had a related patch set uploaded by Subramanya Sastry: (Bug 51263): Link trails/prefixes dont apply to category links https://gerrit.wikimedia.org/r/73775
Change 73775 merged by jenkins-bot: (Bug 51263): Link trails/prefixes dont apply to category links https://gerrit.wikimedia.org/r/73775
To be rt tested and deployed, but this should be fixed.