mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-17 19:31:51 +00:00
8dd0bd23d4
As detailed in T95850#5078990, Parsoid incorrectly converts HTML to wikitext when a link `href` refers to an interwiki page and contains percent-encoded colon characters ':'. VisualEditor doesn't know anything about interwiki pages (it treats those links as normal local links, and expects MediaWiki and Parsoid to handle them specially), so we can't easily special-case them. But since leaving the colon unencoded is valid for all links anyway, we can just do that. Bug: T103635 Change-Id: I87d7e6952983a72d90ea739b0bc8488d9f6a9be3 |
||
---|---|---|
.. | ||
ve.dm.MWExternalLinkAnnotation.js | ||
ve.dm.MWInternalLinkAnnotation.js | ||
ve.dm.MWNowikiAnnotation.js |