Extension talk:Semantic Tasks/LQT Archive 1

Not sending emails
Hello,

I have a problem, I have installed and added the required lines to LocaSettings.php, but the extension is still not working.

I have added the following to the Page since the manual is a little unclear on how to do this, (I have tried with *, username and email) Assigned to::* Assigned to::sombody Assigned to::somebody@anybody.com

But still no email. I do get a email uppon the creation of a new user, so I think this should be ok. Do I need to change the Propperty or something to email?


 * Indeed, I received some feedback recently telling me it doesn't do its job anymore with the current MediaWiki and SMW releases. I'm sorry for that and I won't find time to fix it unless I have personal interest in using it.--Pannini 12:17, 22 October 2009 (UTC)


 * Since I was keen to use this for a project I have worked through the code and have got it back working normally (to some extent). The code that requires a change to get this back working again is line 64 of ST_Notify_Assignment.php, where   should be altered to   - i.e. the 1 to a 0.


 * The original code seemed to be referencing the assignee from the second element of the explode rather than the first. I'm not sure if this was a typo or if changes to SMW code have thus changed what is served up to the explode.  This simple fix is all that is required to get the emails working again.  There is still the small problem that if you have new article (task) created then in the email the area where the task description is reads as:


 * Here is the task description:
 * The database did not find the text of a page that it should have found, named "Test" .


 * This is usually caused by following an outdated diff or history link to a page that has been deleted.


 * If this is not the case, you may have found a bug in the software.
 * Please report this to an administrator, making note of the URL.


 * i.e. the extension is trying to pull article content "$article->getContent" before it has actually been saved and is thus able to be called. However for my purposes this doesn't matter as I won't be sending users the content, but others may want to have a look at a fix. MLCT 20:34, 5 November 2009 (UTC)