AjaxRC

AjaxRC is a script for advanced auto refreshing recent changes and watchlist. This is based on the original script from Wowpedia.
== ==
== What it does ==
* The code adds a checkbox at the top of non-JavaScript version Special:RecentChanges next to the header.
* Ticking this sets a cookie (specific to each wiki) and starts updating the list.
* This occurs silently every 60 seconds without a full page reload occurring.
== ==
There are several configuration options:
Option 	Location 	Description 	Default
Ajax pages 	window.ajaxPages 	Pages that are automatically refreshed 	[]
Ajax special pages	window.ajaxSpecialPages 	Special pages that are automatically refreshed (language-neutral)	['Recentchanges']
Indicator icon 	window.ajaxIndicator 	Progress indicator 	https://static.wikia.nocookie.net/ucp-internal-test-starter-commons/images/0/05/Ajax.gif/revision/latest
Refresh time 	window.ajaxRefresh 	Interval in which the page is automatically refreshed 	60000 (60 seconds)
Display text 	window.AjaxRCRefreshTextDeprecated; please override the message ajaxrc-refresh-text instead 	Text displayed beside the checkbox on the page 	"Auto-refresh"
Hover text 	window.AjaxRCRefreshHoverTextDeprecated; please override the message ajaxrc-refresh-hover instead	Text displayed when hovering over the display text 	"Automatically refresh the page"
If you have functions that modify the content that's reloaded, they won't work after the first refresh unless you run them again after the content has loaded. You can do this by adding them to the ajaxCallAgain variable, like this:
window.ajaxCallAgain = window.ajaxCallAgain || [];
window.ajaxCallAgain.push(function1, function2, function3);
=== Example configuration ===
== ==
* List of throbbers