[Evolvis-commits] r202: fix user rights for real↵ 15 : 44⎜ >Lo-lan-do< 67. +$wgGroupPermissions['user']['createaccount'] = false; ↵ 15 : 44⎜ >Lo-lan-do< not 'Users' ? ↵ 15 : 45⎜ [[Lo-lan-do]] No, that would create the second Users group. ↵ 15 : 46⎜ [[Lo-lan-do]] http://www.mediawiki.org/wiki/Manual: User_rights↵ 15 : 47⎜ >Lo-lan-do< oO↵ 15 : 47⎜ >Lo-lan-do< weird↵ 15 : 47⎜ [[Lo-lan-do]] Mediawiki itself is weird. ↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Nov 5 15:49:14 CET 2009


Author: mirabilos
Date: 2009-11-05 14:49:13 +0000 (Thu, 05 Nov 2009)
New Revision: 202

Modified:
   trunk/gforge_base/gforge-4.8.1+evolvis/plugins/mediawiki/www/LocalSettings.php
Log:
fix user rights for real
15:44⎜>Lo-lan-do<    67. +$wgGroupPermissions['user']['createaccount'] = false;
15:44⎜>Lo-lan-do< not 'Users' ?
15:45⎜[[Lo-lan-do]] No, that would create the second Users group.
15:46⎜[[Lo-lan-do]] http://www.mediawiki.org/wiki/Manual:User_rights
15:47⎜>Lo-lan-do< oO
15:47⎜>Lo-lan-do< weird
15:47⎜[[Lo-lan-do]] Mediawiki itself is weird.


Modified: trunk/gforge_base/gforge-4.8.1+evolvis/plugins/mediawiki/www/LocalSettings.php
===================================================================
--- trunk/gforge_base/gforge-4.8.1+evolvis/plugins/mediawiki/www/LocalSettings.php	2009-11-05 14:34:32 UTC (rev 201)
+++ trunk/gforge_base/gforge-4.8.1+evolvis/plugins/mediawiki/www/LocalSettings.php	2009-11-05 14:49:13 UTC (rev 202)
@@ -194,6 +194,13 @@
         require ("$wikidata/LocalSettings.php") ;
 }
 
+// required to make user groups work
+$wgGroupPermissions['user']['createaccount']      = false;
+$wgGroupPermissions['user']['edit']               = false;
+$wgGroupPermissions['user']['createpage']         = false;
+$wgGroupPermissions['user']['createtalk']         = false;
+$wgGroupPermissions['user']['read']               = false;
+
 $wgFavicon = '/images/icon.png' ;
 $wgBreakFrames = false ;
 ini_set ('memory_limit', '50M') ;




More information about the evolvis-commits mailing list