Forum:I need a Common.js code!

I would like to add a feature to my wikia that automatically refreshes the page being viewed either constantly, or every few minutes or so. Can anyone post a code that can be added to MediaWiki:Common.js that would do such a thing?--  Chris  talk   blog  20:34, August 2, 2010 (UTC)
 * I don't think you should add that to the whole wiki, but maybe for yourself. -- Jeffwang16  (Talk)   (Contributions)   (Email me!)  20:58, August 2, 2010 (UTC)
 * You could use AjaxRC. —Manyman (talk) 21:01, August 2, 2010 (UTC)
 * The are also Browsers additions/plug-ins that do the same thing. without annoying user who don't want the pages refreshing. Perhaps an addtion to the wiki's community page with recommendations to them? -- 21:49, August 2, 2010 (UTC)

I checked out the AjaxRC page, Manyman, but I am new to Javascript or whatever it is called and don't really understand exactly what coding to enter. Can you please just post the full code for that here please. --  Chris  talk   blog  00:52, August 3, 2010 (UTC)

Wait, would this work?--  Chris  talk   blog  01:10, August 3, 2010 (UTC)

/* Enables AjaxRC (Advanced auto refreshing recent changes and watchlist) */ importScriptPage('AjaxRC/code.js', 'dev'); var indicator = 'http://images3.wikia.nocookie.net/__cb20100617104236/dev/images/d/de/Ajax'; /* End of the AjaxRC replacement */


 * It should be this if it was right I'm not good either but I know for sure one thing is wrong.


 * /* Enables AjaxRC (Advanced auto refreshing recent changes and watchlist) */
 * importScriptPage('AjaxRC/code.js', 'dev');
 * var indicator = 'http://images3.wikia.nocookie.net/dev/images/d/de/Ajax';
 * /* End of the AjaxRC replacement */
 * Done?
 * -- Jeffwang16  (Talk)   (Contributions)   (Email me!)  01:24, August 3, 2010 (UTC)
 * -- Jeffwang16  (Talk)   (Contributions)   (Email me!)  01:24, August 3, 2010 (UTC)
 * -- Jeffwang16  (Talk)   (Contributions)   (Email me!)  01:24, August 3, 2010 (UTC)

How do I know if it is working properly? --  Chris  talk   blog  01:27, August 3, 2010 (UTC)


 * Good question! Go to the Admin Tools Wiki (a test wiki) by clicking here. -- Jeffwang16  (Talk)   (Contributions)   (Email me!)  02:39, August 3, 2010 (UTC)
 * It should be

importScriptPage('AjaxRC/code.js', 'dev'); ajaxPages = ["Wanted page","Another wanted page"];. —Manyman (talk) 08:37, August 3, 2010 (UTC)