Followup r70461 if PARAM_REQUIRED is set, use for missing param in getPossibleErrors...
[mediawiki.git] / maintenance / dumpInterwiki.php
blob93004cb276a37c04007f9e3c27cd8a751a8e6eff
1 <?php
2 /**
3 * Rebuild interwiki table using the file on meta and the language list
4 * Wikimedia specific!
6 * @file
7 * @todo document
8 * @ingroup Maintenance
9 * @ingroup Wikimedia
12 /** */
13 $oldCwd = getcwd();
15 $optionsWithArgs = array( "o" );
16 require_once( dirname( __FILE__ ) . '/commandLine.inc' );
17 require( dirname( __FILE__ ) . "/dumpInterwiki.inc" );
18 chdir( $oldCwd );
20 # Output
21 if ( isset( $options['o'] ) ) {
22 # To database specified with -o
23 $dbFile = CdbWriter::open( $options['o'] );
26 getRebuildInterwikiDump();