⧼api-help-title⧽
action=rollback
(main | rollback)
- ⧼api-help-flag-readrights⧽
- ⧼api-help-flag-writerights⧽
- ⧼api-help-flag-mustbeposted⧽
- ⧼api-help-source⧽
- ⧼api-help-license⧽
- title
- ⧼apihelp-rollback-param-title⧽
- pageid
- ⧼apihelp-rollback-param-pageid⧽
- Type: integer
- tags
- ⧼apihelp-rollback-param-tags⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F):
- user
- ⧼apihelp-rollback-param-user⧽
- This parameter is required.
- Type: user, by any of username, IP, interwiki name (e.g. "prefix>ExampleName") and user ID (e.g. "#12345")
- summary
- ⧼apihelp-rollback-param-summary⧽
- Default: (empty)
- markbot
- ⧼apihelp-rollback-param-markbot⧽
- Type: boolean
- watchlist
- ⧼apihelp-rollback-param-watchlist⧽
- One of the following values: nochange, preferences, unwatch, watch
- Default: preferences
- token
- ⧼api-help-param-token⧽⧼api-help-param-token-webui⧽
- This parameter is required.
- ⧼apihelp-rollback-example-simple⧽
- api.php?action=rollback&title=Main%20Page&user=Example&token=123ABC ⧼api-help-open-in-apisandbox⧽
- ⧼apihelp-rollback-example-summary⧽
- api.php?action=rollback&title=Main%20Page&user=192.0.2.5&token=123ABC&summary=Reverting%20vandalism&markbot=1 ⧼api-help-open-in-apisandbox⧽