summaryrefslogtreecommitdiff
path: root/maintenance/dumpInterwiki.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/dumpInterwiki.php')
-rw-r--r--maintenance/dumpInterwiki.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/maintenance/dumpInterwiki.php b/maintenance/dumpInterwiki.php
index f5f22f3c..045e393b 100644
--- a/maintenance/dumpInterwiki.php
+++ b/maintenance/dumpInterwiki.php
@@ -6,20 +6,21 @@
* @file
* @todo document
* @ingroup Maintenance
+ * @ingroup Wikimedia
*/
/** */
$oldCwd = getcwd();
$optionsWithArgs = array( "o" );
-require( "commandLine.inc" );
-require( "dumpInterwiki.inc" );
+require_once( dirname(__FILE__) . '/commandLine.inc' );
+require( dirname(__FILE__)."/dumpInterwiki.inc" );
chdir( $oldCwd );
# Output
if ( isset( $options['o'] ) ) {
# To database specified with -o
- $dbFile = dba_open( $options['o'], "n", "cdb_make" );
+ $dbFile = CdbWriter::open( $options['o'] );
}
getRebuildInterwikiDump();