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

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/102624#c25839
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:

As a replacement in-core for Extension:Realnames, I think your choice of wg var 
is too simple. Before making my extension I looked at all the other extensions 
which did realname replacement (there are a few) and they all had different 
ways of display it.  For example: Username - Realname     or   Realname 
[username]  etc.  Or wholesale replacement.  I think you could reasily re-use 
the conf vars from Extension:Realnames to make a transition seamless.  Of 
course they aren't all needed or wanted, but some of them could prove useful.

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

Reply via email to