Extension:Semantic Tasks

From MediaWiki.org

(Redirected from Extension:SemanticTasks)
Jump to: navigation, search

         

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Semantic Tasks

Release status: experimental

Implementation  Notify
Description Semantic Tasks is an extension to Semantic MediaWiki, to provide email task notifications and reminders.
Author(s)  Steren Giannini (PanniniTalk)
Last Version  1.2 (January 2010)
License GNU GPLv2 (or later)
Download Download snapshot

Subversion [Help]
Browse source code

README

check usage (experimental)

Contents

[edit] What can this extension do?

Semantic Tasks is an extension to MediaWiki that works in conjunction with another extension, Semantic MediaWiki, to provide email task notifications and reminders.

Semantic Tasks was originally developed for the Creative Commons internal task- and project-tracking system ccTeamspace.

[edit] Usage

  • Notification emails are sent when a page is saved. The system looks for the [[Assigned to::*]] and the [[Carbon copy::*]] property.
  • Reminders emails. The system looks for the [[Reminder at::*]] and the [[Target date::*]] property. It then send reminders to the assignees. You must run a cron job once a day to execute the reminder script.

[edit] Installation

  • This extension only works with Semantic MediaWiki version 1.2 or later.
  • Extract the archive to obtain the directory "SemanticTasks" that contains all relevant files. Copy the directory "SemanticTasks" to "[wikipath]/extensions/".
  require_once( "$IP/extensions/SemanticTasks/SemanticTasks.php" );
  • run a cron job once a day to execute the reminder script :

edit your crontab file:

       $ crontab -e

add the following line to execute the script every day at 12:

       0 12 * * * php extensions/SemanticTasks/ST_CheckForReminders.php

[edit] Configuration notes

  • Assigned to, and Carbon copy properties must be of the type Page (default for non-existing properties)
  • Assigned to, and Carbon copy property values should be of the form: User:<username>
  • Emails are sent through the MediaWiki email system, so only users who have set email addresses in their preferences, and have confirmed their email addresses with be emailes

[edit] Description

  • After a task creation, people assigned to the task and people following the task receive a "New Task" mail. The mail contain the task text.
  • After a task edition, people assigned to the task and people following the task receive a "Task Updated" mail. The mail contains a diff of the modification.
  • The editor of the task doesn't receive a mail after his edit.
  • If the edit is a minor edit, no mail is sent.