User:Mike Christie/GACbot

From Wikipedia, the free encyclopedia

Contents

[edit] GACbot

This page is for discussion of the functionality of a possible bot to assist with administrative tasks on the Good Article Candidates page.

Possible functions are listed below. In summary:

  1. Old noms report. A list of the oldest 10 noms, sorted by age.
  2. Backlog count. A count of the backlog, with some subcounts.
  3. Exception report. A list of unexpected or undesirable issues.
  4. Summary. A list by category, showing some nom statistics in each category.

[edit] Old noms report

A list of the 10 oldest nominations, sorted by age. Anything on hold or under review should not be included.

  1. Oldest nom
  2. Second oldest nom

E.g.

  1. Tropical cyclone rainfall forecasting 19:13, 11 March 2007 (UTC)
  2. 2005 Texas Longhorn football team 17:13, 14 March 2007 (UTC)

etc.

For a first version of this, it would be fine to including nominations that are on hold or under review if it's hard to parse that information in order to skip them.

Note that the links are not to the articles, but to the GAC sections they're in.

[edit] Backlog count

Produce a daily report formatted like this:

<date> <time> -- <n> nominations outstanding; <n> held ; <n> under review; <n> not reviewed

Example:

19 Apr 2007 20:00 -- 167 nominations outstanding; 14 held ; 7 under review; 146 not reviewed

[edit] Exception report

A daily report showing the following:

Holds over 7 days old:

<list of noms>

Out of sequence nominations:

<list of noms>

Old reviews:

<list of noms>

Old nominations:

<list of noms>

Malformed nominations:

<list of noms>

Multiple nominators: <nominator>

<list of noms>

<nominator>

<list of noms>

The <list of noms> would be a list of article names (they don't need to be linked) along with dates of nom, hold and review. It includes the category: e.g.

Geography: Roads and highways: Snickelways of York: nom 07:00, 15 April 2007 (UTC)

  • A hold over 7 days old has a timestamp against the hold that is > 7 days older than the bot runtime.
  • An out of sequence nomination has a timestamp younger than at least one nom lower down the list in the same category.
  • An old review has a review tag with a timestamp > 7 days older than the bot runtime.
  • An old nomination has a nomination timestampe > 30 days older than the bot runtime.
  • A malformed nomination is any nomination for which the nomination, hold or review cannot be parsed, or the timestamp can't be retrieved.
  • Multiple nominations lists all nominators with more than one nomination on the page, and then lists the articles they have nominated, including the category they are in.

The categories should be linked to the relevant section on the GAC page.

[edit] Summary

A list showing categories and counts as follows:

Arts:

Art and Artists <n>, <n> held, <n> in review, oldest <date>
Architecture <n>

etc.

Shows the number of open nominations for each category. Counts show the number with a hold and the number with a review. Category heads link to that section of Wikipedia:Good article candidates. The oldest date is the date of the oldest nom in that category.