This does not work for me, with the latest revision:
Traceback (most recent call last):
File "C:\Pywikipedia\wikidata-teszt.py", line 4, in <module>
data = eval(p.get()) # evaluation is needed for transform text into dictionary
File "C:\Pywikipedia\wikipedia.py", line 697, in get
expandtemplates = expandtemplates)
File "C:\Pywikipedia\wikipedia.py", line 778, in _getEditPage
data['query']={'pages':data['entities']}
KeyError: 'entities'
I think there must be some change with the API, please compare
http://wikidata-test-repo.wikimedia.de/w/api.php to
https://www.wikidata.org/w/api.php
Could someone find the problem please?
B.