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

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

I disagree. The more I think about it, the more getDisplayName() should 
actually use a mediawiki message with $ vars and replace on given elements. 
Username and Realname just being two. The user can then format how it outputs 
to their liking. 

Or gut out all the "realname" stuff out of this feature complete and just add a 
hook for extensions to change the getDisplayName and do it themselves.

No point adding a half-baked feature.

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

Reply via email to