Page MenuHomePhabricator

IRC integration for Discourse
Closed, DeclinedPublic


It would be nice to get IRC notifications about new Discourse topics - on #wikimedia-devtools about topics in the Site feedback category, and on #mediawiki (or maybe #wikimedia-tech?) about the Ask here one.

The official chat plugin does not support IRC (although it's on the roadmap) but supports Matrix and it shouldn't be too hard to wire things together from there.

See WMDSbot for on-wiki documentation and the IRC integration Discourse topic for some more details.

Event Timeline

and on #mediawiki

Bots were removed from #mediawiki, please don't.

If this is about a Discourse instance that provides developer (emphasis by me) support, #mediawiki does not sound like a good venue compared to #wikimedia-dev?

Bots were removed from #mediawiki because they were largely irrelevant. New support questions would be perfectly relevant (and there are currently 2-3 a day so they won't exactly flood the channel).

#wikimedia-dev is largely useless for developer support due to heavy bot activity; #mediawiki is the MediaWiki support channel which seems close enough.

@CCicalese_WMF might have an opinion about #mediawiki and/or other IRC channels. It is worth noting that so far we have seen a lot of questions relevant for 3rd party MediaWiki developers & sysadmins.

@Qgil wanna install the matrix plugin in the next maintenance round? We could test it on some less used channel, see how well it works on top of an IRC bridge, then ask on wikitech about connecting it to #mediawiki.

I've installed the plugin and set up Matrix integration, and new topic notices for #mediawiki (Ask here) and #wikimedia-devrel (Site feedback). Also as a way of testing. IRC version is not too fancy but seems to work:

discourse-ircbot.png (16×1 px, 13 KB)

The Matrix version looks slightly better:
matrix-discourse-message.png (135×875 px, 34 KB)

Ping me if you need the credentials for the bot account transferred. I haven't registered the IRC nick nor set up a cloak, that should probably be done at some point.

Other chat providers in the plugin that have some Wikimedia presence: IrcCloud (might be worth checking if it looks nicer), Slack, Telegram (probably a good idea for hackathons), Discord (probably not used much), Zulip (only used for private chat I think?)

For the record, the plugin docs are here and the Matrix sub-plugin docs are here; both were accurate as far as I could tell.

<wmopbot> WMDSbot sent notice #mediawiki ping AlexZ Krenair legoktm
<Krenair> that's supposed to be there
<wmopbot> WMDSbot sent notice #mediawiki ping AlexZ Krenair legoktm
<Krenair> how do we get it to whitelist someone?
<danilo> !botlist add WMDSbot!wikimedia-@*
<wmopbot> WMDSbot!wikimedia-@* added to the bot list
<danilo> the WMDSbot operator should request a Wikimedia bot cloak
<Krenair> danilo, the bot is from, I'll leave a comment there and give them a week or two

@Krenair not sure what to make of that, is it some kind of anti-spam alert? There does not seem to be any public documentation for wmopbot, or IRC bot requirements in general.

Yes, ideally you have a cloak so it can be whitelisted securely by anti-spam bots. You're right that the documentation for that bot is non-public. links to That page is marked as historical and instead points to a google sheet, which says "no longer accepting responses".

The main cloack page tells to use wmopbot which sorta works but after msg-ing back the verification code and clicking on "Done" it says the code was not messaged back. Nevertheless submitting the form seems to work. So the cloak request might or might not be sent; in any case I added the bot to the list on Meta.

The bot has a cloak now. I guess we can call this done.

Krenair reopened this task as Open.EditedJul 21 2018, 6:09 PM

WikimediaDevelop (instead of WMDSbot?) appeared today in MediaWiki-General and triggered an alert in the ops channels. Its cloak is gateway/shell/ rather than a wikimedia one, and it signed on last night: * [WikimediaDevelop] idle 19:35:20, signon: Fri Jul 20 23:31:30

A bot named WikimediaDevelop was recently k-lined from freenode by Sigyn due to sending a channel notice. Need to appeal the k-line (easy) and configure the bot to not send channel notices (just message the channel regularly instead).

In general, a channel notice (as opposed to channel privmsg) is synonymous with spam, and should never be done in the course of normal operation. Super important announcements may befit a channel notice, but nothing else should, especially not automated notices from bots.

Asked about it upstream:
Not sure what caused the bot to un-identify. Halted it for now. has been made read-only as per T247010.
Should be marked as {{historical}}?
Should this task remain open?

No reply hence boldly declining.