mediawiki-extensions-Visual.../modules/ve-mw/ce
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
..
annotations build: Upgrade eslint-config-wikimedia from 0.12.0 to 0.13.1 2019-08-02 09:51:07 -07:00
nodes Parse relative hrefs on image nodes like on regular links 2019-09-25 00:25:04 +02:00
styles Apply active external link fix to all skins 2019-06-18 15:23:10 +01:00
ve.ce.MWResizableNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWWikitextSurface.js rootNode/documentNode -> attachedRootNode 2019-02-13 19:03:36 +00:00