Great - thanks! And I would need to add a similar line for every namespace, except the Talk namespace (and MediaWiki Talk, etc.)? Is there perhaps a way of setting this protection for all namespaces, except Talk (and MediaWiki Talk, etc.), with one line, for neatness?
Derrick
On Wed, May 7, 2008 at 3:13 PM, Thomas Dalton thomas.dalton@gmail.com wrote:
2008/5/7 Derrick Farnell derrick.farnell@gmail.com:
Would I simply add to LocalSettings.php the line:
$wgNamespaceProtection[NS_MAIN] = array( 'sysop' );
Yeah, pretty much. You may also need to add:
$wgGroupPermissions['sysop']['sysop'] = true;
I'm not sure if that's set by default, or not. (There is a difference between the sysop group and a sysop permission, so you need to explictly give the sysop group the sysop permission.)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l