From: Nicolas Dumazet Date: Sun, 1 Mar 2009 05:13:42 +0000 (+0000) Subject: For move logs, log_params can have a "suppressedRedirect" boolean, as a second parame... X-Git-Tag: 1.31.0-rc.0~42649 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=fe53e8d894c45170096ce31366a295f22b67e7ed;p=lhc%2Fweb%2Fwiklou.git For move logs, log_params can have a "suppressedRedirect" boolean, as a second parameter. Adding support to display it. --- diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index 245924c9a5..8b763d6969 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -160,9 +160,12 @@ class ApiQueryLogEvents extends ApiQueryBase { $vals2 = array(); ApiQueryBase :: addTitleInfo($vals2, $title, "new_"); $vals[$type] = $vals2; - $params = null; } } + if (isset ($params[1])) { + $vals[$type]['suppressedredirect'] = (bool) $params[1]; + } + $params = null; break; case 'patrol': $vals2 = array();