As an editor I want to be able to merge two Lexemes in order to eliminate duplicates.
Before merge of two items:
After successful merge of two items:
GIVEN I have two Lexemes that represent the same word
WHEN I go to Special:MergeLexeme
AND enter their IDs
AND I click "merge Lexemes
THEN the source Lexeme is emptied and replaced by a redirect to the target Lexeme
AND the statements of the source Lexeme are added to the statement section of the target Lexeme unless identical statements already exist
AND the Forms of the source Lexeme (including their statements) get added as new Forms to the target Lexeme (unless they are have identical representation and grammatical features)
AND I get a confirmation message saying "L123 was merged into L1234 and redirected."
* A new SpecialPage Special:MergeLexeme exists and can be used to merge two Lexemes.
* After a merge the source Lexeme contains a MediaWiki redirect to the target Lexeme (just like it is done for items).
* After the merge I can go to the URL of the source Lexeme and am redirected to the target Lexeme.
* If there are identical Forms (same representation and grammatical features) in each Lexeme then the statements for that Form get added to the existing Form.
* Blocking of specific bad merges is not covered in this ticket.
* Redirecting on the Form level is not to be done at this point - only the Lexeme level
* What happens on items when both have the exact same statement? Do they get duplicated or does this statement get ignored during the merge?