* (bug 27790) add query type for querymodules to action=paraminfo
[lhc/web/wiklou.git] / includes / api / ApiParamInfo.php
index 1f8b383..5d1b572 100644 (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' );