Remove ?>'s from files. They're pointless, and just asking for people to mess with...
[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 * @addtogroup Maintenance
7 */
8
9 /** */
10 $oldCwd = getcwd();
11
12 $optionsWithArgs = array( "o" );
13 include_once( "commandLine.inc" );
14 include_once( "dumpInterwiki.inc" );
15 chdir( $oldCwd );
16
17 # Output
18 if ( isset( $options['o'] ) ) {
19 # To database specified with -o
20 $dbFile = dba_open( $options['o'], "n", "cdb_make" );
21 }
22
23 getRebuildInterwikiDump();
24