Hello. My friend has changed his password a few years ago and doesn't remember it now. Is there any way that he can reset it without email? I know that it would be easier to just open a new user account but he wants to keep all his edit history, watchlist and so on. I'm from hywiki (my username is ԱշոտՏՆՂ) and since it is a small community many active users know him personally and can guarantee that no one wants to steal that account (if I'm not enough). His username is Hayk.arabaget. I can provide his email if you need it.
I see request like this for first time. I think to this is possible via https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/maintenance/changePassword.php maintenance script, but because of security reasons, user should send mail to ca[at]wikimedia.org from same mail which is in affected account, confirm own identity and add link to this task in mail..
But @jrbs may knows more, so I leaving this to him to reply.
Thanks for your response, @Zoranzoki21. The problem is that there is no connected email (otherwise he could just use the Special:PasswordReset page). I understand that there are security risks but I have been editing Wikimedia wikis about five years. If you need I can ask other users with years of experience (who know Hayk.arabaget personally) to confirm that he is unable to use his account .
From the list available at https://wikitech.wikimedia.org/wiki/Password_reset/Confirming_identities, we're left with trusting @Ashot1997's word. Given they're an admin with nearly 100k edits, I've no problem with trusting their vouch. Could you please tell us an email owned by the user? We can then assign the email to the account, and the user can then do a password reset through the ordinary form.