Wikipedia:Bots/Requests for approval/MetsBot 5

From Wikipedia, the free encyclopedia

[edit] User:MetsBot

taskscontribscountlogspage movesblock userblock logflag logflag bot

Operator: Mets501

Automatic or Manually Assisted: Automatic

Programming Language(s): AWB

Function Summary: Replacing dates like January 2 with January 2, and decades like 1980s with 1980s as per the WP:MOS.

Edit period(s) (e.g. Continuous, daily, one time run): Sporadically

Edit rate requested: 6 edits per minute

Already has a bot flag (Y/N): Yes

Function Details: MetsBot will replace dates like January 2 or 2 January with January 2 and 2 January, respectively. It will also replace decades written like 1980s with 1980s. The three regexes to be used are:

  • \b([12])([0-9])([0-9])([0-9])'s\b
    • $1$2$3$4s
  • \b(January|February|March|April|May|June|July|August|September|October|November|December) ([0-9])([0-9]|)(st|nd|rd|th)\b
    • $1 $2$3
  • \b([0-9])([0-9]|)(st|nd|rd|th) (January|February|March|April|May|June|July|August|September|October|November|December)\b
    • $1$2 $4

[edit] Discussion

Task approved. Fair enough. Voice-of-All 18:12, 10 December 2006 (UTC)
Thanks. —Mets501 (talk) 20:22, 10 December 2006 (UTC)