Extension:Password Reset

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
Password Reset

Release status: stable

Implementation Special page, User rights, User identity
Description Resets Wiki user's passwords - requires 'passwordreset' privileges
Author(s) Tim LaquaTalk
Last Version 1.6 (02/05/2008)
MediaWiki 1.9+
License No license specified
Download Download snapshot

Subversion [Help]
Browse source code

Password Reset extension allows Wiki users with the 'passwordreset' permission to reset MediaWiki user's passwords (Local users only).

  • As of v1.6, r30588, the "Disabled users" special page lists users that have been disabled using PasswordReset.
  • As of v1.4, r28418, the GetBlockStatus hook is employed to disallow users emailing themselves new (random) passwords from the login form if their account has been DISABLED via the Password Reset extension.
  • The system message shown to users with disabled accounts who request a new password via email is 'blocked-mailpassword'

[edit] Installation

  1. Create a new folder (directory) in the following location:
    wiki-install-folder/extensions/PasswordReset
  2. Download the following five required files:
  3. Copy the five files in to the new PasswordReset folder
  4. Add the following code to your LocalSettings.php (at the bottom)
$wgGroupPermissions['sysop']['passwordreset']   = true;
require_once( "$IP/extensions/PasswordReset/PasswordReset.php" );
  • Note the new addition of the 'passwordreset' permission in 1.2 - this must be explicitly granted as shown

[edit] Usage

  1. Follow Installation Instructions
  2. You will have two new Special Pages titled "Password Reset" and "Disabled users"
Personal tools