jayvdb added a comment. Thanks for replying. That is what I was hoping for.
More specific API actions are perfect if only one edit is needed. However that is almost always not the case. If more than one change is needed, such as adding a statement and adding a source to that statement, that change should be done as a single edit in order to be atomic. If the network fails after an API to add the statement, the source will not be added. Performing multiple changes in a single edit makes the edit history much more readable for humans. Regarding 'big JSON blob', pywikibot **does** create a 'diff' to send to the wbeditentity API, and the wbeditentity API **does** support that. Sure there is some processing required on both sides, however the same 'edits' are sent with roughly the same amount of data pushed across the wire, with less round trips and overhead. The automatic summaries are problem, but hopefully that is solved by the repo software soon. If not, we can solve that on the client side. However bots should be using informative edit summaries. TASK DETAIL https://phabricator.wikimedia.org/T107712 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Legoktm, Addshore, aude, hoo, Lydia_Pintscher, Ricordisamoa, pywikibot-bugs-list, jayvdb, thiemowmde, Aklapper, Ladsgroup, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
