FANDOM


Forums > Senate Hall archive > SH Archive/Dynamic recent changes


After some IRC brainstorming, I wrote a simple implementation of dynamic recent changes - you can call it an Ajax feature if you really want to...

To test it, copy User:Sikon/monobook.js to your user JS, reload your cache, and open User:Sikon/rc. The first six lines of the code are constants, which you can change; I set it to 10 second update interval and 50 entries.

And no, it doesn't work by fetching the entire HTML monstrosity of Special:Recentchanges. The format can be tweaked at your request (it can even be quickly remade into a Firefox extension if someone wants it this way), but I made it as close to the actual recent changes as possible.

(Cross-wiki notes: this code uses the ContentLoader class from MediaWiki:Functions.js, so you should add it to your user JS as well if copying this to another wiki.) - Sikon 09:54, 6 May 2007 (UTC)

  • Very useful Sikon. Cheers. --Eyrezer 03:01, 9 May 2007 (UTC)
    • It's useful, but there's some problems with it:
      1. Articles in my watchlist aren't shown in bold.
      2. It doesn't have the +/- bytes thing.
      3. /* Header */ and [[Link]] don't display properly in edit summaries.
      4. Redlinks are blue.
      -- I need a name (Complain here) 14:09, 9 May 2007 (UTC)
      • Neither of these are possible to implement using the MediaWiki API alone, and I don't want to fetch the HTML page. - Sikon 16:34, 9 May 2007 (UTC)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.