diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2017-04-14 14:32:44 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2017-04-14 14:32:44 +0200 |
| commit | f66438442ecbb1d1ec29839780c4e19ecc36f923 (patch) | |
| tree | ec2630dd5eaadf6cfe465cdff3c4dcc1fced9beb /bin | |
| parent | e5c3b167486285f992c56aa03371759244d628c7 (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-x | bin/importmediawiki.sh | 2 |
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" |
