Page MenuHomePhabricator

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

Description

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

Details

Reference
bz33440

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:03 AM
bzimport set Reference to bz33440.
bzimport added a subscriber: Unknown Object (MLST).

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

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

http://semantic-mediawiki.org/wiki/Help:Installation

says:

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:

http://wikimedia.7.n6.nabble.com/Semantic-MediaWiki-1-7-release-candidate-1-td1943169.html

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.

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:

https://www.mediawiki.org/wiki/User:Badon/Extension:Semantic_MediaWiki/Manual

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.