mediawiki-extensions-Visual.../modules/ve-mw/tests
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
..
browser Disable failing Selenium tests 2016-09-16 13:12:02 +02:00
ce Update VE core submodule to master (eb97c1f) 2016-03-22 15:12:36 +00:00
dm dm.MWInternalLinkAnnotation: Fix href normalization for special characters 2016-09-22 09:10:41 -07:00
init/targets Un-blacklist Firefox versions 12,13,14 2016-05-31 09:46:50 -07:00
ui Use new action test runner 2016-05-13 14:21:49 +00:00
mw-preload.js test: Omit 'window' in mw-preload.js 2014-11-19 01:46:38 +00:00
ve.test.utils.js Make data-mw/body.html attribute comparable 2016-03-23 11:03:53 +00:00