MedijaViki API pagalba

This is an auto-generated MediaWiki API documentation page.

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

action=filerevert

(main | filerevert)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Šaltinis: MediaWiki
  • Licencija: GPL-2.0-or-later

Revert a file to an old version.

Parametrai:
filename

Target filename, without the File: prefix.

This parameter is required.
comment

Įkėlimo pastabos.

Numatytasis: (tuščia)
archivename

Archive name of the revision to revert to.

This parameter is required.
token

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

This parameter is required.