API:Undelete/zh

POST request to restore the revisions of a deleted page.

例子
Undeleting the revisions of a page is a multi-step process:  Log in using one of the methods described in . 获取. This token is the same for all pages but changes at every login.

 Send a POST request with the CSRF token in order to undelete. 

下面的示例代码详细介绍了第3步.

可能的错误
除了：

参数历史

 * v1.25: 启用
 * v1.24: 启用
 * v1.16: 启用

补充资料

 * 该模块不可用作.
 * This module requires  rights.
 * For MediaWiki 1.19 and earlier, you can obtain an undelete token through.
 * For MediaWiki 1.20-1.23, you can obtain tokens through.
 * Timestamps of deleted revisions can be obtained through, or.
 * Pages that have been deleted or restored are logged at Special:Log/delete.

参见

 * - Deletes a page.