JMediawikiPages::undeletePage
Method to restore certain revisions of a deleted page.
Signature
public function undeletePage(string
$title,
[string
$reason = null,
[string
$timestamp = null,
[string
$watchlist = null]]] )
Parameters
-
$title
- Title of the page you want to restore.
-
$reason
- Reason for restoring (optional).
-
$timestamp
- Timestamps of the revisions to restore.
-
$watchlist
- Unconditionally add or remove the page from your watchlist.