Manual:DeleteUserEmail.php/fr
Appearance
| Version de MediaWiki : | ≥ 1.38 Gerrit change 720819 |
| Fichier MediaWiki : deleteUserEmail.php | |
|---|---|
| Emplacement : | maintenance/ |
| Code source : | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Classes : | DeleteUserEmail |
Détails
deleteUserEmail.php file is a maintenance script to delete the email address of users on the wiki. This can be used as a mechanism to preserve privacy of users by removing some personally identifying information, their email address.
Options/Arguments
| Argument | Description | Required? |
|---|---|---|
| <user> | Username or user ID, if starts with # | obligatoire |
Usage
php maintenance/run.php deleteUserEmail <user>
Dans la version MediaWiki 1.43.6 et antérieures, vous devez appeler les scripts de maintenance en utilisant
php maintenance/scriptName.php au lieu de php maintenance/run.php scriptName.Terminal
$ php maintenance/run.php deleteUserEmail Foo Done!
This will blank Foo's email address from the database.
Terminal
$ php maintenance/run.php deleteUserEmail '#19' Done!
This will blank user ID number #19's email address from the database.
Note the quotes around #19, which may be required.