Tool:Eranbot

From Wikitech
Toolforge tools
Eranbot
Author(s) Eran, valhallasw
Maintainer(s) (View all)
Source code https://github.com/valhallasw/plagiabot
License MIT License
Issues https://github.com/valhallasw/plagiabot/issues
Admin log eranbot

EranBot is a bot controlled by w:User:ערן. It powers the CopyPatrol feed, among other tasks.

Plagiabot

This is the bot task that populates a database with possible copyvios which is then used to create the CopyPatrol feed.

Maintenance

Occasionally the bot stalls and needs to be restarted. To do this:

  • become community-tech-tools then become eranbot
  • Run qstat to see what jobs are running. You're specifically looking for "enwiki", "frwiki", and other similarly named jobs. "lighttpd" is the webserver and is unrelated to the plagiabot task.
  • Run qdel [job-ID 1] [job-ID 2] ... to kill the individual jobs.
  • They should restart automatically within 10 minutes (see the crontab)