From f5c56b6fb5413772bb710fedf53830564baed571 Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Sun, 23 Apr 2006 05:19:32 +0000 Subject: [PATCH] watchlist edit form should run UnwatchArticle hooks --- includes/SpecialWatchlist.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index c8a734ea38..4f37fc0dc8 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -90,6 +90,7 @@ function wfSpecialWatchlist( $par ) { if( $wl->removeWatch() === false ) { $wgOut->addHTML( "
\n" . wfMsg( 'couldntremove', htmlspecialchars($one) ) ); } else { + wfRunHooks('UnwatchArticle', array(&$wgUser, new Article($t))); $wgOut->addHTML( ' (' . htmlspecialchars($one) . ')' ); } } else { -- 2.20.1