Extension:ShowRealUsernames/Configuration

Configuration
By default, the user's real name is appended to the wiki name in Special:ListUsers. You can replace the wiki name with the real name by setting

in your LocalSettings.php.

The fields retrieved from the database by the ShowRealUsernames extension are configured in $wgShowRealUsernamesFields, which currently defaults to 'user_real_name', 'user_name', 'user_email'. You can customize this in your LocalSettings.php.

The system messages sru-realname-inline and sru-realname-append are provided to format the name. Parameters ($1, $2, &hellip;) are replaced by the fields defined in $wgShowRealUsernamesFields in the order of definition.

Only users having the showrealname right do see the real names. By default, this right is granted to all registered users. To restrict it to a group add something like the following lines to your LocalSettings.php after including the ShowRealUsernames extension: