Move up to date the parser test expectation.
[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 *
6 * @file
7 * @todo document
8 * @ingroup Maintenance
9 * @ingroup Wikimedia
10 */
11
12 /** */
13 $oldCwd = getcwd();
14
15 $optionsWithArgs = array( "o" );
16 require_once( dirname( __FILE__ ) . '/commandLine.inc' );
17 require( dirname( __FILE__ ) . "/dumpInterwiki.inc" );
18 chdir( $oldCwd );
19
20 # Output
21 if ( isset( $options['o'] ) ) {
22 # To database specified with -o
23 $dbFile = CdbWriter::open( $options['o'] );
24 }
25
26 getRebuildInterwikiDump();
27