3 # Rebuild interwiki table using the file on meta and the language list
7 $optionsWithArgs = array( "o" );
8 include_once( "commandLine.inc" );
9 include_once( "rebuildInterwiki.inc" );
11 $sql = getRebuildInterwikiSQL();
14 if ( isset( $options['o'] ) ) {
15 # To file specified with -o
17 $file = fopen( $options['o'], "w" );
18 fwrite( $file, $sql );