lang and dir attributes are not applied to mw-content-text on a page that redirects to a file.
On a redirect to a content they are applied.
This causes the arrow in the redirect icon to point the wrong way when the user changes the UI language, and may cause other problems as well.
Example:
https://commons.wikimedia.org/w/index.php?title=File:Yhaplotree_svg.svg&redirect=no&uselang=he
Version: unspecified
Severity: normal