To reset a user's password in Mediawiki, you can use the "passwordreset" feature. Here's how:
This will send an email to the user with a link to reset their password. If the user does not have an email associated with their account, you can reset their password manually by going to the "User Manager" page (under the "Users and Rights" section of the "Special Pages" menu) and clicking on the "Set Password" button next to the user's name.
Alternatively, you can reset the password directly in the database using a tool such as PHPMyAdmin or the MySQL command-line interface. To do this, you will need to update the "user_password" field in the "user" table with the new password, using a hash generated with the Mediawiki password hashing function.
It is important to note that resetting a user's password will also invalidate any existing sessions, so the user will need to log in again with the new password.