MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=adddomainalias

(main | adddomainalias)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: unknown
  • License: unknown

Add a domain alias to wiki

Parameters:
wiki_id

Id of the wiki to add the alias for

This parameter is required.
Type: integer
domain_alias

The new alias to add

This parameter is required.
reason

The reason for change (used in logs)

This parameter is required.
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.