Manual:invalidateBotPasswords.php
Appearance
MediaWiki version: | ≥ 1.37 |
MediaWiki file: invalidateBotPasswords.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
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 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.