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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l