mediawiki-extensions-Visual.../modules/ve-mw/tests
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
..
ce More tests for pasting external links 2022-04-22 04:43:51 +02:00
dm Support the upcoming mw:File typeof 2022-06-10 14:29:31 -04:00
init/targets Store copyright message in auto-save data 2022-04-07 23:03:37 +00:00
preinit More tests for pasting external links 2022-04-22 04:43:51 +02:00
ui Merge "tests: Use ve.test.utils.newMwEnvironment()" 2022-03-10 22:51:26 +00:00
.eslintrc.json Add tests for the expected properties in API result and auto-save 2022-04-08 01:02:53 +02:00
mw-preload.js test: Omit 'window' in mw-preload.js 2014-11-19 01:46:38 +00:00
ve.test.utils.js DesktopArticleTarget tests: Mock config using QUnit.newMwEnvironment 2022-03-04 13:36:22 +00:00