As an editor I want to make statements on Lexemes that reference Forms on other Lexemes in order to indicate their relation.
Example usage: on the Lexeme "hard" we'd have a statement "rhymes with: card". "card" would be a Form on the "card" Lexeme.
We assume this to be an almost 100% exact copy of T165580: [Story] New datatype for referencing Senses including the subtasks listed there.
Acceptance criteria:
- I can create a new property with data type “Form”.
- I can create a new statement that references a Form on another Lexeme.
- I can select the Form via an entity selector by entering the ID of the referenced Form.
- Once saved the value shows the representation of the the referenced Form.
In case there are multiple representation variants, "the representation" should be interpreted as all representation variants separated by the i18n-zable seperator. In English, the separator is going to be a forward slash.
BDD Happy Path:
Given I am on the Lexeme Page
When I make a new statement
And I put an ID of the form in the value field
Then the entered ID is shown in the suggester
And I see the save button enabled
And The value border is now green for approval
And I can save
Given I am on the Lexeme Page
When I save a new statement with data type form
Then A new statement appears
And The representation "text" of the referenced form is displayed
And The representation "text" links to the target form section on the target Lexeme page
And The edit is recorded in the edit history with an edit summary like "Created claim: Rhymes with (P123): Reitern"
And The Property and link to the Form are leading to the property and Form respectively in the edit summary