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.*
*Question 1: Is that possible?* *Question 2: Howso? Thanks! *
Thanks!
Andrew
On Wed, May 12, 2010 at 10:47 PM, Andrew Gradman andrew.gradman@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#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/SpecialPriva...
Good luck!
2010/5/12 Łukasz Garczewski tor@wikia-inc.com:
On Wed, May 12, 2010 at 10:47 PM, Andrew Gradman andrew.gradman@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#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/SpecialPriva...
Good luck!
-- Lucas 'TOR' Garczewski Wikia Tech Team
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I don't know how your systems are setup, but if your e-mail addresses are tied to Active Directory or some other LDAP system then you might take a look at the LDAP Authentication plugin[0].
-Chad
[0] http://www.mediawiki.org/wiki/Extension:LDAP_Authentication
mediawiki-l@lists.wikimedia.org