mediawiki/extensions/DateDiff - Gitiles

MediaWiki extension DateDiff

Clone this repo:
  1. 9b4500a build: Updating micromatch to 4.0.8 by libraryupgrader · 8 weeks ago master
  2. 28ada05 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 by libraryupgrader · 10 weeks ago
  3. b751fec build: Updating eslint-config-wikimedia to 0.28.2 by libraryupgrader · 4 months ago
  4. a059492 build: Updating braces to 3.0.3 by libraryupgrader · 4 months ago
  5. c7d11e2 build: Updating eslint-config-wikimedia to 0.28.0 by libraryupgrader · 5 months ago

DateDiff

DateDiff is an extension to MediaWiki that provides parser function #dates allowing to return a list of intermediary days.

Compatibility

  • PHP 7.2+
  • MediaWiki 1.35+

See also the "CHANGELOG.md" file provided with the code.

Installation

(1) Obtain the code from GitHub

(2) Extract the files in a directory called DateDiff in your extensions/ folder.

(3) Add the following code at the bottom of your "LocalSettings.php" file:

wfLoadExtension( 'DateDiff' );

(4) Go to "Special:Version" on your wiki to verify that the extension is successfully installed.

(5) Done.