Page MenuHomePhabricator

Check constraints of newly created Forms and Senses on the Lexeme entity page
Open, Needs TriagePublic


As an editor I want to see constraints violations on Form and Sense statements in order to see mistakes in the data and fix them.

Even after T195828/T195829 statements on newly (via AJAX) created Forms and Senses are not checked for constraints violations. Only after the Lexeme page was reloaded this is happening as expected.


GIVEN I am on a Lexeme page
AND   I just created a new Form or Sense
WHEN  I add a statement to that Form or Sense
AND   that statement violates a constraint
THEN  the violation should be checked and indicated via the little constraint violation icon

Technical Notes

  • This requires WikibaseQualityConstraints to be aware of multiple entities on the page, and that these can be dynamically created after the page is loaded ("wikibase.entityPage.entityLoaded")