Index: trunk/phase3/includes/api/ApiImport.php |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | class ApiImportReporter extends ImportReporter { |
183 | 183 | private $mResultArr = array(); |
184 | 184 | |
185 | | - function reportPage( $title, $origTitle, $revisionCount, $successCount ) { |
| 185 | + function reportPage( $title, $origTitle, $revisionCount, $successCount, $pageInfo ) { |
186 | 186 | // Add a result entry |
187 | 187 | $r = array(); |
188 | 188 | ApiQueryBase::addTitleInfo( $r, $title ); |
— | — | @@ -189,7 +189,7 @@ |
190 | 190 | $this->mResultArr[] = $r; |
191 | 191 | |
192 | 192 | // Piggyback on the parent to do the logging |
193 | | - parent::reportPage( $title, $origTitle, $revisionCount, $successCount ); |
| 193 | + parent::reportPage( $title, $origTitle, $revisionCount, $successCount, $pageInfo ); |
194 | 194 | } |
195 | 195 | |
196 | 196 | function getData() { |
Index: trunk/phase3/includes/specials/SpecialImport.php |
— | — | @@ -307,7 +307,7 @@ |
308 | 308 | } |
309 | 309 | } |
310 | 310 | |
311 | | - function reportPage( $title, $origTitle, $revisionCount, $successCount ) { |
| 311 | + function reportPage( $title, $origTitle, $revisionCount, $successCount, $pageInfo ) { |
312 | 312 | global $wgOut, $wgUser, $wgLang, $wgContLang; |
313 | 313 | |
314 | 314 | $args = func_get_args(); |