mysociety / verification-pages

Tool to generate and push verification pages to Wikidata
https://www.wikidata.org/wiki/Template:Verification_page
2 stars 1 forks source link

prevent statements from being created if a *_item field is not a Q-value #339

Open mhl opened 5 years ago

mhl commented 5 years ago

This creates difficult to diagnose problems, e.g. the error:

Error from the Wikidata API [invalid-snak] Invalid snak data.

... could be caused if parliamentary_group_item is something other than a Q-value.

tmtmtmtm commented 5 years ago

NB this does show up in the non-JS version, as we're presumably running things through the {{Q|…}} template there. But once the JS version has loaded that disappears/gets hidden, so is much easier to overlook.

screen shot 2018-07-24 at 07 53 09