Last modified: 2012-06-06 13:38:18 UTC
When using action=purge with forcelinkupdate and it hits the ratelimit, the following stacktrace is shown: <?xml version="1.0"?><api servedby="srv296"><error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiResult::setContent: Bad parameter" xml:space="preserve"> #0 /usr/local/apache/common-local/php-1.18/includes/api/ApiBase.php(1241): wfDebugDieBacktrace('Internal error ...') #1 /usr/local/apache/common-local/php-1.18/includes/api/ApiResult.php(177): ApiBase::dieDebug('ApiResult::setC...', 'Bad parameter') #2 /usr/local/apache/common-local/php-1.18/includes/api/ApiBase.php(216): ApiResult::setContent(Array, Array) #3 /usr/local/apache/common-local/php-1.18/includes/api/ApiPurge.php(94): ApiBase->setWarning(Array) #4 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(692): ApiPurge->execute() #5 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(358): ApiMain->executeAction() #6 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(342): ApiMain->executeActionWithErrorHandling() #7 /usr/local/apache/common-local/php-1.18/api.php(115): ApiMain->execute() #8 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...') #9 {main} </error></api> The line in action=purge is: $this->setWarning( $this->parseMsg( array( 'actionthrottledtext' ) ) );
Gerrit change #9792 should fix it.
Bug assigned to the patch submitter.
Changeset has been merged to master, and (unless reverted) will therefore be included in the next release.