MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=modifydomainalias

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

Modify a domain alias to wiki

Parameters:
wiki_id

Id of the wiki to modify the alias for

This parameter is required.
Type: integer
current_alias

The alias to change

This parameter is required.
new_alias

The new value to replace current alias

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.