A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324
  1. # -*- coding: utf-8 -*-
  2. # EarwigBot Configuration File
  3. # This file tells the bot which of its components should be enabled.
  4. # The IRC frontend (configured in config/irc.py) sits on a public IRC network,
  5. # responds to commands given to it, and reports edits (if the IRC watcher
  6. # component is enabled).
  7. enable_irc_frontend = True
  8. # The IRC watcher (connection details configured in config/irc.py as well) sits
  9. # on an IRC network that gives a recent changes feed, usually irc.wikimedia.net.
  10. # It looks for edits matching certain (often regex) patterns (rules configured
  11. # in config/watcher.py), and either reports them to the IRC frontend (if
  12. # enabled), or activates a task on the WikiBot (if configured to do).
  13. enable_irc_watcher = True
  14. # EarwigBot doesn't have to edit a wiki, although this is its main purpose. If
  15. # the wiki schedule is disabled, it will not be able to handle scheduled tasks
  16. # that involve editing (such as creating a daily category every day at midnight
  17. # UTC), but it can still edit through rules given in the watcher, and bot tasks
  18. # can still be activated by the command line. The schedule is configured in
  19. # config/schedule.py.
  20. enable_wiki_schedule = True