How to add something to edit summary when using Pywikibot?

淺唱寂寞╮ 提交于 2021-01-28 05:22:49

问题


I am using Pywikibot at this moment, to add a lot of files in a category, and the Edit summary looks like this: "Bot: Adding category Taken with Sony DSC-WX350)"

I would like to add the text "using Pywikibot in automatic mode"

How to do that?


回答1:


pywikibot.save has a parameter summary



来源:https://stackoverflow.com/questions/47469124/how-to-add-something-to-edit-summary-when-using-pywikibot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!