r87859 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87858‎ | r87859 | r87860 >
Date:23:46, 10 May 2011
Author:reedy
Status:ok
Tags:
Comment:
* (bug 27790) add query type for querymodules to action=paraminfo
Modified paths:
  • /trunk/phase3/RELEASE-NOTES-1.19 (modified) (history)
  • /trunk/phase3/includes/api/ApiParamInfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES-1.19
@@ -34,6 +34,7 @@
3535 the user a page named [[:]] already exists.
3636
3737 === API changes in 1.19 ===
 38+* (bug 27790) add query type for querymodules to action=paraminfo
3839
3940 === Languages updated in 1.19 ===
4041
Index: trunk/phase3/includes/api/ApiParamInfo.php
@@ -70,6 +70,7 @@
7171 $obj = new $qmodArr[$qm]( $this, $qm );
7272 $a = $this->getClassInfo( $obj );
7373 $a['name'] = $qm;
 74+ $a['querytype'] = $queryObj->getModuleType( $qm );
7475 $r['querymodules'][] = $a;
7576 }
7677 $result->setIndexedTagName( $r['querymodules'], 'module' );

Status & tagging log