Jump to content
MediaWiki

Extension:CountDownClock

From mediawiki.org
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.42.0
Licence GNU General Public License 2.0 or later
Download
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:
    cdextensions/
    gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/CountDownClock
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'CountDownClock' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
This extension is included in the following wiki farms/hosts and/or packages:

AltStyle によって変換されたページ (->オリジナル) /