I'm using an Media Wiki for documentation. After I added a lot of Pages with Namespace for example INTERN:My Page
or Public:My Page
and want to restrict read access for this existend Namespaces.
I've found the Extension "Lockdown" and can use it for new, custom, Namespaces:
define ("NS_CUSTOM", 110);
$wgExtraNamespaces[NS_CUSTOM] = "customNamespace";
$wgNamespacePermissionLockdown[NS_CUSTOM]['*'] = array('sysop');
If I try the same Code for my existent Namespaces the old pages aren't accessable - it seems like the pages does not exist.
Is there a way to restrict the access of existing Namespaces? Can I found the Namespace ID somewhere in the Database?
I've created a new custom Namespace
and changed so ROWs in
page
Database Table topage_namespace = 111