Hello all,
As you know, it is possible to add tags in the edit summaries (eg "mobile edit"), especially for edits made by tools (eg "openrefine"). These tags are used to more easily find specific edits and monitor the entering data, for example on the Recent Changes where one can filter all edits made via the VisualEditor, or all edits that remove a sitelink.
So far, tool builders had to use hacky ways to make their tools automatically add the tag to the edit summaries. In order to improve this process, we started adding a tags parameter to a bunch of APIs, to allow the developers to integrate the tags directly in their API actions. Here's the list of impacted APIs:
- wbeditentity - wbsetaliases - wbsetdescription - wbsetlabel - wbsetsitelink - wbcreateclaim - wbremoveclaims - wbremovequalifiers - wbremovereferences - wbsetclaim - wbsetclaimvalue - wbsetqualifier - wbsetreference
This change has already been deployed, so you can start using the new tags parameter right away.
You can find more information about tags and how to create some new ones on mw:Help:Tags https://www.mediawiki.org/wiki/Help:Tags (this page would probably need some love, feel free to improve it). If you encounter any issue, feel free to let a comment in the related ticket https://phabricator.wikimedia.org/T229917. Cheers,