MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=filerevert

(main | filerevert)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.

Revert a file to an old version.

Parametroak:
filename

Target filename, without the File: prefix.

Parametro hau beharrezkoa da.
comment

Upload comment.

Lehenetsia: (hutsik)
archivename

Archive name of the revision to revert to.

Parametro hau beharrezkoa da.
token

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

Parametro hau beharrezkoa da.