Manual:invalidateBotPasswords.php
Appearance
| MediaWiki version: | ≥ 1.37 |
| MediaWiki file: invalidateBotPasswords.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Classes: | InvalidateBotPasswords |
Details
[edit]invalidateBotPasswords.php file is a maintenance script to invalidates the bot passwords of a given user.
Options/Arguments
[edit]| Option | Description | Required? |
|---|---|---|
| --user | The username to operate on | Optional |
| --userid | The user id to operate on | Optional |
Although both option are optional but one of them is required.
Usage
[edit]php maintenance/run.php invalidateBotPasswords [ --user| --userid ]
Terminal
$ php maintenance/run.php invalidateBotPasswords --user Foo Bot passwords invalidated for Foo
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.