Manual:RollbackEdits.php

Details
rollbackEdits.php is a 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 Nuke extension. Moreover it cannot rollback redirects.