Project Name: ircredirector
Purpose: To redirect users to KiwiIRC (kiwiirc.com). It isthe replacement for the ircredirect tool on toollabs that is currently used for the #wikipedia-en-help IRC channel. It will get the user's username from their Wikimedia SUL account using OAuth, if they have an account, and if not, then generate a random username like the existing tool does. Is will also have an integrated bantracker, so if an IP was banned in the channel, in the past week, then the tool will notify the helpers in the #wikipedia-en-helpers IRC channel, and give the user a captcha, etc. The tool would do this by watching for bans and quiets in the -help channel, and putting those in a database. All users using the tool web interface would have their IPs compared against this database, and if a match was found, then it would do actions like the ones mentioned above (notify helpers, show captchas, etc.) It would remove entries that were unbanned by the channel ops, and would remove entries that had been unbanned by the eir IRC bot after a week. All entries that have IPs in them would be stored for a maximum of 30 days and no longer.
This cannot be run on tool labs because the tool needs the XFF header for requests for the web interface, which is stripped in toollabs. These IPs would also be kept for a maximum of a week, to see if patterns emerge from trolls IPs (e.g. same location, same IPs always being banned, etc.) Thank you.
Wikitech Username of requestor: Tom29739