Help:Creating a bot: Difference between revisions

Content deleted Content added
Idea: Update location of list of currently operating bots
Line 162:
 
====Bot Flag====
A bot's edits will be visible at [[Special:RecentChanges]], unless the edits are set to indicate a bot. Once the bot has been approved and given its bot flag permission, one can add the "bot-=True" to the API call - see [[mw:API:Edit#Parameters]] in order to hide the bot's edits in [[Special:RecentChanges]]. In Python, using either mwclient or wikitools, then adding '''{{Green|<nowiki>Bot1=bot=True</nowiki>}}''' to the edit/save command will set the edit as a bot edit - e.g. {{code|1=PageObject.edit(text=pagetext, bot=True, summary=pagesummary)}}.
 
====Monitoring the bot status====