Forum:Clock on Tea Wiki: How can it be put in on others?

I notice on the Main Page of the Tea Wiki, there is a clock line that tells the current time. How was it done? How can I put it on another Wiki? -- BruceG 03:19, December 4, 2011 (UTC)


 * It's done by this page. You can use it on your wiki by adding importScriptPage('MediaWiki:Common.js/displayClock.js', 'tea'); to your wiki's MediaWiki:Common.js. 03:32, December 4, 2011 (UTC)


 * Thanks! - BruceG 21:04, December 4, 2011 (UTC)

 NOTE : You also need to add the following to your wiki’s Wikia.css: For wikis that have implemented the new WikiNav, it re-positions the clock appropriately. — Spike Toronto  09:45, December 5, 2011 (UTC)


 * That's odd. I did just what Zamoral0 o said, and it worked OK without doing your additional thing. -- BruceG 11:45, December 5, 2011 (UTC)


 * Bruce, you imported the script to the Cheese Wiki. That wiki is not yet running the new WikiNav. As I said above, the CSS is required for wikis that have activated the new WikiNav on their sites: For wikis that have implemented the new WikiNav, it re-positions the clock appropriately. That’s why it worked for you without the additional CSS. — Spike Toronto  12:55, December 5, 2011 (UTC)


 * Apparently, none of the three Wikis I run have the new WikiNav. Therefore I do not need to worry about the CSS you mentioned, and the words "You also need to add the following" was misleading. I don't need to add it, and I won't need to add it unless and until the new WikiNav is implemented on one of my Wikis. -- BruceG 13:39, December 5, 2011 (UTC)