diff -ur LiquidThreads-broken//classes/Dispatch.php LiquidThreads/classes/Dispatch.php --- LiquidThreads-broken//classes/Dispatch.php 2010-09-06 16:02:22.000000000 +0200 +++ LiquidThreads/classes/Dispatch.php 2010-11-04 00:57:11.347522008 +0100 @@ -73,7 +73,7 @@ $viewname = 'ThreadHistoricalRevisionView'; } else if ( $action == 'watch' || $action == 'unwatch' ) { $viewname = 'ThreadWatchView'; - } elseif ( $action == 'delete' ) { + } elseif ( $action == 'delete' || $action = 'rollback' || $action = 'markpatrolled' ) { return true; } else { $viewname = 'ThreadPermalinkView'; diff -ur LiquidThreads-broken//classes/Hooks.php LiquidThreads/classes/Hooks.php --- LiquidThreads-broken//classes/Hooks.php 2010-10-27 15:00:46.000000000 +0200 +++ LiquidThreads/classes/Hooks.php 2010-11-04 01:13:37.997522003 +0100 @@ -445,16 +445,13 @@ return true; } - LqtView::postEditUpdates( - 'editExisting', - null, - $article, - $thread->article(), - $thread->article(), - $summary, - $thread, - $text - ); + LqtView::editMetadataUpdates( + array( + 'root' => $article, + 'thread' => $thread, + 'summary' => $summary, + 'text' => $text, + ) ); return true; }