From 449a2e61bd6090a8523d5098d03f1d0caccfbeec Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 6 Dec 2010 09:20:07 +0000 Subject: [PATCH] When opening the subprocess fetchText.php, pass the complete wiki ID through the --wiki parameter so that it works for all setups and not only for wikimedia --- maintenance/dumpTextPass.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/dumpTextPass.php b/maintenance/dumpTextPass.php index dbd1177246..b0a4c6ddbf 100644 --- a/maintenance/dumpTextPass.php +++ b/maintenance/dumpTextPass.php @@ -322,14 +322,14 @@ class TextPassDumper extends BackupDumper { } function openSpawn() { - global $IP, $wgDBname; + global $IP; $cmd = implode( " ", array_map( 'wfEscapeShellArg', array( $this->php, "$IP/maintenance/fetchText.php", - $wgDBname ) ) ); + '--wiki', wfWikiID() ) ) ); $spec = array( 0 => array( "pipe", "r" ), 1 => array( "pipe", "w" ), -- 2.20.1