MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=validatepassword
(main | validatepassword)
- Denne modulen krever lesetilgang.
- Denne modulen aksepterer bare POST forespørsler.
- Kilde: MediaWiki
- Lisens: GPL-2.0-or-later
Valider et passord mot wikiens passordkrav.
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.
Parametre:
- password
- Passord som skal valideres. 
- Denne parameteren er påkrevd.
- user
- User name, for use when testing account creation. The named user must not exist. 
- Type: brukernavn
- Email address, for use when testing account creation. 
- realname
- Real name, for use when testing account creation. 
Eksempler:
- Validate the password foobar for the current user.
- api.php?action=validatepassword&password=foobar [åpne i sandkasse]
- Validate the password qwerty for creating user Example.
- api.php?action=validatepassword&password=querty&user=Example [åpne i sandkasse]