It looks good,
but only works for [[links]], not for strings :-(
JAnD
2013/5/9 Maarten Dammers <maarten(a)mdammers.nl>nl>:
Hi everyone,
Today I published and documented two scripts to mass add claims using the
rewrite branch:
* claimit.py: A script to mass add Wikidata claims to a lot of items based
on pages on Wikipedia [1]
* harvest_template.py: A script to mass add Wikidata claims based on
information harvested from Wikipedia templates. [2]
Both are still a bit rough, but now it's possible to add claims on Wikidata
without writing a single line of code. Just run these bots from the
commandline.
I implemented it in rewrite because the I like the implementation of
Wikidata more than in trunk. It would be nice if trunk could just have the
same objects and interface as rewrite. Any opinions of this?
Maarten
[1]
https://www.mediawiki.org/wiki/Manual:Pywikipediabot/claimit.py
[2]
https://www.mediawiki.org/wiki/Manual:Pywikipediabot/harvest_template.py
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
--
--
Ing. Jan Dudík