[Mediawiki-l] Restricintg registration for users

zehetner at molgen.mpg.de zehetner at molgen.mpg.de
Fri Jun 12 15:55:48 UTC 2009


E.g.
# disable user registration
$wgGroupPermissions['*']['createaccount'] = false;

See http://www.mediawiki.org/wiki/Manual:Preventing_access
    http://www.mediawiki.org/wiki/Manual:$wgGroupPermissions

Gu

Quoting Waleed Pervaiz <wpervaiz at hotmail.com>:

> 
> Gey guys,
> 
> I'm relatively new to mediawiki, but learning fast. I want to be able to give
> access to only users whom I approve.
> 
> I used these lines to disable view access for anonymous users:
> 
> $wgGroupPermissions['*']['read'] = false;
> $wgWhitelistRead =  array ( "Main Page", "Special:Userlogin",
> "Help:Contents");
> 
> 
> But a user can always login and start viewing. Is there any way that I could
> restrict registration? Either I approve of the user before his login starts
> working, or only I have access to "add" new users.
> 
> Any suggestions?
> 
> Thanks,
> 
> Waleed
> 
> _________________________________________________________________
> Windows Live™ SkyDrive™: Get 25 GB of free online storage.
> http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 







More information about the MediaWiki-l mailing list