Extension:Password Reset

From MediaWiki.org
(Redirected from Extension:PasswordReset)
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
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.7 (2008-09-04)
MediaWiki 1.9+
License No license specified
Download
Added rights

passwordreset

Hooks used
GetBlockedStatus

Check usage (experimental)
Bugs: list open list all report

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 from Special:ExtensionDistributor/PasswordReset:
    • PasswordReset_Disabledusers.php
    • PasswordReset_body.php
    • PasswordReset.i18n.php
    • PasswordReset.alias.php
    • PasswordReset.php
  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
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox