⧼api-help-title⧽
action=undelete
(main | undelete)
- ⧼api-help-flag-readrights⧽
- ⧼api-help-flag-writerights⧽
- ⧼api-help-flag-mustbeposted⧽
- ⧼api-help-source⧽
- ⧼api-help-license⧽
- title
- ⧼apihelp-undelete-param-title⧽
- This parameter is required.
- reason
- ⧼apihelp-undelete-param-reason⧽
- Default: (empty)
- tags
- ⧼apihelp-undelete-param-tags⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F):
- timestamps
- ⧼apihelp-undelete-param-timestamps⧽
- Type: list of timestamps
- Separate values with "|", or prefix the list with U+001F and separate with U+001F.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- fileids
- ⧼apihelp-undelete-param-fileids⧽
- Type: list of integers
- Separate values with "|", or prefix the list with U+001F and separate with U+001F.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- undeletetalk
- ⧼apihelp-undelete-param-undeletetalk⧽
- Type: boolean
- watchlist
- ⧼apihelp-undelete-param-watchlist⧽
- One of the following values: nochange, preferences, unwatch, watch
- Default: preferences
- token
- ⧼api-help-param-token⧽
- This parameter is required.
- ⧼apihelp-undelete-example-page⧽
- api.php?action=undelete&title=Main%20Page&token=123ABC&reason=Restoring%20Main%20Page ⧼api-help-open-in-apisandbox⧽
- ⧼apihelp-undelete-example-revisions⧽
- api.php?action=undelete&title=Main%20Page&token=123ABC×tamps=2007-07-03T22:00:45Z|2007-07-02T19:48:56Z ⧼api-help-open-in-apisandbox⧽