r89553 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r89552
|
r89553
|
r89554
>
Date:
09:41, 6 June 2011
Author:
catrope
Status:
ok
Tags:
Comment:
Fix the non-PEAR alternative for Services_JSON_Error to be less useless.
bug 29278
shows an error related to this class not being stringifiable
Modified paths:
/trunk/phase3/includes/json/Services_JSON.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/json/Services_JSON.php
—
—
@@ -870,7 +870,12 @@
871
871
function Services_JSON_Error($message = 'unknown error', $code = null,
872
872
$mode = null, $options = null, $userinfo = null)
873
873
{
874
-
874
+ $this->message = $message;
875
875
}
876
+
877
+ function __toString()
878
+ {
879
+ return $this->message;
880
+ }
876
881
}
877
882
}
Follow-up revisions
Revision
Commit summary
Author
Date
r89555
1.17wmf1: MFT
r89553
catrope
09:45, 6 June 2011
r90270
Related to
bug 29278
, and from the comments in
bug 14210
, mention the edit to...
reedy
14:55, 17 June 2011
r90490
* (
bug 29278
) server error 500 when attempting to add text to a page via redi...
reedy
22:32, 20 June 2011
r90492
* (
bug 29278
) server error 500 when attempting to add text to a page via redi...
reedy
22:39, 20 June 2011
r92339
REL1_18 MFT
r89401
,
r89451
,
r89512
,
r89513
,
r89523
,
r89529
,
r89532
,
r89549
,
r...
reedy
23:08, 15 July 2011
r92434
MFT to REL1_18...
hashar
15:05, 18 July 2011
Status & tagging log
23:08, 15 July 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r89553
[
removed:
1.18]
22:32, 20 June 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r89553
[
added:
1.18]
10:14, 6 June 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r89553
[
removed:
new
added:
ok]