Extension:JSWikiGantt

The JSWikiGantt extension aims to allow adding Gantt charts (diagrams) to wiki pages without the need of exporting diagrams to PNG.

This is achieved by allowing users to add simple XML definition of diagrams in  tag. Currently only one diagram per page is allowed (which is due to the limitations of the original JSGantt).

Usage
To add a diagram to a page, simply add a  tag with   tags inside it (described below).

The  tag can have only one attribute:
 * autolink : if set to 1, your tasks will be automatically linked based on the task id (very useful if you use task ids from your bug tracking software). Remember to set  in   if you use this. The default state of autolinking is set with the   variable.

Tasks tags
Tags that can be used inside the  tag are described below.

Note. You might actually skip some required values if you are putting tags directly in your article (loading diagram from an external article is not advised anyway - left for backward compatibility).

Example
Example code:

Diagram options
As of 0.6.0  you can set some extra Gantt options from MediaWiki code e.g.:

Those options allow you to enable features for certain Gantt diagram without changing the configuration of the extension.

Available options
All of the available options are:
 * - show responsible column (defaults to 0 - hidden)
 * - show duration column (defaults to 0 - hidden)
 * - show percent complete column (defaults to 0 - hidden)
 * - show start date column (defaults to 0 - hidden)
 * - show end date column (defaults to 0 - hidden)
 * - task caption (right side annotation) type. Available types: None, Caption, Resource (default), Duration, Complete.

Using options in MediaWiki 1.16
Note! Those options will NOT work in MediaWiki 1.16 or lower. You need to patch  by changing:

to:

Installation

 * 1) Download, extract and place the files them under
 * 2) At the end of LocalSettings.php, add:
 * 3) Installation can now be verified through   on your wiki
 * 4) If you use apache's mod_rewrite to beautify your wiki's URLs you need to add a RewriteCond to apache's config to exclude the path to your JSWikiGantt installation from rewriting. Example: