Index: phase3/includes/Article.php =================================================================== --- phase3/includes/Article.php (revision 71282) +++ phase3/includes/Article.php (working copy) @@ -3476,6 +3476,9 @@ $revId = false; } + if( !$status->isOK() ) + return array( array( 'cantrollback' ) ); + wfRunHooks( 'ArticleRollbackComplete', array( $this, $wgUser, $target, $current ) ); $resultDetails = array(