From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
Release status: unmaintained
Implementation Special page
Description Allows administrators to change passwords of users in a single go.
Author(s) Mirco Zick, Ankita Mandal
Latest version 0.1.0
MediaWiki >= 1.36.0
License GNU General Public License 2.0 or later
  • $wgChangeUserPasswordsEnableFoo
  • changeuserpasswords
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


  • 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:
    wfLoadExtension( 'ChangeUserPasswords' );
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


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

See also[edit]