Last modified: 2013-01-16 00:48:40 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 T43217, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41217 - Failed round-trip if HTML entities are in target of links
Failed round-trip if HTML entities are in target of links
Status: RESOLVED WORKSFORME
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks: 39567
  Show dependency treegraph
 
Reported: 2012-10-19 16:24 UTC by Liangent
Modified: 2013-01-16 00:48 UTC (History)
2 users (show)

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


Attachments

Description Liangent 2012-10-19 16:24:13 UTC
Including:

[["|a]]

[["]]

This works:

[[a|"]]
Comment 1 Gabriel Wicke 2013-01-16 00:48:40 UTC
Arguably " is just a syntactic diff and thus not too critical with selective serialization. 

I was just adding support for entity-escaped entities in link targets like [[&]] and variants, but then realized that all of those are not accepted as wiki links in the PHP parser. Ampersand chars are not valid in titles, probably because they would interfere with query parameters.

I'm closing this as worksforme for now as this should not introduce any semantic diffs, and selective serialization is getting finer grained too.

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


Navigation
Links