https://bugzilla.wikimedia.org/show_bug.cgi?id=23294

           Summary: Option for displaying realname instead of username
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: User interface
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=7324)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7324)
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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to