From: Aaron Schulz Date: Fri, 31 Jan 2014 22:39:29 +0000 (-0800) Subject: Added --wiki parameter to runJobs.php call X-Git-Tag: 1.31.0-rc.0~16983 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=e14bb583a4d07d4fd071ffa5cca94cdcb934635f;p=lhc%2Fweb%2Fwiklou.git Added --wiki parameter to runJobs.php call Change-Id: I8f729263397bedf1c293b14704798e7a4ec60581 --- diff --git a/includes/Wiki.php b/includes/Wiki.php index 56d23b163b..99857d9638 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -640,7 +640,8 @@ class MediaWiki { // Start a background process to run some of the jobs wfProfileIn( __METHOD__ . '-exec' ); $retVal = 1; - $cmd = wfShellWikiCmd( "$IP/maintenance/runJobs.php", array( '--maxjobs', $n ) ); + $cmd = wfShellWikiCmd( "$IP/maintenance/runJobs.php", + array( '--wiki', wfWikiID(), '--maxjobs', $n ) ); $cmd .= " >" . wfGetNull() . " 2>&1"; // don't hang PHP on pipes if ( wfIsWindows() ) { // Using START makes this async and also works around a bug where using