Problem:
Entities referenced in statements on the Lexeme level show the Lexeme as a link source on Special:WhatLinksHere. It does not yet work for statements in the Senses part of the Lexeme. It should.
Example:
https://wikidata.beta.wmflabs.org/wiki/Special:WhatLinksHere/Lexeme:L1 does not show https://wikidata.beta.wmflabs.org/wiki/Lexeme:L12 even though it links to L1 in a statement on S1.
BDD
GIVEN I have a Lexeme with a Sense
WHEN I add a statement to that Sense
THEN the Lexeme shows up on the "What links here" for the referenced entities (the statement property, linked entities, and entities from qualifiers)
Acceptance criteria:
- The Lexeme shows up on WhatLinksHere for the linked entity if it is used in a statement (main snak, qualifiers, references) on a Sense
Notes
See also T198793 for how this was fixed for statements on Forms.