Extension:ChangeUserPasswords

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎polski • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
ChangeUserPasswords
Release status: beta
Description Allows administrators to change passwords of users in a single go.
Author(s) Mirco Zick, Ankita Mandal
License GNU General Public License 2.0 or later
Download
README
Translate the ChangeUserPasswords extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

Change User Passwords is an extension to MediaWiki that defines a special page, "Special:ChangeUserPasswords", that allows administrators to change passwords of users in a single go. The passwords are generated randomly and displayed in a table to the administrator. The page is not accessible to or viewable by any other user apart from administrator.

ChangeUserPasswords uses a Admin_Link hook to display the feature under Admin Links as well. For this reason, the Extension:Admin Links must also be installed.

MediaWiki already provides a Special:ResetPassword" page, which allows users to change or reset their password, which may lead you to wonder what the need is for the additional "ChangeUserPasswords" page. However, there are a number of important differences that make "ChangeUserPasswords" useful:

  • "ResetPassword" allows only the logged in user to change their password.
  • "ChangeUserPasswords" allows administrators to change the passwords of several users at one go. This is useful when the wiki is supposed to be used by new users and old users do not need access to the wiki anymore. Admins can share the new passwords to new users without creating new user. So new users can directly log in and start using the wiki. This is highly useful in universities where there are new students every semester.
  • Finally, the Admin Links extension hook puts a link for Change User Passwords to "AdminLinks" in administrators' personal tools, which makes things more convenient

Installation

  • Download and place the file(s) in a directory called ChangeUserPasswords in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/ChangeUserPasswords/ChangeUserPasswords.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Authors

ChangeUserPasswords was written by Mirco Zick (mirco.zick[at]uni-due.de) and Ankita Mandal (ankita.mandal[at]stud.uni-due.de)

See also