Index: trunk/phase3/includes/ImportXMLReader.php |
— | — | @@ -619,9 +619,10 @@ |
620 | 620 | if( is_null( $title ) ) { |
621 | 621 | // Invalid page title? Ignore the page |
622 | 622 | $this->notice( "Skipping invalid page title '$workTitle'" ); |
| 623 | + return false; |
623 | 624 | } elseif( $title->getInterwiki() != '' ) { |
624 | 625 | $this->notice( "Skipping interwiki page title '$workTitle'" ); |
625 | | - $title = null; |
| 626 | + return false; |
626 | 627 | } |
627 | 628 | |
628 | 629 | return array( $origTitle, $title ); |