Manual:RollbackEdits.php/en

Details
rollbackEdits.php file is a maintenance script to rollback all edits by a given user or IP provided they're the most recent edit (just like real rollback).