From: Roan Kattouw Date: Wed, 3 Dec 2008 19:01:30 +0000 (+0000) Subject: API: (bug 16516) Made rvsection=T-2 work rather than being interpreted as rvsection=0 X-Git-Tag: 1.31.0-rc.0~44142 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=d522ff92636ac8e09ccfc1046647e7ddce72d0a9;p=lhc%2Fweb%2Fwiklou.git API: (bug 16516) Made rvsection=T-2 work rather than being interpreted as rvsection=0 --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index fb12add345..b1967b637d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -482,6 +482,7 @@ The following extensions are migrated into MediaWiki 1.14: * (bug 16408) Added rvgeneratexml to prop=revisions * (bug 16421) Made list=logevents's leuser accept user names with underscores instead of spaces +* (bug 16516) Made rvsection=T-2 work === Languages updated in 1.14 === diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index 2689d7160b..91f3e4b16f 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -387,9 +387,7 @@ class ApiQueryRevisions extends ApiQueryBase { ), 'expandtemplates' => false, 'generatexml' => false, - 'section' => array( - ApiBase :: PARAM_TYPE => 'integer' - ), + 'section' => null, 'token' => array( ApiBase :: PARAM_TYPE => array_keys($this->getTokenFunctions()), ApiBase :: PARAM_ISMULTI => true