Wikipedia:Bots/Requests for approval/MetsBot 5

MetsBot 05

[[User:MetsBot]]

{{Newbot|MetsBot}}

Operator: Mets501

Automatic or Manually Assisted: Automatic

Programming Language(s): AWB

Function Summary: Replacing dates like January 2nd with January 2, and decades like 1980's with 1980s as per the Wikipedia: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 2nd or 2nd January with January 2 and 2 January, respectively. It will also replace decades written like 1980's 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

= Discussion =

:20px Task approved. Fair enough. Voice-of-All 18:12, 10 December 2006 (UTC)

::Thanks. —Mets501 (talk) 20:22, 10 December 2006 (UTC)

:The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.