On Wed, May 12, 2010 at 10:47 PM, Andrew Gradman <[email protected]> wrote: > Hello Mediawiki list, > > I posted this question *in more detail at the Wikipedia Reference > Desk*<http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/Computing#Can_I_customize_my_mediawiki_to_only_allow_people_with_our_school.27s_email_address_to_create_accounts.3F>, > and the answerer suggested I forward it here. If this is not the right > place to ask this question, please let me know where to go next? Here is > what I posted at the reference desk: > > *I'm on the student senate at my school, and we want to customize our >> mediawiki install so it only lets someone create an account (i.e. edit) if >> their email address ends in @[school_name].edu. We also want to force their >> username to be the [first].[last]@ from their email address. Later, we might >> expand this to more schools, so we would want the flexibility to add other >> @[school_name].edu's to have the ability to create accounts.*
At Wikia we have an extension called PrivateDomains. It does exactly (or almost exactly) what you want. Give it a try, here's the source code: http://trac.wikia-code.com/browser/wikia/trunk/extensions/wikia/SpecialPrivateDomains Good luck! -- Lucas 'TOR' Garczewski Wikia Tech Team _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
