mediawiki-extensions-Visual.../modules/ve-mw/dm/nodes
Arlo Breault 79120fc16c Preserve classes on media wrapper links
Parsoid added a class and, without it, we get selser complaining
about wrappers being modified, similar to T214649.

The "image" class is removed since Parsoid never added it (although it
now has "mw-file-description" for a similar purpose) and the legacy
parser doesn't apply it indiscriminately.

It doesn't seem like VE supports editing the |link= media option; it
just tries to roundtrip what's there and drops it on edit.  The patch
here works with that limitation.

Galleries are found to drop href's, breaking selser, and should be fixed
in a follow up.

Bug: T292657
Bug: T303469
Change-Id: I92359048b42d32fe8a0f2cb79cd348cf5f2c56cc
2022-03-10 10:41:14 -05:00
..
ve.dm.MWAlienAnnotationNode.js Handle annotation tags as nodes rather than metaitems. 2021-10-21 10:39:04 +02: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.MWAnnotationNode.js Handle annotation tags as nodes rather than metaitems. 2021-10-21 10:39:04 +02:00
ve.dm.MWBlockExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWBlockImageNode.js Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
ve.dm.MWEntityNode.js MWEntityNode: Remove now-unnecessary allowedRdfaTypes 2022-03-08 11:27:29 -06:00
ve.dm.MWExtensionNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.dm.MWGalleryCaptionNode.js Make RDF attribute splits more robust 2018-10-02 16:11:58 -05:00
ve.dm.MWGalleryImageCaptionNode.js Make gallery dialog work with native gallery implementation 2018-03-19 23:55:17 +01:00
ve.dm.MWGalleryImageNode.js Preserve classes on media wrapper links 2022-03-10 10:41:14 -05: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 Ignore originalWidth/Height when diffing images 2022-01-26 14:51:52 +00:00
ve.dm.MWIncludesNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.dm.MWInlineExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWInlineImageNode.js Preserve classes on media wrapper links 2022-03-10 10:41:14 -05: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 Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.dm.MWMagicLinkNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.dm.MWNumberedExternalLinkNode.js Move var declarations inline 2021-10-13 14:02:31 +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 Merge "Move var declarations inline" 2021-10-22 19:40:49 +00:00
ve.dm.MWTransclusionTableCellNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00