Page MenuHomePhabricator

Call to undefined function DatabaseMysql::unionQueries() on Special:Properties
Closed, ResolvedPublic

Description

Author: stefan.harwarth

Description:
In revision 62642 a call to $db->unionQueries is made on Page Special:Properties, which is not reimplemented by the MySQL Database handler according to MediaWiki Code Doc.

Error message is:
Fatal error: Call to undefined method DatabaseMysql::unionQueries() in /usr/src/mediawiki-1.15.0/extensions/SemanticMediaWiki15/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 874


Version: unspecified
Severity: major
OS: Linux
Platform: Other

Details

Reference
bz22563

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:01 PM
bzimport set Reference to bz22563.

More likely it was not noticed that the change (made to the extension) made the extension incompatible with the stable MediaWiki. I don't know what is the policy for SMW trunk version to support stable releases, some extension keep compatibility with few past releases, some don't and just suggest using the version that is branched at the same time as MediaWiki itself.

r62642 is just the version you updated to, not the version where the change was made.

Right, it was not intended to introduce such a dependency. I will fix this before releasing SMW 1.5.0.