I just added a custom namespace to our wiki and added some pages to the
namespace. I had thought that we had
$smwgNamespaceIndex<http://semantic-mediawiki.org/wiki/Help:Configuration#smwgNamespaceIndex>
= 225 set properly in our localsettings but I was wrong.
It was set in this order:
require_once("SemanticMediaWiki/SemanticMediaWiki.php");
$smwgNamespaceIndex = 225;
So it had no affect on the semantic namespaces. Just noticed the semantic
namespaces are all set around 100.
I set this new one before including SemanticMediaWiki.
$wgExtraNamespaces[100] = "Technology";
define('NS_KEYTECH', 100);
$smwgNamespacesWithSemanticLinks[100] = true;
I would like to change the configuration to this order:
$smwgNamespaceIndex = 225;
require_once("SemanticMediaWiki/SemanticMediaWiki.php");
$wgExtraNamespaces[100] = "Technology";
define('NS_KEYTECH', 100);
$smwgNamespacesWithSemanticLinks[100] = true;
1. Is this the correct order for configuration?
2. If I run smw_refreshdata.php after this, will that be suffice?
Thanks,
Mary Beebe
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel