API:Undelete/ko

Some of this page is not translate yet.

토큰
어떤 판을 되살리기 전에 list=deletedrevs를 통해 삭제 취소 토큰을 얻어야 합니다. 이 토큰은 편집 토큰과 모든 문서에 동일하지만 로그인할 때마다 바뀝니다.

Restoring deleted revisions
Deleted revisions can be restored with action=undelete.

Parameters

 * title: The page you want to undelete.
 * token: The token obtained in the previous request. Take care to urlencode the '+' as '%2B'.
 * reason: The reason for the undeletion (optional).
 * timestamps: A pipe-separated list of timestamps of the revisions to restore (optional). By default, all revisions will be restored.
 * You can get these timestamps through list=deletedrevs.

Example
Note: In this example, all parameters are passed in a GET request just for the sake of simplicity. However, action=undelete requires POST requests; GET requests will cause an error.

Possible errors
In addition to the usual stuff:


 * code: notitle
 * info: The title parameter must be set
 * code: notoken
 * info: The token parameter must be set
 * code: permissiondenied
 * info: You don't have permission to restore deleted revisions
 * On most wikis, restoring deleted revisions is restricted to sysops, but other wikis may have stricter rules.
 * code: cantundelete
 * info: Couldn't undelete: the requested revisions may not exist, or may have been undeleted already