Page MenuHomePhabricator

action: 'imagerotate' fails on bigger images
Open, MediumPublicBUG REPORT

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

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:18 AM
bzimport set Reference to bz46548.
bzimport added a subscriber: Unknown Object (MLST).

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)

Aklapper changed the subtype of this task from "Task" to "Bug Report".Feb 15 2022, 9:39 PM