MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: 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.
- Source: AntiSpoof for CentralAuth
- License: GPL-2.0-or-later
Forcibly create a local account
Specific parameters:
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.
Example:
- Forcibly create a local account for User:Example.
- api.php?action=createlocalaccount&username=Example&reason=Because+I+can [open in sandbox]