Page MenuHomePhabricator

Create maintenance script to run constraintsTableUpdate jobs for all properties
Closed, ResolvedPublic

Description

When we switch from constraint templates to constraint statements, we’ll need to import constraint statements of all properties, without waiting for an edit on them that would trigger the WikibaseChangeNotification hook. The simplest way to do that is probably to create a maintenance script that schedulesruns the constraintsTableUpdate job for all existing properties, as if they had just been changed.

Event Timeline

Change 362982 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Add maintenance script to import constraint statements

https://gerrit.wikimedia.org/r/362982

Lucas_Werkmeister_WMDE renamed this task from Create maintenance script to schedule constraintsTableUpdate jobs for all properties to Create maintenance script to run constraintsTableUpdate jobs for all properties.Jul 3 2017, 12:41 PM
Lucas_Werkmeister_WMDE moved this task from DOING to REVIEW on the Wikibase-Quality board.
Lucas_Werkmeister_WMDE updated the task description. (Show Details)
Jonas moved this task from Review to Done on the Wikidata-Former-Sprint-Board board.

Change 362982 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Add maintenance script to import constraint statements

https://gerrit.wikimedia.org/r/362982