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=modifyserver
(main | modifyserver)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: ManageWiki
- License: GPL-3.0-or-later
Modify a wiki's server name.
Specific parameters:
Other general parameters are available.
- server
The server name to modify.
- This parameter is required.
- wiki
The ID of the wiki to modify the server name for.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Modify a wiki's server name.
- api.php?action=modifyserver&wiki=database_name&server=https://example.com&token=123ABC [open in sandbox]