Lucas_Werkmeister_WMDE added a comment.

  This seems to be resolved with the recent wbeditentity result change 
<https://lists.wikimedia.org/pipermail/wikidata-tech/2021-February/001588.html>:
  
  name=request
    (new mw.Api()).postWithToken('csrf', {
      action:'wbeditentity',
      'new': 'form',
      data: JSON.stringify({
        lexemeId: 'L1483',
        representations: { en: { language: 'en', value: 'test form' } },
        grammaticalFeatures: []
      })
    })
  
  
  
  name=response
    {
      "entity": {
        "id": "L1483-F1",
        "representations": {
          "en": {
            "language": "en",
            "value": "test form"
          }
        },
        "grammaticalFeatures": [],
        "claims": {},
        "type": "form",
        "lastrevid": 537540
      },
      "success": 1
    }

TASK DETAIL
  https://phabricator.wikimedia.org/T200255

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lydia_Pintscher, gerritbot, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, 
Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, 
rosalieper, Bodhisattwa, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to