Problem:
Statements on Lexeme pages are identified with the HTML attribute id, whose values are the corresponding property IDs. This can lead to multiple HTML elements with the same id, since the same property can be used on the Lexeme level, in each Form and also Sense. However, the id value must be unique within the HTML document. It also causes issues when you use it as a link fragment to link to a specific statement group.
This still needs to be fixed for Senses now.
Old Example for Forms:
- In L2, both L2-F1 and L2-F3 have a statement with <div class="wikibase-statementgroupview listview-item" id="P898">, which makes the HTML document invalid and the URL https://www.wikidata.org/wiki/Lexeme:L2#P898 ambiguous.
BDD
GIVEN I am on a Lexeme AND the Sense S1 has a statement using property P123 THEN the statement group for S1 has an HTML id "S1-P123" <- mind that this lacks the Lexeme part of the id
Acceptance criteria:
- Statement groups in Senses have the Senses ID added to their statement group ID
- Statement groups on the Lexeme level as well as on items and properties continue to have only the property ID in their statement group ID
Info
- This was done for Forms in T196226