mediawiki-extensions-Visual.../modules/ve-mw/ui/contextitems
Arlo Breault 0533f49fd5 Support the upcoming mw:File typeof
The "mediaClass" property now only serves to capture the original class
found on the media so that it can be roundtripped without causing dirty
diffs.  In the 2.4.0 version of Parsoid's output, that will still be
the usual Image/Audio/Video.  As of 2.5.0, it will always be File and
the mediaClass property can be dropped.

Parsoid is currently forward compatible with serializing mw:File, so
edited or new media can use that type already.

The contextmenu item for media has been updated to make use of the
"mediaTag" instead of mediaClass to continue distinguishing media types.
That was the only place a grep of mediaClass turned up any use.

Bug: T273505
Change-Id: If5dc6b794dacd6973d3b2093e6b385591b91d539
2022-06-10 14:29:31 -04:00
..
ve.ui.MWAlienAnnotationContextItem.js Handle annotation tags as nodes rather than metaitems. 2021-10-21 10:39:04 +02:00
ve.ui.MWAlienExtensionContextItem.js
ve.ui.MWAnnotationContextItem.js eslint: Enable no-jquery/no-append-html 2021-12-16 02:04:11 +01:00
ve.ui.MWDefinedTransclusionContextItem.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWGalleryContextItem.js
ve.ui.MWIncludesContextItem.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWInternalLinkContextItem.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWLanguageVariantNodeContextItem.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWMagicLinkNodeContextItem.js
ve.ui.MWMediaContextItem.js Support the upcoming mw:File typeof 2022-06-10 14:29:31 -04:00
ve.ui.MWNumberedExternalLinkNodeContextItem.js Remove "delete" button from link node desktop context 2022-03-30 17:43:02 +01:00
ve.ui.MWPreContextItem.js
ve.ui.MWSignatureContextItem.js ve.ui.MWSignatureContextItem: Remove useless 'command' 2020-09-02 22:09:21 +00:00
ve.ui.MWTransclusionContextItem.js Remove delete button from template context 2022-03-20 18:09:31 +00:00
ve.ui.MWWikitextPasteContextItem.js Move var declarations inline 2022-03-01 17:50:24 +00:00