]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - maintenance/dumpInterwiki.php
MediaWiki 1.14.0-scripts
[autoinstallsdev/mediawiki.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  */
10
11 /** */
12 $oldCwd = getcwd();
13
14 $optionsWithArgs = array( "o" );
15 include_once( "commandLine.inc" );
16 include_once( "dumpInterwiki.inc" );
17 chdir( $oldCwd );
18
19 # Output
20 if ( isset( $options['o'] ) ) {
21     # To database specified with -o
22     $dbFile = dba_open( $options['o'], "n", "cdb_make" );
23
24
25 getRebuildInterwikiDump();
26