Справка MediaWiki API

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=validatepassword

(main | validatepassword)
  • Этот модуль требует прав на чтение.
  • Этот модуль принимает только Post-запросы.
  • Источник: MediaWiki
  • Лицензия: GPL-2.0+

Validate a password against the wiki's password policies.

Validity is reported as Good if the password is acceptable, Change if the password may be used for login but must be changed, or Invalid if the password is not usable.

Параметры:
password

Password to validate.

Это обязательный параметр.
user

User name, for use when testing account creation. The named user must not exist.

Тип: user name
email

Email address, for use when testing account creation.

realname

Real name, for use when testing account creation.

Примеры:
Validate the password foobar for the current user.
api.php?action=validatepassword&password=foobar [open in sandbox]
Validate the password qwerty for creating user Example.
api.php?action=validatepassword&password=querty&user=Example [open in sandbox]