Index: trunk/phase3/includes/api/ApiRender.php |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | $result = $this->getResult(); |
60 | 60 | $retval_array = array(); |
61 | 61 | $result->setContent( $retval_array, $retval ); |
62 | | - $result->addValue( null, 'render', $retval_array ); |
| 62 | + $result->addValue( null, $this->getModuleName(), $retval_array ); |
63 | 63 | } |
64 | 64 | |
65 | 65 | protected function getAllowedParams() { |
Index: trunk/phase3/includes/api/ApiExpandTemplates.php |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | $result = $this->getResult(); |
59 | 59 | $retval_array = array(); |
60 | 60 | $result->setContent( $retval_array, $retval ); |
61 | | - $result->addValue( null, 'expandtemplates', $retval_array ); |
| 61 | + $result->addValue( null, $this->getModuleName(), $retval_array ); |
62 | 62 | } |
63 | 63 | |
64 | 64 | protected function getAllowedParams() { |
Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -294,6 +294,7 @@ |
295 | 295 | |
296 | 296 | # API |
297 | 297 | 'ApiBase' => 'includes/api/ApiBase.php', |
| 298 | + 'ApiExpandTemplates' => 'includes/api/ApiExpandTemplates.php', |
298 | 299 | 'ApiFormatFeedWrapper' => 'includes/api/ApiFormatBase.php', |
299 | 300 | 'ApiFeedWatchlist' => 'includes/api/ApiFeedWatchlist.php', |
300 | 301 | 'ApiFormatBase' => 'includes/api/ApiFormatBase.php', |
— | — | @@ -308,7 +309,6 @@ |
309 | 310 | 'ApiLogin' => 'includes/api/ApiLogin.php', |
310 | 311 | 'ApiMain' => 'includes/api/ApiMain.php', |
311 | 312 | 'ApiOpenSearch' => 'includes/api/ApiOpenSearch.php', |
312 | | - 'ApiExpandTemplates' => 'includes/api/ApiExpandTemplates.php', |
313 | 313 | 'ApiPageSet' => 'includes/api/ApiPageSet.php', |
314 | 314 | 'ApiQuery' => 'includes/api/ApiQuery.php', |
315 | 315 | 'ApiQueryAllpages' => 'includes/api/ApiQueryAllpages.php', |