Wikipedia:Bots/Requests for approval/GeorgeMoneyBot-status
- 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 Approved.
Operator: GeorgeMoney
Automatic or Manually Assisted: Kinda manually assisted. (based on a trigger, see below)
Programming Language(s): PHP, self-written framework
Function Summary: Updating status changers based on IRC.
Edit period(s) (e.g. Continuous, daily, one time run): As needed
Edit rate requested: N/A
Already has a bot flag (Y/N): No
Function Details: It basically updates peoples' status changers based on actions on irc. I know that this has been proposed before by werdna but cannot find the brfa or anything. And before I get into explaining this, the bot is very hard to abuse: The channel in which it listens (#GeorgeMoney-status on freenode) is +r which means that un-registered-with-nickserv users can't join, +R - people unregistered with nickserv cant talk (or change nick or do anything) (like if they joined as an identified user but un-identified while inside), and the bot's auth methods are cloak based. So someone who nicks to GeorgeMoney and tries to abuse it and mess with my status will not be able to do anything because they dont have my cloak. And last but not least, it kicks users who arent registered with it. (So basically you need to be registered with nickserv and the bot). The new registration system is: http://wiki.riteme.site/wiki/User:GeorgeMoneyBot-status#How_to_register. See the new security features in my comment.
- It changes the status of a user, who has a status-changer, based on what they do on irc.
- For example:
- If I am GeorgeMoney and I change nicks to GeorgeMoney|Away, it sets User:GeorgeMoney/status to 'away'.
- If I am GeorgeMoney|Away and change my nick to [[link]] (a nick that is not set within the bot), it will set me to 'here'
- If I am GeorgeMoney and change nick to GeorgeMoney|here nothing happens and an edit is not made (because the status is the same). This prevents from making null edits.
- If I am GeorgeMoney and I join #GeorgeMoney-status, it sets me to 'here'.
- If I am GeorgeMoney|Away and I join, it sets me to 'away'
- If I am anything at all and i QUIT or PART the channel, it sets me to 'out'
- Note that all of these statuses and nicks are set in the config for each user.
- And if I do not have my regular cloak, I am ignored by the bot.
- One other feature: If someone types !status foo or !setme foo it sets their status to 'foo' (still cloak-based authentication)
Sorry if that was really long :)
And BTW If I decide (with the chanop's permission, of course) to move this to a public channel (people will still have to ask me to add them to the bot), I will come back here for a re-approval.
GeorgeMoney (talk) 23:25, 25 April 2007 (UTC)[reply]
Discussion
[edit]Sound good to me. Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. for one week or 50 edits, whichever comes first. ST47Talk 14:52, 26 April 2007 (UTC)[reply]
- 50 edits reached with only one config error. http://wiki.riteme.site/wiki/Special:Contributions/GeorgeMoneyBot-status?limit=50 GeorgeMoney (talk) 21:55, 28 April 2007 (UTC)[reply]
- Surely you don't expect me to approve a bot that's kicking me from IRC ;) did you change something, or did something crash? ST47Talk 23:20, 28 April 2007 (UTC)[reply]
- Heh, yeah it's a security measure. New registration system :) http://wiki.riteme.site/wiki/User:GeorgeMoneyBot-status#How_to_register GeorgeMoney (talk) 23:21, 28 April 2007 (UTC)[reply]
- Yes, saw you on IRC. Trial extended until the bot stops crashing every time I flinch. ST47Talk 23:29, 28 April 2007 (UTC)[reply]
- All crashes fixed, added better error catching, added debugger, yadda yadda GeorgeMoney (talk) 01:28, 29 April 2007 (UTC)[reply]
- New security features implemented with the new registration system:
- Status page must be under user's userspace
- Creator of StatusConfig page must be the user
- If the last editor of the StatusConfig is not the user, it uses the revision of the last edit by the user
- StatusConfig must be in user's userspace too.
- These were not implemented before because I was the only one who was able to register people. Now anyone can register with http://wiki.riteme.site/wiki/User:GeorgeMoneyBot-status#How_to_register so this prevents vandals from registering other people and making the bot do bad things (tm)
- GeorgeMoney (talk) 01:28, 29 April 2007 (UTC)[reply]
- New security features implemented with the new registration system:
Excellent. Approved. ST47Talk 19:51, 29 April 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.