Page MenuHomePhabricator

Create new labs project for ircredirector
Closed, ResolvedPublic

Description

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

Event Timeline

It seems that the only component of the planned project that needs the client IP address via HTTP/HTTPS is "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.)". This particular requirement sounds like a "nice to have" addition to the total service. It provides a small barrier before redirecting to KiwiIRC via this convenience service, but it does not in any way actually prevent entry to the #wikipedia-en-help freenode channel by anyone capable of finding a web-hosted IRC interface or downloading a native client.

I don't have any strong objection to granting the project request, but I would ask that @tom29739 and his stakeholders think carefully about the extra overhead of operating their own Labs project before we create it for them.

tom29739 claimed this task.

@bd808 We have discussed this on #wikipedia-en-helpers, and have come to the conclusion that a ban tracker could be completely IRC based, and would not need the web IPs, and as such can be done in Toolforge. The convenience feature for redirecting people to IRC can be done in Toolforge too. Sorry for any inconvenience I may have caused.