The following request reproducibly fails:
$.post(mw.util.wikiScript('api'), {
action: 'imagerotate', rotation: 270, titles: 'File:Lead Photo For 1986–87 Ekstraklasa0-4085970458108932.jpg', token: mw.user.tokens.get('editToken')
});
Result:
<?xml version="1.0"?>
<api>
<imagerotate> <page id="24899054" ns="6" title="File:Lead Photo For 1986–87 Ekstraklasa0-4085970458108932.jpg" result="Failure" errormessage="Fehler beim Erstellen des Vorschaubildes: " /> </imagerotate>
</api>
Expected result:
Success
Version: 1.21.x
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=36221