Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

When request new password from MediaWiki but fail to enter correct password, the account will get locked for a day to request 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? Thanks.

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

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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