Last modified: 2012-04-16 09:16:01 UTC
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).
Created attachment 9103 [details] proposed patch
http://en.wikipedia.org/w/api.php?action=paraminfo&modules=upload http://test2.wikipedia.org/w/api.php?action=paraminfo&modules=upload It's already fixed in 1.18 I've got a feeling I might've backported it
(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
It's also fine on trunk http://translatewiki.net/w/api.php?action=paraminfo&modules=upload It's due to a bad merge in 1.17wmf1 http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.17wmf1/includes/api/ApiUpload.php?view=markup It's not in REL1_17 http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_17/phase3/includes/api/ApiUpload.php?view=markup
r98153
Thanks, that was fast :-)