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

(main | revisiondelete)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Delete and undelete revisions.

Specific parameters:
Other general parameters are available.
type

Type of revision deletion being performed.

This parameter is required.
One of the following values: archive, filearchive, logging, oldimage, revision
target

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

ids

Identifiers for the revisions to be deleted.

This parameter is required.
Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
hide

What to hide for each revision.

Values (separate with | or alternative): comment, content, user
show

What to unhide for each revision.

Values (separate with | or alternative): comment, content, user
suppress

Whether to suppress data from administrators as well as others.

One of the following values: no, nochange, yes
Default: nochange
reason

Reason for the deletion or undeletion.

tags

Tags to apply to the entry in the deletion log.

Values (separate with | or alternative):
token

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

This parameter is required.
Examples:

Hide content for revision 12345 on the page [[{{#seo: |title=SpiritVale Wiki — Classes, Items, Maps, Monsters & Guides |title_mode=replace |description=SpiritVale Wiki: the community hub for classes, builds, skills, items, maps, monsters, crafting, and guides for the action MMORPG SpiritVale. |keywords=SpiritVale, Spirit Vale, MMORPG, wiki, classes, builds, skills, guides, maps, monsters, items, crafting, cards, artifacts |type=website |site_name=SpiritVale Wiki |locale=en-US |image=SpiritValeLogo.png |image_alt=SpiritVale logo and montage representing classes, items, combat, and world |robots=index, follow }}

Error creating thumbnail: Unable to save thumbnail to destination

Click to Search

Welcome to the SpiritVale Wiki

SpiritVale is a free-to-play, class-based action MMORPG inspired by Ragnarok Online. Build your own hero, battle corrupted creatures, and uncover lost history in a world torn by magic and decay.

Choose a base class — Warrior, Knight, Mage, Rogue, Scout, Acolyte, or Summoner — and unlock unique skill trees and advanced specializations as you grow. Explore diverse biomes, battle powerful bosses, and team up with friends in real-time, action-based combat.

We also have a database with full details on items, monsters, and more: spiritvale.info

<templatestyles src="Template:PatchHighlights/styles.css" />

Recent Updates
{{#ask:

Publish date::+ | sort=Publish date,Modification date | order=desc,desc | limit=3 | ?Publish date | ?Patch blurb | ?Modification date | format=template | template=PatchHighlights/Card | named args=yes | mainlabel=Page | link=none | searchlabel=

| default=
No recent updates found.
}}


Classes

Base Advanced I Advanced II Advanced III
Warrior
Knight Paladin
Rogue Shinobi
Scout
Mage Wizard
Acolyte Priest
Summoner

]].

api.php?action=revisiondelete&target=Main%20Page&type=revision&ids=12345&hide=content&token=123ABC [open in sandbox]
Hide all data on log entry 67890 with the reason BLP violation.
api.php?action=revisiondelete&type=logging&ids=67890&hide=content|comment|user&reason=BLP%20violation&token=123ABC [open in sandbox]