Index: trunk/phase3/includes/ImportXMLReader.php |
— | — | @@ -376,7 +376,7 @@ |
377 | 377 | $tag = $this->reader->name; |
378 | 378 | |
379 | 379 | if ( !wfRunHooks( 'ImportHandleLogItemXMLTag', |
380 | | - $this->reader, &$logInfo ) ) { |
| 380 | + $this->reader, $logInfo ) ) { |
381 | 381 | // Do nothing |
382 | 382 | } if ( in_array( $tag, $normalFields ) ) { |
383 | 383 | $logInfo[$tag] = $this->nodeContents(); |
— | — | @@ -437,7 +437,7 @@ |
438 | 438 | // The title is invalid, bail out of this page |
439 | 439 | $skip = true; |
440 | 440 | } elseif ( !wfRunHooks( 'ImportHandlePageXMLTag', $this->reader, |
441 | | - &$pageInfo ) ) { |
| 441 | + $pageInfo ) ) { |
442 | 442 | // Do nothing |
443 | 443 | } if ( in_array( $tag, $normalFields ) ) { |
444 | 444 | $pageInfo[$tag] = $this->nodeContents(); |
— | — | @@ -484,7 +484,7 @@ |
485 | 485 | $tag = $this->reader->name; |
486 | 486 | |
487 | 487 | if ( !wfRunHooks( 'ImportHandleRevisionXMLTag', $this->reader, |
488 | | - &$pageInfo, &$revisionInfo ) ) { |
| 488 | + $pageInfo, $revisionInfo ) ) { |
489 | 489 | // Do nothing |
490 | 490 | } if ( in_array( $tag, $normalFields ) ) { |
491 | 491 | $revisionInfo[$tag] = $this->nodeContents(); |
— | — | @@ -545,7 +545,7 @@ |
546 | 546 | $tag = $this->reader->name; |
547 | 547 | |
548 | 548 | if ( !wfRunHooks( 'ImportHandleUploadXMLTag', $this->reader, |
549 | | - &$pageInfo, &$revisionInfo ) ) { |
| 549 | + $pageInfo, $revisionInfo ) ) { |
550 | 550 | // Do nothing |
551 | 551 | } if ( in_array( $tag, $normalFields ) ) { |
552 | 552 | $uploadInfo[$tag] = $this->nodeContents(); |