Last modified: 2014-01-14 13:38:56 UTC
Please create a script to send a fake edit to the irc channel for each wiki defined in all.dblist (http://noc.wikimedia.org/conf/all.dblist) -- since the channel only gets created when rc needs to enter to report an edit there, this would have the effect of creating all the channels, regardless whether the actual wiki was actually edited. This would involve creating the channel names from all.dblist and then sending stuff to the irc server through udp (I think). Or this may be totally hare-brained.
What's the desired end-game here? What's the benefit to pre-creating channels?
(In reply to comment #1) > What's the desired end-game here? What's the benefit to pre-creating channels? > This ensures that the irc.wikimedia.org channel list accurately shows which projects have a channel. As well, clients can't join nonexistent channels, which is wrong and needlessly complicates programming bots/scripts and is confusing for human users. However these are not terribly important - the main issue (IMO) is it feels very wrong to not create channels until an RC event happens & there seems to be no reason to /not/ do it properly. Fred suggested doing this in the rc python code instead of by forging edits with udp packets, which is almost certainly a much better solution. The main issue is actually getting a list of channels to create by parsing it out of db.list or something.
I have been suggesting Fred an hour ago the opposite: getting the channels automatically created by the ircd. :D
Looks like all public projects of the WMF has an IRC RC channel feed created already, am I not wrong?
The difference will only be noticed when the ircd gets restarted (maybe also for some channels if rc-pmtpa died)