Extension:DisableAccount/fr
Appearance
État de la version : stable |
|
|---|---|
| Implémentation | Page spéciale, Accès utilisateur |
| Description | Allows administrators to disable individual accounts. |
| Auteur(s) | Andrew Garrett (Werdnadiscussion) |
| MediaWiki | >= 1.43.0 |
| Modifie la base de données |
Non |
|
disableaccount |
|
| Licence | Licence publique générale GNU v2.0 ou supérieur |
| Téléchargement | |
| Traduire l’extension DisableAccount sur translatewiki.net si elle y est disponible | |
| Problèmes | Tâches ouvertes · Signaler un bogue |
The DisableAccount extension allows administrators to disable individual users' wiki accounts.
Disabling an account will remove this user's password and email, and place it in an "inactive" user group. It is not reversible without system administrator intervention. To re-enable an account, remove it from the inactive user group, and reset its password using changePassword.php.
Installation
- Téléchargez et placez le(s) fichier(s) dans un répertoire appelé
DisableAccountdans votre dossierextensions/.
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/DisableAccount
- Ajoutez le code suivant à la fin de votre fichier LocalSettings.php :
wfLoadExtension( 'DisableAccount' ); $wgGroupPermissions['bureaucrat']['disableaccount'] = true;
Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.
The second line above assumes you want to give the disableaccount permission to users in the bureaucrat user group.
Replace bureaucrat in the LocalSettings.php lines with the appropriate other user group, if you wish to use a different configuration.
The permission should not be given to user groups that are automatically assigned or widely populated.
