PHPackages                             ofbeaton/mediawiki-realnames - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ofbeaton/mediawiki-realnames

ActiveProject[Utility &amp; Helpers](/categories/utility)

ofbeaton/mediawiki-realnames
============================

attempts to add realname to all username links.

v0.8.2(4y ago)51478BSD-2-ClausePHPPHP &gt;=7.0

Since Mar 11Pushed 3y ago2 watchersCompare

[ Source](https://github.com/ofbeaton/mediawiki-realnames)[ Packagist](https://packagist.org/packages/ofbeaton/mediawiki-realnames)[ Docs](https://www.mediawiki.org/wiki/Extension:Realnames)[ RSS](/packages/ofbeaton-mediawiki-realnames/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (6)Used By (0)

Realnames
=========

[](#realnames)

*Updated instructions and releases available at:*

This mediawiki extension attempts to add *realname* to all *username* links.

Modifies a page's html content right before display to keep the approach generic and simple. This means it works for most links and does not need special consideration with new hooks. Compatibility with other extensions should be very strong.

This means it works on:

- Special:ListUsers
- Special:RecentChanges (new and old)
- Special:Search of the User: space
- History of page
- Revisions list of page
- Revision view of page
- Revision Compare
- Page header + html title (limited)
- and any page where user links are found

While the focus is on realname display, it can customized to change the display of username links to anything desired (add an image? another class?). This can be incredibly powerful.

It was developed mainly for Enterprise/Corporate users of MediaWiki where realnames are much more important, and often make much more sense than the usual algorithmically chosen usernames.

The default configuration prioritises realnames first with the username in parenthesis. Since usernames are still needed for wiki links, wiki actions, and realnames can sometimes collide; displaying both is recommended. This is optional, see the configuration options bellow.

There is currently no way to preserve User: prefixes on links or text.

Updates
-------

[](#updates)

The extension is considered in a usable state and feature complete. Issues are mostly possible testing or performance enhancements.

This extension is used in corporate applications. As such, the authors are unlikely to update it on a regular basis, but instead when the corporate applications that use it run into problems. You should expect updates in the 5-10yr range.

Issues and PRs will be monitored, and we will continue to work with the community to provide updates as they are contributed.

Download instructions
---------------------

[](#download-instructions)

You can download the extension directly from github [releases](https://github.com/ofbeaton/mediawiki-realnames/releases).

Consult the [CHANGELOG](CHANGELOG) and [HISTORY](HISTORY) for release history.

Installation
------------

[](#installation)

To install this extension, add the following to `LocalSettings.php`:

```
wfLoadExtension( 'Realnames' );
#add optional configuration parameters here
```

or before mediawiki 1.25 instead do:

```
include_once("$IP/extensions/Realnames/Realnames.php");
#add optional configuration parameters here
```

Configuration parameters
------------------------

[](#configuration-parameters)

See [AdvancedConfiguration.md](AdvancedConfiguration.md) for finer control, including custom styles.

### $wgRealnamesLinkStyle \[&gt;=0.1\]

[](#wgrealnameslinkstyle-01)

ValuesExampleDescription"standard"mw305Provided for convenience, this is the default MediaWiki behavior"replace"Martha Stewart"append"mw305 \[Martha Stewart\]"reverse"Martha Stewart \[mw305\]"dash"mw305 – Martha Stewart"dash-reverse"Martha Stewart – mw305"paren-append"mw305 (Martha Stewart)"paren-reverse"Martha Stewart (mw305)Default extension behaviourTesting
-------

[](#testing)

- MediaWiki 1.32.0, 1.31.1 (LTS), 1.18.0, 1.17.1, 1.16.5, 1.15.5,

See also
--------

[](#see-also)

- [Extension:LDAP\_Authentication](https://www.mediawiki.org/wiki/Extension:LDAP_Authentication) — popular import username/realnames from LDAP/AD
- [Extension:Windows\_NTLM\_LDAP\_Auto\_Auth](https://www.mediawiki.org/wiki/Extension:Windows_NTLM_LDAP_Auto_Auth) — import username/realnames from LDAP/AD

Alternative extensions
----------------------

[](#alternative-extensions)

- [Extension:ShowRealUsernames](https://www.mediawiki.org/wiki/Extension:ShowRealUsernames)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~264 days

Total

5

Last Release

1560d ago

PHP version history (2 changes)v0.6.2PHP &gt;=5.6.0

0.7.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc1f698134d2f7261eeeb6b8d9d5c118fd8315496f7e4444b6d16b281e3d1287?d=identicon)[ofbeaton](/maintainers/ofbeaton)

---

Top Contributors

[![ofbeaton](https://avatars.githubusercontent.com/u/1781089?v=4)](https://github.com/ofbeaton "ofbeaton (46 commits)")[![InevitableWaste](https://avatars.githubusercontent.com/u/109093250?v=4)](https://github.com/InevitableWaste "InevitableWaste (4 commits)")[![ericrichtert](https://avatars.githubusercontent.com/u/54763328?v=4)](https://github.com/ericrichtert "ericrichtert (2 commits)")[![samwilson](https://avatars.githubusercontent.com/u/213655?v=4)](https://github.com/samwilson "samwilson (1 commits)")

---

Tags

mediawikimediawiki-extensionphprealnamewikimediawikirealnames

### Embed Badge

![Health badge](/badges/ofbeaton-mediawiki-realnames/health.svg)

```
[![Health](https://phpackages.com/badges/ofbeaton-mediawiki-realnames/health.svg)](https://phpackages.com/packages/ofbeaton-mediawiki-realnames)
```

###  Alternatives

[mediawiki/mediawiki-codesniffer

MediaWiki CodeSniffer Standards

332.9M317](/packages/mediawiki-mediawiki-codesniffer)[mediawiki/chameleon-skin

A highly flexible MediaWiki skin using Bootstrap 4

12481.8k2](/packages/mediawiki-chameleon-skin)[mediawiki/maps

Adds various mapping features to MediaWiki

84145.0k3](/packages/mediawiki-maps)[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

3074.6k1](/packages/mediawiki-semantic-extra-special-properties)[mediawiki/semantic-scribunto

A Semantic Mediawiki extension to natively support the Scribunto extension

2967.5k](/packages/mediawiki-semantic-scribunto)[professional-wiki/network

MediaWiki extension for adding interactive network visualizations to your wiki pages

3211.9k](/packages/professional-wiki-network)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
