Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Configurations

Raze Soldier edited this page May 26, 2018 · 1 revision

Required fields

Login config

$gConsumerKey
Your Consumer token

  • Allow type: string
  • Default value: NULL

$gConsumerSecret
Your Consumer secret

  • Allow type: string
  • Default value: NULL

$gAccessKey
The token that used to access your Consumer

  • Allow type: string
  • Default value: NULL

$gAccessSecret
The secret that used to access your Consumer

  • Allow type: string
  • Default value: NULL

Fixer config

$gEntryPoint
Which wiki do you want to improve? (E.g. zhwiki, enwiki)

  • Allow type: string
  • Default value: NULL

$gFixType
Specify Hclear-bot to fix the errors of the given error type

  • Allow type: string
  • Default value: NULL

Optional fields

$gMaxLag
An integer number of seconds that specify edits maximum lag value

  • Allow type: int (>0)
  • Default value: 5

$gEditLimit
An number of seconds that specify how much time the next edit should elapse from the previous edit

  • Allow type: int (>0)
  • Default value: 5

$gMaxJob
An integer number that specify job execute times

  • Allow type: int (>=1 or -1)
  • Default value: -1

$gFixerMaxQuery
An integer number that each working maximum query lint API

  • Allow type: int (>=1)
  • Default value: 20

$gAllowFixNamespace
An integer number or an array that Hclear-bot only fix there namespaces

  • Allow type: int or array
  • Default value: NULL