Manual:invalidateBotPasswords.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.37
<translate> MediaWiki version:</translate> |
MediaWiki file: invalidateBotPasswords.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | InvalidateBotPasswords |
Details
invalidateBotPasswords.php file is a maintenance script to invalidates the bot passwords of a given user.
Options/Arguments
Option | Description | Required? |
---|---|---|
--user | The username to operate on | <translate> Optional</translate> |
--userid | The user id to operate on | <translate> Optional</translate> |
Although both option are optional but one of them is required.
Usage
php maintenance/invalidateBotPasswords.php [ --user| --userid ]
Terminal
$ php maintenance/invalidateBotPasswords.php --user Foo Bot passwords invalidated for Foo