Extension:CountDownClock

MediaWiki extensions manual
CountDownClock
Release status: beta
Implementation Parser extension
Description Allows to add a dynamic Countdown Clock to a page
Author(s) Jay Prakash
Maintainer(s) Indic-TechCom
Latest version 1.0.0
MediaWiki >= 1.31.0
License GNU General Public License 2.0 or later
Download
Quarterly downloads 11 (Ranked 136th)
Translate the CountDownClock extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The CountDownClock extension allows to add a dynamic Countdown Clock by providing the countDownClock parser function.

Usage edit

Add {{#countDownClock:endTime}} in wikipage where you want the clock.

Here endTime is a parameter for declaring the end time of the clock. Its format is YYYY-MM-DD HH:MM:SS

Example
  • {{#countDownClock:2019-01-05 15:37:25}}

Installation edit

  • Download and move the extracted CountDownClock folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CountDownClock
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'CountDownClock' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.