$wgNamespaceProtection[NS_FILE] = array('bsv');
This is what I had tried first, but it didn't work. I have a lot of permissions in the localsettings, but none about the file namespace.
Platonides a écrit :
André Meunier wrote:
I've added
$wgNamespaceProtection[NS_FILE] = array('bsv','sysop');
What about reading the docs? http://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection /If you list more than one permission for a given namespace, a user must have all of them to edit pages in that namespace./
The solution is to place only bsv in $wgNamespaceProtection and give the sysop group the bsv right.
($wgNamespacePermissionLockdown works the other way, user must be on *any* of those groups)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l