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=redirectmanager
(main | redirectmanager)
- This module requires read rights.
- This module only accepts POST requests.
- Source: RedirectManager
- License: GPL-3.0-or-later
Manage redirects to pages (with the RedirectManager extension).
Parameters:
- redirect
The name of the redirect, the source page name.
- This parameter is required.
- target
The page to which the redirect will point, the destination page name.
- This parameter is required.
Example:
- Redirect a Manual of Style shortcut to its actual page.
- api.php?action=redirectmanager&redirect=MOS:FOO&target=Project:Manual of Style, foobar [open in sandbox]