mediawiki-extensions-Visual.../modules/ve-mw/tests
Bartosz Dziewoński da9b6fffbd Parse relative hrefs on image nodes like on regular links
* In normal images, parse relative 'href' attributes instead of
  expanding them to absolute, and parse 'resource' to keep it
  identical to 'href' if they refer to the same page (including
  same percent-encoding and space/underscore). This resolves Parsoid
  generating |link= options for copy-pasted images (T193253).

* In gallery images stuff, prefix the 'resource' attribute with './',
  same as normal images do. This causes no functional changes, but it
  makes updating tests easier, and the consistency is probably good.

* Update test examples to also prefix 'resource' and relative 'href'
  attributes with './', like the real Parsoid does.

Bug: T193253
Change-Id: If2d7f080d9d693568054f8311c1e1b15ca27ea5c
2019-09-25 00:25:04 +02:00
..
ce Add unit tests for read-mode reference filter 2019-09-10 14:46:45 +00:00
dm Parse relative hrefs on image nodes like on regular links 2019-09-25 00:25:04 +02:00
init/targets Store 'canEdit' property when auto-saving or switching editors 2019-05-24 23:15:38 +02:00
ui Parse relative hrefs on image nodes like on regular links 2019-09-25 00:25:04 +02:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 20:23:43 +00:00
mw-preload.js
ve.test.utils.js Use MW import rules in MW tests 2019-09-10 14:46:37 +00:00