Extension:DateDiff

The DateDiff extension adds a 'dates' parser function that returns a list of intermediary days.

Download
You can download the code directly via SVN from the MediaWiki source code repository, at http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/DateDiff/. From a command line, you can call the following:

Installation
Place the DateDiff directory within the main MediaWiki 'extensions' directory. Then, in the file LocalSettings.php in the main MediaWiki directory, add the following line:

Use cases
A typical use case are events in a Extension:Semantic MediaWiki setup that span multiple days. In order to have the events appear on all days on the Extension:Semantic Result Formats calendar output, you would use something like: