Jump to content

Obsolete talk:RCStream

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Provide socket.io library via RL

I discussed this a bit with Ori on IRC. I (and Ori) think we should provide the socket.io JS library as a RL module for gadgets/scripts to use, whether as a simple extension or in core.

He also suggested that we might want a small wrapper on top to make it nicer to use, something like "mw.changes.subscribe()". Legoktm (talk) 08:28, 15 May 2014 (UTC)Reply

The latter part should probably be done via a small extensions providing that module. This because it requires javascript to know about the RCStream server (which is run standalone, not configured by MediaWiki). Krinkle (talk) 21:33, 6 June 2014 (UTC)Reply

Packet Errors Printing to Console in Python Example Code

Hi @Ori.livneh:, I am a new user and I hope I am not violating and etiquette in contacting you here. I am having trouble making the Python code in this example run without producing errors messages printed to the console every twenty-five seconds. The error message is this: `stream.wikimedia.org:80/socket.io/1: [packet error] unhandled namespace path ().' Do you know if there is an easy way to avoid this, or if it indicates I am doing something simple wrong? I believe I am using the correct version of socket.io, though I have not tried this in any other languages. Thanks. Isomorphyc (talk) 15:01, 31 August 2016 (UTC)Reply