|Please share your thoughts about whether to keep this page at Wikibooks.
Maintain this notice so this page can receive a fair review and people have time to boldly address reasonable concerns through concrete improvements. Remove or replace this notice after discussion concludes and a community decision is made. Please also consider notifying the primary contributors on their discussion page with
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.
The following parameters are supported:
- If given, doesn't do any real changes, but only shows what would have been changed.
All other parameters will be regarded as part of the title of a single page, and the bot will only work on that single page.
python basic.py -debug User:MyUserName
- This tries to add 'Text ' in front of the page User:MyUserName. Since the -debug option is given, the page wouldn't be changed.