Jump to content

Topic on Extension talk:Semantic Watchlist/Flow

Error from line 304 of /mediawiki-1.29.1/extensions/SemanticWatchlist/specials/SpecialSemanticWatchlist.php: Call to undefined method ApiMain::getResultData()

3
It4history (talkcontribs)

Installed 1.1.0 version of this extension but sometimes when 'Semantic watchlist' clicked then the error from subject is thrown.

SMW has version 2.5.4

I found that ApiBase::getResultData() was depreciated in 1.25 mediawiki but do not understand how to fix script,

Hutchy68 (talkcontribs)

I am seeing this error too except from line 302. MW 1.30, SMW 2.5.6. Is there a solution yet?

Hutchy68 (talkcontribs)

Well, it looks like it is fixed in master but not released.

return $api->getResult()->getResultData( null, [
   'BC' => [],
   'Types' => [],
   'Strip' => 'all',
 ] );

Shouldn't this be updated so a composer install can update to the latest. Right now it is still installing 1.1.0 released in April 2016.

Reply to "Error from line 304 of /mediawiki-1.29.1/extensions/SemanticWatchlist/specials/SpecialSemanticWatchlist.php: Call to undefined method ApiMain::getResultData()"