MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
Release status: unmaintained
Implementation Parser function
Description Provides the chap-timeline result format to Semantic MediaWiki
Author(s) Katkov Yurytalk
Latest version 1.0 (2013-11-14)
MediaWiki 1.20+
Database changes No
License GNU General Public License 3.0 or later
Example no MediaWiki example available as yet, but see here for a demo of the CHAP library

Check usage and version matrix.

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:

ChapTimline example


This extension requires Semantic MediaWiki to be installed first.
  • Download and place the file(s) in a directory called ChapTimeline in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/ChapTimeline/ChapTimeline.php";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


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


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

 |?Start date
 |?End date
 |startproperty=Start date
 |endproperty=End date


The following parameters are mandatory:

  • startproperty - 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:

  • height, width - define the size of timeline in pixels or percents
  • endproperty - which property to use for the end dates of the events. The property must be in the list of printout statements
  • cluster - true/false. Whether to cluster nearby events
  • template - 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.
  • start and end - 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:
  • YYYY, e.g. 1964 - the date will be set to January 1 1964
  • MMM YYYY, e.g. Nov 1964 - the date will be set to November 1 1964
  • MMM DD YYYY, e.g. Nov 4 1964 - the date will be set to November 4 1964
  • MMM DD YYYY HH:MM:SS, e.g. Nov 4 1964 18:03:00 - the date will be set to November 4 1964 on 18:03:00


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.

See alsoEdit