Page MenuHomePhabricator

Spelling variant of the Lemma - basic lookup for picking the spelling variant
Closed, ResolvedPublic8 Estimated Story Points

Description

As a Lexeme creator I want to be able to specify the spelling variant of my Lexeme in order to differentiate it from potential other spelling variants.

Screenshots/mockups:
https://www.figma.com/file/XoYktoKEBnC0VIf1SRuxJK/Lexicographical-Data-UI?node-id=493%3A2733

BDD
GIVEN the special page to create a new Lexeme
WHEN selecting a language for the Lexeme language
THEN a lookup component is shown to look up the spelling variant

Acceptance criteria:

  • the lookup selects from a list of language codes

Notes:

  • Inferring the spelling variant from the Item selected for the Lexeme language remains out of the scope of this task
  • Suggesting that the editor add a new spelling variant also remains outside of the scope of this task
  • Component: Wikit lookup component
  • The list of language codes for the selector is currently coming from Wikibase Lexeme Term languages i.e. mediawiki + additional hardcoded Lexeme language codes. For this ticket we will just use the Wikibase Lexeme Term languages as the initial set of language codes. We will expand/change that in a later ticket.
  • A/C "and allows input of special language codes like de-x-Q1234" moved to separate task: https://phabricator.wikimedia.org/T304407

Event Timeline

Note from other task's breakdown: This task should include validation for this newly added field.

noarave updated the task description. (Show Details)