Extension:Date Formatter

Summary
Date Formatter supports refactoring of free dates according to the user's preference. This works on unlinked dates, as opposed to the built-in refactoring module, and utilises a separate class.

Installation
As is standard with other MediaWiki extensions, you may install this extension by extracting the extension in the extensions folder and adding


 * require_once("$IP/extensions/FormatDates/FormatDates.php" );

to LocalSettings.php.

Usage
To make use of the extension, when editing a page, include tags containing free dates into the text. For instance:

On January 1, 2007, which is the same day of the year as 1 January 2006 was, at least, in respect of being January 1 ... When the page is rendered, these dates will be detected and refactored according to the date preference of the viewing user. If no preference is specified ("no preference"), no refactoring will take place.