Original description: As a first step toward creating an interface for rotating an image (see T34875: Provide an interface to rotate an image), it would be very nice to have an API for rotating an image. This would then make it pretty easy to build a user interface to rotate an image (ala https://commons.wikimedia.org/wiki/Help:RotateLink )
Current progress: There is an API action=imagerotate, however, it is not considered to be performant enough to be enabled on Wikimedia wikis. We need a proper solution in MediaWiki that can be enabled on the WMF production cluster.
- Patch to fix this: https://gerrit.wikimedia.org/r/#/c/225097/ (Status: Waiting for review)