Помош со Извршникот на МедијаВики
Ова е самосоздадена документациска страница за извршникот на МедијаВики.
Документација и примери: https://www.mediawiki.org/wiki/API
action=validatepassword
(main | validatepassword)
- За овој модул се потребни права на читање.
- Овој модул прифаќа само POST-барања.
- Извор: MediaWiki
- Лиценца: GPL-2.0+
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.
Параметри:
- password
Password to validate.
- Овој параметар е задолжителен.
- user
User name, for use when testing account creation. The named user must not exist.
- Тип: корисничко име
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]