The distinction is already made by the nested <img|audio|video> tags, so there doesn't seem to be a loss of information
This should help simplify the css in content.media.less and probably be helpful for T270150
Note that there's already an mw:MediaLink type for linking to, instead of rendering, media (ex, [[Media:Foo.jpg]])
A migration plan for clients is needed ... similar to T266143
- VE - https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/801441
- Flow - https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Flow/+/793854
- Mobileapps - https://gerrit.wikimedia.org/r/c/mediawiki/services/mobileapps/+/793560
- Cxserver - https://gerrit.wikimedia.org/r/c/mediawiki/services/cxserver/+/800269