JMediawikiPages::rollback
Method to undo the last edit to the page.
Signature
public function rollback(string
$title,
[string
$user = null,
[string
$summary = null,
[string
$markbot = null,
[string
$watchlist = null]]]] )
Parameters
-
$title
- Title of the page you want to rollback.
-
$user
- Name of the user whose edits are to be rolled back.
-
$summary
- Custom edit summary. If not set, default summary will be used.
-
$markbot
- Mark the reverted edits and the revert as bot edits.
-
$watchlist
- Unconditionally add or remove the page from your watchlist.
Returns