Wiki news items: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
|  (Started) | 
| (No difference) | 
Revision as of 17:39, 27 December 2009
Namespace
To create the News: namespace, and have it recognized by SMW, we add to LocalSettings.php:
define("NS_NEWS", 112);
define("NS_NEWS_TALK", 113);
$wgExtraNamespaces[NS_NEWS] = "News";
$wgExtraNamespaces[NS_NEWS_TALK] = "News_talk";
$smwgNamespacesWithSemanticLinks[NS_NEWS] = true;
$smwgQDefaultNamespaces = NULL;
Of course this section must occur after the line that enables SMW