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 tried making a new group $wgGroupPermissions['uploadaccess']['upload'] = true; and still it gives me the error message for the namespaceprotected.
André
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['*']['upload'] = true; I've tried making a new group $wgGroupPermissions['uploadaccess']['upload'] = true; and still it gives me the error message for the namespaceprotected.
André
Have you set $wgNamespaceProtection for the file namespace?
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 different names for the namespace (Fichier as my wiki is set to french), but I always get the same error.
Platonides a écrit :
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['*']['upload'] = true; I've tried making a new group $wgGroupPermissions['uploadaccess']['upload'] = true; and still it gives me the error message for the namespaceprotected.
André
Have you set $wgNamespaceProtection for the file namespace?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2009/9/24 André Meunier ameunier@ulg.ac.be:
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 tried making a new group $wgGroupPermissions['uploadaccess']['upload'] = true; and still it gives me the error message for the namespaceprotected.
Did you check this:
http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads
?
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 ameunier@ulg.ac.be:
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 tried making a new group $wgGroupPermissions['uploadaccess']['upload'] = true; and still it gives me the error message for the namespaceprotected.
Did you check this:
http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads
?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------- André Meunier
Bibliothèque des Sciences de la vie Partim Médecine
Courriel : ameunier@ulg.ac.be Tél : +32 4 366 2173
mediawiki-l@lists.wikimedia.org