Merge "Updated result properties in paraminfo API"
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 21 Jul 2012 09:09:02 +0000 (09:09 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 21 Jul 2012 09:09:02 +0000 (09:09 +0000)
includes/api/ApiDelete.php
includes/api/ApiQueryUserContributions.php

index 5932c72..da13a22 100644 (file)
@@ -224,7 +224,8 @@ class ApiDelete extends ApiBase {
                return array(
                        '' => array(
                                'title' => 'string',
-                               'reason' => 'string'
+                               'reason' => 'string',
+                               'logid' => 'integer'
                        )
                );
        }
index 3806375..f30b132 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
+                               )
                        )
                );
        }