mediawiki-extensions-Visual.../modules/ve-mw/tests/ui
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
..
actions doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
datatransferhandlers Remove support for page title "hrefPrefix" other than './' 2019-04-03 20:10:05 +00:00
ve.ui.DiffElement.test.js Parse relative hrefs on image nodes like on regular links 2019-09-25 00:25:04 +02:00