Last modified: 2013-05-30 12:24:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48548, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46548 - action: 'imagerotate' fails on bigger images
action: 'imagerotate' fails on bigger images
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.21.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-25 20:42 UTC by Rainer Rillke @commons.wikimedia
Modified: 2013-05-30 12:24 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rainer Rillke @commons.wikimedia 2013-03-25 20:42:27 UTC
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
Comment 1 Rainer Rillke @commons.wikimedia 2013-03-25 20:43:53 UTC
600 KB files work, while 2 MB don't.
Comment 2 Andre Klapper 2013-04-15 11:39:37 UTC
(In reply to comment #0)
> result="Failure" errormessage="Fehler beim Erstellen des Vorschaubildes: " />

This means that only creating the *preview* fails, right?
Comment 3 Rainer Rillke @commons.wikimedia 2013-04-18 15:15:06 UTC
(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.
Comment 4 Alex Monk 2013-04-18 15:57:01 UTC
That's bug 33186 comment 12 (+ Gerrit change #55842)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links