Помош со Извршникот на МедијаВики
Ова е самосоздадена документациска страница за извршникот на МедијаВики.
Документација и примери: https://www.mediawiki.org/wiki/API
action=changeauthenticationdata (changeauth)
(main | changeauthenticationdata)
- За овој модул се потребни права на читање.
- За овој модул се потребни права на пишување.
- Овој модул прифаќа само POST-барања.
- Извор: MediaWiki
- Лиценца: GPL-2.0-or-later
Change authentication data for the current user.
Параметри:
- changeauthrequest
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.
- Овој параметар е задолжителен.
- changeauthtoken
Шифра „csrf“ добиена од action=query&meta=tokens
- Овој параметар е задолжителен.
- *
- This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=change (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.
Пример:
- Attempt to change the current user's password to ExamplePassword.
- api.php?action=changeauthenticationdata&changeauthrequest=MediaWiki%5CAuth%5CPasswordAuthenticationRequest&password=ExamplePassword&retype=ExamplePassword&changeauthtoken=123ABC [open in sandbox]