mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
dm Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
init
preinit
tests Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
themes
ui