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)
  • Denna modul kräver läsrättigheter.
  • Denna modul kräver skrivrättigheter.
  • Denna modul accepterar endast POST-begäranden.

Delete and undelete revisions.

Parametrar:
type

Type of revision deletion being performed.

Denna parameter är obligatorisk.
ett värde: 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.

Denna parameter är obligatorisk.
Separate values with |. Maximum number of values is 50 (500 for bots).
hide

What to hide for each revision.

värden (separade med "|"): content, comment, user
show

What to unhide for each revision.

värden (separade med "|"): content, comment, user
suppress

Whether to suppress data from administrators as well as others.

ett värde: yes, no, nochange
Default: nochange
reason

Reason for the deletion or undeletion.

token

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

Denna parameter är obligatorisk.