question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wikidata query isn't returning updated edit count

See original GitHub issue

Summary:

On checking the recent changes on wiki-data it shows edits being made every day with tag #Wikimedia Commons app.

https://www.wikidata.org/w/index.php?hidebots=1&translations=filter&hidecategorization=1&tagfilter=wikimedia-commons-app&limit=500&days=30&hideWikibase=1&title=Special:RecentChanges&urlversion=2

But on checking the statistics in the DB, the count has not been changing for the past 1-2 months.

https://quarry.wmflabs.org/query/33398

Is there an issue with the query? We are using the same query for showing edits in the Achievements activity.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
urbanecmcommented, Feb 14, 2019

I found it. There was apparently a schema change, and ct_tag is not populated anymore. You have to filter by ct_tag_id. For wikimedia-commons-app, the corresponding tag id is 155.

0reactions
maskaravivekcommented, Feb 14, 2019

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wikidata:SPARQL query service/queries/examples/maintenance
Queries for monitoring Wikidata entities sourced from the Disease OntologyEdit · Disease items with redirected valuesEdit · Disease items with ...
Read more >
Wikidata SPARQL queries returning different results after ...
I think the cause is that the wikibase:label service returns label results for any value of ?statement_property_obj , even if that value has ......
Read more >
Talk:Wikidata Query Service/User Manual - MediaWiki
How can I just count the number of items that match a certain query? I mean, I get the total with the result...
Read more >
10 useful things about Wikidata & SPARQL that I wish I knew ...
This is a very unhelpful error message. Most probably there's nothing wrong with your query or with a comma, but your query returned...
Read more >
Cache Busting Wikidata SparQL Queries - Albin Larsson
Whenever you write a Wikidata query form which you do not expect the result to be the same each time, you will run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found