Last modified: 2014-01-14 13:38:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21244, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19244 - Create a script to create all irc channels quickly
Create a script to create all irc channels quickly
Status: NEW
Product: Wikimedia
Classification: Unclassified
IRC (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-16 20:23 UTC by Mike.lifeguard
Modified: 2014-01-14 13:38 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mike.lifeguard 2009-06-16 20:23:21 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.
Comment 1 Brion Vibber 2009-06-23 01:29:01 UTC
What's the desired end-game here? What's the benefit to pre-creating channels?
Comment 2 Mike.lifeguard 2009-06-23 01:47:58 UTC
(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.
Comment 3 Platonides 2009-06-23 01:52:13 UTC
I have been suggesting Fred an hour ago the opposite: getting the channels automatically created by the ircd. :D
Comment 4 Hydriz Scholz 2011-06-04 10:19:45 UTC
Looks like all public projects of the WMF has an IRC RC channel feed created already, am I not wrong?
Comment 5 Platonides 2012-12-18 14:11:39 UTC
The difference will only be noticed when the ircd gets restarted (maybe also for  some channels if rc-pmtpa died)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links