Extension:Countdown

Countdown is a MediaWiki 1.5, and up, extension that allows a wiki page to display one or more "live" countdowns (using DHTML) to a specified date. It is designed to allow the countdown text to be formatted using wiki syntax. Once it is installed you invoke it via the  countdown  tag which accepts two arguments; Withing the countdown opening and closing tags you'll have four extra markups you can use to place the countdown components: See below for some usage examples.
 * 1) time - this is the target time to count down to.
 * 2) name (optional) - used when there are more than one countdown on a page
 *  - days to target time
 *  - hours to target time
 *  - minutes to target time
 *  - seconds to target time

Caveats:
 * This plugin seems to be broken. Enabling this plugin in LocalSettings.php according to [the documentation for Extensions in the manual] causes an empty, white page to load instead of your wiki.  Don't bother trying to use it unless you are an expert with how MediaWiki works and are capable of fixing whatever is wrong.
 * The "time" attribute, while pretty flexible, must be written in some standard parseable form (parseable by javascript). Use the examples below and modify if you're not familiar with what formats that work.

-- PEZ 20:32, 24 November 2005 (UTC)

Installation
Place the following code at the bottom of LocalSettings.php:

Demo
See http://halowiki.net/p/Help:Countdown_Extension for some examples on a site where the extension is installed.

Example: Countdown to New Year 2015 (Eastern Standard Time, UTC minus 5 hours)

 * Days: 
 * Hours: 
 * Minutes: 
 * Seconds: 

Example: Countdown to 2015 Christmas Eve in Sweden
 Santa will arrive in  days,  hours,  minutes and  seconds. Have you been a good boy/girl?  Santa will arrive in  days, <H> hours, <M> minutes. Have you been a good boy/girl?

Revisions

 * v1.2 - October 24, 2007 - made the code a little leaner. Fixed a bug in instantiation.
 * v1.1 - October 16, 2007 - incorporated javascript into PHP file for better maintainability. Made the "name" parameter optional
 * v1.0 - October 14, 2007 - added info so that Special:Version displays correctly for this extension
 * ?? - original version