Re: [Mediawiki-l] uploads permissions

2009-09-30 Thread André Meunier
Well, That's basically how I set it up. I don't have any permission set for now, and it only works for my sysop user. I'll check that back tomorrow morning, and will post my localsettings, if I still don't find anything. André > 2009/9/24 André Meunier : >> Hello, >> >> I've enabled uploading,

Re: [Mediawiki-l] uploads permissions

2009-09-30 Thread Dan Bolser
2009/9/24 André Meunier : > Hello, > > I've enabled uploading, and it works for me (as sysop), but other users > can't upload file. When uploading it gives me the namespaceprotected > error message. > Which namespace is dedicated to the files uploaded? > I've tried setting the $wgGroupPermissions['

Re: [Mediawiki-l] uploads permissions

2009-09-28 Thread André Meunier
It didn't work without the line, which is why I sent the mail in the first place, and was given the namespaceprotection as a lead. I have nothing in my localsettings about the ns_file namespace, and it gives me the namespaceprotected error message. It works for me, with sysop rights, but not for

Re: [Mediawiki-l] uploads permissions

2009-09-28 Thread Platonides
André Meunier wrote: > $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. That line restricts the file namespace. Try removing it and see if the probl

Re: [Mediawiki-l] uploads permissions

2009-09-28 Thread André Meunier
$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]

Re: [Mediawiki-l] uploads permissions

2009-09-25 Thread Platonides
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 tha

Re: [Mediawiki-l] uploads permissions

2009-09-25 Thread André Meunier
I've added $wgNamespaceProtection[NS_FILE] = array('bsv','sysop'); $wgNamespacePermissionLockdown[NS_FILE]['read'] = array('bsv','sysop'); $wgNamespacePermissionLockdown[NS_FILE]['edit'] = array('bsv','sysop'); $wgNamespacePermissionLockdown[NS_FILE]['move']

Re: [Mediawiki-l] uploads permissions

2009-09-25 Thread Chad
The constant for the file namespace is NS_FILE. -Chad On Sep 25, 2009 4:17 AM, "André Meunier" wrote: I didn't, I don't know what the name for the namespace is. If I try $wgNamespacePermissionLockdown[File]['read'] = array('bsv','sysop'); It gives me an error *Notice*: Use of undefi

Re: [Mediawiki-l] uploads permissions

2009-09-25 Thread André Meunier
I didn't, I don't know what the name for the namespace is. If I try $wgNamespacePermissionLockdown[File]['read'] = array('bsv','sysop'); It gives me an error *Notice*: Use of undefined constant File - assumed 'File' in */var/web/bsv/public_html/wiki/LocalSettings.php* I've tried with

Re: [Mediawiki-l] uploads permissions

2009-09-24 Thread Platonides
André Meunier wrote: > Hello, > > I've enabled uploading, and it works for me (as sysop), but other users > can't upload file. When uploading it gives me the namespaceprotected > error message. > Which namespace is dedicated to the files uploaded? > I've tried setting the $wgGroupPermissions['*'

[Mediawiki-l] uploads permissions

2009-09-24 Thread André Meunier
Hello, I've enabled uploading, and it works for me (as sysop), but other users can't upload file. When uploading it gives me the namespaceprotected error message. Which namespace is dedicated to the files uploaded? I've tried setting the $wgGroupPermissions['*']['upload'] = true; I've t