MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=validatepassword
(main | validatepassword)
- Ez a modul olvasási jogot igényel.
 - Ez a modul csak POST kéréseket fogad el.
 - Forrás: MediaWiki
 - Licenc: 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.
Jellemző paraméterek:
Other general parameters are available.
- password
 Password to validate.
- Ez a paraméter kötelező.
 - user
 Username, for use when testing account creation. The named user must not exist.
- Típus: felhasználó, a következők egyikével megadva: felhasználónév és felhasználóazonosító (pl. "#12345")
 Email address, for use when testing account creation.
- realname
 Real name, for use when testing account creation.
Példák:
- Validate the password foobar for the current user.
 - api.php?action=validatepassword&password=foobar [megnyitás a homokozóban]
 - Validate the password qwerty for creating user Example.
 - api.php?action=validatepassword&password=querty&user=Example [megnyitás a homokozóban]