SemanticWikibase icon indicating copy to clipboard operation
SemanticWikibase copied to clipboard

Incompatible with the latest version of Sematic Mediawiki and WikibaseRepo

Open an-old-guy-in-Ecust opened this issue 10 months ago • 1 comments

I'm building a local windows mediawiki and connecting Wikibase and Semantic Mediawiki(SMW) by SemanticWikibase. But I have run into a significant compatibility issue. Here is my environment: -Win10 -Mediawiki 1.42.3 -Semantic Mediawiki 5.0.0 -Wikibase REL1.42 -Semantic Wikibase 0.1.0 -php 8.3.13 -nginx 1.26.0 -mysql 5.7.44

I first installed SMW 5.0.0, it could work well. After installing the Semantic Wikibase, and run "php maintenance/update.php", it shows: [no req] Error: Call to undefined method Wikibase\Repo\WikibaseRepo::getDefaultInstance() Backtrace: from extensions\SemanticWikibase\src\SemanticWikibase.php(62)

It seems to has something to do with wikibase version. Any feasible solution?

an-old-guy-in-Ecust avatar Mar 26 '25 09:03 an-old-guy-in-Ecust

There is an dependency error between Semantic Mediawiki and Wikibase in versions >1.39 that has not been resolved yet. Wikibase4Research is a docker based installation pipeline that makes it easier to install semantic wikibase (still v1.39). see https://gitlab.com/nfdi4culture/wikibase4research/wikibase4research/ and use wikiPreset/SemanticWikibase

baillyk avatar Aug 06 '25 10:08 baillyk