මාධ්යවිකි API උදවු
මෙය ස්වයං-ජනිත මාධ්යවිකි API ප්රලේඛන පිටුවකි.
ප්රලේඛනය සහ උදාහරණ: https://www.mediawiki.org/wiki/API
action=validatepassword
(main | validatepassword)
- මෙම ඒකකය සදහා හිමිකම් කියවීම අවශ්ය වේ.
- මෙම ඒකකය POST ඉල්ලීම් පමණක් බාරගනී.
- Source: MediaWiki
- License: 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.
පරාමිතීන්:
Other general parameters are available.
- password
Password to validate.
- This parameter is required.
- user
Username, for use when testing account creation. The named user must not exist.
- Type: user, by any of username සහ user ID (e.g. "#12345")
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]