See it running at Tool Labs.
ra·un v conv inspect; guard; patrol;
Raun is a tool to watch the recent changes of Wikimedia Foundation projects in real time. This tool is inspired from Ronda, by @ivanlanin. This project is started by Kenrick (User:Kenrick95) around November 2013.
Bit of History
I realised that the original Raun was a mess. At first, I made it quickly (by quickly, I also mean without proper coding style) and just for fun before I publish it to the Indonesian Wikipedia community. Hosting it in GitHub, someone noticed it and asked for localisation; I quickly made it and hence this tool grew larger and larger, but now it has come to some point that the inconsistencies among the functions made me unproductive, hence I started to "rewrite" the tool in object-oriented manner.
Then after a while, I started to look on the performance and started the "streamlined" branch. Although Server-Sent Events has been used since the original version, I noticed that it was the bottleneck here because most of the times it failed in establishing a SSE connection and fallback to polling. I then stripped out SSE completely after @Aldnonymous introduced me to RCStream from stream.wikimedia.org which uses socket.io to live-stream the recent changes data.
- Watch Wikimedia Foundation project recent changes in real time
- Statistical information of the selected project
- Filtering: admin, editor, anon, minor, redirect, new page
- Combined edits for a same page
- Responsive design (provided by Bootstrap)
- ORES score for supported projects.
How It Works
The tool calls MediaWiki API to get user list of admin rights and editor rights. Next, it calls MediaWiki API for getting Recent Changes list (because the "stream" cannot show past changes). Finally, connect to RCStream from stream.wikimedia.org to live-stream the recent changes data in real time. On projects supported by ORES, a request to ORES server is made for each entry. On the other side, statistics are updated using polling.
Browsers that supports jQuery 2 and Bootstrap 3.1.1
- krinkle/intuition for messages and localization
Credits & License
- Bootstrap 3.1.1
- jQuery 2.1.4
- Wikimedia's MediaWiki API
- RCStream from stream.wikimedia.org
- Nanobar 0.0.6
- socket.io 0.9.17
Unless otherwise stated, this project source code is licensed under MIT License.