r53784 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53783‎ | r53784 | r53785 >
Date:18:24, 26 July 2009
Author:catrope
Status:ok
Tags:
Comment:
Elaborate docs added in r53753 per CR comment
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -729,7 +729,7 @@
730730 * @param $errorCode string Brief, arbitrary, stable string to allow easy
731731 * automated identification of the error, e.g., 'unknown_action'
732732 * @param $httpRespCode int HTTP response code
733 - * @param $extradata array Data to add to the query result
 733+ * @param $extradata array Data to add to the <error> element; array in ApiResult format
734734 */
735735 public function dieUsage($description, $errorCode, $httpRespCode = 0, $extradata = null) {
736736 wfProfileClose();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53753Followup to r53702: document $extradata parametercatrope18:29, 25 July 2009

Status & tagging log