From c489de6533c858d770c59e014eaa749449f5d2b6 Mon Sep 17 00:00:00 2001 From: emijrp Date: Sat, 9 Jul 2011 18:43:06 +0000 Subject: [PATCH] issue #14 git-svn-id: https://wikiteam.googlecode.com/svn/trunk@197 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95 --- dumpgenerator.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dumpgenerator.py b/dumpgenerator.py index ee5f99c..be4c98d 100644 --- a/dumpgenerator.py +++ b/dumpgenerator.py @@ -703,6 +703,7 @@ def getParameters(params=[]): And one of these at least: --xml: it generates a XML dump. It retrieves full history of pages located in namespace = 0 (articles) If you want more namespaces, use the parameter --namespaces=0,1,2,3... or --namespaces=all + If you want only the current versions of articles (not the full history), use --curonly option too --images: it generates an image dump --logs: it generates a log dump @@ -710,7 +711,10 @@ You can resume previous incomplete dumps: --resume: it resumes previous incomplete dump. When using --resume, --path is mandatory (path to directory where incomplete dump is). You can exclude namespaces: - --exnamespaces: write the number of the namespaces you want to exclude, splitted by commas. + --exnamespaces: write the number of the namespaces you want to exclude, split by commas. + +You can be nice with servers using a delay: + --delay: it adds a time sleep (in seconds, adding 5 seconds between requests: --delay:5) Write --help for help.""" sys.exit()