Page MenuHomePhabricator

Make Sense ID link targets less redundant
Closed, ResolvedPublic3 Estimated Story Points

Description

Problem:
If I want to link to a certain Sense of a Lexeme in Wikidata, I must use a URL like https://www.wikidata.org/wiki/Lexeme:L1234#L1234-S1, where the Lexeme ID is repeated and separated by a hyphen from the relevant Sense ID, S1. https://www.wikidata.org/wiki/Lexeme:L1234#S1 would be more convenient and less redundant.

Example:

BDD
GIVEN a Lexeme L1234
AND a Sense S1
WHEN I add #S1 to the URL of the Lexeme
AND load the page
THEN the page jumps to the S1 section of the page

Acceptance criteria:

  • a Sense in the Sense section of the Lexeme has an HTML ID that is equivalent to the Sense's ID

Notes:

  • We don't keep the old IDs.
  • The work for Forms was done in T195477.

Event Timeline

Lydia_Pintscher renamed this task from Make Form ID link targets less redundant to Make Sense ID link targets less redundant.Sep 17 2018, 4:49 PM
Lydia_Pintscher updated the task description. (Show Details)

Change 461184 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/extensions/WikibaseLexeme@master] Make Sense ID link targets less redundant

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

Addshore triaged this task as Medium priority.Sep 19 2018, 7:02 AM

Change 461184 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Make Sense ID link targets less redundant

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