Wikipedia:Bot activity monitor/Configurations/task/doc

This is an old revision of this page, as edited by SD0001 (talk | contribs) at 17:33, 22 February 2021 (change default duration). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Usage

Bot task configuration parameters:

  • bot: Name of the bot account
  • task: Name of the bot task, used in the alerts and status table.
  • action: (Default: "edit") Type of action the bot does: "edit" or any log action such as "delete", "move", "patrol", etc. You also specify a sub-action such as "delete/revision" or "block/reblock". The value given must be acceptable to either the letype or leaction parameter of mw:API:Logevents (unless the value is "edit").
  • namespaces: Namespace(s) where the bot edits. Specify the namespace numbers (see Help:Namespaces) separated by commas if multiple.
  • title: Title of the page where the bot edits, if it's a single page, otherwise use |title_regex= instead.
  • title_regex: Regex matching page titles where the bot edits.
  • summary: Edit summary (or log summary) used. If this is not fixed, use |summary_regex= instead.
  • summary_regex: Regex matching edit summary (or log summary) used by the bot.
  • min_edits: (Default: 1) Minimum number of edits or log actions required in the given |duration=.
  • duration: (Default: 3 days) The passed time window in which to look for edits.
    • For example if min_edits=4 and duration=5 days, we expect to find at least 4 edits in the past 5 days.