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=wbmergeitems
- 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
Unisce più elementi.
- fromid
L'ID da cui unire
- Questo parametro è obbligatorio.
- toid
L'ID dove unire
- Questo parametro è obbligatorio.
- ignoreconflicts
Array of elements of the item to ignore conflicts for. Can only contain values of "description", "sitelink" and "statement"
- Valori (separati da | o alternativa): description, sitelink, statement
- summary
Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.
Change tags to apply to the revisions.
- Valori (separati da | o alternativa):
- bot
Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".
- Tipo: booleano (dettagli)
- token
Un token "csrf" recuperato da action=query&meta=tokens
- Questo parametro è obbligatorio.
- 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)
- Unisce dati da Q999999998 in Q999999999
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999 [apri in una sandbox]
- Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink [apri in una sandbox]
- Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks and descriptions
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink|description [apri in una sandbox]