3 * Rebuild interwiki table using the file on meta and the language list
7 * @subpackage Maintenance
13 $optionsWithArgs = array( "o" );
14 include_once( "commandLine.inc" );
15 include_once( "rebuildInterwiki.inc" );
17 $sql = getRebuildInterwikiSQL();
20 if ( isset( $options['o'] ) ) {
21 # To file specified with -o
23 $file = fopen( $options['o'], "w" );
24 fwrite( $file, $sql );