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

(maincreatelocalaccount)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: CentralAuth
  • License: GPL-2.0-or-later

Forcibly create a local account. The central account must exist.

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.