r57947 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57946‎ | r57947 | r57948 >
Date:17:30, 20 October 2009
Author:dale
Status:deferred
Tags:
Comment:
Adds --wiki param to shell background downloads
Modified paths:
  • /branches/wmf-deployment/includes/HttpFunctions.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/HttpFunctions.php
@@ -125,7 +125,7 @@
126126
127127 // run the background download request:
128128 $cmd = $wgPhpCli . ' ' . $IP . "/maintenance/http_session_download.php " .
129 - "--sid {$session_id} --usk {$upload_session_key}";
 129+ "--sid {$session_id} --usk {$upload_session_key} --wiki " . wfWikiId();
130130 $pid = wfShellBackgroundExec( $cmd );
131131 // the pid is not of much use since we won't be visiting this same apache any-time soon.
132132 if( !$pid )

Status & tagging log