return;
}
- # Secret enhanced rollback, marks edits rc_bot=1
+ # Enhanced rollback, marks edits rc_bot=1
$bot = !!$_REQUEST['bot'];
# Replace all this user's current edits with the next one down
$wgOut->addHTML(
wfMsg("editcomment",
htmlspecialchars( $s->cur_comment ) ) );
- }
+ }
return;
}
}
# Save it!
- $newcomment = wfMsg( "revertpage", $s->old_user_text );
+ $newcomment = wfMsg( "revertpage", $s->old_user_text, $from );
$wgOut->setPagetitle( wfMsg( "actioncomplete" ) );
$wgOut->setRobotpolicy( "noindex,nofollow" );
$wgOut->addHTML( "<h2>" . $newcomment . "</h2>\n<hr>\n" );
Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
# only shown if there is an edit comment
"editcomment" => "The edit comment was: \"<i>$1</i>\".",
-"revertpage" => "Reverted to last edit by $1",
+"revertpage" => "Reverted edit of $2, changed back to last version by $1",
"protectlogpage" => "Protection_log",
"protectlogtext" => "Below is a list of page locks/unlocks.
See [[$wgMetaNamespace:Protected page]] for more information.",