1

When requesting a new password from MediaWiki, but failing to enter the correct password, the account will be locked for a day before allowing a request for a new password again. During this period, even administration account can't do anything to unlock the account.

Is there any way to unlock the account right away?

  • I don't think this is on-topic, as it's about an installable script. – Gelatin Sep 14 '10 at 19:06
1

You can run a maintenance script:

php changePassword.php --user="username" --password="password"

More Info about running maintenance scripts


Or modify the database:

UPDATE user SET user_password = CONCAT(':B:somesalt:', MD5(CONCAT('somesalt-', MD5('somepass')))) WHERE user_name = 'someuser';


Alternatively you you can install an extension which allows other administrators to reset your password.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.