API:Imagerotate

This module is currently disabled on all Wikimedia wikis.

Token
To rotate an image, a CSRF token is required.

The CSRF token is the same for all pages, but changes at every login.

CSRF tokens can be obtained via   with   (MW 1.24+).

For older versions, you can use  or  to get an edit token.

Parameters
This module incorporates ApiPageSet and behaves similar to a query in most respects.

See specify>API:Query#Specifying pages|specifying pages and redir>API:Query#Resolving redirects|resolve redirects for more information.

Error Codes
In addition to the api>Special:MyLanguage/API:Errors#Standard error messages|usual stuff, any failure to rotate an image will be reported in the errormessage field in the results.