* (bug 27790) add query type for querymodules to action=paraminfo

This commit is contained in:
Sam Reed 2011-05-10 23:46:27 +00:00
parent 4804d40de9
commit 0f618da076
2 changed files with 2 additions and 0 deletions

View file

@ -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 ===

View file

@ -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' );