Per request, I've added code to disable setting the real name field on login
authorEvan Prodromou <evanprodromou@users.mediawiki.org>
Sat, 29 May 2004 17:32:49 +0000 (17:32 +0000)
committerEvan Prodromou <evanprodromou@users.mediawiki.org>
Sat, 29 May 2004 17:32:49 +0000 (17:32 +0000)
commit940f992a19d7a8e12237c21daac74210ed1a8fef
tree1e99963a6854a2bbce761eda1e202d252431ac33
parent1f0d5500b21ebc2457ad2f1f58e65a5b77793224
Per request, I've added code to disable setting the real name field on login
or in user preferences. The field remains in the database, however, and
classes such as User still use it. It's just hidden from the user interface.

The configuration variable is $wgAllowRealName, which defaults to TRUE.
Admins can set it to false if they need to.

It was kind of a chop-shop job, but I'm pretty sure that clever hackers
won't be able to force in a real name anywhere.

I haven't yet made display of real names in the RDF optional; I figure
that's a lower priority.
includes/DefaultSettings.php
includes/SpecialPreferences.php
includes/SpecialUserlogin.php