<div class="gmail_quote">On Tue, Apr 13, 2010 at 12:11 AM, Ilmari Karonen <span dir="ltr">&lt;<a href="mailto:nospam@vyznev.net">nospam@vyznev.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

In principle, it should also be possible to make a true live Wikimedia<br>
edit counter: all you&#39;d need to do is subscribe to the IRC RecentChanges<br>
feed and condense it down to some suitably low-bandwidth, low-latency<br>
format for transmitting to the browser.  I&#39;m not sure how practical that<br>
would be with plain old AJAX, though (you really don&#39;t want to make a<br>
new request for every edit), but Java or Flash or something like that<br>
ought to handle it fine.<br></blockquote><div>You could go the &quot;half&quot; way: make a php script that just makes a count(rev_id) on revisions (or whatever the table is named, haven&#39;t worked with MW DBs for ages) of all wikis, maybe make this run by a 10-second-cronjob and just write to a textfile. Then, your &quot;livecounter&quot; makes a request to this every 10 sec and can then see the current number of edits in 10sec based on the difference of revisions.<br>
Sure, this doesn&#39;t take into account revision hiding, oversight and log entries, but this should be fairly accurate.<br><br>Marco <br></div></div>-- <br>VMSoft GbR<br>Nabburger Str. 15<br>81737 München<br>Geschäftsführer: Marco Schuster, Volker Hemmert<br>
<a href="http://vmsoft-gbr.de">http://vmsoft-gbr.de</a><br>