mediawiki-extensions-Visual.../modules/ve-mw/ce/nodes
Roan Kattouw bb45d984ca dm.MWInternalLinkAnnotation: Fix href normalization for special characters
<a href="Foo%3F"> would dirty-diff to <a href="Foo?"> and also render
as such, pointing to the wrong page.

We also called decodeURIComponent() on the href twice, which can't
have been good.

Move URI decoding and underscore normalization into
getTargetDataFromHref(), and add rawTitle for callers that need it.
Put rawTitle in the origTitle attribute, so that equivalence
comparisons (decode(origTitle) === title) work as intended.

Bug: T145978
Change-Id: I29331a4ab0f8f7ef059c109f6813fa670a2c7390
2016-09-22 09:10:41 -07:00
..
ve.ce.MWAlienExtensionNode.js Use iconWhenInvisible for alien extension nodes 2016-03-07 18:15:45 +00:00
ve.ce.MWBlockImageNode.js Use super property to call parent methods 2016-08-23 11:56:47 -07:00
ve.ce.MWEntityNode.js Use super property to call parent methods 2016-08-23 11:56:47 -07:00
ve.ce.MWExtensionNode.js MWExtensionNode#generateContents: Fix renderEmpty logic 2016-04-02 07:58:33 +00:00
ve.ce.MWGalleryNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ce.MWHeadingNode.js Restore parent method call in ce.MWHeadingNode#onUpdate 2016-08-22 21:28:48 +00:00
ve.ce.MWImageCaptionNode.js Use super property to call parent methods 2016-08-23 11:56:47 -07:00
ve.ce.MWImageNode.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.ce.MWInlineImageNode.js Use super property to call parent methods 2016-08-23 11:56:47 -07:00
ve.ce.MWMagicLinkNode.js Use super property to call parent methods 2016-08-23 11:56:47 -07:00
ve.ce.MWNumberedExternalLinkNode.js Use super property to call parent methods 2016-08-23 11:56:47 -07:00
ve.ce.MWPreformattedNode.js Use super property to call parent methods 2016-08-23 11:56:47 -07:00
ve.ce.MWSignatureNode.js Use super property to call parent methods 2016-08-23 11:56:47 -07:00
ve.ce.MWTableNode.js MWTableNode: Mixin ve.ce.ClassAttributeNode 2016-01-25 16:35:49 +00:00
ve.ce.MWTransclusionNode.js dm.MWInternalLinkAnnotation: Fix href normalization for special characters 2016-09-22 09:10:41 -07:00