mediawiki-extensions-Visual.../modules/ve-mw/dm/nodes
Bartosz Dziewoński 91291d3e98 Parse relative hrefs on image nodes like on regular links (try 2)
Previous, reverted attempt: da9b6fffbd.
This attempt also includes 6037fefbe0,
and fixes minor conflicts with other changes.

* In normal images, parse relative 'href' attributes instead of
  expanding them to absolute. This resolves Parsoid generating
  |link= options for copy-pasted images (T193253).

  Keep them in the underscore-form to avoid causing dirty diffs like
  T237040 again. Unlike in the previous attempt, we don't need to be
  super-careful about the 'resource' attribute, thanks to the Parsoid
  changes in T108504.

* 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: I91131728a87c9406bf069d46d3c94c9a8905a003
2021-01-27 11:53:15 +00:00
..
ve.dm.MWAlienBlockExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWAlienExtensionNode.js Allow alien extension node encapsulation wrappers to be of various types 2020-10-20 11:44:54 -04:00
ve.dm.MWAlienInlineExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWBlockExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWBlockImageNode.js Parse relative hrefs on image nodes like on regular links (try 2) 2021-01-27 11:53:15 +00:00
ve.dm.MWEntityNode.js French spacing (mw:DisplaySpace) doesn't have mw:Placeholder any more 2020-07-15 20:14:30 +00:00
ve.dm.MWExtensionNode.js build: Update eslint-config-wikimedia to 0.16.0 2020-06-02 21:30:00 +01:00
ve.dm.MWGalleryCaptionNode.js Make RDF attribute splits more robust 2018-10-02 16:11:58 -05:00
ve.dm.MWGalleryImageCaptionNode.js
ve.dm.MWGalleryImageNode.js Parse relative hrefs on image nodes like on regular links (try 2) 2021-01-27 11:53:15 +00:00
ve.dm.MWGalleryNode.js ve.dm.Node: blacklistedAnnotationTypes -> disallowedAnnotationTypes 2020-06-12 11:11:34 +01:00
ve.dm.MWHeadingNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWImageCaptionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWImageNode.js build: Update eslint-config-wikimedia to 0.16.0 2020-06-02 21:30:00 +01:00
ve.dm.MWIncludesNode.js ve.dm.MWIncludesNode: Change label for includeonly nodes per feedback 2020-06-09 21:37:10 +02:00
ve.dm.MWInlineExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWInlineImageNode.js Parse relative hrefs on image nodes like on regular links (try 2) 2021-01-27 11:53:15 +00:00
ve.dm.MWLanguageVariantBlockNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWLanguageVariantHiddenNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWLanguageVariantInlineNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWLanguageVariantNode.js build: Update eslint-config-wikimedia to 0.16.0 2020-06-02 21:30:00 +01:00
ve.dm.MWMagicLinkNode.js ve.dm.Node: blacklistedAnnotationTypes -> disallowedAnnotationTypes 2020-06-12 11:11:34 +01:00
ve.dm.MWNumberedExternalLinkNode.js ve.dm.Node: blacklistedAnnotationTypes -> disallowedAnnotationTypes 2020-06-12 11:11:34 +01:00
ve.dm.MWPreformattedNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWPreNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWSignatureNode.js MWSignatureNode: Use template's rendering hash object 2020-07-08 22:18:35 +02:00
ve.dm.MWTableNode.js eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
ve.dm.MWTransclusionBlockNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWTransclusionInlineNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWTransclusionNode.js build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
ve.dm.MWTransclusionTableCellNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00