mediawiki-extensions-Visual.../modules/ve-mw/tests
Bartosz Dziewoński b6929d5be1 Change mw.libs.ve.getTargetDataFromHref to not return bogus data for external links
For external links, `.title` and `.rawTitle` properties previously
contained the external link corrupted with some normalization intended
for MediaWiki titles.

This was useless, and in fact no caller actually uses this value:
they all check `.isInternal` first before accessing `.title` or
`.rawTitle`.

Also, correct other parameter documentation.

Change-Id: Ieeab56548f0a3b2f81a90f0d3ae0f81d744aa67b
2022-12-14 22:57:04 +01:00
..
ce More tests for pasting external links 2022-04-22 04:43:51 +02:00
dm Always sanitize href attribute in CE nodes 2022-11-30 18:26:37 +00:00
init/targets Store copyright message in auto-save data 2022-04-07 23:03:37 +00:00
preinit Change mw.libs.ve.getTargetDataFromHref to not return bogus data for external links 2022-12-14 22:57:04 +01:00
ui Remove dysfunctional "no outline" mode from template dialog 2022-07-25 14:45:18 +00:00
.eslintrc.json Add tests for the expected properties in API result and auto-save 2022-04-08 01:02:53 +02:00
mw-preload.js
ve.test.utils.js DesktopArticleTarget tests: Mock config using QUnit.newMwEnvironment 2022-03-04 13:36:22 +00:00