Last modified: 2010-04-23 14:56:24 UTC
Created attachment 7324 [details] Functions for displaying realname instead of username Hi, for our corporate installation of mediawiki we are using LDAP Authentication and hence the usernames are given by the Active Directory and they are not very verbose (e.g. HK78201). That's pretty annoying, especially on the Recent Changes page. However the realnames of the users are also fetched from the Active Directory. I propose an option in LocalSettings.php that makes it possible to toggle between displaying username and realname in all places where links to user pages are generated and that also greyshades the realname text input in the Settings dialog to prevent manipulation. I built a working prototype (s. attachment) by overriding two functions in a custom Skin: * userLink * buildPersonalUrls However overriding core functions that don't have any hooks in a Skin causes me some stomach-aching so I'd like to either see hooks for building an extension, or the proposed option right in the core. Stefan
*** This bug has been marked as a duplicate of bug 8086 ***