Fix for r47482: put the RELEASE-NOTES entry in the "bug fixes" section and not the...
[mediawiki.git] / maintenance / dumpInterwiki.php
blob91cdbe8a8cf098f5e212c7d14dea98405561141f
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 */
11 /** */
12 $oldCwd = getcwd();
14 $optionsWithArgs = array( "o" );
15 include_once( "commandLine.inc" );
16 include_once( "dumpInterwiki.inc" );
17 chdir( $oldCwd );
19 # Output
20 if ( isset( $options['o'] ) ) {
21 # To database specified with -o
22 $dbFile = dba_open( $options['o'], "n", "cdb_make" );
25 getRebuildInterwikiDump();