I use the command $item->addAliases('nl', $new_names); to add new aliases to an item and $item->setLabel('nl', $label) to add a label. That works. but the bot writes "Cleared an item: Edited a item" instead of something meaningful like 'Added en-labels'. Addwiki works well for 'New item created' that correctly show up in the logs for creating new items. People are asking me to fix this. How can this be fixed? Is this something that could be improved in this library? https://www.wikidata.org/w/index.php?title=Topic:Tnkwgbg7duz3ng92
Description
Event Timeline
So when you call RevisionSaver->save() (which I assume you are doing) you can pass a second param of an EditInfo object.
https://github.com/addwiki/wikibase-api/blob/master/src/Api/Service/RevisionSaver.php#L57
If the EditInfo object contains a summary that will be used in the edit
https://github.com/addwiki/wikibase-api/blob/master/src/Api/Service/RevisionSaver.php#L100
The generic summary that you are seeing here comes from just above this https://github.com/addwiki/wikibase-api/blob/master/src/Api/Service/RevisionSaver.php#L83
You can also use the AliasGroupSetter service to set aliases on an item essentially using the wbsetaliases api modules
https://github.com/addwiki/wikibase-api/blob/master/src/Api/Service/AliasGroupSetter.php
which would then generate more specific summaries as part of Wikibase itself.
I have also improved the README to cover this custom summary usage.
https://github.com/addwiki/wikibase-api/commit/8bc573664dbe834f1205206e56321a4c11d10c1d