Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykÅady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
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: użytkownik, podany jako: nazwa użytkownika oraz ID użytkownika (np. â#12345â)
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]