Manual:RollbackEdits.php

Details
rollbackEdits.php 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(s) of a page (just like real rollback). This functionality can also rollback multiple edits, provided they have been made by the same user or IP.