Ayuda de la API de MediaWiki
Esta es una página de documentación autogenerada de la API de MediaWiki.
Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wbmergeitems
- Este módulo requiere permisos de lectura.
- Este módulo requiere permisos de escritura.
- Este módulo solo acepta solicitudes POST.
- Fuente: WikibaseClient
- Licencia: GPL-2.0-or-later
Combina varios elementos.
- fromid
The ID to merge from
- Este parámetro es obligatorio.
- toid
The ID to merge to
- Este parámetro es obligatorio.
- ignoreconflicts
Array of elements of the item to ignore conflicts for. Can only contain values of "description", "sitelink" and "statement"
- Valores (separados por | u otro separador): 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.
- Valores (separados por | u otro separador):
- bot
Marcar esta edición como hecha por un robot. Este parámetro funcionará solo si el usuario pertenece al grupo «bot».
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Este parámetro es obligatorio.
- 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.
- Tipo: título de página
- Acepta páginas inexistentes.
- 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.
- Predeterminado: (vacío)
- 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.
- Predeterminado: (vacío)
- Fusiona datos de Q999999998 en Q999999999
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999 [abrir en la zona de pruebas]
- Fusiona datos de Q999999998 en Q999999999 ignorando los vínculos a sitios conflictivos
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink [abrir en la zona de pruebas]
- Fusiona datos de Q999999998 en Q999999999 cuenta las descripciones y los vínculos a sitios conflictivos
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink|description [abrir en la zona de pruebas]