Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -560,12 +560,12 @@ |
561 | 561 | dieout( "Could not find the interwiki.sql file." ); |
562 | 562 | } |
563 | 563 | |
564 | | - $sql = "INSERT INTO interwiki(iw_prefix,iw_url,iw_local) VALUES "; |
| 564 | + $sql = "INSERT INTO interwiki(iw_prefix,iw_url,iw_local,iw_api,iw_wikiid) VALUES "; |
565 | 565 | while ( !feof( $f ) ) { |
566 | 566 | $line = fgets( $f, 1024 ); |
567 | 567 | $matches = array(); |
568 | 568 | if ( !preg_match( '/^\s*(\(.+?),(\d)\)/', $line, $matches ) ) continue; |
569 | | - $this->query( "$sql $matches[1],$matches[2])" ); |
| 569 | + $this->query( "$sql $matches[1],$matches[2],'','')" ); |
570 | 570 | } |
571 | 571 | } |
572 | 572 | |