Template:DatBot filters/doc

DatBot checks Template:DatBot filters for updates every five minutes.

The 'global' section takes into consideration all included filters, meaning if any combination of filters in the 'vandalism' section are hit (currently) ten times in five minutes, a report will be made.

The possible filter categories are:

  • vandalism - any filter where hits could be considered vandalism and eventually reported to AIV
  • username - any filter that if hit, should report to UAA

Each filter can have three optional items:

  • 'note', which is appended after the report,
  • 'time', which is the number of minutes for a user to reach the limit before it expires,
  • and 'hits', which is the number of hits required (within the 'time' timeframe) before a user is reported to AIV

The default values for time and hits are defined in the 'defaults' item. Both are redundant for username reports. 'time' doesn't have to be an integer, but rather can also be a decimal such as 0.5 for a 30 second timeframe.

If a user hits any combination of filters 'vandalism' a total of global.hits times within global.time minutes, they're reported to AIV.

If you'd like to add a new filter and you don't have any previous JSON experience, model it off an existing filter and make sure when you preview the page, it matches properly.

Keep the filters in numerical order to ease the maintenance process. For any additional questions, ask at User talk:DatGuy.