Thread:User talk:Yury Katkov/programming examples/Examples not working

I can't get the examples working with Semantic MediaWiki Version 1.8.0.1.

$propertyValue = SMWPropertyValue::makeProperty('Test'); $property = new SMWSomeProperty($propertyValue, new SMWThingDescription);

This produces the following error:

PHP Catchable fatal error: Argument 1 passed to SMWSomeProperty::__construct must be an instance of SMWDIProperty, instance of SMWPropertyValue given, called in /srv/httpd/mediawiki/extensions/SidebarLanguagelink/SidebarLanguagelink.php on line 38 and defined in /srv/httpd/mediawiki/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php on line 786