Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=createlocalaccount
(main | createlocalaccount)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Извор: CentralAuth
- Лиценца: GPL-2.0-or-later
Forcibly create a local account. The central account must exist.
Специфични параметри:
Other general parameters are available.
- username
User to create the local account for.
- This parameter is required.
- reason
Reason for creating the local account.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Пример:
- Forcibly create a local account for User:Example.
- api.php?action=createlocalaccount&username=Example&reason=Because+I+can [open in sandbox]