Jump to content

Topic on Extension talk:Semantic Tasks

Does not recognize SMW 3.x

4
Summary by Kghbln

Fixed with the 2.0.0 release.

Krabina (talkcontribs)

Tried to install it on MW 1.31 and SMW 3.0. If I enable it, the extension does not recognize that SMW is installed. It displays that it needs SMW and quits.

Kghbln (talkcontribs)

I believe one of the reasons is that SMW switched to extension registration while this one expects "classic" registration. However even if this would not happen I am pretty sure that this extension will not work either due to other breaking changes in SMW 3.0

Krabina (talkcontribs)

Indeed. If I remove the registration check, the extenson shows up in Special:Version without errors. But if I try to use it, the following error appears:

/index.php?title=Vorlage:Neuigkeit&action=submit   Error from line 424 of .../extensions/SemanticTasks/SemanticTasks.classes.php: Call to private method SMW\DataValues\PropertyValue::makeUserProperty() from context 'SemanticTasksMailer'
Backtrace:
#0 ../extensions/SemanticTasks/SemanticTasks.classes.php(166): SemanticTasksMailer::getQueryResults(string, array, boolean)
#1 ../extensions/SemanticTasks/SemanticTasks.classes.php(39): SemanticTasksMailer::getAssignees(string, string, User)
#2 ../includes/Hooks.php(177): SemanticTasksMailer::findOldValues(WikiPage, User, WikitextContent, string, integer, NULL, NULL, integer, Status)
#3 ../includes/Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#4 ../includes/page/WikiPage.php(1618): Hooks::run(string, array)
#5 ../includes/EditPage.php(2214): WikiPage->doEditContent(WikitextContent, string, integer, boolean, User, string, array, integer)
#6 ../includes/EditPage.php(1506): EditPage->internalAttemptSave(array, boolean)
#7 ../includes/EditPage.php(652): EditPage->attemptSave(array)
#8 ../includes/actions/EditAction.php(60): EditPage->edit()
#9 ../includes/actions/SubmitAction.php(38): EditAction->show()
#10 ../includes/MediaWiki.php(500): SubmitAction->show()
#11 ../includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#12 ../includes/MediaWiki.php(861): MediaWiki->performRequest()
#13 ../includes/MediaWiki.php(524): MediaWiki->main()
#14 ../index.php(42): MediaWiki->run()
#15 {main}
Kghbln (talkcontribs)

It would have been nice to be proven wrong.