List of steps to reproduce (step by step, including full links if applicable):
- Ask for the default language version of a File with
- https://commons.wikimedia.org/w/index.php?lang=und&title=File%3ASystemLanguage.svg
What happens?:
The File page displays showing the en IETF langtag.
That is, the file page uses this URL:
That URL does not specify the default language. In fact, it selects a rendering for the en langtag.
What should have happened instead?:
The File page should have shown "other"
That is, the File page should have used this URL:
That suggests MW has rejected the request to display the und langtag. Instead, it uses a default en rendering.
MW should always accept the und langtag.
In addition, explicitly demanding tlh also displays en rather than the tlh:
A File page with an explicit lang URL parameter should force the display of that langtag even if the SVG file does not support that langtag.