mediawiki-extensions-Visual.../modules/ve-mw/ce/nodes
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
..
ve.ce.MWAlienBlockExtensionNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWAlienExtensionNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWAlienInlineExtensionNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWBlockExtensionNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWBlockImageNode.js Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
ve.ce.MWEntityNode.js Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
ve.ce.MWExtensionNode.js Make extension body the default description for extension nodes 2019-07-31 16:38:27 +01:00
ve.ce.MWGalleryCaptionNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWGalleryImageCaptionNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWGalleryImageNode.js Parse relative hrefs on image nodes like on regular links 2019-09-25 00:25:04 +02:00
ve.ce.MWGalleryNode.js Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
ve.ce.MWHeadingNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWImageCaptionNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWImageNode.js Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
ve.ce.MWInlineExtensionNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWInlineImageNode.js Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
ve.ce.MWLanguageVariantBlockNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWLanguageVariantHiddenNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWLanguageVariantInlineNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWLanguageVariantNode.js Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
ve.ce.MWMagicLinkNode.js Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
ve.ce.MWNumberedExternalLinkNode.js Remove redundant @method annotations 2019-08-21 23:33:15 +02:00
ve.ce.MWPreformattedNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWPreNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWSignatureNode.js ve.ce.MWSignatureNode: Fix rendering 2019-08-27 17:16:21 +02:00
ve.ce.MWTableNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWTransclusionBlockNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWTransclusionInlineNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ce.MWTransclusionNode.js eslint: Enable valid-jsdoc 2019-04-17 17:13:39 +01:00
ve.ce.MWTransclusionTableCellNode.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00