Adds a box in the sidebar that uses AJAX to update a list of recent changes every 5 seconds.
You can enable or disable it using the provided link. The default is for the box to be disabled. The setting is stored in a session cookie (setting is lost when you close your browser). The cookie is called 'rcp_show_box'.
This works really well with WP:TW which has tabs for things like reversion.
It's almost an exact clone of NewPagePatroller. View the source. It's probably rather shocking... User:TheJosh/Scripts/RecentChangesPatrol.js
If you click on a link it now goes to the most recent diff rather than the page itself. Much more useful.
To install, add the following to your skin.js page:
importScript('User:TheJosh/Scripts/RecentChangesPatrol.js');
This box has three settings. To use a setting, place the setting variable underneath the importScript line.
true
true
or false
rcp_enabled = false;
To make the box not show by default10
rcp_num_pages = 5;
To make the box show 5 links at a time5
rcp_refresh = 10;
To make the box refresh every 10 seconds.This script has been known to work on:
Other versions of these browsers, or in fact other browsers may work, as long as the browser supports AJAX.
I have only tested it on the default Monobook skin.
Thanks to jonny-mt for the Camino test.