From: Aaron Schulz Date: Mon, 7 Jan 2013 22:32:14 +0000 (-0800) Subject: Set the wiki ID for AssembleUploadChunks.php call for wiki farms. X-Git-Tag: 1.31.0-rc.0~21113 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=9e9553785b7a20ddbe8372a0d027f69c63f9a480;p=lhc%2Fweb%2Fwiklou.git Set the wiki ID for AssembleUploadChunks.php call for wiki farms. Change-Id: I342998b45309315b9a1dc75833c997c286874505 --- 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(),