This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.
category_redirect.py will move pages out of redirected categories.
The bot will look for categories that are marked with a category redirect template, take the first parameter of the template as the target of the redirect, and move all pages and subcategories of the category there. It also changes hard redirects into soft redirects, and fixes double redirects. A log is written under <userpage>/category_redirect_log. Only category pages that haven't been edited for a certain cooldown period (currently 7 days) are taken into account.
These options will override the configuration in user-config.py settings.
Read the bot's configuration data from directory given by PATH, instead of from the default directory.
Set the language of the wiki you want to work on. xx should be the language code.
Set the family of the wiki you want to work on, e.g. wikipedia, wiktionary, commons, wikitravel, ….
Log in as user 'xyz' instead of the default username.
Immediately return control to the terminal and redirect stdout and stderr to xyz (only use for bots that require no input from stdin).
Show a help text for the invoked script.
Enable the logfile. Logs will be stored in the logs subdirectory.
Enable the logfile, using xyz as the filename.
Disable the logfile (if it's enabled by default).
Sets a new maxlag parameter to a number of seconds. Defer bot edits during periods of database server lag.
Enable the logfile and include extensive debugging data for component "item" (for all components if the second form is used).
Set the minimum time (in seconds) the bot will wait between saving pages.
Make the program output more detailed messages than usual to the standard output about its current work, or progress, while it is proceeding. This may be helpful when debugging or dealing with unusual situations.
Toggles the cosmetic_changes setting made in config.py or user_config.py to its inverse and overrules it. All other settings and restrictions are untouched.
Disables writing to the server. Useful for testing and debugging of new code (if given, doesn't do any real changes, but only shows what would have been changed).
You may use all given numeric config variables as option and modify it with command line.
For instance, the delay config variable can be set using -delay:1 so that the cooldown period would be 1 days (as opposed to the default of 7 days).