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