SemanticMediaWiki/SemanticCompoundQueries

Extension version 1.0.0 does not invoke on MediaWiki 1.27+, probably earlier

kghbln opened this issue · 3 comments

Setup 1

  • MediaWiki 1.27.1 (8c593e7) 22:49, 26 October 2016
  • PHP 7.0.8-0ubuntu0.16.04.3 (apache2handler)
  • MySQL 5.7.16-0ubuntu0.16.04.1

Issue 1

Trying to install SCQ version 1.0.0 fails on the mentioned environment since the extension is not being invoked. Trying to manually invoke with require ... fails as expected with Fatal error: Cannot redeclare scqgRegisterParser() (previously declared in /.../w/extensions/SemanticCompoundQueries/SemanticCompoundQueries.php:43) in /.../w/extensions/SemanticCompoundQueries/SemanticCompoundQueries.php on line 46. Thus I reverted back to version 0.4.1.

Setup 2

  • MediaWiki 1.28.0 (e92ed15) 22:16, 28. Nov. 2016
  • PHP 5.6.29-0+deb8u1 (apache2handler)
  • MariaDB 10.0.28-MariaDB-1~jessie

Issue 2

Trying to install SCQ version 1.0.0 fails on the mentioned environment since the extension is not being invoked. Reverting back to version 0.4.1 fails because of PHP Fatal error: Call to a member function getHash() on null in /.../w/extensions/SemanticMediaWiki/includes/query/SMW_Query.php on line 451

@JeroenDeDauw This is quite a big fail since I assume that version 1.0.0 never worked. I have set up an example page on sandbox. It is currently not working even though it is installed via Composer.

Thanks go to @mwjames for the decisive tip. Still needs to be released though.

Still needs to be released though.

It has all happend.