Manual:DeleteUserEmail.php/ja
Appearance
| MediaWiki バージョン: | ≧ 1.38 Gerrit change 720819 |
| MediaWiki ファイル: deleteUserEmail.php | |
|---|---|
| 場所: | maintenance/ |
| ソース コード: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| クラス: | DeleteUserEmail |
詳細
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.
オプション/引数
| 引数 | 説明 | 必須かどうか |
|---|---|---|
| <user> | Username or user ID, if starts with # | 必須 |
使用法
php maintenance/run.php deleteUserEmail <user>
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを
php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。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.