Manual:changePassword.php
From MediaWiki.org
| MediaWiki File: changePassword.php | |
|---|---|
| Location: | /maintenance/ |
| Source code: | HEAD |
| Classes: | None |
changePassword.php can be used to change the password of a user on your wiki.
[edit] Usage
php changePassword.php --user=target username --password=new password
As an example:
php changePassword.php --user=JohnSmith --password=Secret12
Or to display a help message:
php changePassword.php --help
[edit] Options
--user (the user's name)
--password (the user's new password)
--help (displays help message)
[edit] Troubleshooting
This script may not work if you are using memcached on your MediaWiki installation. You can restart memcached to make it clear it's cache and allow you to login again.