Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API
action=validatepassword
(main | validatepassword)
- Ten moduł wymaga praw odczytu.
- Ten moduł akceptuje tylko żądania POST.
- Źródło: MediaWiki
- Licencja: 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.
Parametry:
- password
- Hasło do walidacji. 
- Ten parametr jest wymagany.
- user
- User name, for use when testing account creation. The named user must not exist. 
- Typ: nazwa użytkownika
- Email address, for use when testing account creation. 
- realname
- Real name, for use when testing account creation. 
Przykłady:
- Validate the password foobar for the current user.
- api.php?action=validatepassword&password=foobar [otwórz w brudnopisie]
- Validate the password qwerty for creating user Example.
- api.php?action=validatepassword&password=querty&user=Example [otwórz w brudnopisie]