Manual:Pywikipediabot/rciw.py
From MediaWiki.org
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.
Subversion repository of Wikimedia has this file:
Pywikipediabot |
|||||||||
|---|---|---|---|---|---|---|---|---|---|
|
rciw.py is a simple IRC script to check for Recent Changes through IRC, and to check for interwikis in those recently modified articles.
Can not be run manually/directly, but automatically by maintainer.py
In use on, not sure if this scales well on a large wiki such as en: (Depending on the edit rate, the number of IW threads could grow continuously without ever decreasing)
Warning: experimental software, use at your own risk
[edit] Parameters
-safe Does not handle the same page more than once in a session
Global arguments available for all bots
| arg | Description | Default |
|---|---|---|
| -family:xyz | Set the family of the wiki you want to work on, e.g. wikipedia, wiktionary, commons, wikitravel, …. This will override the configuration in user-config.py settings. | user-config.py parameter: family |
| -lang:xx | Set the language of the wiki you want to work on, overriding the configuration in user-config.py where xx should be the language code[1]. | user-config.py parameter: mylang |
| -log | Enable the logfile. Logs will be stored in the logs subdirectory. | user-config.py parameter: log ? |
| -log:xyz | Enable the logfile, using xyz as the filename. | |
| -nolog | Disable the logfile (if it's enabled by default). | |
| -putthrottle:nn -pt:nn |
Set the minimum time (in seconds) the bot will wait between saving pages. | user-config.py parameter: put_throttle ? |
| -verbose -v |
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. | not selected |