From 9e9553785b7a20ddbe8372a0d027f69c63f9a480 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 7 Jan 2013 14:32:14 -0800 Subject: [PATCH] Set the wiki ID for AssembleUploadChunks.php call for wiki farms. Change-Id: I342998b45309315b9a1dc75833c997c286874505 --- includes/api/ApiUpload.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index d68c5159bc..377bfbfe76 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -218,6 +218,7 @@ class ApiUpload extends ApiBase { $cmd = wfShellWikiCmd( "$IP/includes/upload/AssembleUploadChunks.php", array( + '--wiki', wfWikiID(), '--filename', $this->mParams['filename'], '--filekey', $this->mParams['filekey'], '--userid', $this->getUser()->getId(), -- 2.20.1