Last modified: 2012-05-06 13:18:29 UTC
Discovered this on my site Referata, they currently have SRF 1.8alpha and ArrayExtension 1.3.2. (http://guildwars2.referata.com/wiki/Special:Version) Attempting to use the array format at all returns this error: Fatal error: Class 'ExtArrayExtension' not found in /home/yaron57/public_html/w/extensions/SemanticResultFormats/Array/SRF_Array.php on line 223 It looks like a simple typo on that line. 222 if( defined( 'ArrayExtension::VERSION' ) ) { 223 $version = ExtArrayExtension::VERSION; 224 } elseif( defined( 'ExtArrayExtension::VERSION' ) ) { 225 $version = ExtArrayExtension::VERSION; 226 } Shouldn't that global name match the name on the line above? Like this: 222 if( defined( 'ArrayExtension::VERSION' ) ) { 223 $version = ArrayExtension::VERSION; 224 } elseif( defined( 'ExtArrayExtension::VERSION' ) ) { 225 $version = ExtArrayExtension::VERSION; 226 }
Great catch :) Fixed in https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticResultFormats.git;a=commit;h=63cf99bfa0aaaeabaa3bdb957b787622b4253282