https://bugzilla.wikimedia.org/show_bug.cgi?id=70894
Bug ID: 70894
Summary: Parsoid: Categories with special characters in them
serialize to Badtitletext
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: serializer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
$ echo '<link rel="mw:PageProp/Category"
href="./Category:Toxine_bactérienne"/><link rel="mw:PageProp/Category"
href="./Category:Toxine_bact%C3%A9rienne"/>' | node tests/parse.js --html2wt
--apiURL=http://fr.wikipedia.org/w/api.php
[[MediaWiki:Badtitletext]]
[[MediaWiki:Badtitletext]]
Serialization works correctly if the href matches data-parsoid, but only if the
client hasn't URL-encoded the href. This is why VE is introducing corruption
like
https://fr.wikipedia.org/w/index.php?title=Exotoxine&diff=prev&oldid=107508831
, but only in Firefox because Firefox URL-encodes é in hrefs whereas Chrome
doesn't.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l