Translations:Manual:$wgEnableAutoRotation/9/en

If not set in $1 (or if set to null) then this setting takes its value from $2 method - which returns true if the image rendering method supports rotation.