Hi everyone I added wikidata edits on PWB. for now it's basic and you can only change or add or remove labels but i have plan to imporve it.
You can add wikidata family to your user-config.py and run a simillar code:
import wikipedia site=wikipedia.getSite('wikidata',fam='wikidata') page=wikipedia.Page(site,"Q321") page.put(u"",u"Bot: testing",wikidata=True,labelwikidata=u"no",valuewikidata=u"Test FOO")
I ran that and it workedhttp://wikidata-test-repo.wikimedia.de/w/index.php?title=Q321&curid=9133&diff=105698&oldid=105697but if there is any bugs feel free to tell me
Cheers