Extension:Semantic Tasks

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.

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.

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" );
 * Insert the following line into the file LocalSettings.php:

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
 * run a cron job once a day to execute the reminder script :

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:
 * 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 will receive emails.

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.

1.5

 * Fix reminder emails
 * Change email to send property values instead of wiki page contents
 * Change email to send property differences instead of a wiki page diff
 * Add feature to allow admins to make email templates

1.4

 * Fix bug that causes notifications to fail in non-main namespaces