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 are the most recent edit(s) of a page (just like real rollback). This script can also rollback multiple edits, provided they have been made by the same user or IP. However this script cannot rollback page creations. For this you can use the maint-script>Special:MyLanguage/Extension:Nuke|Nuke extension. Moreover it cannot rollback redirects.