User "Olivier Beaton" posted a comment on MediaWiki.r102624.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/102624#c25869
Commit summary:

Add a new User::getDisplayName() to return the name that should be displayed in 
the interface.
Add a UserDisplayName hook to allow extensions to give custom display names for 
users.
Add a $wgRealNameInInterface to use the real name of a user as the display name.
To start of the first use of the display name functionality tweak SkinTemplate 
to declare the userdisplayname and use it inside of personal_urls.

Comment:

My vote is to remove the $wgRealNameInInterface bit. 

Your set of assumption are incorrect, the most common expected setup is 
'Username — Realname' and this is what all current realname extensions 
currently do (except mine, which allows many different setups). This is inline 
with almost all public wikis where the username is meaningful, and the realname 
is added bonus.

The other use case (and the one the bug happens to be filed for) is likely a 
private wiki that is using other extensions to do external authentication (like 
LDAP). In this case the username is often a almost-meaningless auto-generated 
id, where wholesale replacement makes sense.

If you insist on providing in-core functionality, please provide as suggested a 
user-defined way to specify either an append or a replace (or a user defined 
replacement string).

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to