Index: trunk/phase3/includes/api/ApiQueryInfo.php |
— | — | @@ -140,7 +140,7 @@ |
141 | 141 | if($tok_edit) |
142 | 142 | { |
143 | 143 | $missing = $pageSet->getMissingTitles(); |
144 | | - $res = $result->getData(); |
| 144 | + $res = &$result->getData(); |
145 | 145 | foreach($missing as $pageid => $title) |
146 | 146 | $res['query']['pages'][$pageid]['edittoken'] = $wgUser->editToken(); |
147 | 147 | } |