Extension talk:Semantic Tasks

From MediaWiki.org
Jump to: navigation, search
Start a new discussion

Contents

Thread titleRepliesLast modified
There is no result format for 'auto'.116:08, 12 December 2011
Revised015:47, 22 August 2011
Error when sending an email117:58, 3 March 2011
More detail on the "Remind at" property215:03, 26 February 2011
Using Semantic Tasks with Semantic Internal Objects505:15, 16 November 2010
SVN tag for 1.4 missing022:44, 14 September 2010
SVN tag for 1.4 missing022:44, 14 September 2010
Patch to Fix hardcoded path222:28, 5 July 2010
ST_CheckForReminders.php fatal error319:30, 28 June 2010

There is no result format for 'auto'.

I get the following error when I activate SemanticTasks in the semantic-bundle and clicking the save page button. Can you please let me know if I am missing something?

There is no result format for 'auto'. Backtrace:

  1. 0 /var/www/html/paxwiki/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(94): SMWQueryProcessor::getResultPrinter('auto', true)
  2. 1 /var/www/html/paxwiki/extensions/SemanticTasks/SemanticTasks.classes.php(348): SMWQueryProcessor::createQuery('Test Page[[...', Array, true, 'auto', Array)
  3. 2 /var/www/html/paxwiki/extensions/SemanticTasks/SemanticTasks.classes.php(124): SemanticTasksMailer::getQueryResults('Test Page[[...', Array, false)
  4. 3 /var/www/html/paxwiki/extensions/SemanticTasks/SemanticTasks.classes.php(20): SemanticTasksMailer::getAssignees('Assigned to', 'Test Page', Object(User))
  5. 4 [internal function]: SemanticTasksMailer::findOldValues(Object(Article), Object(User), 'Test?d?dsa?dsa?...', , 0, NULL, NULL, 98, Object(Status))
  6. 5 /var/www/html/paxwiki/includes/Hooks.php(158): call_user_func_array(Array, Array)
  7. 6 /var/www/html/paxwiki/includes/Article.php(2090): wfRunHooks('ArticleSave', Array)
  8. 7 /var/www/html/paxwiki/includes/Article.php(1976): Article->doEdit('Test?d?dsa?dsa?...', , 98)
  9. 8 /var/www/html/paxwiki/includes/EditPage.php(1076): Article->updateArticle('Test?d?dsa?dsa?...', , false, false, false, )
  10. 9 /var/www/html/paxwiki/includes/EditPage.php(2656): EditPage->internalAttemptSave(false, false)
  11. 10 /var/www/html/paxwiki/includes/EditPage.php(415): EditPage->attemptSave()
  12. 11 /var/www/html/paxwiki/includes/EditPage.php(296): EditPage->edit()
  13. 12 /var/www/html/paxwiki/includes/Wiki.php(522): EditPage->submit()
  14. 13 /var/www/html/paxwiki/includes/Wiki.php(69): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
  15. 14 /var/www/html/paxwiki/index.php(114): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
  16. 15 {main}
128.229.4.216:56, 30 November 2011

I believe Jeroen fixed this in SVN at some point recently.

Yaron Koren16:08, 12 December 2011
 

I revised the page some but I made some assumptions, especially about the internals in 'Cron job' but in other places also, which a knowledgeable person should review. My apologies for any errors. I hope it was an improvement. Jojalozzo 15:47, 22 August 2011 (UTC)

Jojalozzo15:47, 22 August 2011

Error when sending an email

I can't send any email, I get an error in the mailer/mediawiki logs:

UserMailer::send: sending mail to "myemail@mydomain.com" <>
Sending mail via internal mail() function
Mar  3 18:15:45 server postfix/sendmail[6730]: fatal: www-data(33): No recipient addresses found in message header
Error sending mail

It seems that it takes my email as the username, and puts nothing in <>

Maybe I didn't specify correctly the 'assigned to' property ? I did the following in a page :

[[Assigned to::myemail@mydomain.com]]

Is the syntax correct ?

Lstep17:25, 3 March 2011

From the documentation: "Assigned to, and Carbon copy property values should be of the form: User:<username>"

Unless the user actually has an email address as their username, that won't work.

Reach Out to the Truth17:58, 3 March 2011
 

More detail on the "Remind at" property

  1. What type (string, number, etc...) does the property "Remind at" have to be?
  2. How is it interpreted? (e.g. what are some typical values for it for say, being reminded 1 day before?)

-Thanks

128.156.10.8016:34, 31 January 2011

I agree, what is the expected formatting for this?

64.202.160.6502:04, 8 February 2011
 

I haven't actually tried or modified this property yet. I'd imagine it requires a date type though, since it is reminding you at a specific date. Please read the SMW documentation for dates.

Ryan lane15:03, 26 February 2011
 

Using Semantic Tasks with Semantic Internal Objects

Is anyone using Semantic Tasks with Semantic Internal Objects? I've got an "assigned to" has a property of an SIO, and it doesn't seem to produce a notification email. Should it? - Borofkin 02:22, 3 November 2010 (UTC)

Borofkin02:22, 3 November 2010

I haven't tested with SIO. If you can figure it out, and send a patch, I'll take it, but I'm probably not going to test with SIO. I believe SIO is the kind of functionality that should be a part of SMW, or shouldn't exist. Until it is merged with SMW core, I don't see the purpose in supporting it.

Ryan lane10:04, 11 November 2010

They are thinking about it (see here) Stay tuned. :)

kgh22:13, 12 November 2010
 

Hi,

Borofkin just let me know about this discussion. I'm surprised that ST doesn't work automatically with SIO, but given that - Ryan, I hope you change your opinion toward SIO. Due to various factors, like the desire to keep SMW small for code review purposes, the current setup of SIO as a separate extension will probably stay for a while. I still think it's a useful extension, though, and that it should be supported when possible.

Yaron Koren00:23, 13 November 2010

I have the "assigned to" emails working on regular pages, but I still can't get it to work with an SIO. I'm happy to have a crack at fixing it. Yaron, do you have any initial tips on what could be the problem? What makes an SIO different from a regular article? - Borofkin 07:05, 15 November 2010 (UTC)

Borofkin07:05, 15 November 2010

Well, the difference is that SIOs don't have an actual wiki page attached to them. How that specifically is causing problems, I don't know.

Yaron Koren05:15, 16 November 2010
 
 
 
 

SVN tag for 1.4 missing

The last SVN tag is 1.3

RScheiber22:44, 14 September 2010

SVN tag for 1.4 missing

The last SVN tag is 1.3

RScheiber22:44, 14 September 2010

Patch to Fix hardcoded path

I found that running the cronjob for reminders would construct paths that were to the hardcoded string, teamspace.creativecommons.org

I made a fix so that now in the LocalSettings.php file one must now set $wgServerNamePath to a path of the wiki.

I've mailed this to steren

Jon Phillips05:12, 3 July 2010

Here is the bug and patch filed. Please apply: https://bugzilla.wikimedia.org/show_bug.cgi?id=24243

Jon Phillips05:23, 3 July 2010
 

I'm the new maintainer. A while back Steren asked for someone to take over maintenance, so it is unlikely he'll be able to patch it.

Ryan lane22:28, 5 July 2010
 

ST_CheckForReminders.php fatal error

Edited by another user.
Last edit: 19:30, 28 June 2010

The following warning and error are encountered while attempting to execute ST_CheckForReminders.php:

PHP Warning: require_once(/var/lib/mediawiki/extensions/SemanticMediaWikiincludes/SMW_Factbox.php): failed to open stream: No such file or directory in /var/lib/mediawiki/extensions/SemanticTasks/ST_CheckForReminders.php on line 9

PHP Fatal error: require_once(): Failed opening required '/var/lib/mediawiki/extensions/SemanticMediaWikiincludes/SMW_Factbox.php' (include_path='/var/lib/mediawiki:/var/lib/mediawiki/includes:/var/lib/mediawiki/languages:.:/usr/share/php:/usr/share/pear:/usr/share/mediawiki-extensions/include') in /var/lib/mediawiki/extensions/SemanticTasks/ST_CheckForReminders.php on line 9

Any insight as to what might be causing this?

--enterprise_user 18:57, 23 June 2010 (UTC)

18:58, 23 June 2010

Sure do :). That part of the code hasn't been updated yet. I haven't had a chance to get to it. As of right now, it simply doesn't work. I'll try to get to this soon, since I've been getting some time to work on my extensions again.

Ryan lane20:00, 23 June 2010
Edited by author.
Last edit: 15:46, 28 June 2010

Cool, is there an e-mail group or some other means by which I could be notified when this feature is implemented?

-- enterprise_user 15:45, 28 June 2010 (UTC)15:46, 28 June 2010

Unfortunately not. I recommend watching the extension page, and see when it shows up in the changelog. I also announce releases on my blog, if you want to watch for it on that RSS feed.

Ryan lane15:55, 28 June 2010
 
 
 
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox