* Use double quoted consistently on attributes in linker output; preparing for new...
[mediawiki.git] / maintenance / dumpInterwiki.php
blob411260acd86d4685866fddef7779b38cf180e20f
1 <?php
2 /**
3 * Rebuild interwiki table using the file on meta and the language list
4 * Wikimedia specific!
5 * @todo document
6 * @package MediaWiki
7 * @subpackage Maintenance
8 */
10 /** */
11 $oldCwd = getcwd();
13 $optionsWithArgs = array( "o" );
14 include_once( "commandLine.inc" );
15 include_once( "dumpInterwiki.inc" );
16 chdir( $oldCwd );
18 # Output
19 if ( isset( $options['o'] ) ) {
20 # To database specified with -o
21 $dbFile = dba_open( $options['o'], "n", "cdb_make" );
24 getRebuildInterwikiDump();