{"action":"created","issue":{"url":"https://api.github.com/repos/google/primarysources/issues/8","labels_url":"https://api.github.com/repos/google/primarysources/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/google/primarysources/issues/8/comments","events_url":"https://api.github.com/repos/google/primarysources/issues/8/events","html_url":"https://github.com/google/primarysources/issues/8","id":66160223,"number":8,"title":"Reference URLs get suggested multiple times","user":{"login":"mineo","id":78236,"avatar_url":"https://avatars.githubusercontent.com/u/78236?v=3","gravatar_id":"","url":"https://api.github.com/users/mineo","html_url":"https://github.com/mineo","followers_url":"https://api.github.com/users/mineo/followers","following_url":"https://api.github.com/users/mineo/following{/other_user}","gists_url":"https://api.github.com/users/mineo/gists{/gist_id}","starred_url":"https://api.github.com/users/mineo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mineo/subscriptions","organizations_url":"https://api.github.com/users/mineo/orgs","repos_url":"https://api.github.com/users/mineo/repos","events_url":"https://api.github.com/users/mineo/events{/privacy}","received_events_url":"https://api.github.com/users/mineo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-03T14:51:26Z","updated_at":"2015-04-08T07:54:50Z","closed_at":"2015-04-05T20:35:43Z","body":"https://www.wikidata.org/wiki/Q6490983 currently suggests\r\n\r\n* http://icanwritefunny.blogspot.com/2013/05/the-electronic-arts-building.html\r\n* http://www.gettyimages.com/detail/news-photo/larry-probst-chairman-of-electronic-arts-inc-walks-with-news-photo/173236074\r\n\r\nIt doesn't look like that's a bug in the userscript because `curl https://tools.wmflabs.org/wikidata-primary-sources/entities/Q6490983 | sort | uniq -c` already says they're suggested twice."},"comment":{"url":"https://api.github.com/repos/google/primarysources/issues/comments/90835022","html_url":"https://github.com/google/primarysources/issues/8#issuecomment-90835022","issue_url":"https://api.github.com/repos/google/primarysources/issues/8","id":90835022,"user":{"login":"mineo","id":78236,"avatar_url":"https://avatars.githubusercontent.com/u/78236?v=3","gravatar_id":"","url":"https://api.github.com/users/mineo","html_url":"https://github.com/mineo","followers_url":"https://api.github.com/users/mineo/followers","following_url":"https://api.github.com/users/mineo/following{/other_user}","gists_url":"https://api.github.com/users/mineo/gists{/gist_id}","starred_url":"https://api.github.com/users/mineo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mineo/subscriptions","organizations_url":"https://api.github.com/users/mineo/orgs","repos_url":"https://api.github.com/users/mineo/repos","events_url":"https://api.github.com/users/mineo/events{/privacy}","received_events_url":"https://api.github.com/users/mineo/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T07:54:50Z","updated_at":"2015-04-08T07:54:50Z","body":"Thanks for the quick fix! I wonder, though, with the way https://github.com/google/primarysources/blob/master/backend/Persistence.cc#L337-L343 (which seems to be the backend of the \"/any\" endpoint) won't this eventually lead to \"/any\" redirecting to a wikidata entity that has an unapproved statement that won't be shown because its approved duplicate is already there?"}}