Manual:RollbackEdits.php

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).