Ah, cool that gives me a direction to go in. I'll work up something and test it, then update the docs because it is not clear on how to achieve this. Thanks Brian!
Tom -----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of Brian Wolff Sent: Friday, July 7, 2017 10:24 AM To: MediaWiki announcements and site admin list <mediawiki-l@lists.wikimedia.org> Subject: Re: [MediaWiki-l] Stopping Users from Creating Account That is exactly what the createaccount permission is. Do something like (i havent tested this and im a little rusty on the autopromote syntax): $wgGroupPermissions['*']['createaccount'] = true; $wgRevokePermissions['usernotadmin']['createaccount'] = true; $wgAutopromote = [ 'usernotadmin' => [ '&', [ APCOND_INGROUPS, 'user' ], [ '!', [ APCOND_INGROUPS, 'sysop' ]]] ]; -- Brian _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l