⧼api-help-title⧽
action=filerevert
(main | filerevert)
- ⧼api-help-flag-readrights⧽
- ⧼api-help-flag-writerights⧽
- ⧼api-help-flag-mustbeposted⧽
- ⧼api-help-source⧽
- ⧼api-help-license⧽
- filename
- ⧼apihelp-filerevert-param-filename⧽
- This parameter is required.
- comment
- ⧼apihelp-filerevert-param-comment⧽
- Default: (empty)
- archivename
- ⧼apihelp-filerevert-param-archivename⧽
- This parameter is required.
- token
- ⧼api-help-param-token⧽
- This parameter is required.
- ⧼apihelp-filerevert-example-revert⧽
- api.php?action=filerevert&filename=Wiki.png&comment=Revert&archivename=20110305152740!Wiki.png&token=123ABC ⧼api-help-open-in-apisandbox⧽