Extension:ChapTimeline

The ChapTimeline extension is a result format for Semantic MediaWiki. It allows you to represent your data in a form of a zoomable, clusterable and customizable timeline like this one:



Installation
This extension requires Semantic MediaWiki to be installed first.

Demo
We don't yet have MediaWiki public demo but you can get the idea by looking at this demo (see Examples section).

Usage
Use the extension as any other result format, for example:

Parameters
The following parameters are mandatory:
 * - which property to use for the start dates of the events. The property must be in the list of printout statements

The following properties are not mandatory:
 * ,  - define the size of timeline in pixels or percents
 * - which property to use for the end dates of the events. The property must be in the list of printout statements
 * - true/false. Whether to cluster nearby events
 * - template for box. Works similar to template parameter in Semantic Maps. Put the name of the template to this parameter and every event box will be formatted according to the template.
 * and  - The initial start date and the initial end date for the axis of the timeline. If not provided, the earliest and the latest dates  of the events are taken as start date and end date, respectively. You can put the date here in the following formats:
 * , e.g.  - the date will be set to January 1 1964
 * , e.g.  - the date will be set to November 1 1964
 * , e.g.  - the date will be set to November 4 1964
 * , e.g.  - the date will be set to November 4 1964 on 18:03:00

Details
I have used very powerful javascript library Almende chap timeline. Unfortunately they use Google API for data representation so you need to have Internet access in your client machine.

You'll find a lot more features in the library that have been incorporated in this version or a result format. Feel free to create pull requests if you're the developer or just ask me to implement the features. Funding is also always appreciated.