411260acd86d4685866fddef7779b38cf180e20f
[lhc/web/wiklou.git] / maintenance / dumpInterwiki.php
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 */
9
10 /** */
11 $oldCwd = getcwd();
12
13 $optionsWithArgs = array( "o" );
14 include_once( "commandLine.inc" );
15 include_once( "dumpInterwiki.inc" );
16 chdir( $oldCwd );
17
18 # Output
19 if ( isset( $options['o'] ) ) {
20 # To database specified with -o
21 $dbFile = dba_open( $options['o'], "n", "cdb_make" );
22 }
23
24 getRebuildInterwikiDump();
25 ?>