Extension:JSWikiGanttFrontEnd

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
JSWikiGanttFrontEnd
Release status: beta
JSWikiGanttFR.jpg
Implementation User interface
Description Creates XML for Gantt chart tailored for JSWikiGantt
Author(s) Muhammad Wahaj Taseer Maciej "Nux" Jaros
Latest version 1.0.0 (2017-10-27)
MediaWiki 1.25
License GNU General Public License 2.0 or later
Download From Git
Translate the JSWikiGanttFrontEnd extension if it is available at translatewiki.net
Check usage and version matrix.

Provides a nice user interface for editing/creating Gantt charts on the wiki. It complements JSWikiGantt extension which displays the chart from XML, so you need both. It generates and edits XML code for tasks that JSWikiGantt uses to display the chart.

Usage[edit]

To create a new Gantt chart, simply write the following in the edit area of the page:

<jsgantt> </jsgantt> <!-- Options can also be added in the first tag to show different attributes: check JSWikiGantt >

A link should now pop up on the top right side of the page. Click the link to create and edit tasks!

Installation[edit]

Make sure you have media wiki version: 1.25+ otherwise it may not work

  1. Download, extract the files into the extensions/ folder
  2. Add the following line in your LocalSettings.php file:
wfLoadExtension('JSWikiGanttFrontEnd');
Warning Warning: The JSWikiGantt version that is compatible with this extension hasn't yet been merged into the original repo. Download here
  1. After downloading JSWikiGantt, place the folder under /extensions
  2. Add the following line in your LocalSettings.php file:
require_once "$IP/extensions/JSWikiGantt/JSWikiGantt.php";

See Also[edit]

Original code was adopted from JobSched by Maciej "Nux" Jaros, but ended up into an entirely new extension.

JSWikiGantt: Extension that displays the Gantt chart from generated xml

Updates & Notes[edit]

2017/10/27 - Most recent update: If the program can't locate the library for adding business days, it will calculate calendar days instead.


Warning Warning: Always make sure XML code doesn't contain "&, <, >, ', or ". If the web page when you are trying to save, most likely cause is un-escaped XML characters
  • " ' " should be "&apos";
  • " " " should be "&quot";
  • " < " should be "&lt";
  • " > " should be "&gt";
  • " & " should be "&amp";
without the quotes