mediawiki-extensions-Visual.../modules/ve-mw/tests/dm
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
..
annotations Move data model tests to correct directory 2021-09-22 14:09:33 +02:00
models Remove not needed self = this indirections 2022-02-21 10:52:24 +01:00
nodes Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
ve.dm.Converter.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.Document.test.js Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
ve.dm.mwExample.js Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
ve.dm.SurfaceFragment.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00