Extension:TimelineTable

What can this extension do?
This extension is a simple tag extension that generates timelines contained in html tables. From a list of events in the correct format, the extension will generate a html table (with a line for each event) spanning the columns over the event time range. Table formatting uses CSS defined in mediawiki:common.css file.

Usage
There are three modes for the extension (timeline with years only, years and months or with years, months and days).

'''(note: the tag has changed in version 1.7.1, from

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
The extension contains two parameters that can be passed when creating a table:
 * title - Defines the title that will be put at the top of the table.
 * footer - Defines the table footer text.

In addition the following variables defined in  can be modified: // Separator for parsing lines of the input. $wgTimelineLineSeparator = "\n"; // Separator for parsing fields of a single event. $wgTimelineFieldSeparator = "|"; // Separator for parsing the date of an event. $wgTimelineDateSeparator = "-"; // If the total length of the timetable (in days) is larger than this value, // do not display days in table. $wgTimelineMaxCells      = 100; // Line return (in the rendered html file). $wgHTMLlr                = "\n"; // Tabulation (in the rendered html file). $wgHTMLtab               = "\t";

Download
svn checkout https://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/TimelineTable