Помоћ око Медијавикијевог API-ја

Ово је аутоматски генерисана документација за Медијавики API

Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

action=validatepassword

(main | validatepassword)
  • This module requires read rights.
  • This module only accepts POST requests.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0-or-later

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.

Специфични параметри:
Other general parameters are available.
password

Password to validate.

This parameter is required.
user

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

Тип: корисник, по: корисничко име и ID корисника (нпр. „#12345”)
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]