API:Undelete/ja

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 . を取得します. このトークンはすべてのページで同じ値ですが、ログインするたびに変化します.

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

The sample code below covers the third step in detail.

サンプル コード
undelete.py

起こりうるエラー
In addition to :

パラメーターの履歴

 * v1.25:  を導入しました
 * v1.24:  を導入しました
 * v1.16:  を導入しました

追加的な注記

 * This module cannot be used as a.
 * 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.