mediawiki-extensions-Visual.../modules/ve-mw/ce/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.ce.MWAlienAnnotationNode.js Handle annotation tags as nodes rather than metaitems. 2021-10-21 10:39:04 +02:00
ve.ce.MWAlienBlockExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWAlienExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWAlienInlineExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWAnnotationNode.js Handle annotation tags as nodes rather than metaitems. 2021-10-21 10:39:04 +02:00
ve.ce.MWBlockExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWBlockImageNode.js Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
ve.ce.MWEntityNode.js Show non-breaking spaces in the editor 2021-01-28 19:09:29 +00:00
ve.ce.MWExtensionNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.ce.MWGalleryCaptionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWGalleryImageCaptionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWGalleryImageNode.js Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
ve.ce.MWGalleryNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.ce.MWHeadingNode.js ve.ce.MWHeadingNode: Fix Uncaught TypeError: this.root is null 2021-08-26 21:35:19 +02:00
ve.ce.MWImageCaptionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWImageNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.ce.MWIncludesNode.js Handle <noinclude> etc. as nodes rather than metaitems 2020-06-01 18:47:14 +02:00
ve.ce.MWInlineExtensionNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWInlineImageNode.js Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
ve.ce.MWLanguageVariantBlockNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWLanguageVariantHiddenNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWLanguageVariantInlineNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWLanguageVariantNode.js Move var declarations inline 2021-10-13 14:02:31 +01:00
ve.ce.MWMagicLinkNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWNumberedExternalLinkNode.js eslint: Enable no-jquery/no-append-html 2021-12-16 02:04:11 +01:00
ve.ce.MWPreformattedNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWPreNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWSignatureNode.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ce.MWTableNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWTransclusionBlockNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWTransclusionInlineNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ce.MWTransclusionNode.js Merge "Fix missing return value and related docs in MWTransclusionNode" 2022-03-03 21:49:54 +00:00
ve.ce.MWTransclusionTableCellNode.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00