Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=resetpassword
(main | resetpassword)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Извор: MediaWiki
- Лиценца: GPL-2.0-or-later
Send a password reset email to a user.
Специфични параметри:
Other general parameters are available.
- user
User being reset.
- Тип: корисник, по: корисничко име
Email address of the user being reset.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Примери:
- Send a password reset email to user Example.
- api.php?action=resetpassword&user=Example&token=123ABC [open in sandbox]
- Send a password reset email for all users with email address user@example.com.
- api.php?action=resetpassword&user=user@example.com&token=123ABC [open in sandbox]