It's a bit sloppy in some areas, but I'll improve it as I need it to do more things.
From: hale.michael.jr@live.com To: wikidata-l@lists.wikimedia.org Date: Tue, 2 Apr 2013 05:25:14 -0400 Subject: Re: [Wikidata-l] Running "Infobox film" import script
http://www.wikidata.org/wiki/User:Wakebrdkid%27s_bot/code
Date: Tue, 2 Apr 2013 05:10:22 -0400 From: ehs@pobox.com To: wikidata-l@lists.wikimedia.org Subject: Re: [Wikidata-l] Running "Infobox film" import script
Hi Michael,
Is the code for your bot publicly available somewhere?
//Ed
On Tue, Apr 2, 2013 at 12:58 AM, Michael Hale hale.michael.jr@live.com wrote:
I've been practicing using the Wikidata and MediaWiki APIs today. Even though the Wikidata API is still being developed, using it was more pleasant than parsing the templates. The good news is I'll probably be able to reuse a lot of that code for other infoboxes that still need to be imported. It's looking through 76000 articles for new statements it can add using Wikidata's currently supported film properties, excluding the IMDb ID because that isn't included in the infobox. So far it has added 691 new statements to 68 movies. I forgot to add a counter for when it finds one that already had all of the information entered. It will definitely have some errors, but I scanned the results for the first 100 movies before I started importing them, and I think the value-add will be much greater than the number of errors.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________ Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l