dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff91f2
)
Set the wiki ID for AssembleUploadChunks.php call for wiki farms.
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 7 Jan 2013 22:32:14 +0000
(14:32 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 7 Jan 2013 22:32:21 +0000
(14:32 -0800)
Change-Id: I342998b45309315b9a1dc75833c997c286874505
includes/api/ApiUpload.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiUpload.php
b/includes/api/ApiUpload.php
index
d68c515
..
377bfbf
100644
(file)
--- 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(),