From e14bb583a4d07d4fd071ffa5cca94cdcb934635f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 31 Jan 2014 14:39:29 -0800 Subject: [PATCH] Added --wiki parameter to runJobs.php call Change-Id: I8f729263397bedf1c293b14704798e7a4ec60581 --- includes/Wiki.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1