MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=revisiondelete

(main | revisiondelete)
  • Este módulo requiere permisos de lectura.
  • Este módulo requiere permisos de escritura.
  • Este módulo solo acepta solicitudes POST.

Delete and undelete revisions.

Parámetros:
type

Type of revision deletion being performed.

Este parámetro es obligatorio.
Un valor: revision, archive, oldimage, filearchive, logging
target

Page title for the revision deletion, if required for the type.

ids

Identifiers for the revisions to be deleted.

Este parámetro es obligatorio.
Separar los valores con |. Maximum number of values is 50 (500 for bots).
hide

What to hide for each revision.

Valores (separados por |): content, comment, user
show

What to unhide for each revision.

Valores (separados por |): content, comment, user
suppress

Whether to suppress data from administrators as well as others.

Un valor: yes, no, nochange
Predeterminado: nochange
reason

Reason for the deletion or undeletion.

token

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

Este parámetro es obligatorio.