Lydia_Pintscher created this task. Lydia_Pintscher added projects: Wikidata-Campsite, Lexicographical data. Restricted Application added a project: Wikidata. |
TASK DESCRIPTION
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"
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 196226
TASK DETAIL
EMAIL PREFERENCES
To: Lydia_Pintscher
Cc: Lydia_Pintscher, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Jonas, Wikidata-bugs, aude, Darkdadaah, Mbch331
Cc: Lydia_Pintscher, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Jonas, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs