Updated result properties in paraminfo API

Recent changes I6e388e75 and Ia6415b39 introduced
new result properties, but didn't update getResultProperties().
This patch corrects that.

Change-Id: I18d088d76a48ec0d70408a8ac27a9af716839b61
This commit is contained in:
Petr Onderka 2012-07-07 15:29:14 +02:00
parent af6a3bc49e
commit 4b70aea869
2 changed files with 8 additions and 1 deletions

View file

@ -221,7 +221,8 @@ class ApiDelete extends ApiBase {
return array(
'' => array(
'title' => 'string',
'reason' => 'string'
'reason' => 'string',
'logid' => 'integer'
)
);
}

View 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
)
)
);
}