Jump to content

Extension:JobSchEd

From mediawiki.org
MediaWiki extensions manual
JobSchEd
Release status: unmaintained
Implementation User interface
Description Uses JSWikiGantt to create an activities calendar/schedule.
Author(s) Maciej "Nux" Jaros (Nuxtalk)
Latest version 0.8.0 (2011-06-11)
MediaWiki 1.16
PHP not really - see installation
License GNU General Public License 2.0 or later
Download
CHANGELOG
only in JavaScript in oJobSchEd.conf

The JobSchEd extension provides a user interface for editing something you might call an activities calendar or a job schedule. Under the hood it uses JSWikiGantt so you need it installed if you want to use this.

Usage

[edit]

Starting a calendar

[edit]

The concept is really simple. To start, just add this to any page:

<jsgantt autolink='0'>
</jsgantt>

Then you can click on Edit calendar link just above the edit window.

To make it even easier for others, add an edit link to the page with "jsganttautoedit=1" parameter. A universal link would be:

[{{fullurl:{{FULLPAGENAME}}|action=edit&jsganttautoedit=1}} Edit calendar]

Editing calendar

[edit]

Once everything is set up, just click the Edit calendar link and you are provided with interfaces to add people and entries (activities) for them.

The original idea was to create a job calendar in which you would want to mainly add your activities. This is why by default a logged in user is added to persons so one can add entries right away (this behavior can be changed in oJobSchEd.conf).

Installation

[edit]

There are two methods and you can choose either one. Those are exclusive installation methods! Only use of them.

Standard PHP installation

[edit]
  • Download, extract and place the file(s) in a directory called JobSchEd in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/JobSchEd/JobSchEd.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

JavaScript installation

[edit]

If you already have JSWikiGantt and sftJSmsg, you can simply add the script "edit_calend.modules.mini.js". This can be done in various ways - one of them is:

  1. Copy the script content to your MediaWiki:edit_calend.modules.mini.js.
  2. In your MediaWiki:Common.js, add:
    importScript("MediaWiki:edit_calend.modules.mini.js");
    

Note that if you don't have sftJSmsg, you can find it in the lib folder.

See also

[edit]