Dear all,
We are running MediaWiki 1.12. We would like to change the account creation page, and the user preferences page, so that e-mail address is required and the real name box does not appear.
Is this possible?
Many thanks,
Reid
Reid Priedhorsky wrote:
Dear all,
We are running MediaWiki 1.12. We would like to change the account creation page, and the user preferences page, so that e-mail address is required and the real name box does not appear.
Is this possible?
Many thanks,
Reid
Yes, but you probably prefer to *verify* the email address rather than just check that there's something on that field. For hiding the real name box, a bit of CSS is enough. More people have gone this road, check the archives.
$wgAllowRealName = false; That'll remove the realnames...
There's no way to make the e-mail field 'required', but you can alter permissions to make accounts functionally useless unless someone actually confirms their e-mail account.
$wgGroupPermissions['emailconfirmed'] = $wgGroupPermissions['user']; $wgGroupPermissions['user'] = array();
That will give emailconfirmed all the permissions normally only given to users... And remove all those permissions from the normal users.
~Daniel Friesen(Dantman, Nadir-Seen-Fire) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com)
Platonides wrote:
Reid Priedhorsky wrote:
Dear all,
We are running MediaWiki 1.12. We would like to change the account creation page, and the user preferences page, so that e-mail address is required and the real name box does not appear.
Is this possible?
Many thanks,
Reid
Yes, but you probably prefer to *verify* the email address rather than just check that there's something on that field. For hiding the real name box, a bit of CSS is enough. More people have gone this road, check the archives.
Daniel Friesen wrote:
$wgAllowRealName = false; That'll remove the realnames...
There's no way to make the e-mail field 'required', but you can alter permissions to make accounts functionally useless unless someone actually confirms their e-mail account.
$wgGroupPermissions['emailconfirmed'] = $wgGroupPermissions['user']; $wgGroupPermissions['user'] = array();
That will give emailconfirmed all the permissions normally only given to users... And remove all those permissions from the normal users.
Guys,
Thanks! This is sufficient.
Reid
mediawiki-l@lists.wikimedia.org