Wikipedia:Bots/Requests for approval/Detroiterbot II

Detroiterbot II

[[User:Detroiterbot|Detroiterbot II]]

{{Newbot|Detroiterbot}}

Operator: MJCdetroit

Automatic or Manually Assisted:Automatic

Programming Language(s):AWB

Function Summary:Update infobox parameter names (same as task #1) and also reformat some of the numeric fields into a raw format by removing commas (or spaces) so that these fields could have calculations performed on them.

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

Edit rate requested: 15 edits per Minute

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

Function Details: Use the following regexs to remove formatting from numbers:

"Find1": (\s|\|)(parametername1|parametername2|parametername3|parametername4)(\s*)=(\s*)(\d+)[,|.|\s](\d\d\d)[,|.|\s](\d\d\d)+

"Replace1":$1$2$3=$4$5$6$7

"Find2":(\s|\|)(parametername1|parametername2|parametername3|parametername4)(\s*)=(\s*)(\d+)[,|.|\s](\d\d\d)+

"'Replace2":$1$2$3=$4$5$6

I have used this under my regular account User:MJCdetroit in AWB and it seems to work great; check my contribs.

= Discussion =

{{BotSpeedy}} Looks good. —METS501 (talk) 15:55, 12 October 2007 (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.