Manual:RollbackEdits.php

Details
rollbackEdits.php file is a maint-script>Special:MyLanguage/Manual:Maintenance scripts|maintenance script to rollback all edits by a given user or IP provided they're the most recent edit (just like real rollback).