summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2017-04-14 14:32:44 +0200
committerluccioman <luccioman@users.noreply.github.com>2017-04-14 14:32:44 +0200
commitf66438442ecbb1d1ec29839780c4e19ecc36f923 (patch)
treeec2630dd5eaadf6cfe465cdff3c4dcc1fced9beb /bin
parente5c3b167486285f992c56aa03371759244d628c7 (diff)
Extended Mediawiki dump import to remote URLs.
When using a public HTTP URL in /IndexImportMediawiki_p.html, the remote file now is directly streamed and processed, allowing import of several GB dumps even with a low memory remote peer, and without need to manually download the dump file first.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/importmediawiki.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/importmediawiki.sh b/bin/importmediawiki.sh
index b520dc321..df1b4c7ae 100755
--- a/bin/importmediawiki.sh
+++ b/bin/importmediawiki.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
cd "`dirname $0`"
-./apicall.sh /IndexImportMediawiki_p.html?file=$1 > /dev/null
+./protectedPostApiCall.sh "IndexImportMediawiki_p.html" "file=$1"