(bug 18408) All required permissions for uploading (upload, edit, create) are now...
[mediawiki.git] / maintenance / dumpInterwiki.php
blob045e393bfba744cf1b9026f594792875b77cf455
1 <?php
2 /**
3 * Rebuild interwiki table using the file on meta and the language list
4 * Wikimedia specific!
6 * @file
7 * @todo document
8 * @ingroup Maintenance
9 * @ingroup Wikimedia
12 /** */
13 $oldCwd = getcwd();
15 $optionsWithArgs = array( "o" );
16 require_once( dirname(__FILE__) . '/commandLine.inc' );
17 require( dirname(__FILE__)."/dumpInterwiki.inc" );
18 chdir( $oldCwd );
20 # Output
21 if ( isset( $options['o'] ) ) {
22 # To database specified with -o
23 $dbFile = CdbWriter::open( $options['o'] );
26 getRebuildInterwikiDump();