Last modified: 2009-08-26 20:09:54 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 T21931, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19931 - ApiUpload calls the UploadFromX object's verifyUpload() incorrectly
ApiUpload calls the UploadFromX object's verifyUpload() incorrectly
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Bryan Tong Minh
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-25 22:47 UTC by Brad Jorsch
Modified: 2009-08-26 20:09 UTC (History)
3 users (show)

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


Attachments
Patch against r53755 to fix the bug (2.49 KB, patch)
2009-07-25 22:47 UTC, Brad Jorsch
Details

Description Brad Jorsch 2009-07-25 22:47:52 UTC
Created attachment 6387 [details]
Patch against r53755 to fix the bug

The Upload classes' verifyUpload method apparently takes no options and returns either an integer status or an array with the 'status' element set to the status. But the API calls it as if it took a variable reference and returned the status with any other details set into the reference variable.
Comment 1 Bryan Tong Minh 2009-08-26 20:09:54 UTC
Cleaned up ApiUpload in r55613.

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


Navigation
Links