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
- Questo modulo richiede i diritti di lettura.
- Questo modulo richiede i diritti di scrittura.
- Questo modulo accetta solo richieste POST.
- Fonte: WikibaseRepository
- Licenza: GPL-2.0-or-later
Crea reindirizzamenti entità.
- from
ID entità per fare un redirect
- Questo parametro è obbligatorio.
- to
ID entità a cui puntare il redirect
- Questo parametro è obbligatorio.
- token
Un token "csrf" recuperato da action=query&meta=tokens
- Questo parametro è obbligatorio.
- bot
Contrassegna questa modifica come bot. Questo flag di URL sarà rispettato solo se l'utente appartiene al gruppo "Bot".
- Tipo: booleano (dettagli)
- returnto
Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.
- Tipo: titolo della pagina
- Accetta pagine non esistenti.
- 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.
- Predefinito: (vuoto)
- 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.
- Predefinito: (vuoto)
- Trasforma Q999999998 in un redirect a Q999999999
- api.php?action=wbcreateredirect&from=Q999999998&to=Q999999999 [apri in una sandbox]