WARNING: API support is experimental (faster but broken).

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@805 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
pull/117/head
nemobis 12 years ago
parent 240b9f9dac
commit 0080197b8f

@ -743,7 +743,7 @@ def bye():
def usage():
""" """
print """Error. You forget mandatory parameters:
--api or --index: URL to api.php or to index.php, one of them. If wiki has api.php, please, use --api instead of --index. Examples: --api=http://archiveteam.org/api.php or --index=http://archiveteam.org/index.php
--api or --index: URL to api.php or to index.php, one of them. WARNING: API support is experimental (faster but broken). . Examples: --api=http://archiveteam.org/api.php or --index=http://archiveteam.org/index.php
And one of these at least:
--xml: It generates a XML dump. It retrieves full history of all pages (if you want only the current version use --xml --curonly)
@ -867,7 +867,7 @@ def getParameters(params=[]):
if config['api']:
#check api.php
if checkAPI(config['api']):
print 'api.php is OK'
print 'api.php is OK however, WARNING: API support is experimental (faster but broken)'
else:
print 'Error in api.php, please, provide a correct path to api.php'
sys.exit()

Loading…
Cancel
Save