Page MenuHomePhabricator

[NEEDS GROOMING] Update WikibaseQualityConstraint (WBQC) to use the new query service backend
Open, Needs TriagePublic

Description

In support of the migration away from Blazegraph, work is required to update the queries in WikibaseQualityConstraint (WBQC) to query the new backend.

Example: https://www.wikidata.org/wiki/Q17782337#P3596

Event Timeline

Lydia_Pintscher renamed this task from [NEEDS GROOMING] Integrate the WikibaseQualityConstraint (WBQC) checker with new UI to [NEEDS GROOMING] Update WikibaseQualityConstraint (WBQC) to use the new query service backend.Mar 27 2026, 3:55 PM
Lydia_Pintscher updated the task description. (Show Details)

Some things that will need updating in SparqlHelper, off the top of my head:

  • remove a hint:Prior hint:gearing "forward" that’s working around T168973 which will hopefully not be an issue on the new backend
  • adjust isTimeout() detection

Both of these have associated config variables (look for $wgWBQualityConstraintsSparqlTimeoutExceptionClasses and $wgWBQualityConstraintsSparqlHasWikibaseSupport, among others), but we might still want to update the code and not just the config.