Manual:deleteUserEmail.php

From Linux Web Expert

Revision as of 16:52, 28 May 2023 by imported>Shirayuki (wrong markup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.38
Gerrit change 720819
<translate> MediaWiki version:</translate>

Details

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 # <translate> Required</translate>

Usage

php maintenance/deleteUserEmail.php <user>
Terminal

This will blank Foo's email address from the database.

Terminal

This will blank user ID number #19's email address from the database. Note the quotes around #19, which may be required.

See also