From: Sam Reed Date: Tue, 10 May 2011 23:46:27 +0000 (+0000) Subject: * (bug 27790) add query type for querymodules to action=paraminfo X-Git-Tag: 1.31.0-rc.0~30285 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=0f618da0765750046c87f43a7987d4cf1c99f801;p=lhc%2Fweb%2Fwiklou.git * (bug 27790) add query type for querymodules to action=paraminfo --- diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 50a0caafc9..c6b711a69c 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -34,6 +34,7 @@ used in Tiff files. the user a page named [[:]] already exists. === API changes in 1.19 === +* (bug 27790) add query type for querymodules to action=paraminfo === Languages updated in 1.19 === diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index 1f8b383f66..5d1b572cba 100644 --- a/includes/api/ApiParamInfo.php +++ b/includes/api/ApiParamInfo.php @@ -70,6 +70,7 @@ class ApiParamInfo extends ApiBase { $obj = new $qmodArr[$qm]( $this, $qm ); $a = $this->getClassInfo( $obj ); $a['name'] = $qm; + $a['querytype'] = $queryObj->getModuleType( $qm ); $r['querymodules'][] = $a; } $result->setIndexedTagName( $r['querymodules'], 'module' );