Hi all!

This is an announcement for a breaking change to the output of the WikibaseQualityConstraints constraint checking API, to go live on . It potentially affects clients that use the wbcheckconstraints API action. (We are not aware of any such clients apart from the checkConstraints gadget, which is not affected.)

Currently, the description of a constraint in the API response includes the detail and detailHTML fields, which contain the constraint parameters. The gadget has never used these fields, since the error messages for some time now contain all the information needed to understand the constraint violation (that is, the constraint parameters are part of the message where necessary). Additionally, since the move from the {{Constraint}} templates to constraint statements on properties (using property constraint (P2302)), parsing constraint parameters is no longer the complex task it once was, and consumers interested in the constraint parameters can inspect the constraint statements using the standard Wikibase APIs or the Wikidata Query Service.

Since these two fields can account for up to 40% of the wbcheckconstraints API response size, and we want to start caching those responses soon, we will remove the detail and detailHTML fields on . This is already in effect on the Wikidata constraints test system; you can test your tools or other code there.

Please let us know if you have any comments or objections. -- Lucas

Relevant tickets:

Relevant patches:

--
Lucas Werkmeister
Software Developer (Intern)

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de

Imagine a world, in which every single human being can freely share in the sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207.