Extension:ShowRealUsernames/fr

From mediawiki.org
This page is a translated version of the page Extension:ShowRealUsernames and the translation is 26% complete.
Manuel des extensions MediaWiki
ShowRealUsernames
État de la version : stable
Implémentation Page spéciale
Description Extends Special:ListUsers to also show each user's real name and/or other user-specific information.
Auteur(s) Paul Lustgarten and RV1971
Dernière version 1.4.0 (2018-04-17)
MediaWiki 1.30+
PHP 5.4+
Licence Licence publique générale GNU v3.0 ou supérieur
Téléchargement
  • $wgShowRealUsernamesFields
  • $wgShowRealUsernamesInline
  • showrealname
Téléchargements trimestriels 6 (Ranked 144th)
Traduire l’extension ShowRealUsernames sur translatewiki.net si elle y est disponible

The ShowRealUsernames extension extends the user listings produced by Special:ListUsers to include the registered real name of each user, displayed immediately following the wiki user name, and/or other user-specific information.

Installation

  • Téléchargez et placez le(s) fichier(s) dans un répertoire appelé ShowRealUsernames dans votre dossier extensions/.
    Les développeurs et les contributeurs au code doivent à la place installer l'extension à partir de Git en utilisant:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ShowRealUsernames
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php  :
    wfLoadExtension( 'ShowRealUsernames' );
    
  • Yes Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.

Upgrading

To upgrade, simply install the new version at the place of the old one.

From versions before 1.2

Your existing configuration works as before, but you might like to take advantage of the new features.

Configuration

Par défaut, le vrai nom de l'utilisateur est ajouté au nom du wiki dans Special:ListUsers. You can replace the wiki name with the real name by setting

$wgShowRealUsernamesInline = true;

dans votre 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, …) 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:

$wgGroupPermissions['user']['showrealname'] = false;

$wgGroupPermissions['bureaucrat']['showrealname'] = true;

Usage

Cette extension agit automatiquement dès que la page Special:ListUsers est affichée.

Release notes

These are the release notes for version 1.4.0. Voir Extension:ShowRealUsernames/History pour les versions plus anciennes.

Configuration changes

L'extension est dorénavant chargée en utilisant le mécanisme wfLoadExtension() introduit dans MediaWiki 1.25. It is therefore incompatible with older MediaWiki versions.

Bugfixes

Les ?> fermants à la fin des fichiers, ont été supprimés.

Alternative extension