User "Dantman" posted a comment on MediaWiki.r102624.

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

Yes, outside of stuff on the page itself. Most queries don't join on 
page_props, and it's possible in some cases for a page prop to not be present. 
So using displaytitle on say Special:Allpages requires either an extra join 
with some potentially complicated circumstances or it'll be inefficient as 
page_props would have to be repeatedly queried.

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

Reply via email to