action: 'imagerotate' fails on bigger images
Open, NormalPublic

Description

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

Details

Reference
bz46548
bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz46548.
bzimport added a subscriber: Unknown Object (MLST).
Rillke created this task.Mar 25 2013, 8:42 PM

600 KB files work, while 2 MB don't.

(In reply to comment #0)

result="Failure" errormessage="Fehler beim Erstellen des Vorschaubildes: " />

This means that only creating the *preview* fails, right?

(In reply to comment #2)
This is the meaning of the message, if you translate it to English but of course the whole operation fails. Unfortunately I can't reproduce it because

<api servedby="mw1138">

<error code="moduledisabled" info="The "imagerotate" module has been disabled." xml:space="preserve">

[...]

at Commons.

That's bug 33186 comment 12 (+ Gerrit change 55842)

Anomie moved this task from Unsorted to Non-Code on the MediaWiki-API board.Feb 19 2015, 7:08 PM