You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mwclient wants MediaWiki 1.16. Maybe we can work around it when we get an error, or at least try again with a guessed index.php.
$ python dumpgenerator.py --xml --images --xmlrevisions --api=http://igra-govno.com/api.php [72/78]
Checking API... http://igra-govno.com/api.php
MediaWiki API seems to work but returned no index URL
Traceback (most recent call last):
File "dumpgenerator.py", line 2528, in <module>
main()
File "dumpgenerator.py", line 2474, in main
config, other = getParameters(params=params)
File "dumpgenerator.py", line 1779, in getParameters
check, checkedapi = checkRetryAPI(api, args.retries, args.xmlrevisions, session)
File "dumpgenerator.py", line 1917, in checkRetryAPI
site = mwclient.Site(apiurl.netloc, apiurl.path.replace("api.php", ""), scheme=apiurl.scheme)
File "/home/users/federico/.local/lib/python2.7/site-packages/mwclient/client.py", line 131, in __init__
self.site_init()
File "/home/users/federico/.local/lib/python2.7/site-packages/mwclient/client.py", line 166, in site_init
self.require(1, 16)
File "/home/users/federico/.local/lib/python2.7/site-packages/mwclient/client.py", line 464, in require
current=(self.version[:2]))
mwclient.errors.MediaWikiVersionError: Requires version 1.16, current version is 1.15
The text was updated successfully, but these errors were encountered:
I just ran into this yesterday for my version 1.10 media wiki. I posted about it over here. Are there older versions of mwclient that support older media wiki API versions? Are they a drop in replacement for dumpgenerator.py? I started tweaking the code to remove the userinfo argument to the meta API parameter, but then ran in to the version check you described:
mwclient.errors.MediaWikiVersionError: Requires version 1.16, current version is 1.10
mwclient wants MediaWiki 1.16. Maybe we can work around it when we get an error, or at least try again with a guessed index.php.
The text was updated successfully, but these errors were encountered: