Page MenuHomePhabricator

Entities linked in statements on Senses should show up in WhatLinksHere
Closed, ResolvedPublic

Description

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.

Event Timeline

Restricted Application added a project: Wikidata. · View Herald TranscriptAug 2 2018, 8:22 AM

Change 452391 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] Add statements from senses to Special:WhatLinksHere

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

Change 452392 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] Add tests for form and sense statements in Special:WhatLinksHere

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

Change 452391 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Add statements from senses to Special:WhatLinksHere

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

Change 452392 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Add tests for form and sense statements in Special:WhatLinksHere

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