Help talk:EnableSemantics

Jump to: navigation, search


Thread titleRepliesLast modified
Best approach for this setting219:32, 8 June 2017

Best approach for this setting

Up till now I had
enableSemantics( );
in the "LocalSettings.php" file for the sandbox wiki which is the setting we recommend upon installation. This however led to
<swivt:page rdf:resource=""/>
when exporting as RDF. Note the http here. To get this to show https I had to add the following:
enableSemantics(, true );
So I believe that we should adapt the documention for wikis running https which is the new defacto standard or some enhancement should be done so the wiki e.g. picks up the correct protocol automatically.
[[kgh]] (talk)18:38, 8 June 2017
Perhaps another approach is to keep
enableSemantics( );
but to also add the following:
$smwgNamespace = '';
I am not sure what the recommended approach will be. I would still prefer keeping the $smwgNamespace setting out of it since I think it has a different scope and rather have something that dectects the protocol for use in enableSemantics
[[kgh]] (talk)18:46, 8 June 2017
So back to
enableSemantics( );
according to this comment since enableSemantics is a reference key which should remain unchanged at any time after the first setup.
[[kgh]] (talk)19:29, 8 June 2017