[SMW] 1.7 RC1 fails on pages with an SRF image gallery
Closed, ResolvedPublic


When testing Semantic MediaWiki 1.7 RC1 I get this error on pages with a gallery:

Fatal error: Call to undefined method SRFGallery::readParameters() in /path/to/extensions/SemanticResultFormats/Gallery/SRF_Gallery.php on line 20

The gallery is being generated by a query using Semantic Result Formats 1.6.2 (the current version).

Version: unspecified
Severity: normal


bzimport set Reference to bz33440.
bzimport added a subscriber: Unknown Object (MLST).
Badon created this task.Dec 31 2011, 1:09 AM

These versions are not supposed to be compatible. Please read the installation guidelines.

Badon added a comment.Dec 31 2011, 1:20 AM

The INSTALL file included with it seems to be very outdated. It is for "Semantic MediaWiki 1.6-beta". This page:



This page describes how to install Semantic MediaWiki 1.6.0, 1.6.1 or 1.6.2

It looks like it is in the mailing list post:


I have complained before that it's very difficult to keep track of the proliferating places where often-critical information is kept. I'll suggest again that everything, except perhaps examples, be kept at the extension page at mediawiki.org.

Compat w/ SMW for SRF should be in the SRF docs, not the SMW docs. It is in the README file, which is always kept up to date. I now also placed it on mw.org, where it was apparently missing. If you find outdated stuff, please update it.

Badon added a comment.Dec 31 2011, 1:35 AM

I have been avoiding documentation work for SMW since nearly all of my work gets deleted. That's why I'm doing bug hunting instead. I try to keep stuff that gets deleted here:


I do update that page sometimes, but since only a few people besides me know it exists, it's not maximally helpful, and I'd rather put my effort into something else that provides a greater benefit.

Add Comment