Last modified: 2010-04-23 14:56:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25294, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23294 - Option for displaying realname instead of username
Option for displaying realname instead of username
Status: RESOLVED DUPLICATE of bug 8086
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-23 07:33 UTC by Stefan Harwarth
Modified: 2010-04-23 14:56 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Functions for displaying realname instead of username (705 bytes, text/plain)
2010-04-23 07:33 UTC, Stefan Harwarth
Details

Description Stefan Harwarth 2010-04-23 07:33:26 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
Comment 1 Chad H. 2010-04-23 14:56:24 UTC

*** This bug has been marked as a duplicate of bug 8086 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links