https://bugzilla.wikimedia.org/show_bug.cgi?id=32643

       Web browser: ---
             Bug #: 32643
           Summary: action=purge with forcelinkupdate gives fatal when
                    reach ratelimit
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


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-&gt;setWarning(Array)
#4 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(692):
ApiPurge-&gt;execute()
#5 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(358):
ApiMain-&gt;executeAction()
#6 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(342):
ApiMain-&gt;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' ) ) );

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to