Last modified: 2013-07-16 17:38:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53263, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51263 - Parsoid inserts <nowiki /> after a category, trying to protect against a linktrail that doesn't exist
Parsoid inserts <nowiki /> after a category, trying to protect against a link...
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: ssastry
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-12 21:31 UTC by Roan Kattouw
Modified: 2013-07-16 17:38 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Roan Kattouw 2013-07-12 21:31:15 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.
Comment 1 Gerrit Notification Bot 2013-07-15 16:37:53 UTC
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
Comment 2 Gerrit Notification Bot 2013-07-16 16:11:09 UTC
Change 73775 merged by jenkins-bot:
(Bug 51263): Link trails/prefixes dont apply to category links

https://gerrit.wikimedia.org/r/73775
Comment 3 ssastry 2013-07-16 17:38:30 UTC
To be rt tested and deployed, but this should be fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links