Sorry about typos. I haven't slept for two days i think :)
On Sat, Oct 20, 2012 at 8:48 AM, Amir Ladsgroup <ladsgroup(a)gmail.com> wrote:
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
worked<http://wikidata-test-repo.wikimedia.de/w/index.php?title=Q321&curid=9133&diff=105698&oldid=105697>but
if there is any bugs feel free to tell me
Cheers
--
Amir
--
Amir