Page MenuHomePhabricator

IRC RC feed is not working for any betacluster project
Closed, ResolvedPublic

Description

The IRC RC feeds on irc.wikimedia.org are not working for the betacluster projects. IRC-Bot "rc-pmtpa" is present in the channel (e.g. #en.wikipedia.beta.wmflabs), but does not relay any recent changes.

Please check the current setup with [[wikitech:IRCD]]


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=37404

Details

Reference
bz60013

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:51 AM
bzimport set Reference to bz60013.
bzimport added a subscriber: Unknown Object (MLST).

That has been disabled: bug 56758 - Beta labs leaking into irc.wikimedia.org

The reason is that the channels would receive edits from both production and beta which is definitely confusing.

We had bug 53593 to setup an IRC server on beta (wontfixed). If one wants, he could try to setup an IRC server in beta to which we could point the feed. I don't think it is worth the effort though.

  • This bug has been marked as a duplicate of bug 56758 ***

@hashar: Would it been enabled (again) on the real irc-server if bug 56758 is fixed and edits are echoed to the correct channels. (as far as i understand the case currently the bug would resolve this one. Or os the one already resolved and there was an error in the config?)

(In reply to comment #3)

@hashar: Would it been enabled (again) on the real irc-server if bug 56758 is
fixed and edits are echoed to the correct channels. (as far as i understand
the
case currently the bug would resolve this one. Or os the one already resolved
and there was an error in the config?)

I guess we could prefix the irc channels with #beta- . It is probably not going to cause too many load on the IRC server.

You would want to reach out with the bots operators to find out whether it is going to cause issues to have some new channels added.

We also need to implement a setting in MediaWiki to prefix the messages being sent to the IRC server. I am no more familiar with this code but that is probably easy to do. We can then set the prefix on the beta cluster, leaving production without prefix.

as far as I see, we don't need to introduce a special prefix (which is possible). the current channel-prefix is generated in CommonSettings.php (search for $wmgRC2UDPPrefix) based on $wgServer.

comment 0 here indicates that it also worked for beta (#en.wikipedia.beta.wmflabs) by the fact that the bot created the channel and was present in it.

Anyhow we could override the nameing by overriding $wmgRC2UDPPrefix in labs CommonSettings.php (as consequence $wgRCFeeds['default'] too)

It should have been investigated, why it not worked for wikidata.beta.wmflabs.org. The current correct channel for this name would have been wikidata.beta.wmflabs.
I'm unsure what should be done now.

(unmarking as duplicate and reopening this bug)

legoktm pointed me presumably to the right change: https://gerrit.wikimedia.org/r/#/c/47307/9/wmf-config/InitialiseSettings.php

some wikis have legacy channelnames. Using them on labs would be resulting in mixing up the RC for prod and beta in one channel because the lookup based on the wikiname, which is the same for prod and labs. (unconfirmed)

patch follows (untested)

Change 108163 had a related patch set uploaded by Se4598:
Resetting legacy channel names on labs and enabling IRC-RC echo again

https://gerrit.wikimedia.org/r/108163

Change 108163 merged by jenkins-bot:
Resetting legacy channel names on labs and enabling IRC-RC echo again

https://gerrit.wikimedia.org/r/108163

thanks to Reedy for merging. I have done some test edits on beta and they show up in the correct channels.