Thread:Extension talk:Widgets/When is the Widget namespace created?/reply (3)

Hmm, I have a similar setup on my wiki with a working widgets extension. I guess you have to use the ns constant instead of the ns number. Did you define your namespaces? define("NS_PORTAL", 100); define("NS_PORTAL_TALK", 101);
 * 1) Define namespaces

$wgExtraNamespaces[NS_PORTAL] = "Portal"; $wgExtraNamespaces[NS_PORTAL_TALK] = "Portal_Talk";
 * 1) Name namespaces

$wgNamespacesWithSubpages[NS_PORTAL] = true;
 * 1) Subpages for namespaces

Cheers