mediawiki-extensions-Visual.../modules/ve-mw/dm
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
..
annotations dm.MWInternalLinkAnnotation: Fix href normalization for special characters 2016-09-22 09:10:41 -07:00
metaitems Use super property to call parent methods 2016-08-23 11:56:47 -07:00
models Use super property to call parent methods 2016-08-23 11:56:47 -07:00
nodes Merge "Use super property to call parent methods" 2016-09-01 17:04:39 +00:00
ve.dm.MWWikitextSurface.js Wikitext surface alpha feature 2016-08-12 18:37:29 +00:00
ve.dm.MWWikitextSurfaceFragment.js Fix insertion of templates, media, and various other things into wikitext surface 2016-08-17 21:12:00 -07:00