[bugs:#1659] harvest_template adds incorrect source
Status: closed-fixed
Created: Mon Aug 26, 2013 10:37 AM UTC by Merlijn S. van Deen
Last Updated: Mon Aug 26, 2013 11:01 AM UTC
Owner: nobody
See http://ultimategerardm.blogspot.nl/2013/08/reviving-my-bot-for-wikidata-ii.html
to reproduce:
>>> from scripts import harvest_template >>> R = harvest_template.HarvestRobot('x', 'y', 'z') >>> R.setSource('en') >>> R.source Claim(Property:P143) >>> R.source.target ItemPage(Q4115441)
That should be ItemPage(Q328) (enwiki), not ItemPage(Q4115441) (sewiki)
Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.