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 @@
818
818
*/
819
819
public function dieUsageMsg($error) {
820
820
$parsed = $this->parseMsg($error);
821
- $this->dieUsage($parsed['code'], $parsed['info']);
821
+ $this->dieUsage($parsed['info'], $parsed['code']);
822
822
}
823
823
824
824
/**
Follow-up revisions
Revision
Commit summary
Author
Date
r47862
Backporting
r47861
to the 1.14 branch
catrope
14:29, 27 February 2009
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r47039
* API: (
bug 17357
) Add subpage moving to the API...
catrope
14:16, 9 February 2009
Comments
#
Comment by
Catrope
(
talk
|
contribs
)
14:30, 27 February 2009
Backported in
r47862
Status & tagging log
17:05, 4 January 2012
Johnduhart
(
talk
|
contribs
)
changed the
tags
for r47861
[
removed:
api]
22:42, 8 June 2011
Krinkle
(
talk
|
contribs
)
changed the
tags
for r47861
[
removed:
ok]
07:27, 25 March 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r47861
[
removed:
new
added:
ok]
16:59, 27 February 2009
Aaron Schulz
(
talk
|
contribs
)
changed the
tags
for r47861
[
added:
ok]
14:28, 27 February 2009
Catrope
(
talk
|
contribs
)
changed the
tags
for r47861
[
added:
api]