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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-l