From: Markus <ma...@ai...> - 2007-02-11 15:09:43
|
Hi all, SMW will be easier to configure in upcoming versions, and the SVN version h= as=20 already been changed. If you run SMW on SVN you need to update your=20 configuration: * The file SMW_LocalSettings.php is obsolete. It will be ignored. * Instead, the following is written into LocalSettings.php: include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php'); enableSemantics("\example.org\"); where you replace \example.org\ with your server name (the value of=20 $smwgServer in your old SMW_LocalSettings.php). * If you have made any other changes/settings in SMW_LocalSettings.php, jus= t=20 insert the respective lines between the above two, e.g. include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php'); $smwgIQDefaultLinking =3D 'all'; enableSemantics("\example.org\"); So all settings now are in your LocalSettings.php. * If you have more custom namespaces, set $smwgNamespaceIndex to a free=20 namespace index, before the include statement, e.g. $smwgNamespaceIndex =3D 102; include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php'); enableSemantics("\example.org\"); assuming that you already had some other namespace on 100/101. Overall, the new setup should simplify upgrades and the running of wiki far= ms=20 with shared code. Cheers, Markus =2D-=20 Markus Kr=F6tzsch Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe ma...@ai... phone +49 (0)721 608 7362 www.aifb.uni-karlsruhe.de/WBS/ fax +49 (0)721 693 717 |