Last modified: 2008-10-10 13:42:03 UTC
I checked out the latest versions of MediaWiki, Semantic MediaWiki, Semantic Forms and FCKeditor from the SVN repositories today. MediaWiki has been updated to 1.14alpha. 1.14alpha causes a compatibility issue between Semantic MediaWiki and FCKeditor. Once the two extensions are installed, edit pages are not rendered and the following error is produced: Catchable fatal error: Argument 2 passed to SMWParseData::stripMagicWords() must be an instance of Parser, instance of FCKeditorParser given, called in /extensions/SemanticMediaWiki/includes/SMW_ParserExtensions.php on line 30 and defined in /extensions/SemanticMediaWiki/includes/SMW_ParseData.php on line 31' The version information for my instance is given below... MediaWiki - 1.14alpha (r41831) Semantic MediaWiki (Version 1.4b-SVN) FCKeditor (Version fckeditor/mw-extension $Rev$ 2008)
I have fixed that now in SVN, though I am surprised that FCKeditorParser is not a subclass of Parser. Maybe MediaWiki should have a ParserInterface or something to allow typing parameters. I will remove other "Parser" type hints in SMW as I encounter them. Note also that the current SVN version of SMW is in heavy development -- please use the latest stable release on production sites.