Translations:Manual:$wgEnableAutoRotation/5/en

To explicitly disable image auto-rotation, add to the bottom of LocalSettings.php: