Topic on Talk:2017 wikitext editor/Feedback

lang attribute of file is not working in Preview

3
Nirajan pant (talkcontribs)

I tried to include a translated version of an image file (svg) with language attribute, for example,

[[File:Gerrit patchset 25838 test.svg|lang=ne]] [[File:Gerrit patchset 25838 test.svg|lang=fr]]

This does not show translated version of svg file in preview mode. But displays translated version after saving. What is the reason behind this?

Whatamidoing (WMF) (talkcontribs)

At a guess, Parsoid probably doesn't support this feature yet, at least in your web browser.

@Cscott, could this be T60920 or T208620?

Cscott (talkcontribs)

Yes, most likely T208620. It's not too hard to fix, but we're in a code freeze at the moment. T60920 would be in effect if we were shipping the raw SVG to the browser, but I expect that preview mode is still Doing The Right Thing and sending a thumbnail -- we're just not passing the right options when we get the thumbnail (yet).

Reply to "lang attribute of file is not working in Preview"