Wikipedia:Bots/Requests for approval/ARVBot
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Denied.
Operator: PNiddy
Automatic or Manually Assisted:Automatically
Programming Language(s):pywikipedia
Function Summary:Reports vandalism users and IPs to Wikipedia:AIV and inappropriate usernames to Wikipedia:Usernames for administrator attention.
Edit period(s) (e.g. Continuous, daily, one time run):Continuous, daily, one time run
Edit rate requested: 5 edits per minute
Already has a bot flag (Y/N):
Function Details:And Yes! My bot will report ANY username that vandalizes userpages to Wikipedia:AIV and inappropriate usernames to Wikipedia:Usernames for administrator attention. Are there other bots the does that kind of stuff? It doesn't report any already-blocked users. This bvot can also recognize vandalism pretty much! Wikihermit's comments are right! This bot does all that kind of stuff!-- PNiddy Go! 0 00:28, 5 August 2007 (UTC)[reply]
Discussion
[edit]Sounds good ;-) . Do you have the script done? I am interested in seeing it. ~ Wikihermit 19:48, 4 August 2007 (UTC)[reply]
- You'll meed to ensure it doesn't report blocked users or report users who are already reported, and we need code for this sort of task. --ST47Talk·Desk 19:50, 4 August 2007 (UTC)[reply]
- (e.c.) Yes, there are quite a few bots that do "that kind of stuff". Can you provide more details? How will it recognize vandalism? How will it check for bad usernames? —METS501 (talk) 19:50, 4 August 2007 (UTC)[reply]
- Will the bot be able to identify previous warnings? How will you do this? Will it report users after three warnings, or four? What if a user receives {{uw-vandal4}} as the only warning? Will it report it then? How many edits will it roll back when undoing vandalism? ~ Wikihermit 19:54, 4 August 2007 (UTC)[reply]
- Absolutely! I didn't download pywikipedia but I will do! P.S. look at the function details I updated something!-- PNiddy Go! 0 00:29, 5 August 2007 (UTC)[reply]
- How exactly does it recognise vandalism? Can you provide regexs/methods/etc? Also, how will it detect usernames? Matt/TheFearow (Talk) (Contribs) (Bot) 00:30, 5 August 2007 (UTC)[reply]
- Absolutely! I didn't download pywikipedia but I will do! P.S. look at the function details I updated something!-- PNiddy Go! 0 00:29, 5 August 2007 (UTC)[reply]
- Will the bot be able to identify previous warnings? How will you do this? Will it report users after three warnings, or four? What if a user receives {{uw-vandal4}} as the only warning? Will it report it then? How many edits will it roll back when undoing vandalism? ~ Wikihermit 19:54, 4 August 2007 (UTC)[reply]
- How does it do all those things I've said? I asked "How will you identify previous warnings," and you simply replied,"It will do all those things." Will you use regular expressions to identify the html tags on the end of warnings? How long will it take you to publish the source? I'm interested it seeing it ;-). ~ Wikihermit 00:33, 5 August 2007 (UTC)[reply]
It will do those things automatically! But for the comment below your comment (by Wikihermit), It might take about 5 minutes to publish the source! It could warn him/her automatically, I think...-- PNiddy Go! 0 00:37, 5 August 2007 (UTC)[reply]
- You need to give us the source code to the bot, now, or I'm going to assume that you don't have any and deny this request. --ST47Talk·Desk 00:39, 5 August 2007 (UTC)[reply]
Here'sthe source code:
def addt5(x):
return x+5
def dotwrite(ast):
nodename = getNodeName()
label=symbol.sym_name.get(int(ast[0]),ast[0])
print ' %s [label="%s' % (nodename, label) ,
if isinstance(ast[1], str):
if ast[1].strip():
print '= %s "];' % ast[1]
else:
print '"]'
else:
print '"]'
children = []
for n, child in eunmerate(ast[1:]):
children.append(dotwrite(child))
print ' %s -> {' % nodename,
for name in children:
print '%s' % name,
Denied. — madman bum and angel 04:48, 5 August 2007 (UTC)[reply]
- 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.