Page MenuHomePhabricator

Paraminfo for upload module is broken
Closed, ResolvedPublic

Description

Author: a.d.bergi

Description:
Trying to call paraminfo for the upload module returns a technical error:

PHP fatal error in /usr/local/apache/common-local/php-1.17/includes/api/ApiUpload.php line 497:
Call to undefined method ApiUpload::getRequireOnlyOneParameterErrorMessages()

I'm not sure what this method should do (rarely documented in ApiBase) and I'm not an PHP expert, but I guess its about line 582 (see applied patch).


Version: unspecified
Severity: major
URL: http://de.wikipedia.org/w/api.php?action=paraminfo&modules=upload

Details

Reference
bz31169

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:53 PM
bzimport set Reference to bz31169.
bzimport added a subscriber: Unknown Object (MLST).

a.d.bergi wrote:

proposed patch

attachment bug31169 paraminfo ApiUpload.patch ignored as obsolete

(In reply to comment #1)

Created attachment 9103 [details]
proposed patch

Nope, this isn't the fix, the parent method isn't a static method

attachment bug31169 paraminfo ApiUpload.patch ignored as obsolete

a.d.bergi wrote:

Thanks, that was fast :-)