Page MenuHomePhabricator
Paste P6320

Constraint check result statuses on Q64 (Berlin)
ActivePublic

Authored by Lucas_Werkmeister_WMDE on Nov 15 2017, 1:22 PM.
# note: constraint checking on Q64 can take up to twenty seconds, please don’t run this too often :)
curl -G \
-d 'format=json' \
-d 'formatversion=2' \
-d 'action=wbcheckconstraints' \
-d 'id=Q64' \
https://www.wikidata.org/w/api.php |
jq '.. |
objects |
select(has("status")) |
.status' |
sort |
uniq -c |
sort -nr

Event Timeline

Current results:

1344 "compliance"
 196 "not-main-snak"
  80 "todo"
  73 "warning"
  18 "deprecated"
   1 "violation"