Hi all,

SMW will be easier to configure in upcoming versions, and the SVN version has 
already been changed. If you run SMW on SVN you need to update your 
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 
$smwgServer in your old SMW_LocalSettings.php).

* If you have made any other changes/settings in SMW_LocalSettings.php, just 
insert the respective lines between the above two, e.g.

 include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php');
 $smwgIQDefaultLinking = 'all';
 enableSemantics("\example.org\");

So all settings now are in your LocalSettings.php.

* If you have more custom namespaces, set $smwgNamespaceIndex to a free 
namespace index, before the include statement, e.g.

 $smwgNamespaceIndex = 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 farms 
with shared code.

Cheers,

Markus

-- 
Markus Krötzsch
Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe
[EMAIL PROTECTED]        phone +49 (0)721 608 7362
www.aifb.uni-karlsruhe.de/WBS/     fax +49 (0)721 693  717

Attachment: pgpNwGjI6iQXS.pgp
Description: PGP signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to