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

(main | delete)
  • Ta modul zahteva pravice branja.
  • This module requires write rights.
  • Ta modul sprejema samo zahtevke POST.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Izbriše stran.

Specifični parametri:
Na voljo so tudi drugi splošni parametri.
title

Naslov strani za izbris. Ni ga mogoče uporabiti skupaj z pageid.

pageid

ID strani za izbris. Ni ga mogoče uporabiti skupaj s title.

Vtipkajte: celo število
reason

Reason for the deletion. If not set, an automatically generated reason will be used.

tags

Change tags to apply to the entry in the deletion log.

Values (separate with | or alternative):
deletetalk

Izbris pogovorne strani, če obstaja.

Type: boolean (details)
watch
Opuščeno.

Add the page to the current user's watchlist.

Type: boolean (details)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

One of the following values: nochange, preferences, unwatch, watch
Privzeto: preferences
unwatch
Opuščeno.

Remove the page from the current user's watchlist.

Type: boolean (details)
oldimage

The name of the old image to delete as provided by action=query&prop=imageinfo&iiprop=archivename.

token

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

Ta parameter je obvezen.