Updated result properties in paraminfo API
authorPetr Onderka <gsvick@gmail.com>
Sat, 7 Jul 2012 13:29:14 +0000 (15:29 +0200)
committerPetr Onderka <gsvick@gmail.com>
Sat, 7 Jul 2012 13:29:14 +0000 (15:29 +0200)
Recent changes I6e388e75 and Ia6415b39 introduced
new result properties, but didn't update getResultProperties().
This patch corrects that.

Change-Id: I18d088d76a48ec0d70408a8ac27a9af716839b61

includes/api/ApiDelete.php
includes/api/ApiQueryUserContributions.php

index 91406af..076dc7b 100644 (file)
@@ -221,7 +221,8 @@ class ApiDelete extends ApiBase {
                return array(
                        '' => array(
                                'title' => 'string',
-                               'reason' => 'string'
+                               'reason' => 'string',
+                               'logid' => 'integer'
                        )
                );
        }
index f531980..9476528 100644 (file)
@@ -513,6 +513,12 @@ class ApiQueryContributions extends ApiQueryBase {
                                        ApiBase::PROP_TYPE => 'integer',
                                        ApiBase::PROP_NULLABLE => true
                                )
+                       ),
+                       'sizediff' => array(
+                               'sizediff' => array(
+                                       ApiBase::PROP_TYPE => 'integer',
+                                       ApiBase::PROP_NULLABLE => true
+                               )
                        )
                );
        }