This support was added to core in T205040 (I348840ef405e1370cc0c17d69051bce30153c9c0) and needs to be ported to Parsoid. Parsertests for this feature were added to the blacklist in Ic4e77a06638770e7439edcce1572bfe26f5838ad
Copied from duplicate T247671
Steps to Reproduce:
Edit https://de.wikipedia.org/w/index.php?title=COVID-19&direction=prev&oldid=197763810#Vorbeugung with 2017-wikitext-editor
Image from https://commons.wikimedia.org/w/index.php?title=File:COVID-19_Health_care_limit.svg&lang=de
If I use a image such as [[File:COVID-19_Health_care_limit.svg|mini|lang=de|description]] it shows the image in the default language (e.g. english) not in German (de). As soon as I save the page it is in German. Since I create multilingual svgs, I would like to check them before using in articles.
This image is used here:
https://de.wikipedia.org/w/index.php?title=COVID-19&direction=prev&oldid=197763810#Vorbeugung
Actual Results:
dispays the image with the default language (english)
Expected Results:
display the image in German (lang=de)