When saving preferences, check hook and authentication plugin, and actually save...
[mediawiki.git] / maintenance / dumpInterwiki.php
blob02116a5316fd2a881580184346fff64d531602a5
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 */
9 /** */
10 $oldCwd = getcwd();
12 $optionsWithArgs = array( "o" );
13 include_once( "commandLine.inc" );
14 include_once( "dumpInterwiki.inc" );
15 chdir( $oldCwd );
17 # Output
18 if ( isset( $options['o'] ) ) {
19 # To database specified with -o
20 $dbFile = dba_open( $options['o'], "n", "cdb_make" );
23 getRebuildInterwikiDump();