On Wed, May 12, 2010 at 10:47 PM, Andrew Gradman
<andrew.gradman(a)gmail.com> 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#Ca…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/SpecialPriv…
Good luck!
--
Lucas 'TOR' Garczewski
Wikia Tech Team