r47904 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r47903
|
r47904
|
r47905
>
Date:
11:02, 1 March 2009
Author:
catrope
Status:
ok
Tags:
Comment:
Fix up
r47901
: don't return the string "true" or "false", be consistent with the rest of the API
Modified paths:
/trunk/phase3/includes/api/ApiQueryLogEvents.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/api/ApiQueryLogEvents.php
—
—
@@ -162,8 +162,8 @@
163
163
$vals[$type] = $vals2;
164
164
}
165
165
}
166
- if (isset ($params[1])) {
167
- $vals[$type]['suppressedredirect'] = (bool) $params[1];
166
+ if (isset ($params[1]) && $params[1]) {
167
+ $vals[$type]['suppressedredirect'] = '';
168
168
}
169
169
$params = null;
170
170
break;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r47901
For move logs, log_params can have a "suppressedRedirect" boolean, as a secon...
nicdumz
05:13, 1 March 2009
Status & tagging log
17:05, 4 January 2012
Johnduhart
(
talk
|
contribs
)
changed the
tags
for r47904
[
removed:
api]
07:02, 25 March 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r47904
[
removed:
new
added:
ok]
11:04, 1 March 2009
Catrope
(
talk
|
contribs
)
changed the
tags
for r47904
[
added:
api]