Problem:
Given a request to wbeditentity to change or add a lemma of a Lexeme the response JSON does not contain the lemmas.
Example:
Sending a wbeditentity request for L42 with the data
{"lemmas":{"en":{"language":"en","value":"answer"}}} (Example sandbox link on Beta Wikidata) results in the following response:
{ "entity": { "claims": {}, "id": "L31", "type": "lexeme", "lastrevid": 275, "nochange": "" }, "success": 1 }
Expected response:
{ "entity": { "id": "L31", "type": "lexeme", "lemmas": { "en": { "language": "en", "value": "answer" }, "de": { "language": "de", "value": "antwort" }, "es": { "language": "es", "value": "respuesto" } }, "claims": {}, "lastrevid": 275, "nochange": "" }, "success": 1 }
This prevents the lemma editing UI from correctly updating its fields upon saving e.g. to reflect trimmed whitespace (T250550). This is possibly similar to T200255.
Acceptance criteria:
- When using wbeditentity to change/add a lemma then the response JSON contains the lemma.