Current behavior:
- Go here
- Notice that the "Language settings" is no longer there and the image does not render.
Expected behavior:
Either of the following:
- The image renders correctly and the tool works as expected
- The error is handled gracefully by keeping the user on the search page and showing an error (following the same design as in F27636316)
Description from merged-in task created by Dom:
What is the problem?
On the beta version of svgtranslate, I have found with several files that the image does not appear, just the translation form:
https://tools.wmflabs.org/svgtranslate-test/File:Atmosphaerenzusammensetzung.svg
https://tools.wmflabs.org/svgtranslate-test/File:Atmosphere_composition_diagram-en.svg
https://tools.wmflabs.org/svgtranslate-test/File:Culex_pipiens_diagram_en.svg
Those are all files I uploaded to beta commons from their originals on production commons.
Those images do appear in the "production" version.
Loading those pages with devtools in the browser shows no errors in the HTTP requests or JavaScript.
Steps to reproduce problem
Visit any of the above urls.
Expected behavior:Image of the SVG appears on the right.
Observed behavior: No image appears.
Environment
Operating system: Debian Jessie
Browser: Firefox 60 and Chromium 57