Jason Spirko wrote:
I thought the new version of MediaWiki provides
namespace protection which
is supposed to define who is able to edit a namespace. Am I just
misunderstanding the purpose of this?
http://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection
You're right, i missed it. Jsut change what i called
$wgPrivateNamespaces by $wgNamespaceProtection.
For restricting read you still need an extension.
In regards to the code below, should I be able to make
a separate PHP file
and call it from LocalSettings.php?
Sure. It ended up being much longer than what i expected.