function enableSemantics( $namespace = null, $complete = false ) without $namespace will cause an fatal error since wfWarn() is called in line 57 (as of r97000).
In since enableSemantics most likely is called during LocalSettings.php, before parser initialization, global wiki functions are not available as well.
Perhaps it would be cleaner to setup SMW like any normal extension with help of $wgHooks['ParserFirstCallInit'][]
Version: unspecified
Severity: minor