From: Alexandre Emsenhuber Date: Mon, 6 Dec 2010 09:20:07 +0000 (+0000) Subject: When opening the subprocess fetchText.php, pass the complete wiki ID through the... X-Git-Tag: 1.31.0-rc.0~33531 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=449a2e61bd6090a8523d5098d03f1d0caccfbeec;p=lhc%2Fweb%2Fwiklou.git 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 --- 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" ),