00001 <?php 00013 $oldCwd = getcwd(); 00014 00015 $optionsWithArgs = array( "o" ); 00016 require_once( dirname(__FILE__) . '/commandLine.inc' ); 00017 require( dirname(__FILE__)."/dumpInterwiki.inc" ); 00018 chdir( $oldCwd ); 00019 00020 # Output 00021 if ( isset( $options['o'] ) ) { 00022 # To database specified with -o 00023 $dbFile = CdbWriter::open( $options['o'] ); 00024 } 00025 00026 getRebuildInterwikiDump(); 00027