WMDE-leszek added a comment.

There's been no update here since a year. Here is what's there now, to have an overview:

One can create form/sense using wbeditentity, either by:

  • new=form/new=sense and data containing lexemeId=L123, or
  • id=123 and data containing element in forms or senses that has the add key instead of id.

There are also dedicated APIs end points, respectively wbladdform, and wbladdsense, for adding single form/sense to a lexeme.
These endpoints are currently used by lexeme page UI.

The lexeme modification "logic" used by both API endpoints is shared, thus it should be possible to stop using one approach with only keeping the other.

wbladdform/wbladdsense APIs generate "meaningful" edit summaries, whereas wbeditentity always yields "Edited lexeme L123", due to limitations in wbeditentity itself.

If it was e.g. intended to phase out wbleaddform/wbladdsense APIs in favour of wbeditentity, the only change that could be consider potentially critical/important. would be the change to edit summaries.


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

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

To: WMDE-leszek
Cc: Lucas_Werkmeister_WMDE, Addshore, gerritbot, Jakob_WMDE, Lydia_Pintscher, thiemowmde, Jonas, WMDE-leszek, Aklapper, daniel, Aleksey_WMDE, PokestarFan, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to