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=wbremovequalifiers

(main | wbremovequalifiers)
  • 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

Quita un calificativo de una declaración.

Parámetros específicos:
Other general parameters are available.
claim

A GUID identifying the claim from which to remove qualifiers

Este parámetro es obligatorio.
qualifiers

Snak hashes of the qualifiers to remove

Este parámetro es obligatorio.
Separar los valores con | o con una alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
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.

tags

Change tags to apply to the revision.

Valores (separados por | u otro separador):
token

A "csrf" token retrieved from action=query&meta=tokens

Este parámetro es obligatorio.
baserevid

El identificador numérico de la revisión en la que basar la modificación. Este dato se utiliza para detectar conflictos al guardar.

Tipo: entero
bot

Marca esta edición como realizada por un bot. Esta marca de URL solo se respetará si el usuario pertenece al grupo "Bots".

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.

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)
Ejemplo:
Remove qualifier with hash "1eb8793c002b1d9820c833d234a1b54c8e94187e" from claim with GUID of "Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F"
api.php?action=wbremovequalifiers&claim=Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F&qualifiers=1eb8793c002b1d9820c833d234a1b54c8e94187e&token=foobar&baserevid=7201010 [abrir en la zona de pruebas]