[Mediawiki-l] A wiki very simple (how to block some options ?)

Tim Neudecker tim at kyologic.com
Mon Mar 20 21:11:04 UTC 2006


you can do this by editing the LocalSettings.php file


   #
   # Permission keys given to users in each group.
   # All users are implicitly in the '*' group including anonymous  
visitors;
   # logged-in users are all implicitly in the 'user' group. These  
will be
   # combined with the permissions of all groups that a given user is  
listed
   # in in the user_groups table.
   #
   # This replaces wgWhitelistAccount and wgWhitelistEdit
   #
   # The following line should be commented, otherwise these settings  
will
   # throw away the settings on DefaultSettings.php (you probably  
don't want this).
   # With this line commented you will only overwrite the settings  
you explicitly
   # define here (that's what you probably want).
   #$wgGroupPermissions = array();
   $wgGroupPermissions['*'    ]['createaccount']   = false;
   $wgGroupPermissions['*'    ]['read']            = true;
   $wgGroupPermissions['*'    ]['edit']            = false;

As for the other requests, I am unsure, I just installed my first  
media wiki over the weekend so I too am very new to it.

-- 
Tim Neudecker      <mailto:tim at KyoLogic.com>



On Mar 20, 2006, at 3:46 PM, iubito wrote:

> Is there a way to achieve the followings ?
> - disable create account (just login), I (the sysop) will create the 2
> accounts.




More information about the MediaWiki-l mailing list