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=wbcreateredirect
- Denna modul kräver läsrättigheter.
- Denna modul kräver skrivrättigheter.
- Denna modul accepterar endast POST-begäranden.
- Source: WikibaseClient
- License: GPL-2.0-or-later
Skapar entitetomdirigeringar.
- from
Entitet ID att göra till en omdirigering
- Den här parametern är obligatorisk.
- to
Entitets-ID att rikta omdirigeringen till
- Den här parametern är obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den här parametern är obligatorisk.
- bot
Markera denna redigering som en bot. Denna webbadressflagga kommer bara att respekteras om användare tillhör gruppen "Robotar".
- Type: boolean (details)
- returnto
Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.
- Typ: Sidans titel
- Accepterar sidor som inte finns.
- returntoquery
URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.
- Default: (empty)
- returntoanchor
URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.
- Default: (empty)
- Gör om Q999999998 till en omdirigering till Q999999999
- api.php?action=wbcreateredirect&from=Q999999998&to=Q999999999 [open in sandbox]