r47861 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47860‎ | r47861 | r47862 >
Date:14:28, 27 February 2009
Author:catrope
Status:ok (Comments)
Tags:
Comment:
API: (bug 17703) Fix regression from r47039 causing error code and error text to be switched for some errors. r47039 was backported to the 1.14 branch, will backport this one too.
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -817,7 +817,7 @@
818818 */
819819 public function dieUsageMsg($error) {
820820 $parsed = $this->parseMsg($error);
821 - $this->dieUsage($parsed['code'], $parsed['info']);
 821+ $this->dieUsage($parsed['info'], $parsed['code']);
822822 }
823823
824824 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r47862Backporting r47861 to the 1.14 branchcatrope14:29, 27 February 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r47039* API: (bug 17357) Add subpage moving to the API...catrope14:16, 9 February 2009

Comments

#Comment by Catrope (talk | contribs)   14:30, 27 February 2009

Backported in r47862

Status & tagging log