Manual:Pywikibot/basic.py

basic.py is a script of the Pywikibot framework. It is not a complete bot; rather, it is a template from which simple bots can be made. You can rename it to mybot.py, then edit it in whatever way you want.

Parameters
The following parameters are supported:

All page generator/filter options supported by pywikibot.pagegenerators are also supported, e.g., -recentpages: and -page:.

Use global -simulate option for test purposes. No changes are made to the live wiki if this option is supplied.

Example

 * This tries to append "Text" to the page User:MyUserName. Since the -simulate option is given, the actual page on the live wiki won't be modified.