mediawiki-extensions-Visual.../modules/ve-mw/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 Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
commands doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
contextitems Support for defined template context items 2019-08-30 13:02:47 +01:00
datatransferhandlers MWMediaTransferHandler: Fix new eslint warning from unused global 2019-02-01 20:07:15 -08:00
dialogs Parse relative hrefs on image nodes like on regular links 2019-09-25 00:25:04 +02:00
elements doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
inspectors MWLinkAnnotationInspector: track edits to the label field 2019-09-03 09:19:09 -05:00
pages Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
styles Use upstream pulsating dot 2019-08-28 13:40:29 +01:00
tools ve.ui.MWEditModeTool: Fix showing active editor 2019-09-09 18:32:56 +02:00
widgets Link inspector: Turn off 'addQueryInput' 2019-08-27 12:17:44 +01:00
ve.ui.MWCommandRegistry.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWExtensionWindow.js Implementations for read-only mode 2019-02-22 18:20:51 +00:00
ve.ui.MWSequenceRegistry.js Update VE core submodule to master (7cd15cfe9) 2019-04-22 12:39:14 +01:00
ve.ui.MWSurface.js rootNode/documentNode -> attachedRootNode 2019-02-13 19:03:36 +00:00
ve.ui.MWWikitextCommandRegistry.js Update VE core submodule to master (0b17a137b) 2019-09-05 13:03:41 -07:00
ve.ui.MWWikitextDataTransferHandlerFactory.js Update VE core submodule to master (0b17a137b) 2019-09-05 13:03:41 -07:00
ve.ui.MWWikitextSequenceRegistry.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWWikitextSurface.js 'scrollCursorIntoView' -> 'scrollSelectionIntoView' 2019-05-24 10:11:38 +00:00
ve.ui.MWWikitextTransferRegistry.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00