Page MenuHomePhabricator

Wire SenseIdHtmlFormatterTest to EntityIdHtmlLinkFormatterFactory
Closed, ResolvedPublic3 Estimated Story Points

Description

BDD

GIVEN a statement has a constraint violation
AND the constraint violation explanation contains a reference to a Lexeme Sense
THEN the link to that Sense should show the glosses as link text

AC

  • The Sense ID is no longer shown but instead the Gloss(es)

Info

  • Done for Lexemes or Forms in T195315

Event Timeline

Change 459768 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] Wire SenseIdHtmlFormatter to EntityIdHtmlLinkFormatterFactory

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

A relatively simple way to test this, assuming you have WikibaseQualityConstraints set up, is to define a symmetric constraint on a sense-type property and then check the constraints of the subject entity via Special:ConstraintReport.

Change 459768 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Wire SenseIdHtmlFormatter to EntityIdHtmlLinkFormatterFactory

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