Le 10/02/12 17:18, Nicolas Brouard INED a écrit:
Hi,
We are managing Demopaedia.org, a site which aims to give access to old and recent versions of the Multilingual Demographic Dictionary (United Nations since 1958). About 15 languages are already available in the first (en-i.demopaedia.org/wiki/10) or second edition (en-ii.demopaedia.org/wiki/10).
A secondary aim is to open an encyclopedia (en.demopaedia.org) on the Scientific Study of Population, based on the corpus of terms already validated by the dictionary.
Based on mediawiki (1.16 moving to 1.18), the site is a corporate site. People allowed to edit need to sign under their professional real name. Currently their login name (user_name) is their real name (not a pseudo), sometimes transliterated without accent and in roman characters (but not always, see Михаил Денисенко on http://ru-ii.demopaedia.org/w/index.php?title=90&action=history). Their e-mail address is also mandatory.
I would like to change their login process by entering their e-mail address as a login and having their real name in the history as well as for authorship. The simplest way could be that the user_name, user_real_name and user_email fields are kept intact, but the login process is authenticated by the e-mail address, keeping the same password that they have entered. Thus people could have a unalterable user_name (given by me), a user_real_name which could have accents or whatever and an e-mail address that they could change.
And here is my question, how can I do this and do I need any of the extensions like Realnames, PageHistoryRealnames, ShowRealUsernames etc.
I spent some time googling but didn't find an easy solution. Many thanks for any hint.
Nicolas
You don't really need to user the real name to have accents or weird characters. The user_name and user_real_name fields can contain the same characters. user_name has a few more restrictions but you'd need a very very odd name to hit them (eg. to be named "O@#!" or with an unpronounceable and untypable symbol [1]). You are more likely to hit two guys with the same name than those (but I suppose you'd still want to make them different for those two people).
As for using the email as login, you would need to modify includes/specials/SpecialUserlogin.php