Extension:Password Reset

From MediaWiki.org
Jump to: navigation, search
In MW 1.18 and above, a special page "PasswordReset" exists which overrides the special page of this extension. This means this extension no longer works from 1.18 on. This extension however provides more functionality than in core, so a solution should be found (either merge this functionality with core, or rename one of the two special pages).

MediaWiki extensions manual
Crystal Clear app error.png
Password Reset

Release status: unstable

Implementation Special page, User rights, User identity
Description Allows to resets the user's password
Author(s) Tim Laquatalk
Latest version 1.7 (2008-09-04)
MediaWiki 1.9+
Database changes No
License No license specified
Download Template:WikimediaDownload/svn
Added rights

passwordreset

Hooks used
GetBlockedStatus

Translate the Password Reset extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

Issues:

Open tasks · Report a bug

The 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'

Installation[edit | edit source]

  • Download and extract the tarball in your extensions/ folder. It should generate a new folder called PasswordReset directly inside your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/PasswordReset/PasswordReset.php";
$wgGroupPermissions['sysop']['passwordreset']   = true;
  • Note the new addition of the 'passwordreset' permission in 1.2 - this must be explicitly granted as shown
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Usage[edit | edit source]

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